summaryrefslogtreecommitdiff
path: root/tar
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2007-07-06 08:55:49 +0200
committerJuergen Daubert <jue@jue.li>2007-07-06 08:55:49 +0200
commit5a3abd6d8f39518287bb76094d4001c1ab00b40c (patch)
tree865ce528aa257d5858ec098b6b30ec0171c4efbc /tar
parent52aba3a0dec0bcaf4f187b549ae701d18ba74fd3 (diff)
downloadcore-5a3abd6d8f39518287bb76094d4001c1ab00b40c.tar.gz
core-5a3abd6d8f39518287bb76094d4001c1ab00b40c.tar.xz
tar: update to 1.18
Diffstat (limited to 'tar')
-rw-r--r--tar/.md5sum6
-rw-r--r--tar/Pkgfile6
-rw-r--r--tar/tar-rootp.patch10
-rw-r--r--tar/tar.126
4 files changed, 29 insertions, 19 deletions
diff --git a/tar/.md5sum b/tar/.md5sum
index 9ed280b0..aa143a23 100644
--- a/tar/.md5sum
+++ b/tar/.md5sum
@@ -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
diff --git a/tar/Pkgfile b/tar/Pkgfile
index d805c6a0..5683aea6 100644
--- a/tar/Pkgfile
+++ b/tar/Pkgfile
@@ -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}
diff --git a/tar/tar-rootp.patch b/tar/tar-rootp.patch
index 3d0430fc..1b34c74e 100644
--- a/tar/tar-rootp.patch
+++ b/tar/tar-rootp.patch
@@ -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;
diff --git a/tar/tar.1 b/tar/tar.1
index a80b8083..ad32bbb0 100644
--- a/tar/tar.1
+++ b/tar/tar.1
@@ -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

Generated by cgit