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

John Marino marino at FreeBSD.org
Thu Aug 25 17:23:11 UTC 2016


Author: marino
Date: Thu Aug 25 17:23:09 2016
New Revision: 420867
URL: https://svnweb.freebsd.org/changeset/ports/420867

Log:
  ports-mgmt/synth: Upgrade version 1.42 => 1.43
  
  This is a minor bug fix version.  Changes include:
   * Set close-on-exec operation mode on popen.  This is required to stop
     leaking file descriptors in highly concurrent modes (e.g. 32 builders).
     It's not supported on FreeBSD 9 or DragonFly 4.4 (and earlier) so this
     modification is removed for those platforms.
   * Remove procfs mount for lang/rust and lang/rust-nightly.  This was
     necessary for DragonFly, but rust has been fixed for DF 4.6 and later
   * Add a stage-QA exception for entries left /var/spool/*.  The presence
     of these are not an identication of a port issue
   * Sanitize synthexec to verify file descriptors 0 .. 2 are in use and
     automatically close any file descriptor > 2 before execv fork.

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

Modified: head/ports-mgmt/synth/Makefile
==============================================================================
--- head/ports-mgmt/synth/Makefile	Thu Aug 25 17:14:09 2016	(r420866)
+++ head/ports-mgmt/synth/Makefile	Thu Aug 25 17:23:09 2016	(r420867)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	synth
-PORTVERSION=	1.42
+PORTVERSION=	1.43
 DISTVERSIONPREFIX=	v
 CATEGORIES=	ports-mgmt
 
@@ -23,7 +23,13 @@ GH_ACCOUNT=	jrmarino
 GPR=		${LOCALBASE}/lib/gnat
 MAKE_ENV=	NCURSES_LINK=static
 
+.include <bsd.port.pre.mk>
+
 post-extract:
+.if (${OPSYS} == FreeBSD   && ${OSVERSION} < 1000000) || \
+    (${OPSYS} == DragonFly && ${OSVERSION} < 400600)
+	${REINPLACE_CMD} -e 's|"re"|"r"|' ${WRKSRC}/src/unix.adb
+.endif
 	@${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|" \
 		${WRKSRC}/src/definitions.ads
 
@@ -50,4 +56,4 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/shell-completers/_synth \
 		${STAGEDIR}${PREFIX}/share/zsh/site-functions
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/ports-mgmt/synth/distinfo
==============================================================================
--- head/ports-mgmt/synth/distinfo	Thu Aug 25 17:14:09 2016	(r420866)
+++ head/ports-mgmt/synth/distinfo	Thu Aug 25 17:23:09 2016	(r420867)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1469058852
-SHA256 (jrmarino-synth-v1.42_GH0.tar.gz) = a54911b461e07e83d5f98b7890c22d4673e3907817bfd01363126d6336320b5b
-SIZE (jrmarino-synth-v1.42_GH0.tar.gz) = 102061
+TIMESTAMP = 1472127405
+SHA256 (jrmarino-synth-v1.43_GH0.tar.gz) = e3176fec60ecb5af5712c5ef8e06042c861cb471bc8a3e76d48b647c8907366a
+SIZE (jrmarino-synth-v1.43_GH0.tar.gz) = 102067


More information about the svn-ports-all mailing list