aboutsummaryrefslogtreecommitdiff
path: root/shells/dash
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2018-09-13 20:58:56 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2018-09-13 20:58:56 +0000
commit06ec6a0b8f11f5c2f70fe6d11120900e43b8f951 (patch)
tree24253b4eace3905b9d7487ba43136770e8796aba /shells/dash
parent600f5cf1f89d435f7d71dbaaf69d00b538b9273b (diff)
downloadports-06ec6a0b8f11f5c2f70fe6d11120900e43b8f951.tar.gz
ports-06ec6a0b8f11f5c2f70fe6d11120900e43b8f951.zip
- Update to 0.5.10.2 [1]
- Update comment on the real problem with UNUSABLE_RT_SIGNALS. This is avoiding a buffer overflow due to NSIG*2 being far smaller than SIGRTMAX. PR: 230156 [1] Submitted by: Nathan <ndowens@yahoo.com> (based on) [1]
Notes
Notes: svn path=/head/; revision=479695
Diffstat (limited to 'shells/dash')
-rw-r--r--shells/dash/Makefile8
-rw-r--r--shells/dash/distinfo6
2 files changed, 8 insertions, 6 deletions
diff --git a/shells/dash/Makefile b/shells/dash/Makefile
index f650134f037e..52e8fc9a626b 100644
--- a/shells/dash/Makefile
+++ b/shells/dash/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= dash
-PORTVERSION= 0.5.9.1
+PORTVERSION= 0.5.10.2
CATEGORIES= shells
MASTER_SITES= http://gondor.apana.org.au/~herbert/dash/files/
@@ -12,12 +12,14 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
-# This work in 11-CURRENT r266677M amd64 but fails to work in 11.0-CURRENT r266677 i386
+# SIGRTMAX is larger than NSIG*2 which mksignames.c does not support. Just
+# disable RT signal handling.
CFLAGS+= -DUNUSABLE_RT_SIGNALS
USES= gmake
-PLIST_FILES= bin/dash man/man1/dash.1.gz
+PLIST_FILES= bin/dash \
+ man/man1/dash.1.gz
post-patch:
${REINPLACE_CMD} -e '/COMMON_CFLAGS =/ s|$$| ${CFLAGS}|' \
diff --git a/shells/dash/distinfo b/shells/dash/distinfo
index 7394ae9cca14..30cb452fa4d0 100644
--- a/shells/dash/distinfo
+++ b/shells/dash/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1485880831
-SHA256 (dash-0.5.9.1.tar.gz) = 5ecd5bea72a93ed10eb15a1be9951dd51b52e5da1d4a7ae020efd9826b49e659
-SIZE (dash-0.5.9.1.tar.gz) = 225217
+TIMESTAMP = 1532879576
+SHA256 (dash-0.5.10.2.tar.gz) = 3c663919dc5c66ec991da14c7cf7e0be8ad00f3db73986a987c118862b5f6071
+SIZE (dash-0.5.10.2.tar.gz) = 225196