head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.6 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.4 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.2 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.5.0.56 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.54 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.52 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.50 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.48 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.46 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.44 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.42 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.40 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.38 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.36 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.34 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.32 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.30 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.28 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.26 pkgsrc-2008Q1:1.5.0.24 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.22 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.20 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.18 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.16 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.14 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.12 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.10 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.8 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.6 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.4 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.2 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.6 date 2011.11.19.18.59.20; author marino; state dead; branches; next 1.5; 1.5 date 2005.03.31.14.41.48; author salo; state Exp; branches; next 1.4; 1.4 date 2005.03.31.14.17.05; author salo; state Exp; branches; next 1.3; 1.3 date 2002.11.30.11.16.19; author salo; state dead; branches 1.3.12.1; next 1.2; 1.2 date 2002.11.18.08.03.15; author salo; state Exp; branches; next 1.1; 1.1 date 2001.07.15.11.44.51; author jlam; state Exp; branches; next ; 1.3.12.1 date 2005.04.01.05.03.52; author snj; state Exp; branches; next ; desc @@ 1.6 log @archives/gsharutils: Upgrade from version 4.2.1 to 4.11.1 DragonFly couldn't build GNU Sharutils. Upon inspection, it was seen that the last version in pkgsrc was at least 11 years old. This commit updates the GNU Sharutils to the latest version without patches. Tested on DragonFly and NetBSD. The Linux condition dealing with the glibc gettext workaround was removed with the assumption that this is no longer needed, but somebody else should test and verify this. Select changes since 4.2 (according to NEWS): ============================================= 4.3.50: new trans: cs da el es gl ru tr zh_TW updated: de fr ja nl sv 4.3.51: Norwegian split to no/@@nynorsk to nb and nn Updated library files and m4 macros from fileutils-4.1.9 4.3.52: Fix Y2K bug (shar) Fix temp file race (shar) (N/A) allow spaces in file names (uudecode) 4.3.60: Better -Z option handling for systems without compress 4.3.61: Unspecified bugs fixes 4.3.70: Update de tr translations (N/A) fix uudecode output handling Turn off compress link default 4.3.71: Update da de translations 4.3.72: Update fr sv translations 4.3.73: Add support for large files (e.g. > 2 Gib on 32-bit hosts) 4.3.74: Updated fr translation Unspecified portabilitity fixes 4.3.75: New translations: ca et hu Updated translations: da de ja sv tr zh_TW. Add bzip2 support Fix unspecified compatiblity issues 4.3.76: Updated translations: de et fr sv tr 4.3.77: Fixed buffer overrun exploit 4.3.78: infrastructure updates 4.3.79: New temporary file handling to avoid buffer overrun exploit and theoretical timing hole (unshar) Unspecified new translations added + updates 4.3.80: Fix temporary file unlink bug 4.3.81: True64 compatibility fix 4.4: intmax_t checks added 4.5: Fix unspecified bug in unshar Update usage examples 4.5.1: Fix memory usage bug in shar 4.5.2: Fix test and update some translations 4.5.3: Add unspecified translation, update another Move to libtool 1.5.20 4.6: New Japanese translation 4.6.1: Translation cleanup, infrastructure changes 4.6.2: Better output diagnostics 4.6.3: Recognize "end\r\n" as equal to "end" and "end\n" Fix readdir duplicate declaration 4.7.1: (N/A) uudecode no longer creates output file names with trailing white space. 4.9: Fix shar script shell quoting issues with translations 4.10: Handle clobber option correctly in generated scripts 4.11: Remove mailshar because mail-files was broken @ text @$NetBSD: patch-aj,v 1.5 2005/03/31 14:41:48 salo Exp $ --- src/mailshar.in.orig 1995-11-26 00:42:47.000000000 +0100 +++ src/mailshar.in 2005-03-31 15:51:27.000000000 +0200 @@@@ -33,7 +33,11 @@@@ If none of -MTBzZ are given, -z is automatically selected if *none* of the FILEs have an .arc, .exz, .gif, .z, .gz, .Z, .zip or .zoo suffix." -temp=/usr/tmp/$$.shar +temp=`mktemp -q /tmp/${0##*/}.XXXXXX` +if [ $? -ne 0 ]; then + echo "$0: Can't create temp file, exiting..." + exit 1 +fi ### Decode the options. @ 1.5 log @Fix mktemp usage. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.4 2005/03/31 14:17:05 salo Exp $ @ 1.4 log @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. @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 +temp=`mktemp -q /tmp/$0.XXXXXX` @ 1.3 log @USE_PKGLOCALEDIR, remove unnecessary patches. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.2 2002/11/18 08:03:15 salo Exp $ d3 14 a16 12 --- po/Makefile.in.in.orig Mon Dec 4 17:19:48 1995 +++ po/Makefile.in.in Mon Nov 18 04:06:43 2002 @@@@ -28,8 +28,8 @@@@ prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ datadir = $(prefix)/@@DATADIRNAME@@ -localedir = $(datadir)/locale -gnulocaledir = $(prefix)/share/locale +localedir = $(prefix)/$(PKGLOCALEDIR)/locale +gnulocaledir = $(localedir) gettextsrcdir = $(prefix)/share/gettext subdir = po @ 1.3.12.1 log @Pullup ticket 407 - requested by Lubomir Sedlacik security fix for gsharutils Revisions pulled up: - pkgsrc/archivers/gsharutils/Makefile 1.25 - pkgsrc/archivers/gsharutils/distinfo 1.11, 1.12 - pkgsrc/archivers/gsharutils/patches/patch-ac 1.3 - pkgsrc/archivers/gsharutils/patches/patch-ah 1.5 - pkgsrc/archivers/gsharutils/patches/patch-ai 1.3 - pkgsrc/archivers/gsharutils/patches/patch-aj 1.4, 1.5 Module Name: pkgsrc Committed By: salo Date: Thu Mar 31 14:17:05 UTC 2005 Modified Files: pkgsrc/archivers/gsharutils: Makefile distinfo pkgsrc/archivers/gsharutils/patches: patch-ac Added Files: pkgsrc/archivers/gsharutils/patches: patch-ah patch-ai patch-aj Log Message: 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. ---- Module Name: pkgsrc Committed By: salo Date: Thu Mar 31 14:41:48 UTC 2005 Modified Files: pkgsrc/archivers/gsharutils: distinfo pkgsrc/archivers/gsharutils/patches: patch-aj Log Message: Fix mktemp usage. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.5 2005/03/31 14:41:48 salo Exp $ d3 12 a14 14 --- src/mailshar.in.orig 1995-11-26 00:42:47.000000000 +0100 +++ src/mailshar.in 2005-03-31 15:51:27.000000000 +0200 @@@@ -33,7 +33,11 @@@@ If none of -MTBzZ are given, -z is automatically selected if *none* of the FILEs have an .arc, .exz, .gif, .z, .gz, .Z, .zip or .zoo suffix." -temp=/usr/tmp/$$.shar +temp=`mktemp -q /tmp/${0##*/}.XXXXXX` +if [ $? -ne 0 ]; then + echo "$0: Can't create temp file, exiting..." + exit 1 +fi ### Decode the options. @ 1.2 log @Fix PKGLOCALEDIR usage. Closes pkg/18656 @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.1 2001/07/15 11:44:51 jlam Exp $ @ 1.1 log @Install locale files under ${PKGLOCALEDIR}, and mark as USE_BUILDLINK_ONLY. @ text @d1 1 a1 1 $NetBSD$ d3 12 a14 5 --- configure.orig Sun Dec 3 19:44:54 1995 +++ configure @@@@ -3581,6 +3581,8 @@@@ CATALOGS="$new_CATALOGS" fi a15 5 +DATADIRNAME=${PKGLOCALEDIR} + trap '' 1 2 15 @