head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.6 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.4 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.2 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.7.0.22 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.20 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.18 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.16 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.14 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.12 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.10 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.8 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.6 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.4 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.2 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.6.0.46 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.44 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.42 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.40 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.38 pkgsrc-2008Q1:1.6.0.36 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.34 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.32 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.30 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.28 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.26 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.24 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.22 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.20 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.18 pkgsrc-2005Q4-base:1.6 pkgsrc-2005Q3:1.6.0.16 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.14 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.12 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.10 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.6.0.8 pkgsrc-2004Q3-base:1.6 pkgsrc-2004Q2:1.6.0.6 pkgsrc-2004Q2-base:1.6 pkgsrc-2004Q1:1.6.0.4 pkgsrc-2004Q1-base:1.6 pkgsrc-2003Q4:1.6.0.2 pkgsrc-2003Q4-base:1.6 buildlink2-base:1.3 netbsd-1-5-PATCH001:1.2; locks; strict; comment @# @; 1.8 date 2011.11.19.18.59.20; author marino; state dead; branches; next 1.7; 1.7 date 2009.02.09.23.53.52; author joerg; state Exp; branches; next 1.6; 1.6 date 2003.10.20.09.35.06; author agc; state Exp; branches; next 1.5; 1.5 date 2002.11.30.11.16.18; author salo; state dead; branches; next 1.4; 1.4 date 2002.11.18.08.03.14; author salo; state Exp; branches; next 1.3; 1.3 date 2001.07.15.11.44.50; author jlam; state dead; branches; next 1.2; 1.2 date 2001.04.28.02.05.57; author jtb; state Exp; branches; next 1.1; 1.1 date 2000.12.19.04.36.56; author itojun; state Exp; branches; next ; desc @@ 1.8 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-ag,v 1.7 2009/02/09 23:53:52 joerg Exp $ --- po/Makefile.in.in.orig 1995-12-04 17:19:48.000000000 +0100 +++ po/Makefile.in.in @@@@ -120,12 +120,16 @@@@ install-data: all catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ if test "`echo $$cat | sed 's/.*\(\..*\)/\1/'`" = ".gmo"; then \ + if test $(gnulocaledir) = $(localedir) -a \ + $(CATOBJEXT) != ".gmo"; then \ + continue; \ + fi; \ destdir=$(gnulocaledir); \ else \ destdir=$(localedir); \ fi; \ - lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \ - dir=$$destdir/$$lang/LC_MESSAGES; \ + lang=`echo $$cat | sed 's/\(.*\)\.[^\.]*/\1/'`; \ + dir=${DESTDIR}$$destdir/$$lang/LC_MESSAGES; \ $(top_srcdir)/mkinstalldirs $$dir; \ if test -r $$cat; then \ $(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \ @@@@ -144,7 +148,7 @@@@ install-src: install uninstall: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ - lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \ + lang=`echo $$cat | sed 's/\(.*\)\.[^\.]*/\1/'`; \ rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ done @@@@ -180,7 +184,7 @@@@ update-po: Makefile cd $(srcdir); \ catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ - lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \ + lang=`echo $$cat | sed 's/\(.*\)\.[^\.]*/\1/'`; \ mv $$lang.po $$lang.old.po; \ if $(TUPDATE) $(PACKAGE).pot $$lang.old.po > $$lang.po; then \ rm -f $$lang.old.po; \ @ 1.7 log @DESTDIR support. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Apply fix from Kouichirou Hiratsuka in PR 22348: + don't create spurious ${PREFIX}/share/locale/. directories + don't populate said directories with .gmo files + only install .gmo files if necessary @ text @d3 3 a5 5 Apply fix from Kouichirou Hiratsuka in PR 22348 --- po/Makefile.in.in 2003/10/20 09:29:50 1.1 +++ po/Makefile.in.in 2003/10/20 09:29:57 @@@@ -120,11 +120,15 @@@@ d18 1 d20 1 a20 1 dir=$$destdir/$$lang/LC_MESSAGES; \ d23 2 a24 1 @@@@ -144,7 +148,7 @@@@ d33 1 a33 1 @@@@ -180,7 +184,7 @@@@ @ 1.5 log @USE_PKGLOCALEDIR, remove unnecessary patches. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.4 2002/11/18 08:03:14 salo Exp $ d3 39 a41 11 --- src/Makefile.in.orig Sat Nov 25 22:37:27 1995 +++ src/Makefile.in Mon Nov 18 04:05:51 2002 @@@@ -31,7 +31,7 @@@@ transform = @@program_transform_name@@ bindir = $(exec_prefix)/bin datadir = $(prefix)/@@DATADIRNAME@@ -localedir = $(datadir)/locale +localedir = $(prefix)/$(PKGLOCALEDIR)/locale subdir = src AR = ar @ 1.4 log @Fix PKGLOCALEDIR usage. Closes pkg/18656 @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Install locale files under ${PKGLOCALEDIR}, and mark as USE_BUILDLINK_ONLY. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.2 2001/04/28 02:05:57 jtb Exp $ d3 5 a7 5 --- po/Makefile.in.in.orig Mon Dec 4 16:19:48 1995 +++ po/Makefile.in.in @@@@ -28,8 +28,8 @@@@ prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ d10 2 a11 5 -gnulocaledir = $(prefix)/share/locale +localedir = $(prefix)/share/locale +gnulocaledir = $(localedir) gettextsrcdir = $(prefix)/share/gettext subdir = po d13 1 a13 18 @@@@ -124,7 +124,7 @@@@ else \ destdir=$(localedir); \ fi; \ - lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \ + lang=`echo $$cat | sed 's/\.[a-z]*$$//'`; \ dir=$$destdir/$$lang/LC_MESSAGES; \ $(top_srcdir)/mkinstalldirs $$dir; \ if test -r $$cat; then \ @@@@ -144,7 +144,7 @@@@ uninstall: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ - lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \ + lang=`echo $$cat | sed 's/\.[a-z]*$$//'`; \ rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ done @ 1.2 log @Make $(localdir) and $(gnulocaledir) equal so that the locale files don't get installed to both ${PREFIX}/lib/locale and ${PREFIX}/share/locale. This fixes the i386 bulk build leftovers. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @fix installation of LC_MESSAGES message catalog file. @ text @d3 16 a18 3 --- po/Makefile.in.in- Tue Dec 19 13:30:14 2000 +++ po/Makefile.in.in Tue Dec 19 13:31:03 2000 @@@@ -126,3 +126,3 @@@@ d23 5 a27 1 @@@@ -146,3 +146,3 @@@@ d32 2 @