head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.6 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.4 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.2 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.2.0.70 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.68 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.66 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.64 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.62 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.60 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.58 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.56 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.54 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.52 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.50 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.48 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.46 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.44 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.42 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.40 pkgsrc-2008Q1:1.2.0.38 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.36 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.34 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.32 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.30 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.28 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.26 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.24 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.22 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.20 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.18 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.16 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.14 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.12 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.10 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.8 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.6 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.4 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 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 netbsd-1-5-PATCH001:1.1 netbsd-1-5-RELEASE:1.1 netbsd-1-4-PATCH003:1.1 netbsd-1-4-PATCH002:1.1 comdex-fall-1999:1.1 netbsd-1-4-PATCH001:1.1; locks; strict; comment @# @; 1.3 date 2011.11.19.18.59.20; author marino; state dead; branches; next 1.2; 1.2 date 2002.12.22.01.49.14; author wiz; state Exp; branches; next 1.1; 1.1 date 99.05.23.20.33.46; author tv; state Exp; branches; next ; desc @@ 1.3 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-ab,v 1.2 2002/12/22 01:49:14 wiz Exp $ --- doc/sharutils.texi.orig Sun Jun 8 22:59:41 1997 +++ doc/sharutils.texi Sun Jun 8 23:10:37 1997 @@@@ -2,6 +2,16 @@@@ @@c %**start of header @@setfilename sharutils.info @@settitle GNU @@code{shar} utilities +@@dircategory File transfer and archiving tools +@@direntry +* Shar utilities: (sharutils). GNU shar utilities. +* mail-files: (sharutils)mail-files invocation. Send files to remote site. +* mailshar: (sharutils)mailshar invocation. Make and send a shell archive. +* shar: (sharutils)shar invocation. Make a shell archive. +* unshar: (sharutils)unshar invocation. Explode a shell archive. +* uudecode: (sharutils)uudecode invocation. Restore file from 7-bits. +* uuencode: (sharutils)uuencode invocation. Force binary file to 7-bits. +@@end direntry @@finalout @@c %**end of header @@@@ -15,21 +26,6 @@@@ @@end tex @@ifinfo -@@format -START-INFO-DIR-ENTRY -* Shar utilities: (sharutils). GNU shar utilities. -* mail-files: (sharutils)mail-files invocation. Send files to remote site. -* mailshar: (sharutils)mailshar invocation. Make and send a shell archive. -* remsync: (sharutils)remsync invocation. Synchronize remote files. -* shar: (sharutils)shar invocation. Make a shell archive. -* unshar: (sharutils)unshar invocation. Explode a shell archive. -* uudecode: (sharutils)uudecode invocation. Restore file from 7-bits. -* uuencode: (sharutils)uuencode invocation. Force binary file to 7-bits. -END-INFO-DIR-ENTRY -@@end format -@@end ifinfo - -@@ifinfo This file documents the GNU set of shar utilities. Copyright (C) 1994 Free Software Foundation, Inc. @ 1.2 log @Do not change (variable) name of executable in info documentation. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 1999/05/23 20:33:46 tv Exp $ @ 1.1 log @Reengineer for NetBSD. @ text @d1 1 a1 1 $NetBSD$ a43 35 @@@@ -157,8 +153,8 @@@@ The format of the @@code{shar} command is one of: @@example -shar [ @@var{option} ] @@dots{} @@var{file} @@dots{} -shar -S [ @@var{option} ] @@dots{} +gshar [ @@var{option} ] @@dots{} @@var{file} @@dots{} +gshar -S [ @@var{option} ] @@dots{} @@end example In the first form, the file list is given as command arguments. In the @@@@ -548,7 +544,7 @@@@ The format of the @@code{unshar} command is: @@example -unshar [ @@var{option} ] @@dots{} [ @@var{file} @@dots{} ] +gunshar [ @@var{option} ] @@dots{} [ @@var{file} @@dots{} ] @@end example Each @@var{file} is processed in turn, as a shell archive or a @@@@ -635,10 +631,10 @@@@ Let us conclude by a showing a few examples of @@code{shar} usage: @@example -shar *.c > cprog.shar -shar -Q *.[ch] > cprog.shar -shar -B -l28 -oarc.sh. *.arc -shar -f /lcl/src/u*.c > u.sh +gshar *.c > cprog.shar +gshar -Q *.[ch] > cprog.shar +gshar -B -l28 -oarc.sh. *.arc +gshar -f /lcl/src/u*.c > u.sh @@end example @@noindent @