tar: update to 1.18
This commit is contained in:
parent
52aba3a0de
commit
5a3abd6d8f
@ -1,4 +1,4 @@
|
|||||||
6a56bc4bb64fc9bb48d28e66a30ad937 rmt.8
|
6a56bc4bb64fc9bb48d28e66a30ad937 rmt.8
|
||||||
d51593461c5ef1f7e37134f22338bb9e tar-1.16.1.tar.bz2
|
70170208d7c1bb9ab40120579434b6a3 tar-1.18.tar.bz2
|
||||||
3127a182050481f5dd5108a40228adbc tar-rootp.patch
|
e4038247fa36a51d2784e163f58f6e38 tar-rootp.patch
|
||||||
ee376e4ebc14d72d243b4dd4f2b9553d tar.1
|
7c2293e8c051ade56db42daf2279e5eb tar.1
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||||
|
|
||||||
name=tar
|
name=tar
|
||||||
version=1.16.1
|
version=1.18
|
||||||
release=1
|
release=1
|
||||||
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
|
||||||
$name-rootp.patch tar.1 rmt.8)
|
$name-rootp.patch tar.1 rmt.8)
|
||||||
@ -12,8 +12,8 @@ build() {
|
|||||||
cd $name-$version
|
cd $name-$version
|
||||||
patch -p1 -i $SRC/$name-rootp.patch
|
patch -p1 -i $SRC/$name-rootp.patch
|
||||||
./configure --prefix= \
|
./configure --prefix= \
|
||||||
--libexec=/usr/lib/tar \
|
--libexec=/usr/lib/tar \
|
||||||
--disable-nls
|
--disable-nls
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
rm -rf $PKG/{sbin,share}
|
rm -rf $PKG/{sbin,share}
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
Don't keep permissions by default if we are root.
|
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
|
||||||
diff -aur tar-1.16.orig/src/extract.c tar-1.16/src/extract.c
|
+++ tar-1.18/src/extract.c 2007-07-05 08:19:37.000000000 +0200
|
||||||
--- tar-1.16.orig/src/extract.c 2006-06-24 18:56:56.000000000 +0200
|
@@ -113,8 +113,6 @@
|
||||||
+++ tar-1.16/src/extract.c 2006-10-22 18:53:38.706626788 +0200
|
|
||||||
@@ -112,8 +112,6 @@
|
|
||||||
extr_init (void)
|
extr_init (void)
|
||||||
{
|
{
|
||||||
we_are_root = geteuid () == 0;
|
we_are_root = geteuid () == 0;
|
||||||
|
26
tar/tar.1
26
tar/tar.1
@ -72,6 +72,9 @@ only append files that are newer than copy in archive
|
|||||||
extract files from an archive
|
extract files from an archive
|
||||||
.SH "OTHER OPTIONS"
|
.SH "OTHER OPTIONS"
|
||||||
.TP
|
.TP
|
||||||
|
.B \-\-allow\-name\-mangling
|
||||||
|
re-enable handling of GNUTYPE_NAMES which is now disabled by default
|
||||||
|
.TP
|
||||||
.B \-\-anchored
|
.B \-\-anchored
|
||||||
force exclusion patterns to match initial subsequences
|
force exclusion patterns to match initial subsequences
|
||||||
.TP
|
.TP
|
||||||
@ -84,7 +87,7 @@ use record size of Nx512 bytes (default N=20)
|
|||||||
.B \-B, \-\-read\-full\-records
|
.B \-B, \-\-read\-full\-records
|
||||||
reblock as we read (for reading 4.2BSD pipes)
|
reblock as we read (for reading 4.2BSD pipes)
|
||||||
.TP
|
.TP
|
||||||
.B \-\-backup [TYPE]
|
.B \-\-backup[\=TYPE]
|
||||||
back up files instead of overwriting (TYPE=numbered, existing, simple)
|
back up files instead of overwriting (TYPE=numbered, existing, simple)
|
||||||
.TP
|
.TP
|
||||||
.B \-C, \-\-directory DIR
|
.B \-C, \-\-directory DIR
|
||||||
@ -142,8 +145,8 @@ keep existing files; don't overwrite them from archive
|
|||||||
.B \-K, \-\-starting\-file F
|
.B \-K, \-\-starting\-file F
|
||||||
begin at file F in the archive
|
begin at file F in the archive
|
||||||
.TP
|
.TP
|
||||||
.B \-l, \-\-one\-file\-system
|
.B \-l, \-\-check\-links
|
||||||
stay in local file system when creating an archive
|
print a message if not all links are dumped
|
||||||
.TP
|
.TP
|
||||||
.B \-L, \-\-tape\-length N
|
.B \-L, \-\-tape\-length N
|
||||||
change tapes after writing N*1024 bytes
|
change tapes after writing N*1024 bytes
|
||||||
@ -172,7 +175,7 @@ match patterns case sensitively (the default)
|
|||||||
.B \-\-no\-recursion
|
.B \-\-no\-recursion
|
||||||
do not recurse into subdirectories
|
do not recurse into subdirectories
|
||||||
.TP
|
.TP
|
||||||
.B \-\-no\-same\-owner
|
.B \-o, \-\-no\-same\-owner
|
||||||
extract files with owner set to current user (the default for non-root
|
extract files with owner set to current user (the default for non-root
|
||||||
users)
|
users)
|
||||||
.TP
|
.TP
|
||||||
@ -191,8 +194,14 @@ for \-T, use "NUL" instead of newline as filename terminator
|
|||||||
.B \-\-numeric\-owner
|
.B \-\-numeric\-owner
|
||||||
always use numbers for user/group names
|
always use numbers for user/group names
|
||||||
.TP
|
.TP
|
||||||
.B \-o, \-\-old\-archive, \-\-portability
|
.B \-\-old\-archive, \-\-portability
|
||||||
write a V7 format archive, rather than ANSI format
|
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
|
.TP
|
||||||
.B \-\-owner O
|
.B \-\-owner O
|
||||||
set owner to O while adding files
|
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
|
don't strip leading `/'s from file names
|
||||||
.TP
|
.TP
|
||||||
.B \-\-posix
|
.B \-\-posix
|
||||||
create POSIX compliant archive
|
create POSIX compliant archive. This option is deprecated,
|
||||||
|
please use
|
||||||
|
.B \-\-format\=posix
|
||||||
|
instead.
|
||||||
.TP
|
.TP
|
||||||
.B \-\-preserve
|
.B \-\-preserve
|
||||||
like \-p \-s
|
like \-p \-s
|
||||||
|
Loading…
Reference in New Issue
Block a user