aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/synth
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-08-26 01:23:09 +0800
committerJohn Marino <marino@FreeBSD.org>2016-08-26 01:23:09 +0800
commit5d5749e1824074b95024130bbe533382dc7ce2cf (patch)
tree2d12ce4f4574b75476a85576bcda59322b0db432 /ports-mgmt/synth
parenta18d45b367b0bfe696eddfd31cf93253ae97a7ff (diff)
downloadfreebsd-ports-gnome-5d5749e1824074b95024130bbe533382dc7ce2cf.tar.gz
freebsd-ports-gnome-5d5749e1824074b95024130bbe533382dc7ce2cf.tar.zst
freebsd-ports-gnome-5d5749e1824074b95024130bbe533382dc7ce2cf.zip
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.
Diffstat (limited to 'ports-mgmt/synth')
-rw-r--r--ports-mgmt/synth/Makefile10
-rw-r--r--ports-mgmt/synth/distinfo6
2 files changed, 11 insertions, 5 deletions
diff --git a/ports-mgmt/synth/Makefile b/ports-mgmt/synth/Makefile
index 36c260920d2c..b84641da512c 100644
--- a/ports-mgmt/synth/Makefile
+++ b/ports-mgmt/synth/Makefile
@@ -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>
diff --git a/ports-mgmt/synth/distinfo b/ports-mgmt/synth/distinfo
index 0a52f828f7a5..6b9765d5daf0 100644
--- a/ports-mgmt/synth/distinfo
+++ b/ports-mgmt/synth/distinfo
@@ -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