From adf431544e943e89bbb687bc2c591cde4d87200f Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sat, 14 Apr 2007 14:24:30 +0200 Subject: [PATCH] gzip: don't try to hard link from /usr to / --- gzip/.footprint | 2 +- gzip/Pkgfile | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gzip/.footprint b/gzip/.footprint index 39f58b6f..388d9f17 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 6b5023fd..f5f74fa6 100644 --- a/gzip/Pkgfile +++ b/gzip/Pkgfile @@ -4,7 +4,7 @@ name=gzip version=1.3.12 -release=1 +release=2 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) build() { @@ -21,5 +21,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 it 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 }