diff --git a/tar/.md5sum b/tar/.md5sum index 303e8e33..19ef0f0e 100644 --- a/tar/.md5sum +++ b/tar/.md5sum @@ -1,4 +1,4 @@ 6a56bc4bb64fc9bb48d28e66a30ad937 rmt.8 -0ced6f20b9fa1bea588005b5ad4b52c1 tar-1.26.tar.xz -e4038247fa36a51d2784e163f58f6e38 tar-rootp.patch +3484fc42b7a82b82f2305b2971aa0e56 tar-1.27.tar.xz +0a422e615b38706414ee713f72679386 tar-rootp.patch 7c2293e8c051ade56db42daf2279e5eb tar.1 diff --git a/tar/Pkgfile b/tar/Pkgfile index a4923976..50510869 100644 --- a/tar/Pkgfile +++ b/tar/Pkgfile @@ -3,15 +3,13 @@ # Maintainer: CRUX System Team, core-ports at crux dot nu name=tar -version=1.26 -release=2 +version=1.27 +release=1 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz \ $name-rootp.patch tar.1 rmt.8) build() { cd $name-$version - # fix for glibc 'gets' removal - sed -i -e '/gets is a/d' gnu/stdio.in.h patch -p1 -i $SRC/$name-rootp.patch ./configure --prefix= \ --libexec=/usr/lib/tar \ diff --git a/tar/tar-rootp.patch b/tar/tar-rootp.patch index 1b34c74e..9845d9d2 100644 --- a/tar/tar-rootp.patch +++ b/tar/tar-rootp.patch @@ -1,10 +1,9 @@ -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 @@ +--- tar-1.27.orig/src/extract.c 2013-10-08 18:37:10.138985808 +0200 ++++ tar-1.27/src/extract.c 2013-10-08 18:38:19.661979057 +0200 +@@ -176,8 +176,6 @@ extr_init (void) { - we_are_root = geteuid () == 0; + we_are_root = geteuid () == ROOT_UID; - same_permissions_option += we_are_root; - same_owner_option += we_are_root;