svn commit: r406514 - head/ports-mgmt/synth

John Marino marino at FreeBSD.org
Sun Jan 17 16:01:19 UTC 2016


Author: marino
Date: Sun Jan 17 16:01:17 2016
New Revision: 406514
URL: https://svnweb.freebsd.org/changeset/ports/406514

Log:
  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

Modified:
  head/ports-mgmt/synth/Makefile
  head/ports-mgmt/synth/distinfo

Modified: head/ports-mgmt/synth/Makefile
==============================================================================
--- head/ports-mgmt/synth/Makefile	Sun Jan 17 15:04:56 2016	(r406513)
+++ head/ports-mgmt/synth/Makefile	Sun Jan 17 16:01:17 2016	(r406514)
@@ -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 \

Modified: head/ports-mgmt/synth/distinfo
==============================================================================
--- head/ports-mgmt/synth/distinfo	Sun Jan 17 15:04:56 2016	(r406513)
+++ head/ports-mgmt/synth/distinfo	Sun Jan 17 16:01:17 2016	(r406514)
@@ -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


More information about the svn-ports-all mailing list