From 723cf078216f3fa3218724d2ceacd7dd68013580 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 8 Mar 1998 02:51:17 +0000 Subject: gtar, in this pkg format, will never be called from pkg_add, so we won't even pretend that we support the --fast-read option as a no-op--we don't support it at all. (pax or the old in-tree tar does.) --- archivers/gtar/patches/patch-ab | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) (limited to 'archivers') diff --git a/archivers/gtar/patches/patch-ab b/archivers/gtar/patches/patch-ab index 60cd70658ba..7c646e3048d 100644 --- a/archivers/gtar/patches/patch-ab +++ b/archivers/gtar/patches/patch-ab @@ -1,5 +1,5 @@ ---- src/extract.c.orig Tue Apr 22 20:05:57 1997 -+++ src/extract.c Thu Mar 5 13:59:52 1998 +--- extract.c.orig Tue Apr 22 20:05:57 1997 ++++ extract.c Fri Mar 6 14:33:05 1998 @@ -103,7 +103,7 @@ if (!keep_old_files_option @@ -58,8 +58,8 @@ /* If we are root, set the owner and group of the extracted file, so we extract as the original owner. Or else, if we are running as a user, ---- src/tar.c.orig Fri Apr 25 16:09:49 1997 -+++ src/tar.c Thu Mar 5 14:32:19 1998 +--- tar.c.orig Fri Apr 25 16:09:49 1997 ++++ tar.c Sat Mar 7 21:43:15 1998 @@ -163,6 +163,7 @@ #define SUFFIX_OPTION 15 #define USE_COMPRESS_PROGRAM_OPTION 16 @@ -68,15 +68,7 @@ /* Some cleanup is being made in GNU tar long options. Using old names is allowed for a while, but will also send a warning to stderr. Take old -@@ -211,6 +212,7 @@ - {"exclude", required_argument, NULL, EXCLUDE_OPTION}, - {"exclude-from", required_argument, NULL, 'X'}, - {"extract", no_argument, NULL, 'x'}, -+ {"fast-read", no_argument, NULL, 1}, - {"file", required_argument, NULL, 'f'}, - {"files-from", required_argument, NULL, 'T'}, - {"force-local", no_argument, &force_local_option, 1}, -@@ -237,6 +239,8 @@ +@@ -237,6 +238,8 @@ {"newer-mtime", required_argument, NULL, NEWER_MTIME_OPTION}, {"null", no_argument, NULL, NULL_OPTION}, {"no-recursion", no_argument, NULL, NO_RECURSE_OPTION}, @@ -85,7 +77,7 @@ {"numeric-owner", no_argument, &numeric_owner_option, 1}, {"old-archive", no_argument, NULL, 'o'}, {"one-file-system", no_argument, NULL, 'l'}, -@@ -267,6 +271,7 @@ +@@ -267,6 +270,7 @@ {"touch", no_argument, NULL, 'm'}, {"uncompress", no_argument, NULL, 'Z'}, {"ungzip", no_argument, NULL, 'z'}, @@ -93,7 +85,7 @@ {"unlink-first", no_argument, NULL, 'U'}, {"update", no_argument, NULL, 'u'}, {"use-compress-program", required_argument, NULL, USE_COMPRESS_PROGRAM_OPTION}, -@@ -320,7 +325,8 @@ +@@ -320,7 +324,8 @@ -W, --verify attempt to verify the archive after writing it\n\ --remove-files remove files after adding them to the archive\n\ -k, --keep-old-files don't overwrite existing files when extracting\n\ @@ -103,7 +95,7 @@ --recursive-unlink empty hierarchies prior to extracting directory\n\ -S, --sparse handle sparse files efficiently\n\ -O, --to-stdout extract files to standard output\n\ -@@ -487,6 +493,7 @@ +@@ -487,6 +492,7 @@ owner_option = -1; group_option = -1; @@ -111,7 +103,7 @@ backup_suffix_string = getenv ("SIMPLE_BACKUP_SUFFIX"); version_control_string = getenv ("VERSION_CONTROL"); -@@ -780,6 +787,10 @@ +@@ -780,6 +786,10 @@ case 'U': unlink_first_option = 1; -- cgit v1.2.3