diff options
author | marino <marino@FreeBSD.org> | 2016-01-18 00:01:17 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-01-18 00:01:17 +0800 |
commit | 2d79d0c81094102e1043806952ead650d2b910d2 (patch) | |
tree | 2ba37e6a67582da1197b4c57c15a41ddbee3b532 /ports-mgmt | |
parent | 4b882e0be1970f3c08c44ab9cad3267404e19fd7 (diff) | |
download | freebsd-ports-gnome-2d79d0c81094102e1043806952ead650d2b910d2.tar.gz freebsd-ports-gnome-2d79d0c81094102e1043806952ead650d2b910d2.tar.zst freebsd-ports-gnome-2d79d0c81094102e1043806952ead650d2b910d2.zip |
ports-mgmt/synth: hanging process watchdog and various fixes
The following changes have been implemented:
* The builder command executer had been upgraded with a watchdog. It
does not monitor the overall time of a phase (things like fetch /
checksum vary depending on the internet connection and the volume it
needs to download ranges from bytes to gigabytes), but it does monitor
log progress. Each phase has a maximum amount of time allowed for the
log to be static (measured in lines, not file size). If the log is
static for too long for that phase, the processes of the builder will
be killed, and the builder log updated accordingly.
* The load indicator was stuck at 0.00 for some named locales (only on
FreeBSD) so this was resolved.
* Ports tree scanning time was cut nearly in half by caching make
variables on each builders make.conf
* Support for /usr/lib/lib32 was added for FreeBSD
* purge-distfiles command was improved by handling potential exceptions
and fixing the case of 100-1023 Mb purged (range was too narrow)
* Typos on man page fixed
* The directory ${PORTSDIR}/packages are now ignored. This is the
default package location and any existing packages were getting
treated as port directories.
* Skip some additional questions/actions if a graceful shutdown was
previously detected
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/synth/Makefile | 9 | ||||
-rw-r--r-- | ports-mgmt/synth/distinfo | 4 |
2 files changed, 8 insertions, 5 deletions
diff --git a/ports-mgmt/synth/Makefile b/ports-mgmt/synth/Makefile index fb60d01091b3..467a3b483f7f 100644 --- a/ports-mgmt/synth/Makefile +++ b/ports-mgmt/synth/Makefile @@ -3,7 +3,7 @@ PORTNAME= synth PORTVERSION= 0.98 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONPREFIX= v CATEGORIES= ports-mgmt @@ -21,7 +21,7 @@ USES= ada:6 ncurses:port USE_GITHUB= yes GH_ACCOUNT= jrmarino GH_PROJECT= synth_external:bundle -GH_TAGNAME= v1.3:bundle c83a9d9 +GH_TAGNAME= v1.3:bundle 78e49f9 # When framework is moved to Ada6, the ada-util and ini-file-manager # libraries can be used as prebuilt (switch default.gpr url) @@ -43,8 +43,11 @@ do-build: gcc -I. -c ${csrc}.c -o ../../build/adacurses/${csrc}.o) .endfor (cd ${WRKSRC}/synthexec && ${SETENV} ${MAKE_ENV} \ + gcc -c nonblock_wait.c -o ../build/nonblock_wait.o) + (cd ${WRKSRC}/synthexec && ${SETENV} ${MAKE_ENV} \ gcc synthexec.c -o ../build/synthexec) - (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -P default) + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gnatmake -P default \ + -largs build/nonblock_wait.o) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/build/synth \ diff --git a/ports-mgmt/synth/distinfo b/ports-mgmt/synth/distinfo index 35abda6e9b52..5b8abf5001f8 100644 --- a/ports-mgmt/synth/distinfo +++ b/ports-mgmt/synth/distinfo @@ -1,4 +1,4 @@ -SHA256 (jrmarino-synth-v0.98-c83a9d9_GH0.tar.gz) = 130b788b2952c5ef9e3fc7e3ce2e1230073030d9be327e96c955cc6c79338bb3 -SIZE (jrmarino-synth-v0.98-c83a9d9_GH0.tar.gz) = 73628 +SHA256 (jrmarino-synth-v0.98-78e49f9_GH0.tar.gz) = 72b26e685564908b86e76634e26bc1ebe358f5d16dc1b6985b7f9afbb2d1d6b6 +SIZE (jrmarino-synth-v0.98-78e49f9_GH0.tar.gz) = 75728 SHA256 (jrmarino-synth_external-v1.3_GH0.tar.gz) = 2afc03e494d2394446eabdb5244967c202a79b449c7cad7ea67a87807cc25f44 SIZE (jrmarino-synth_external-v1.3_GH0.tar.gz) = 209283 |