tar: update to 1.18

This commit is contained in:
Juergen Daubert 2007-07-06 08:55:49 +02:00
parent 52aba3a0de
commit 5a3abd6d8f
4 changed files with 29 additions and 19 deletions

View File

@ -1,4 +1,4 @@
6a56bc4bb64fc9bb48d28e66a30ad937 rmt.8
d51593461c5ef1f7e37134f22338bb9e tar-1.16.1.tar.bz2
3127a182050481f5dd5108a40228adbc tar-rootp.patch
ee376e4ebc14d72d243b4dd4f2b9553d tar.1
70170208d7c1bb9ab40120579434b6a3 tar-1.18.tar.bz2
e4038247fa36a51d2784e163f58f6e38 tar-rootp.patch
7c2293e8c051ade56db42daf2279e5eb tar.1

View File

@ -3,7 +3,7 @@
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=tar
version=1.16.1
version=1.18
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
$name-rootp.patch tar.1 rmt.8)
@ -12,8 +12,8 @@ build() {
cd $name-$version
patch -p1 -i $SRC/$name-rootp.patch
./configure --prefix= \
--libexec=/usr/lib/tar \
--disable-nls
--libexec=/usr/lib/tar \
--disable-nls
make
make DESTDIR=$PKG install
rm -rf $PKG/{sbin,share}

View File

@ -1,9 +1,7 @@
Don't keep permissions by default if we are root.
diff -aur tar-1.16.orig/src/extract.c tar-1.16/src/extract.c
--- tar-1.16.orig/src/extract.c 2006-06-24 18:56:56.000000000 +0200
+++ tar-1.16/src/extract.c 2006-10-22 18:53:38.706626788 +0200
@@ -112,8 +112,6 @@
diff -Nru tar-1.18.orig/src/extract.c tar-1.18/src/extract.c
--- tar-1.18.orig/src/extract.c 2007-07-05 08:19:23.000000000 +0200
+++ tar-1.18/src/extract.c 2007-07-05 08:19:37.000000000 +0200
@@ -113,8 +113,6 @@
extr_init (void)
{
we_are_root = geteuid () == 0;

View File

@ -72,6 +72,9 @@ only append files that are newer than copy in archive
extract files from an archive
.SH "OTHER OPTIONS"
.TP
.B \-\-allow\-name\-mangling
re-enable handling of GNUTYPE_NAMES which is now disabled by default
.TP
.B \-\-anchored
force exclusion patterns to match initial subsequences
.TP
@ -84,7 +87,7 @@ use record size of Nx512 bytes (default N=20)
.B \-B, \-\-read\-full\-records
reblock as we read (for reading 4.2BSD pipes)
.TP
.B \-\-backup [TYPE]
.B \-\-backup[\=TYPE]
back up files instead of overwriting (TYPE=numbered, existing, simple)
.TP
.B \-C, \-\-directory DIR
@ -142,8 +145,8 @@ keep existing files; don't overwrite them from archive
.B \-K, \-\-starting\-file F
begin at file F in the archive
.TP
.B \-l, \-\-one\-file\-system
stay in local file system when creating an archive
.B \-l, \-\-check\-links
print a message if not all links are dumped
.TP
.B \-L, \-\-tape\-length N
change tapes after writing N*1024 bytes
@ -172,7 +175,7 @@ match patterns case sensitively (the default)
.B \-\-no\-recursion
do not recurse into subdirectories
.TP
.B \-\-no\-same\-owner
.B \-o, \-\-no\-same\-owner
extract files with owner set to current user (the default for non-root
users)
.TP
@ -191,8 +194,14 @@ for \-T, use "NUL" instead of newline as filename terminator
.B \-\-numeric\-owner
always use numbers for user/group names
.TP
.B \-o, \-\-old\-archive, \-\-portability
write a V7 format archive, rather than ANSI format
.B \-\-old\-archive, \-\-portability
write a V7 format archive, rather than ANSI format. These options are
deprecated, please use
.B \-\-format\=v7
instead.
.TP
.B \-\-one\-file\-system
stay in local file system when creating an archive
.TP
.B \-\-owner O
set owner to O while adding files
@ -207,7 +216,10 @@ ignore umask when extracting files (the default for root)
don't strip leading `/'s from file names
.TP
.B \-\-posix
create POSIX compliant archive
create POSIX compliant archive. This option is deprecated,
please use
.B \-\-format\=posix
instead.
.TP
.B \-\-preserve
like \-p \-s