head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.8 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.6 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.4 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.2 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.5.0.8 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.6 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.4 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.2 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.4.0.8 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.6 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.4 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.2 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.3.0.18 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.16 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.14 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.12 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.10 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.8 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.6 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.4 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.2 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2; locks; strict; comment @# @; 1.6 date 2010.03.23.19.00.10; author tez; state dead; branches; next 1.5; 1.5 date 2009.01.20.00.33.56; author tnn; state Exp; branches; next 1.4; 1.4 date 2008.05.18.01.48.09; author tnn; state dead; branches; next 1.3; 1.3 date 2006.01.28.02.03.58; author rillig; state Exp; branches; next 1.2; 1.2 date 2002.11.30.11.16.21; author salo; state dead; branches 1.2.18.1; next 1.1; 1.1 date 2002.11.22.12.05.06; author bouyer; state Exp; branches; next ; 1.2.18.1 date 2006.02.13.10.10.06; author salo; state Exp; branches; next ; desc @@ 1.6 log @Update gtar to 1.23 - fixes CVE2010-0624 Also: # Improved record size autodetection # Use of lseek on seekable archives # New command line option --warning # New command line option --level # Improved behavior if some files were removed during incremental dumps # Modification times of PAX extended headers # Time references in the --pax-option argument # Augmented environment of the --to-command script # Bugfixes: * Fix handling of hard link targets by -c --transform * Fix hard links recognition with -c --remove-files * Fix restoring files from backup (debian bug #508199) * Correctly restore modes and permissions on existing directories * The --remove-files option removes files only if they were succesfully stored in the archive * Fix storing and listing of the volume labels in POSIX format * Improve algorithm for splitting long file names (ustar format) @ text @$NetBSD: patch-ah,v 1.5 2009/01/20 00:33:56 tnn Exp $ --- lib/getdate.c.orig 2008-02-16 13:14:35.000000000 +0100 +++ lib/getdate.c @@@@ -227,8 +227,12 @@@@ long int. It also assumes that signed integer overflow silently wraps around, but there's no portable way to check for that at compile-time. */ +#ifdef __NetBSD__ +#warning this might break with 64-bit time_t on 32-bit hosts +#else verify (TYPE_IS_INTEGER (time_t)); verify (LONG_MIN <= TYPE_MINIMUM (time_t) && TYPE_MAXIMUM (time_t) <= LONG_MAX); +#endif /* An integer value, and the number of digits in its textual representation. */ @ 1.5 log @64-bit time_t fallout: gtar cowardly refuses to build if time_t doesn't fit in "long int", as happens to be the case now on 32-bit NetBSD hosts. Supress the error and turn it into a warning instead. "make test" still OK @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update to GNU tar 1.20. All self-tests pass under NetBSD-current. Changes: 3.5 years worth of development; too much to list here. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.3 2006/01/28 02:03:58 rillig Exp $ d3 12 a14 16 MIPSpro does not like non-constant initializers. --- lib/argp-help.c.orig 2004-10-04 11:36:16.000000000 +0200 +++ lib/argp-help.c 2006-01-28 02:58:23.000000000 +0100 @@@@ -1055,7 +1055,13 @@@@ hol_entry_help (struct hol_entry *entry, int old_wm = __argp_fmtstream_wmargin (stream); /* PEST is a state block holding some of our variables that we'd like to share with helper functions. */ - struct pentry_state pest = { entry, stream, hhstate, 1, state }; + struct pentry_state pest; + + pest.entry = entry; + pest.stream = stream; + pest.hhstate = hhstate; + pest.first = 1; + pest.state = state; d16 2 a17 2 if (! odoc (real)) for (opt = real, num = entry->num; num > 0; opt++, num--) @ 1.3 log @Added a patch to support MIPSpro. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @USE_PKGLOCALEDIR, remove unnecessary patches. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.1 2002/11/22 12:05:06 bouyer Exp $ d3 16 a18 9 --- po/Makefile.in.in.orig Fri Nov 22 12:53:12 2002 +++ po/Makefile.in.in Fri Nov 22 12:53:38 2002 @@@@ -23,7 +23,7 @@@@ prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ datadir = @@datadir@@ -localedir = $(datadir)/locale +localedir = $(prefix)/$(PKGLOCALEDIR)/locale gettextsrcdir = $(datadir)/gettext/po d20 2 a21 1 INSTALL = @@INSTALL@@ @ 1.2.18.1 log @Pullup ticket 1121 - requested by Roland Illig MIPSpro build fix for gtar-base Revisions pulled up: - pkgsrc/archivers/gtar-base/distinfo 1.16 - pkgsrc/archivers/gtar-base/patches/patch-ah 1.3 Module Name: pkgsrc Committed By: rillig Date: Sat Jan 28 02:03:58 UTC 2006 Modified Files: pkgsrc/archivers/gtar-base: distinfo Added Files: pkgsrc/archivers/gtar-base/patches: patch-ah Log Message: Added a patch to support MIPSpro. @ text @d1 1 a1 1 $NetBSD: patch-ah,v 1.3 2006/01/28 02:03:58 rillig Exp $ d3 9 a11 16 MIPSpro does not like non-constant initializers. --- lib/argp-help.c.orig 2004-10-04 11:36:16.000000000 +0200 +++ lib/argp-help.c 2006-01-28 02:58:23.000000000 +0100 @@@@ -1055,7 +1055,13 @@@@ hol_entry_help (struct hol_entry *entry, int old_wm = __argp_fmtstream_wmargin (stream); /* PEST is a state block holding some of our variables that we'd like to share with helper functions. */ - struct pentry_state pest = { entry, stream, hhstate, 1, state }; + struct pentry_state pest; + + pest.entry = entry; + pest.stream = stream; + pest.hhstate = hhstate; + pest.first = 1; + pest.state = state; d13 1 a13 2 if (! odoc (real)) for (opt = real, num = entry->num; num > 0; opt++, num--) @ 1.1 log @Honnor ${PKGLOCALEDIR} @ text @d1 1 a1 1 $NetBSD: $ @