From 0c77f54f44148c4a121401f6fc3744c938338f50 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 10 Sep 2013 16:51:47 +0000 Subject: [PATCH] gzip: aligned with upstream --- gzip/.footprint | 2 +- gzip/Pkgfile | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gzip/.footprint b/gzip/.footprint index 39f58b6..388d9f1 100644 --- a/gzip/.footprint +++ b/gzip/.footprint @@ -5,7 +5,7 @@ drwxr-xr-x root/root bin/ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/gzexe --rwxr-xr-x root/root usr/bin/uncompress +lrwxrwxrwx root/root usr/bin/uncompress -> /bin/gunzip -rwxr-xr-x root/root usr/bin/zcmp -rwxr-xr-x root/root usr/bin/zdiff -rwxr-xr-x root/root usr/bin/zegrep diff --git a/gzip/Pkgfile b/gzip/Pkgfile index e2dfbe4..f32bc0f 100644 --- a/gzip/Pkgfile +++ b/gzip/Pkgfile @@ -6,7 +6,7 @@ name=gzip version=1.5 -release=1 +release=2 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) build() { @@ -28,5 +28,10 @@ build() { ln -sf gzip.1.gz $PKG/usr/man/man1/zcat.1.gz ln -sf zdiff.1.gz $PKG/usr/man/man1/zcmp.1.gz + # make uncompress a symlink to gunzip, since the hardlink + # will not work if / and /usr are on different file systems. + rm $PKG/usr/bin/uncompress + ln -s /bin/gunzip $PKG/usr/bin/uncompress + rm -r $PKG/usr/share } -- 2.26.2