tar: updated to 1.27

This commit is contained in:
Fredrik Rinnestam 2013-10-08 18:41:00 +02:00
parent 5c4b53ac90
commit 5b42388076
3 changed files with 8 additions and 11 deletions

View File

@ -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

View File

@ -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 \

View File

@ -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;