tar: updated to 1.27
This commit is contained in:
parent
5c4b53ac90
commit
5b42388076
@ -1,4 +1,4 @@
|
|||||||
6a56bc4bb64fc9bb48d28e66a30ad937 rmt.8
|
6a56bc4bb64fc9bb48d28e66a30ad937 rmt.8
|
||||||
0ced6f20b9fa1bea588005b5ad4b52c1 tar-1.26.tar.xz
|
3484fc42b7a82b82f2305b2971aa0e56 tar-1.27.tar.xz
|
||||||
e4038247fa36a51d2784e163f58f6e38 tar-rootp.patch
|
0a422e615b38706414ee713f72679386 tar-rootp.patch
|
||||||
7c2293e8c051ade56db42daf2279e5eb tar.1
|
7c2293e8c051ade56db42daf2279e5eb tar.1
|
||||||
|
@ -3,15 +3,13 @@
|
|||||||
# 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.26
|
version=1.27
|
||||||
release=2
|
release=1
|
||||||
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz \
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz \
|
||||||
$name-rootp.patch tar.1 rmt.8)
|
$name-rootp.patch tar.1 rmt.8)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
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
|
patch -p1 -i $SRC/$name-rootp.patch
|
||||||
./configure --prefix= \
|
./configure --prefix= \
|
||||||
--libexec=/usr/lib/tar \
|
--libexec=/usr/lib/tar \
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
diff -Nru tar-1.18.orig/src/extract.c tar-1.18/src/extract.c
|
--- tar-1.27.orig/src/extract.c 2013-10-08 18:37:10.138985808 +0200
|
||||||
--- tar-1.18.orig/src/extract.c 2007-07-05 08:19:23.000000000 +0200
|
+++ tar-1.27/src/extract.c 2013-10-08 18:38:19.661979057 +0200
|
||||||
+++ tar-1.18/src/extract.c 2007-07-05 08:19:37.000000000 +0200
|
@@ -176,8 +176,6 @@
|
||||||
@@ -113,8 +113,6 @@
|
|
||||||
extr_init (void)
|
extr_init (void)
|
||||||
{
|
{
|
||||||
we_are_root = geteuid () == 0;
|
we_are_root = geteuid () == ROOT_UID;
|
||||||
- same_permissions_option += we_are_root;
|
- same_permissions_option += we_are_root;
|
||||||
- same_owner_option += we_are_root;
|
- same_owner_option += we_are_root;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user