diff options
author | 2007-08-22 09:17:37 +0000 | |
---|---|---|
committer | 2007-08-22 09:17:37 +0000 | |
commit | 068eb8de90b3915cd1123c665d9bff722b3eb641 (patch) | |
tree | bbc380c316adace3ece456b4ea59874dc51dd02b /app-arch | |
parent | Patch to fix a directory traversal vulnerability, #189682 (diff) | |
download | historical-068eb8de90b3915cd1123c665d9bff722b3eb641.tar.gz historical-068eb8de90b3915cd1123c665d9bff722b3eb641.tar.bz2 historical-068eb8de90b3915cd1123c665d9bff722b3eb641.zip |
Punt old versions
Package-Manager: portage-2.1.3.6
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/tar/Manifest | 48 | ||||
-rw-r--r-- | app-arch/tar/files/1.15.1-flex-arg.patch | 20 | ||||
-rw-r--r-- | app-arch/tar/files/append.at | 34 | ||||
-rw-r--r-- | app-arch/tar/files/digest-tar-1.15.1-r1 | 3 | ||||
-rw-r--r-- | app-arch/tar/files/digest-tar-1.16.1 | 3 | ||||
-rw-r--r-- | app-arch/tar/files/tar-1.15.1-dont-abort-long-names.patch | 50 | ||||
-rw-r--r-- | app-arch/tar/files/tar-1.15.1-gcc4-test.patch | 17 | ||||
-rw-r--r-- | app-arch/tar/files/tar-1.15.1-less-verbose-newer.patch | 20 | ||||
-rw-r--r-- | app-arch/tar/files/tar-1.15.1-lseek.patch | 176 | ||||
-rw-r--r-- | app-arch/tar/files/tar-CVE-2006-0300.patch | 121 | ||||
-rw-r--r-- | app-arch/tar/files/tar.1-1.15.1 | 637 | ||||
-rw-r--r-- | app-arch/tar/tar-1.15.1-r1.ebuild | 77 | ||||
-rw-r--r-- | app-arch/tar/tar-1.16.1.ebuild | 67 |
13 files changed, 0 insertions, 1273 deletions
diff --git a/app-arch/tar/Manifest b/app-arch/tar/Manifest index 935d5d6e7a20..c08c14978abe 100644 --- a/app-arch/tar/Manifest +++ b/app-arch/tar/Manifest @@ -1,11 +1,3 @@ -AUX 1.15.1-flex-arg.patch 519 RMD160 7859cef187a2bb7a85ee74d310d8d9f9e25e411b SHA1 79ca8610fdb1cc4b4bbb00f00ff32a3d56cf94e6 SHA256 c594e45633cf45306060c6fa2649a1033b8955e8d86bca349dadbd686c505f93 -MD5 a1433bcc25f8f63d8ee96bddbf877962 files/1.15.1-flex-arg.patch 519 -RMD160 7859cef187a2bb7a85ee74d310d8d9f9e25e411b files/1.15.1-flex-arg.patch 519 -SHA256 c594e45633cf45306060c6fa2649a1033b8955e8d86bca349dadbd686c505f93 files/1.15.1-flex-arg.patch 519 -AUX append.at 1065 RMD160 2c4875d13e7fe7f324fceaa5de8f7f9778cb7e07 SHA1 1dfba78c42231d5ce09d8c0a5c2f01b28d49f808 SHA256 4cfab61e61427e091b4409d39cfc41cd24db7b1948134a9fe49916711ab45d6f -MD5 9873b609521d574ae1f98d1c092c80e4 files/append.at 1065 -RMD160 2c4875d13e7fe7f324fceaa5de8f7f9778cb7e07 files/append.at 1065 -SHA256 4cfab61e61427e091b4409d39cfc41cd24db7b1948134a9fe49916711ab45d6f files/append.at 1065 AUX rmt 273 RMD160 18f5fac369cc3372af7bd83384bb437a67baaa44 SHA1 971081167d145e45288a173d74ca19aa24c0c05e SHA256 8de946561fc5fe3603627c78c9777dc1f7bad7926171822f3a25958a6cd3be55 MD5 38de71f12e9b0b3a5a5083f420e812bd files/rmt 273 RMD160 18f5fac369cc3372af7bd83384bb437a67baaa44 files/rmt 273 @@ -14,50 +6,16 @@ AUX tar-1.15.1-alt-contains-dot-dot.patch 531 RMD160 ea2c3d75c0821c43312650694be MD5 66123ac05bd7cdc8791e35480d6870c9 files/tar-1.15.1-alt-contains-dot-dot.patch 531 RMD160 ea2c3d75c0821c43312650694be71aca1ea4807b files/tar-1.15.1-alt-contains-dot-dot.patch 531 SHA256 50c116a76624ffdb41d92bd1cf6cc5a08e860ad43aec1aed5f8319d191f566a6 files/tar-1.15.1-alt-contains-dot-dot.patch 531 -AUX tar-1.15.1-dont-abort-long-names.patch 1586 RMD160 3c13978030c20830996fd56ddeb3f95024c23530 SHA1 d7ab5b32a957621d1ca358f6ea9931be907e2dc1 SHA256 049132675793b924a581fcf025c449bff03b29b754f1eda85cbf30a0b962daa7 -MD5 6c645ac1da5d382a9f7ca85729b7e9e9 files/tar-1.15.1-dont-abort-long-names.patch 1586 -RMD160 3c13978030c20830996fd56ddeb3f95024c23530 files/tar-1.15.1-dont-abort-long-names.patch 1586 -SHA256 049132675793b924a581fcf025c449bff03b29b754f1eda85cbf30a0b962daa7 files/tar-1.15.1-dont-abort-long-names.patch 1586 -AUX tar-1.15.1-gcc4-test.patch 637 RMD160 d68855cb453cf5372c127976348725e4f948ab52 SHA1 838c34b2e99a7368673a821aae60c0a8060fbe0d SHA256 5934d530e51e17c9f7ee8d82149f8a5ec56f3ba45a68a4434360a23c750eb5bf -MD5 971970980dc4f15a093acfe810dae560 files/tar-1.15.1-gcc4-test.patch 637 -RMD160 d68855cb453cf5372c127976348725e4f948ab52 files/tar-1.15.1-gcc4-test.patch 637 -SHA256 5934d530e51e17c9f7ee8d82149f8a5ec56f3ba45a68a4434360a23c750eb5bf files/tar-1.15.1-gcc4-test.patch 637 -AUX tar-1.15.1-less-verbose-newer.patch 770 RMD160 a133fef0ae9fedc44e79f9c44ebf47a8e53b58e6 SHA1 5f7799dec5d7d4595b9e7a8923d841c5181b8458 SHA256 2247c879862ced954d20b77adca5bfd18519da0bee67ea946fe3a047c28b167e -MD5 71aa7eea494a25b07f4ea14a7f8a7a99 files/tar-1.15.1-less-verbose-newer.patch 770 -RMD160 a133fef0ae9fedc44e79f9c44ebf47a8e53b58e6 files/tar-1.15.1-less-verbose-newer.patch 770 -SHA256 2247c879862ced954d20b77adca5bfd18519da0bee67ea946fe3a047c28b167e files/tar-1.15.1-less-verbose-newer.patch 770 -AUX tar-1.15.1-lseek.patch 5270 RMD160 5f9b369b4c6bb0160c6cc4fe37af83d9cc1e016f SHA1 cbffe36e3b15bc95d606192d969b60290e3c7409 SHA256 a633c41829595a7f31d25cd0711d473bb79c3bf552a6fd6f13f8758d3342b8ba -MD5 c6222f8e6644e897361b0426c753fc8d files/tar-1.15.1-lseek.patch 5270 -RMD160 5f9b369b4c6bb0160c6cc4fe37af83d9cc1e016f files/tar-1.15.1-lseek.patch 5270 -SHA256 a633c41829595a7f31d25cd0711d473bb79c3bf552a6fd6f13f8758d3342b8ba files/tar-1.15.1-lseek.patch 5270 AUX tar-1.17-exclude-test.patch 2768 RMD160 32b56f6991b01d84e565e57fe758c39be009ac9f SHA1 e509a8894a3dc2e9d67b76b0b776cc5128d53547 SHA256 9975518624570934dbe0ffa25a197955b41658747b4ea81bde05baaf449f3a11 MD5 a2de3e8db3bbcaa7710a359ab6a4b02e files/tar-1.17-exclude-test.patch 2768 RMD160 32b56f6991b01d84e565e57fe758c39be009ac9f files/tar-1.17-exclude-test.patch 2768 SHA256 9975518624570934dbe0ffa25a197955b41658747b4ea81bde05baaf449f3a11 files/tar-1.17-exclude-test.patch 2768 -AUX tar-CVE-2006-0300.patch 3677 RMD160 924b5e6aa64df7cb6ba3314ae114b12e26db3210 SHA1 603d534a11270dd0262babfea4cd03e1958fc333 SHA256 1eb197a54ef561c2e5589663bf7cc75dbb641907dec295210003bfe990699e90 -MD5 2e0f6c79abe0ead888d78dfeca151ff0 files/tar-CVE-2006-0300.patch 3677 -RMD160 924b5e6aa64df7cb6ba3314ae114b12e26db3210 files/tar-CVE-2006-0300.patch 3677 -SHA256 1eb197a54ef561c2e5589663bf7cc75dbb641907dec295210003bfe990699e90 files/tar-CVE-2006-0300.patch 3677 AUX tar.1 13004 RMD160 c0afe404edbb6e11c2b4be51458056f115df30bd SHA1 ddd9670245e2026f26d7338cf0d0f1713f00b774 SHA256 9525814c05657180e309ee5fdf592cc61edbc92911921ed21fefc34bbe1dc36c MD5 e4f5b9d8a64483a12eb0cae5428f7cc7 files/tar.1 13004 RMD160 c0afe404edbb6e11c2b4be51458056f115df30bd files/tar.1 13004 SHA256 9525814c05657180e309ee5fdf592cc61edbc92911921ed21fefc34bbe1dc36c files/tar.1 13004 -AUX tar.1-1.15.1 13001 RMD160 33d0ff5ff0cabf5fc1cbaeeede00707a587d468b SHA1 b8d4a9221310e357c46de56c5cdd834f1f93e6a4 SHA256 e6f61b5bf89be062246221ef932b205a0881a4d23fa7ea29a2ea5dbd9ae05769 -MD5 8ef48cb5d54b98e72766d1dd016ffa91 files/tar.1-1.15.1 13001 -RMD160 33d0ff5ff0cabf5fc1cbaeeede00707a587d468b files/tar.1-1.15.1 13001 -SHA256 e6f61b5bf89be062246221ef932b205a0881a4d23fa7ea29a2ea5dbd9ae05769 files/tar.1-1.15.1 13001 -DIST tar-1.15.1.tar.bz2 1611489 RMD160 8de6b53b67294a942faec7638fb2cb2b4cccdac1 SHA1 f861b7524a0867833056dc382e68085234cae6ff SHA256 cc9a67d0bcdd6fd9f454893537799f98a4fd96e49e693e5b75b0604b9e3d2267 -DIST tar-1.16.1.tar.bz2 1793624 RMD160 27134a0c5512f37a8e063843ba6175a39e2da21b SHA1 ab3ccbc09da1dc040fb92a0de85ae34fc70b03a9 SHA256 5c843004934142cc85decf4ae0f5f8b8b568834d3e23f1568193b3836422d2bb DIST tar-1.17.tar.bz2 1882911 RMD160 f4671e909c1ff8fac531d438b50a4a197049bc45 SHA1 97f4b67bf88dba1d451a1ec375f18cfaa3c9f36f SHA256 19f9021dda51a16295e4706e80870e71f87107675e51c176a491eba0fc4ca492 DIST tar-1.18.tar.bz2 1877207 RMD160 129e1a53ed3b580f5efc582622a90fdfc9d105f5 SHA1 5b5078cb291492ffeb4fb134179fc6ffd2121c66 SHA256 44944ee0427c8e0d8dbaa0b8f900073a7456819610cc521c53630c3eb117cf5e -EBUILD tar-1.15.1-r1.ebuild 2098 RMD160 8e0e5e2903693ffe8b7041be995091782aa7a124 SHA1 0668b929c5492339967a504b56a2ebf5c2b5bfc3 SHA256 aef8f436fc22e134289281f948ff2d57e17ed13fee436d60e7ac996ca45eaf7c -MD5 4102e152bc9ded87a76ec55d390e7bd0 tar-1.15.1-r1.ebuild 2098 -RMD160 8e0e5e2903693ffe8b7041be995091782aa7a124 tar-1.15.1-r1.ebuild 2098 -SHA256 aef8f436fc22e134289281f948ff2d57e17ed13fee436d60e7ac996ca45eaf7c tar-1.15.1-r1.ebuild 2098 -EBUILD tar-1.16.1.ebuild 1647 RMD160 037df97a39b885f8a54fcc922e86a1270b2f8d69 SHA1 edd0ff10b992142be472a2fed6df56f8233a7b1a SHA256 56656c80be0193290c67d4d7464247e79bc5b096212ce849796ba5cf4beea4dd -MD5 56680a1691fde6784cb08cedb7c0f99a tar-1.16.1.ebuild 1647 -RMD160 037df97a39b885f8a54fcc922e86a1270b2f8d69 tar-1.16.1.ebuild 1647 -SHA256 56656c80be0193290c67d4d7464247e79bc5b096212ce849796ba5cf4beea4dd tar-1.16.1.ebuild 1647 EBUILD tar-1.17-r1.ebuild 1778 RMD160 aaffa3b141b912c568f0846505b59ca4caafcb82 SHA1 cdfd3dc89c26a72c106b34cb3b445cf424785e1e SHA256 55069d29aa22c99e5f3d83051830432d88c7f3f1327285f189770274d80959b4 MD5 35198272aa477c8c858694e6807513da tar-1.17-r1.ebuild 1778 RMD160 aaffa3b141b912c568f0846505b59ca4caafcb82 tar-1.17-r1.ebuild 1778 @@ -82,12 +40,6 @@ MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164 -MD5 f7a21f9f5928613f14747b9af765414f files/digest-tar-1.15.1-r1 238 -RMD160 f3ddee28290c332c2f47deb49c798a117bcbcb60 files/digest-tar-1.15.1-r1 238 -SHA256 eea23c8236851bf6a88f8c709db6bd7a4ba13c77bb454702bee6d9d494c5c8e6 files/digest-tar-1.15.1-r1 238 -MD5 c6e123198e8cc6c55278679b14f4a97e files/digest-tar-1.16.1 238 -RMD160 9e3b491266e8500023ee14b7d9aabb4a597b0f12 files/digest-tar-1.16.1 238 -SHA256 779d91a741a2e1e16f26de90c2c25b1c38aeb9132ca71b2a7ab974a436163bc2 files/digest-tar-1.16.1 238 MD5 76fd4387f46d6edc1f7e4771411354af files/digest-tar-1.17 232 RMD160 9369888ef973870b88e47e67102ecdf01e2a18d6 files/digest-tar-1.17 232 SHA256 f569c6950e4c0779c8ae9499a1023460a561e61b1f6531a7462448b3d6487186 files/digest-tar-1.17 232 diff --git a/app-arch/tar/files/1.15.1-flex-arg.patch b/app-arch/tar/files/1.15.1-flex-arg.patch deleted file mode 100644 index 9ccd4a1cd650..000000000000 --- a/app-arch/tar/files/1.15.1-flex-arg.patch +++ /dev/null @@ -1,20 +0,0 @@ -Index: src/tar.c -=================================================================== -RCS file: /cvsroot/tar/tar/src/tar.c,v -retrieving revision 1.109 -retrieving revision 1.110 -diff -u -r1.109 -r1.110 ---- src/tar.c 22 Dec 2004 10:53:48 -0000 1.109 -+++ src/tar.c 5 Jan 2005 17:30:36 -0000 1.110 -@@ -617,9 +617,9 @@ - - switch (key) - { -- case 1: -+ case ARGP_KEY_ARG: - /* File name or non-parsed option, because of ARGP_IN_ORDER */ -- name_add (optarg); -+ name_add (arg); - args->input_files++; - break; - diff --git a/app-arch/tar/files/append.at b/app-arch/tar/files/append.at deleted file mode 100644 index 289d48acde92..000000000000 --- a/app-arch/tar/files/append.at +++ /dev/null @@ -1,34 +0,0 @@ -# Process this file with autom4te to create testsuite. -*- Autotest -*- - -# Test suite for GNU tar. -# Copyright (C) 2004 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301, USA. - -AT_SETUP([append]) -AT_KEYWORDS([append]) - -AT_TAR_CHECK([touch file1 - touch file2 - tar cf archive file1 - tar rf archive file2 - tar tf archive], - [0], -[file1 -file2 -]) - -AT_CLEANUP diff --git a/app-arch/tar/files/digest-tar-1.15.1-r1 b/app-arch/tar/files/digest-tar-1.15.1-r1 deleted file mode 100644 index e268145cd501..000000000000 --- a/app-arch/tar/files/digest-tar-1.15.1-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 57da3c38f8e06589699548a34d5a5d07 tar-1.15.1.tar.bz2 1611489 -RMD160 8de6b53b67294a942faec7638fb2cb2b4cccdac1 tar-1.15.1.tar.bz2 1611489 -SHA256 cc9a67d0bcdd6fd9f454893537799f98a4fd96e49e693e5b75b0604b9e3d2267 tar-1.15.1.tar.bz2 1611489 diff --git a/app-arch/tar/files/digest-tar-1.16.1 b/app-arch/tar/files/digest-tar-1.16.1 deleted file mode 100644 index 86b5028fb589..000000000000 --- a/app-arch/tar/files/digest-tar-1.16.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d51593461c5ef1f7e37134f22338bb9e tar-1.16.1.tar.bz2 1793624 -RMD160 27134a0c5512f37a8e063843ba6175a39e2da21b tar-1.16.1.tar.bz2 1793624 -SHA256 5c843004934142cc85decf4ae0f5f8b8b568834d3e23f1568193b3836422d2bb tar-1.16.1.tar.bz2 1793624 diff --git a/app-arch/tar/files/tar-1.15.1-dont-abort-long-names.patch b/app-arch/tar/files/tar-1.15.1-dont-abort-long-names.patch deleted file mode 100644 index 9277aa55581b..000000000000 --- a/app-arch/tar/files/tar-1.15.1-dont-abort-long-names.patch +++ /dev/null @@ -1,50 +0,0 @@ -Add a workaround for invalid aborts until the next tar release -which has this fixed properly. Thanks to Jim Faulkner for -reporting and tracking this down ! - -http://lists.gnu.org/archive/html/bug-tar/2005-04/msg00012.html -http://bugs.gentoo.org/show_bug.cgi?id=87540 - -Benno Schulenberg says to update tests too: -http://bugs.gentoo.org/show_bug.cgi?id=90742 - -Index: src/buffer.c -=================================================================== -RCS file: /cvsroot/tar/tar/src/buffer.c,v -retrieving revision 1.81 -retrieving revision 1.82 -diff -u -r1.81 -r1.82 ---- src/buffer.c 4 Apr 2005 18:21:55 -0000 1.81 -+++ src/buffer.c 7 Apr 2005 17:26:11 -0000 1.82 -@@ -653,8 +653,8 @@ - record_start++; - - if (strlen (real_s_name) > NAME_FIELD_SIZE) -- FATAL_ERROR ((0, 0, -- _("%s: file name too long to be stored in a GNU multivolume header"), -+ WARN ((0, 0, -+ _("%s: file name too long to be stored in a GNU multivolume header, truncated"), - quotearg_colon (real_s_name))); - - memset (record_start, 0, BLOCKSIZE); ---- tests/multiv03.at -+++ tests/multiv03.at -@@ -33,8 +33,7 @@ - BFILE=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'` - - cat > ../experr <<EOF --tar: $BFILE: file name too long to be stored in a GNU multivolume header --tar: Error is not recoverable: exiting now -+tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated - EOF - - cat > ../expout <<EOF -@@ -52,7 +51,7 @@ - genfile --length 15360 > $BFILE - tar -M -L 10 -c -f arch.1 -f arch.2 $BFILE - ], --[2], -+[0], - [expout], - [experr], - [],[],[gnu, oldgnu]) diff --git a/app-arch/tar/files/tar-1.15.1-gcc4-test.patch b/app-arch/tar/files/tar-1.15.1-gcc4-test.patch deleted file mode 100644 index 576c548ee8d0..000000000000 --- a/app-arch/tar/files/tar-1.15.1-gcc4-test.patch +++ /dev/null @@ -1,17 +0,0 @@ -Taken from fedora to fix tests with gcc4 - -http://bugs.gentoo.org/show_bug.cgi?id=88214 - ---- tar-1.15.1/tests/genfile.c -+++ tar-1.15.1/tests/genfile.c -@@ -60,8 +60,8 @@ - /* Block buffer for sparse file */ - char *buffer; - --static const char *argp_program_version = "genfile (" PACKAGE ") " VERSION; --static const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">"; -+const char *argp_program_version = "genfile (" PACKAGE ") " VERSION; -+const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">"; - static char doc[] = N_("genfile generates data files for GNU paxutils test suite"); - - static struct argp_option options[] = { diff --git a/app-arch/tar/files/tar-1.15.1-less-verbose-newer.patch b/app-arch/tar/files/tar-1.15.1-less-verbose-newer.patch deleted file mode 100644 index 34777aebdcc5..000000000000 --- a/app-arch/tar/files/tar-1.15.1-less-verbose-newer.patch +++ /dev/null @@ -1,20 +0,0 @@ -http://bugs.gentoo.org/show_bug.cgi?id=86467 -http://lists.gnu.org/archive/html/bug-tar/2005-03/msg00001.html - -Index: src/create.c -=================================================================== -RCS file: /cvsroot/tar/tar/src/create.c,v -retrieving revision 1.92 -retrieving revision 1.93 -diff -u -p -r1.92 -r1.93 ---- src/create.c 15 Feb 2005 15:24:35 -0000 1.92 -+++ src/create.c 3 Mar 2005 23:13:14 -0000 1.93 -@@ -1397,7 +1397,7 @@ dump_file0 (struct tar_stat_info *st, ch - && OLDER_STAT_TIME (st->stat, m) - && (!after_date_option || OLDER_STAT_TIME (st->stat, c))) - { -- if (!incremental_option) -+ if (!incremental_option && verbose_option) - WARN ((0, 0, _("%s: file is unchanged; not dumped"), - quotearg_colon (p))); - return; diff --git a/app-arch/tar/files/tar-1.15.1-lseek.patch b/app-arch/tar/files/tar-1.15.1-lseek.patch deleted file mode 100644 index f4eeb6d7441e..000000000000 --- a/app-arch/tar/files/tar-1.15.1-lseek.patch +++ /dev/null @@ -1,176 +0,0 @@ -revision 1.12 -date: 2005/03/03 23:13:30; author: gray; state: Exp; lines: +1 -1 -(sparse_scan_file): Bugfix. offset had incorrect type. - -revision 1.11 -date: 2005/02/02 11:01:49; author: gray; state: Exp; lines: +59 -14 -Extract sparse files even if the output fd is not seekable. - -Index: src/sparse.c -=================================================================== -RCS file: /cvsroot/tar/tar/src/sparse.c,v -retrieving revision 1.10 -retrieving revision 1.12 -diff -u -p -r1.10 -r1.12 ---- src/sparse.c 6 Sep 2004 14:28:56 -0000 1.10 -+++ src/sparse.c 3 Mar 2005 23:13:30 -0000 1.12 -@@ -46,6 +46,9 @@ struct tar_sparse_optab - struct tar_sparse_file - { - int fd; /* File descriptor */ -+ bool seekable; /* Is fd seekable? */ -+ size_t offset; /* Current offset in fd if seekable==false. -+ Otherwise unused */ - size_t dumped_size; /* Number of bytes actually written - to the archive */ - struct tar_stat_info *stat_info; /* Information about the file */ -@@ -54,6 +57,39 @@ struct tar_sparse_file - reqiure */ - }; - -+/* Dump zeros to file->fd until offset is reached. It is used instead of -+ lseek if the output file is not seekable */ -+static long -+dump_zeros (struct tar_sparse_file *file, off_t offset) -+{ -+ char buf[BLOCKSIZE]; -+ -+ if (offset - file->offset < 0) -+ { -+ errno = EINVAL; -+ return -1; -+ } -+ -+ memset (buf, 0, sizeof buf); -+ while (file->offset < offset) -+ { -+ size_t size = offset - file->offset; -+ size_t wrbytes; -+ -+ if (size > sizeof buf) -+ size = sizeof buf; -+ wrbytes = write (file->fd, buf, size); -+ if (wrbytes <= 0) -+ { -+ if (wrbytes == 0) -+ errno = EINVAL; -+ return -1; -+ } -+ file->offset += wrbytes; -+ } -+ return file->offset; -+} -+ - static bool - tar_sparse_member_p (struct tar_sparse_file *file) - { -@@ -130,9 +166,16 @@ tar_sparse_fixup_header (struct tar_spar - - - static bool --lseek_or_error (struct tar_sparse_file *file, off_t offset, int whence) -+lseek_or_error (struct tar_sparse_file *file, off_t offset) - { -- if (lseek (file->fd, offset, whence) < 0) -+ off_t off; -+ -+ if (file->seekable) -+ off = lseek (file->fd, offset, SEEK_SET); -+ else -+ off = dump_zeros (file, offset); -+ -+ if (off < 0) - { - seek_diag_details (file->stat_info->orig_file_name, offset); - return false; -@@ -182,10 +225,10 @@ sparse_scan_file (struct tar_sparse_file - { - static char buffer[BLOCKSIZE]; - size_t count; -- size_t offset = 0; -+ off_t offset = 0; - struct sp_array sp = {0, 0}; - -- if (!lseek_or_error (file, 0, SEEK_SET)) -+ if (!lseek_or_error (file, 0)) - return false; - clear_block (buffer); - -@@ -269,8 +312,7 @@ sparse_dump_region (struct tar_sparse_fi - union block *blk; - off_t bytes_left = file->stat_info->sparse_map[i].numbytes; - -- if (!lseek_or_error (file, file->stat_info->sparse_map[i].offset, -- SEEK_SET)) -+ if (!lseek_or_error (file, file->stat_info->sparse_map[i].offset)) - return false; - - while (bytes_left > 0) -@@ -304,8 +346,7 @@ sparse_extract_region (struct tar_sparse - { - size_t write_size; - -- if (!lseek_or_error (file, file->stat_info->sparse_map[i].offset, -- SEEK_SET)) -+ if (!lseek_or_error (file, file->stat_info->sparse_map[i].offset)) - return false; - - write_size = file->stat_info->sparse_map[i].numbytes; -@@ -313,7 +354,7 @@ sparse_extract_region (struct tar_sparse - if (write_size == 0) - { - /* Last block of the file is a hole */ -- if (sys_truncate (file->fd)) -+ if (file->seekable && sys_truncate (file->fd)) - truncate_warn (file->stat_info->orig_file_name); - } - else while (write_size > 0) -@@ -330,6 +371,7 @@ sparse_extract_region (struct tar_sparse - count = full_write (file->fd, blk->buffer, wrbytes); - write_size -= count; - file->dumped_size += count; -+ file->offset += count; - if (count != wrbytes) - { - write_error_details (file->stat_info->orig_file_name, -@@ -351,7 +393,9 @@ sparse_dump_file (int fd, struct tar_sta - - file.stat_info = st; - file.fd = fd; -- -+ file.seekable = true; /* File *must* be seekable for dump to work */ -+ file.offset = 0; -+ - if (!sparse_select_optab (&file) - || !tar_sparse_init (&file)) - return dump_status_not_implemented; -@@ -414,7 +458,9 @@ sparse_extract_file (int fd, struct tar_ - - file.stat_info = st; - file.fd = fd; -- -+ file.seekable = lseek (fd, 0, SEEK_SET) == 0; -+ file.offset = 0; -+ - if (!sparse_select_optab (&file) - || !tar_sparse_init (&file)) - return dump_status_not_implemented; -@@ -450,7 +496,7 @@ static char diff_buffer[BLOCKSIZE]; - static bool - check_sparse_region (struct tar_sparse_file *file, off_t beg, off_t end) - { -- if (!lseek_or_error (file, beg, SEEK_SET)) -+ if (!lseek_or_error (file, beg)) - return false; - - while (beg < end) -@@ -486,8 +532,7 @@ check_data_region (struct tar_sparse_fil - { - size_t size_left; - -- if (!lseek_or_error (file, file->stat_info->sparse_map[i].offset, -- SEEK_SET)) -+ if (!lseek_or_error (file, file->stat_info->sparse_map[i].offset)) - return false; - size_left = file->stat_info->sparse_map[i].numbytes; - while (size_left > 0) diff --git a/app-arch/tar/files/tar-CVE-2006-0300.patch b/app-arch/tar/files/tar-CVE-2006-0300.patch deleted file mode 100644 index 679f81898540..000000000000 --- a/app-arch/tar/files/tar-CVE-2006-0300.patch +++ /dev/null @@ -1,121 +0,0 @@ ---- src/xheader.c.orig 2004-09-06 06:31:14.000000000 -0500 -+++ src/xheader.c 2006-02-08 16:59:46.000000000 -0500 -@@ -783,6 +783,32 @@ code_num (uintmax_t value, char const *k - xheader_print (xhdr, keyword, sbuf); - } - -+static bool -+decode_num (uintmax_t *num, char const *arg, uintmax_t maxval, -+ char const *keyword) -+{ -+ uintmax_t u; -+ char *arg_lim; -+ -+ if (! (ISDIGIT (*arg) -+ && (errno = 0, u = strtoumax (arg, &arg_lim, 10), !*arg_lim))) -+ { -+ ERROR ((0, 0, _("Malformed extended header: invalid %s=%s"), -+ keyword, arg)); -+ return false; -+ } -+ -+ if (! (u <= maxval && errno != ERANGE)) -+ { -+ ERROR ((0, 0, _("Extended header %s=%s is out of range"), -+ keyword, arg)); -+ return false; -+ } -+ -+ *num = u; -+ return true; -+} -+ - static void - dummy_coder (struct tar_stat_info const *st __attribute__ ((unused)), - char const *keyword __attribute__ ((unused)), -@@ -821,7 +847,7 @@ static void - gid_decoder (struct tar_stat_info *st, char const *arg) - { - uintmax_t u; -- if (xstrtoumax (arg, NULL, 10, &u, "") == LONGINT_OK) -+ if (decode_num (&u, arg, TYPE_MAXIMUM (gid_t), "gid")) - st->stat.st_gid = u; - } - -@@ -903,7 +929,7 @@ static void - size_decoder (struct tar_stat_info *st, char const *arg) - { - uintmax_t u; -- if (xstrtoumax (arg, NULL, 10, &u, "") == LONGINT_OK) -+ if (decode_num (&u, arg, TYPE_MAXIMUM (off_t), "size")) - st->archive_file_size = st->stat.st_size = u; - } - -@@ -918,7 +944,7 @@ static void - uid_decoder (struct tar_stat_info *st, char const *arg) - { - uintmax_t u; -- if (xstrtoumax (arg, NULL, 10, &u, "") == LONGINT_OK) -+ if (decode_num (&u, arg, TYPE_MAXIMUM (uid_t), "uid")) - st->stat.st_uid = u; - } - -@@ -946,7 +972,7 @@ static void - sparse_size_decoder (struct tar_stat_info *st, char const *arg) - { - uintmax_t u; -- if (xstrtoumax (arg, NULL, 10, &u, "") == LONGINT_OK) -+ if (decode_num (&u, arg, TYPE_MAXIMUM (off_t), "GNU.sparse.size")) - st->stat.st_size = u; - } - -@@ -962,10 +988,10 @@ static void - sparse_numblocks_decoder (struct tar_stat_info *st, char const *arg) - { - uintmax_t u; -- if (xstrtoumax (arg, NULL, 10, &u, "") == LONGINT_OK) -+ if (decode_num (&u, arg, SIZE_MAX, "GNU.sparse.numblocks")) - { - st->sparse_map_size = u; -- st->sparse_map = calloc(st->sparse_map_size, sizeof(st->sparse_map[0])); -+ st->sparse_map = xcalloc (u, sizeof st->sparse_map[0]); - st->sparse_map_avail = 0; - } - } -@@ -982,8 +1008,14 @@ static void - sparse_offset_decoder (struct tar_stat_info *st, char const *arg) - { - uintmax_t u; -- if (xstrtoumax (arg, NULL, 10, &u, "") == LONGINT_OK) -+ if (decode_num (&u, arg, TYPE_MAXIMUM (off_t), "GNU.sparse.offset")) -+ { -+ if (st->sparse_map_avail < st->sparse_map_size) - st->sparse_map[st->sparse_map_avail].offset = u; -+ else -+ ERROR ((0, 0, _("Malformed extended header: excess %s=%s"), -+ "GNU.sparse.offset", arg)); -+ } - } - - static void -@@ -998,15 +1030,13 @@ static void - sparse_numbytes_decoder (struct tar_stat_info *st, char const *arg) - { - uintmax_t u; -- if (xstrtoumax (arg, NULL, 10, &u, "") == LONGINT_OK) -+ if (decode_num (&u, arg, SIZE_MAX, "GNU.sparse.numbytes")) - { - if (st->sparse_map_avail == st->sparse_map_size) -- { -- st->sparse_map_size *= 2; -- st->sparse_map = xrealloc (st->sparse_map, -- st->sparse_map_size -- * sizeof st->sparse_map[0]); -- } -+ st->sparse_map = x2nrealloc (st->sparse_map, -+ &st->sparse_map_size, -+ sizeof st->sparse_map[0]); -+ - st->sparse_map[st->sparse_map_avail++].numbytes = u; - } - } diff --git a/app-arch/tar/files/tar.1-1.15.1 b/app-arch/tar/files/tar.1-1.15.1 deleted file mode 100644 index d79cad400d4d..000000000000 --- a/app-arch/tar/files/tar.1-1.15.1 +++ /dev/null @@ -1,637 +0,0 @@ -.TH TAR 1 "Oct 2004" "GNU" "tar" -.SH NAME -tar \- The GNU version of the tar archiving utility -.SH SYNOPSIS -.B tar -.I <operation> [options] - -.I Operations: -.nf -.B [-]A --catenate --concatenate -.B [-]c --create -.B [-]d --diff --compare -.B [-]r --append -.B [-]t --list -.B [-]u --update -.B [-]x --extract --get -.B --delete -.fi - -.I Common Options: -.nf -.BR -C ", " --directory " DIR" -.BR -f ", " --file " F" -.BR -j ", " --bzip2 -.BR -p ", " --preserve-permissions -.BR -v ", " --verbose -.BR -z ", " --gzip -.fi - -.I All Options: -.br -[ -.BR --atime-preserve -] -[ -.BR -b ", " --blocking-factor " N" -] -[ -.BR -B ", " --read-full-records -] -[ -.BR --backup " BACKUP-TYPE" -] -[ -.BR --block-compress -] -[ -.BR -C ", " --directory " DIR" -] -[ -.BR --check-links -] -[ -.BR --checkpoint -] -[ -.BR -f ", " --file " [HOSTNAME:]F" -] -[ -.BR -F ", " --info-script " F, " --new-volume-script " F" -] -[ -.BR --force-local -] -[ -.BR --format " FORMAT" -] -[ -.BR -g ", " --listed-incremental " F" -] -[ -.BR -G ", " --incremental -] -[ -.BR --group " GROUP" -] -[ -.BR -h ", " --dereference -] -[ -.BR --help -] -[ -.BR -i ", " --ignore-zeros -] -[ -.BR --ignore-case -] -[ -.BR --ignore-failed-read -] -[ -.BR --index-file " FILE" -] -[ -.BR -j ", " --bzip2 -] -[ -.BR -k ", " --keep-old-files -] -[ -.BR -K ", " --starting-file " FILE" -] -[ -.BR --keep-newer-files -] -[ -.BR -l ", " --one-file-system -] -[ -.BR -L ", " --tape-length " N" -] -[ -.BR -m ", " --touch ", " --modification-time -] -[ -.BR -M ", " --multi-volume -] -[ -.BR --mode " PERMISSIONS" -] -[ -.BR -N ", " --after-date " DATE, " --newer " DATE" -] -[ -.BR --newer-mtime " DATE" -] -[ -.BR --no-anchored -] -[ -.BR --no-ignore-case -] -[ -.BR --no-recursion -] -[ -.BR --no-same-permissions -] -[ -.BR --no-wildcards -] -[ -.BR --no-wildcards-match-slash -] -[ -.BR --null -] -[ -.BR --numeric-owner -] -[ -.BR -o ", " --old-archive ", " --portability ", " --no-same-owner -] -[ -.BR -O ", " --to-stdout -] -[ -.BR --occurrence " NUM" -] -[ -.BR --overwrite -] -[ -.BR --overwrite-dir -] -[ -.BR --owner " USER" -] -[ -.BR -p ", " --same-permissions ", " --preserve-permissions -] -[ -.BR -P ", " --absolute-names -] -[ -.BR --pax-option " KEYWORD-LIST" -] -[ -.BR --posix -] -[ -.BR --preserve -] -[ -.BR -R ", " --block-number -] -[ -.BR --record-size " SIZE" -] -[ -.BR --recursion -] -[ -.BR --recursive-unlink -] -[ -.BR --remove-files -] -[ -.BR --rmt-command " CMD" -] -[ -.BR --rsh-command " CMD" -] -[ -.BR -s ", " --same-order ", " --preserve-order -] -[ -.BR -S ", " --sparse -] -[ -.BR --same-owner -] -[ -.BR --show-defaults -] -[ -.BR --show-omitted-dirs -] -[ -.BR --strip-components " NUMBER, " --strip-path " NUMBER (1)" -] -[ -.BR --suffix " SUFFIX" -] -[ -.BR -T ", " --files-from " FILE" -] -[ -.BR --totals -] -[ -.BR -U ", " --unlink-first -] -[ -.BR --use-compress-program " PROG" -] -[ -.BR --utc -] -[ -.BR -v ", " --verbose -] -[ -.BR -V ", " --label " NAME" -] -[ -.BR --version -] -[ -.BR --volno-file " FILE" -] -[ -.BR -w ", " --interactive ", " --confirmation -] -[ -.BR -W ", " --verify -] -[ -.BR --wildcards -] -[ -.BR --wildcards-match-slash -] -[ -.BR --exclude " PATTERN" -] -[ -.BR -X ", " --exclude-from " FILE" -] -[ -.BR -Z ", " --compress ", " --uncompress -] -[ -.BR -z ", " --gzip ", " --gunzip ", " --ungzip -] -[ -.BR -[0-7][lmh] -] - -(1) tar-1.14 uses --strip-path, tar-1.14.90+ uses --strip-components -.SH DESCRIPTION -This manual page documents the GNU version of \fBtar\fR, an archiving -program designed to store and extract files from an archive file known -as a \fItarfile\fR. A \fItarfile\fR may be made on a tape drive, -however, it is also common to write a \fItarfile\fR to a normal file. -The first argument to \fBtar\fR must be one of the options \fBAcdrtux\fR, -followed by any optional functions. The final arguments to \fBtar\fR -are the names of the files or directories which should be archived. The -use of a directory name always implies that the subdirectories below -should be included in the archive. -.SH EXAMPLES -.TP -.B tar -xvf foo.tar -verbosely extract foo.tar -.TP -.B tar -xzf foo.tar.gz -extract gzipped foo.tar.gz -.TP -.B tar -cjf foo.tar.bz2 bar/ -create bzipped tar archive of the directory bar called foo.tar.bz2 -.TP -.B tar -xjf foo.tar.bz2 -C bar/ -extract bzipped foo.tar.bz2 after changing directory to bar -.TP -.B tar -xzf foo.tar.gz blah.txt -extract the file blah.txt from foo.tar.gz -.SH "FUNCTION LETTERS" -.TP -.B One of the following options must be used: -.TP -.BR -A ", " --catenate ", " --concatenate -append tar files to an archive -.TP -.BR -c ", " --create -create a new archive -.TP -.BR -d ", " --diff ", " --compare -find differences between archive and file system -.TP -.BR -r ", " --append -append files to the end of an archive -.TP -.BR -t ", " --list -list the contents of an archive -.TP -.BR -u ", " --update -only append files that are newer than the existing in archive -.TP -.BR -x ", " --extract ", " --get -extract files from an archive -.TP -.BR --delete -delete from the archive (not for use on mag tapes!) -.SH "COMMON OPTIONS" -.TP -.BR -C ", " --directory " DIR" -change to directory DIR -.TP -.BR -f ", " --file " [HOSTNAME:]F" -use archive file or device F (default "-", meaning stdin/stdout) -.TP -.BR -j ", " --bzip2 -filter archive through bzip2, use to decompress .bz2 files -.TP -.BR -p ", " --preserve-permissions -extract all protection information -.TP -.BR -v ", " --verbose -verbosely list files processed -.TP -.BR -z ", " --gzip ", " --ungzip -filter the archive through gzip -.SH "ALL OPTIONS" -.TP -.BR --atime-preserve -don't change access times on dumped files -.TP -.BR -b ", " --blocking-factor " N" -block size of Nx512 bytes (default N=20) -.TP -.BR -B ", " --read-full-blocks -reblock as we read (for reading 4.2BSD pipes) -.TP -.BR --backup " BACKUP-TYPE" -backup files instead of deleting them using BACKUP-TYPE simple or -numbered -.TP -.BR --block-compress -block the output of compression program for tapes -.TP -.BR -C ", " --directory " DIR" -change to directory DIR -.TP -.BR --check-links -warn if number of hard links to the file on the filesystem mismatch the -number of links recorded in the archive -.TP -.BR --checkpoint -print directory names while reading the archive -.TP -.BR -f ", " --file " [HOSTNAME:]F" -use archive file or device F (default "-", meaning stdin/stdout) -.TP -.BR -F ", " --info-script " FILE, " --new-volume-script " FILE" -run script at end of each tape (implies \fI--multi-volume\fR) -.TP -.BR --force-local -archive file is local even if has a colon -.TP -.BR --format " FORMAT" -selects output archive format -.nf -\fIv7\fR - Unix V7 -\fIoldgnu\fR - GNU tar <=1.12 -\fIgnu\fR - GNU tar 1.13 -\fIustar\fR - POSIX.1-1988 -\fIposix\fR - POSIX.1-2001 -.fi -.TP -.BR -g ", " --listed-incremental " F" -create/list/extract new GNU-format incremental backup -.TP -.BR -G ", " --incremental -create/list/extract old GNU-format incremental backup -.TP -.BR -h ", " --dereference -don't dump symlinks; dump the files they point to -.TP -.BR --help -like this manpage, but not as cool -.TP -.BR -i ", " --ignore-zeros -ignore blocks of zeros in archive (normally mean EOF) -.TP -.BR --ignore-case -ignore case when excluding files -.TP -.BR --ignore-failed-read -don't exit with non-zero status on unreadable files -.TP -.BR --index-file " FILE" -send verbose output to FILE instead of stdout -.TP -.BR -j ", " --bzip2 -filter archive through bzip2, use to decompress .bz2 files -.TP -.BR -k ", " --keep-old-files -keep existing files; don't overwrite them from archive -.TP -.BR -K ", " --starting-file " FILE" -begin at file F in the archive -.TP -.BR --keep-newer-files -do not overwrite files which are newer than the archive -.TP -.BR -l ", " --one-file-system -stay in local file system when creating an archive -.TP -.BR -L ", " --tape-length " N" -change tapes after writing N*1024 bytes -.TP -.BR -m ", " --touch ", " --modification-time -don't extract file modified time -.TP -.BR -M ", " --multi-volume -create/list/extract multi-volume archive -.TP -.BR --mode " PERMISSIONS" -apply PERMISSIONS while adding files (see \fBchmod\fR(1)) -.TP -.BR -N ", " --after-date " DATE, " --newer " DATE" -only store files that were modified or had status updates (permissions, -ACLs, extended attributes,...) since DATE -.TP -.BR --newer-mtime " DATE" -like \fI--newer\fR, but only store files that were modified since DATE -.TP -.BR --no-anchored -match any subsequenceof the name's components with \fI--exclude\fR -.TP -.BR --no-ignore-case -use case-sensitive matching with \fI--exclude\fR -.TP -.BR --no-recursion -don't recurse into directories -.TP -.BR --no-same-permissions -apply user's umask when extracting files instead of recorded permissions -.TP -.BR --no-wildcards -don't use wildcards with \fI--exclude\fR -.TP -.BR --no-wildcards-match-slash -wildcards do not match slashes (/) with \fI--exclude\fR -.TP -.BR --null -\fI--files-from\fR reads null-terminated names, disable \fI--directory\fR -.TP -.BR --numeric-owner -always use numbers for user/group names -.TP -.BR -o ", " --old-archive ", " --portability -like \fI--format=v7\fR; \fI-o\fR exhibits this behavior when creating an -archive (deprecated behavior) -.TP -.BR -o ", " --no-same-owner -do not attempt to restore ownership when extracting; \fI-o\fR exhibits -this behavior when extracting an archive -.TP -.BR -O ", " --to-stdout -extract files to standard output -.TP -.BR --occurrence " NUM" -process only NUM occurrences of each named file; used with -\fI--delete\fR, \fI--diff\fR, \fI--extract\fR, or \fI--list\fR -.TP -.BR --overwrite -overwrite existing files and directory metadata when extracting -.TP -.BR --overwrite-dir -overwrite directory metadata when extracting -.TP -.BR --owner " USER" -change owner of extraced files to USER -.TP -.BR -p ", " --same-permissions ", " --preserve-permissions -extract all protection information -.TP -.BR -P ", " --absolute-names -don't strip leading `/'s from file names -.TP -.BR --pax-option " KEYWORD-LIST" -used only with POSIX.1-2001 archives to modify the way \fBtar\fR handles -extended header keywords -.TP -.BR --posix -like \fI--format=posix\fR -.TP -.BR --preserve -like \fI--preserve-permissions\fR \fI--same-order\fR -.TP -.BR -R ", " --record-number -show record number within archive with each message -.TP -.BR --record-size " SIZE" -use SIZE bytes per record when accessing archives -.TP -.BR --recursion -recurse into directories -.TP -.BR --recursive-unlink -remove existing directories before extracting directories of the same name -.TP -.BR --remove-files -remove files after adding them to the archive -.TP -.BR --rmt-command " CMD" -use CMD instead of the default /usr/sbin/rmt -.TP -.BR --rsh-command " CMD" -use remote CMD instead of \fBrsh\fR(1) -.TP -.BR -s ", " --same-order ", " --preserve-order -list of names to extract is sorted to match archive -.TP -.BR -S ", " --sparse -handle sparse files efficiently -.TP -.BR --same-owner -create extracted files with the same ownership -.TP -.BR --show-defaults -display the default options used by \fBtar\fR -.TP -.BR --show-omitted-dirs -print directories \fBtar\fR skips while operating on an archive -.TP -.BR --strip-components " NUMBER, " --strip-path " NUMBER" -strip NUMBER of leading components from file names before extraction - -(1) tar-1.14 uses --strip-path, tar-1.14.90+ uses --strip-components -.TP -.BR --suffix " SUFFIX" -use SUFFIX instead of default '~' when backing up files -.TP -.BR -T ", " --files-from " FILE" -get names to extract or create from file FILE -.TP -.BR --totals -print total bytes written with --create -.TP -.BR -U ", " --unlink-first -remove existing files before extracting files of the same name -.TP -.BR --use-compress-program " PROG" -access the archive through PROG which is generally a compression program -.TP -.BR --utc -display file modification dates in UTC -.TP -.BR -v ", " --verbose -verbosely list files processed -.TP -.BR -V ", " --label " NAME" -create archive with volume name NAME -.TP -.BR --version -print \fBtar\fR program version number -.TP -.BR --volno-file " FILE" -keep track of which volume of a multi-volume archive its working in -FILE; used with \fI--multi-volume\fR -.TP -.BR -w ", " --interactive ", " --confirmation -ask for confirmation for every action -.TP -.BR -W ", " --verify -attempt to verify the archive after writing it -.TP -.BR --wildcards -use wildcards with \fI--exclude\fR -.TP -.BR --wildcards-match-slash -wildcards match slashes (/) with \fI--exclude\fR -.TP -.BR --exclude " PATTERN" -exclude files based upon PATTERN -.TP -.BR -X ", " --exclude-from " FILE" -exclude files listed in FILE -.TP -.BR -Z ", " --compress ", " --uncompress -filter the archive through compress -.TP -.BR -z ", " --gzip ", " --gunzip ", " --ungzip -filter the archive through gzip -.TP -.BR --use-compress-program " PROG" -filter the archive through PROG (which must accept -d) -.TP -.BR -[0-7][lmh] -specify drive and density -.SH BUGS -The GNU folks, in general, abhor man pages, and create info documents instead. -The maintainer of \fBtar\fR falls into this category. Thus this man page may -not be complete, nor current, and was included in the Gentoo portage tree -because man is a great tool :). This man page was first taken from Debian -Linux and has since been loving updated here. -.SH "REPORTING BUGS" -Please report bugs via http://bugs.gentoo.org/ -.SH "AUTHORS" -.nf -Debian Linux http://www.debian.org/ -Mike Frysinger <vapier@gentoo.org> -.fi diff --git a/app-arch/tar/tar-1.15.1-r1.ebuild b/app-arch/tar/tar-1.15.1-r1.ebuild deleted file mode 100644 index 15b0dd5e0b47..000000000000 --- a/app-arch/tar/tar-1.15.1-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.15.1-r1.ebuild,v 1.12 2007/07/07 12:26:40 ulm Exp $ - -inherit flag-o-matic eutils - -DESCRIPTION="Use this to make tarballs :)" -HOMEPAGE="http://www.gnu.org/software/tar/" -SRC_URI="http://ftp.gnu.org/gnu/tar/${P}.tar.bz2 - http://alpha.gnu.org/gnu/tar/${P}.tar.bz2 - mirror://gnu/tar/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="nls static build bzip2" - -RDEPEND="app-arch/gzip - bzip2? ( app-arch/bzip2 )" -DEPEND="${RDEPEND} - nls? ( >=sys-devel/gettext-0.10.35 )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PV}-flex-arg.patch - epatch "${FILESDIR}"/${P}-gcc4-test.patch #88214 - epatch "${FILESDIR}"/${P}-dont-abort-long-names.patch #87540 - epatch "${FILESDIR}"/${P}-less-verbose-newer.patch #86467 - epatch "${FILESDIR}"/${P}-lseek.patch - epatch "${FILESDIR}"/${PN}-CVE-2006-0300.patch - - cp "${FILESDIR}"/append.at tests/ - - if ! use userland_GNU ; then - sed -i \ - -e 's:/backup\.sh:/gbackup.sh:' \ - scripts/{backup,dump-remind,restore}.in \ - || die "sed non-GNU" - fi -} - -src_compile() { - local myconf - use static && append-ldflags -static - use userland_GNU || myconf="--program-prefix=g" - # Work around bug in sandbox #67051 - gl_cv_func_chown_follows_symlink=yes \ - econf \ - --enable-backup-scripts \ - --bindir=/bin \ - --libexecdir=/usr/sbin \ - $(use_enable nls) \ - ${myconf} || die - emake || die "emake failed" -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - # a nasty yet required symlink - local p="" - use userland_GNU || p=g - dodir /etc - dosym /usr/sbin/${p}rmt /etc/${p}rmt - if use build ; then - rm -r "${D}"/usr - else - dodir /usr/bin - dosym /bin/${p}tar /usr/bin/${p}tar - dodoc AUTHORS ChangeLog* NEWS README* PORTS THANKS - newman "${FILESDIR}"/tar.1-${PV} ${p}tar.1 - mv "${D}"/usr/sbin/${p}backup{,-tar} - mv "${D}"/usr/sbin/${p}restore{,-tar} - fi - - rm -f ${D}/usr/$(get_libdir)/charset.alias -} diff --git a/app-arch/tar/tar-1.16.1.ebuild b/app-arch/tar/tar-1.16.1.ebuild deleted file mode 100644 index 5be7d08d4024..000000000000 --- a/app-arch/tar/tar-1.16.1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.16.1.ebuild,v 1.13 2007/05/16 10:38:28 yoswink Exp $ - -inherit flag-o-matic eutils - -DESCRIPTION="Use this to make tarballs :)" -HOMEPAGE="http://www.gnu.org/software/tar/" -SRC_URI="http://ftp.gnu.org/gnu/tar/${P}.tar.bz2 - ftp://alpha.gnu.org/gnu/tar/${P}.tar.bz2 - mirror://gnu/tar/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" -IUSE="nls static" - -RDEPEND="" -DEPEND="${RDEPEND} - nls? ( >=sys-devel/gettext-0.10.35 )" - -src_unpack() { - unpack ${A} - cd "${S}" - - if ! use userland_GNU ; then - sed -i \ - -e 's:/backup\.sh:/gbackup.sh:' \ - scripts/{backup,dump-remind,restore}.in \ - || die "sed non-GNU" - fi -} - -src_compile() { - local myconf - use static && append-ldflags -static - use userland_GNU || myconf="--program-prefix=g" - # Work around bug in sandbox #67051 - gl_cv_func_chown_follows_symlink=yes \ - econf \ - --enable-backup-scripts \ - --bindir=/bin \ - --libexecdir=/usr/sbin \ - $(use_enable nls) \ - ${myconf} || die - emake || die "emake failed" -} - -src_install() { - local p="" - use userland_GNU || p=g - - emake DESTDIR="${D}" install || die "make install failed" - - if [[ -z ${p} ]] ; then - # a nasty yet required piece of baggage - exeinto /etc - doexe "${FILESDIR}"/rmt || die - fi - - dodoc AUTHORS ChangeLog* NEWS README* PORTS THANKS - newman "${FILESDIR}"/tar.1 ${p}tar.1 - mv "${D}"/usr/sbin/${p}backup{,-tar} - mv "${D}"/usr/sbin/${p}restore{,-tar} - - rm -f "${D}"/usr/$(get_libdir)/charset.alias -} |