summaryrefslogtreecommitdiff
path: root/archivers/gsharutils/Makefile
diff options
context:
space:
mode:
authorsalo <salo>2005-03-31 14:17:05 +0000
committersalo <salo>2005-03-31 14:17:05 +0000
commit4119c581100ca1cf6483558a1b2803693b20f326 (patch)
treed4e64249a4c31d4c6d187862c5d014b9d9b613df /archivers/gsharutils/Makefile
parentf0bf55db5b664eb82a53b7fa37a05152991955b0 (diff)
downloadpkgsrc-4119c581100ca1cf6483558a1b2803693b20f326.tar.gz
Securitu fix for CAN-2004-1773:
"Multiple buffer overflows in sharutils 4.2.1 and earlier may allow attackers to execute arbitrary code via long output from wc to shar, or unknown vectors in unshar." Patch from SuSE/Gentoo. Also add more sanity checking patches from the latter.
Diffstat (limited to 'archivers/gsharutils/Makefile')
-rw-r--r--archivers/gsharutils/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/archivers/gsharutils/Makefile b/archivers/gsharutils/Makefile
index 880c2239db1..733a464bb3e 100644
--- a/archivers/gsharutils/Makefile
+++ b/archivers/gsharutils/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.24 2005/02/26 04:42:50 tv Exp $
+# $NetBSD: Makefile,v 1.25 2005/03/31 14:17:05 salo Exp $
DISTNAME= sharutils-4.2.1
PKGNAME= g${DISTNAME}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU:=sharutils/}
@@ -10,10 +10,10 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/sharutils/sharutils.html
COMMENT= Allow packing and unpacking of shell archives
-PKG_INSTALLATION_TYPES= overwrite pkgviews
-
BUILD_USES_MSGFMT= yes
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
@@ -26,6 +26,10 @@ CONFIGURE_ARGS+= --disable-uucode
.include "../../mk/bsd.prefs.mk"
+.if empty(OPSYS:M*BSD)
+DEPENDS+= mktemp>=1.5:../../sysutils/mktemp
+.endif
+
# gettext 0.11+ has renamed internal symbols, and gsharutils is
# being a very bad neighbor by using them directly. To fix, force
# use of gettext >= 0.11, and rename the symbol in gsharutils. -tv