diff options
author | Juergen Daubert <jue@jue.li> | 2006-12-15 16:18:11 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2006-12-15 16:18:11 +0100 |
commit | 87707517a8ecbaacee5247ca7a3b29c2b70de617 (patch) | |
tree | 94302703f8f1f5aba81c378ca48abf799c70650f /gzip | |
parent | aa522071088ac74a9b1acea9272d3167eb42e8c3 (diff) | |
download | core-87707517a8ecbaacee5247ca7a3b29c2b70de617.tar.gz core-87707517a8ecbaacee5247ca7a3b29c2b70de617.tar.xz |
[notify] gzip: update to 1.3.9
This is a bugfix release of gzip with a lot of fixes for
security related issues.
See http://article.gmane.org/gmane.comp.gnu.utils.bugs/14257
Diffstat (limited to 'gzip')
-rw-r--r-- | gzip/.footprint | 4 | ||||
-rw-r--r-- | gzip/.md5sum | 3 | ||||
-rw-r--r-- | gzip/Pkgfile | 43 |
3 files changed, 27 insertions, 23 deletions
diff --git a/gzip/.footprint b/gzip/.footprint index 5b180645..d312a084 100644 --- a/gzip/.footprint +++ b/gzip/.footprint @@ -7,8 +7,11 @@ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/gzexe lrwxrwxrwx root/root usr/bin/zcmp -> zdiff -rwxr-xr-x root/root usr/bin/zdiff +lrwxrwxrwx root/root usr/bin/zegrep -> zgrep +lrwxrwxrwx root/root usr/bin/zfgrep -> zgrep -rwxr-xr-x root/root usr/bin/zforce -rwxr-xr-x root/root usr/bin/zgrep +-rwxr-xr-x root/root usr/bin/zless -rwxr-xr-x root/root usr/bin/zmore -rwxr-xr-x root/root usr/bin/znew drwxr-xr-x root/root usr/man/ @@ -21,5 +24,6 @@ lrwxrwxrwx root/root usr/man/man1/zcmp.1.gz -> zdiff.1.gz -rw-r--r-- root/root usr/man/man1/zdiff.1.gz -rw-r--r-- root/root usr/man/man1/zforce.1.gz -rw-r--r-- root/root usr/man/man1/zgrep.1.gz +-rw-r--r-- root/root usr/man/man1/zless.1.gz -rw-r--r-- root/root usr/man/man1/zmore.1.gz -rw-r--r-- root/root usr/man/man1/znew.1.gz diff --git a/gzip/.md5sum b/gzip/.md5sum index fccfaeba..692eb672 100644 --- a/gzip/.md5sum +++ b/gzip/.md5sum @@ -1,2 +1 @@ -39053e044b18ecd0627f80fbe7cfeaad gzip-1.2.4a.tar.gz -74b81d7ec67a369e4e782a16d6f65afc gzip-1.2.4b.patch +7cf923b24b718c418e85a283b2260e14 gzip-1.3.9.tar.gz diff --git a/gzip/Pkgfile b/gzip/Pkgfile index 9d00888f..789460f1 100644 --- a/gzip/Pkgfile +++ b/gzip/Pkgfile @@ -3,28 +3,29 @@ # Maintainer: Per Lidén, core-ports at crux dot nu name=gzip -version=1.2.4b +version=1.3.9 release=1 -source=(http://ftp.gnu.org/gnu/$name/$name-1.2.4a.tar.gz \ - http://www.gzip.org/$name-$version.patch) +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) build() { - cd $name-1.2.4a - patch -p1 < ../$name-$version.patch - ./configure --prefix=/usr - make all - mkdir -p $PKG/bin $PKG/usr/man - make prefix=$PKG/usr install - rm -rf $PKG/usr/{lib,info} - (cd $PKG/usr/bin; mv gzip $PKG/bin; rm gunzip zcat zcmp) - (cd $PKG/usr/man/man1; rm gunzip.1 zcat.1 zcmp.1) - (cd $PKG/bin; ln -s gzip gunzip; ln -s gzip zcat) - (cd $PKG/usr/bin; ln -s zdiff zcmp) - sed 's|"/usr/bin"|/bin|g' $PKG/usr/bin/gzexe > $PKG/usr/bin/gzexe.tmp - mv $PKG/usr/bin/gzexe.tmp $PKG/usr/bin/gzexe - chmod 755 $PKG/usr/bin/gzexe - (cd $PKG/usr/man/man1 - ln -sf gzip.1.gz gunzip.1.gz - ln -sf gzip.1.gz zcat.1.gz - ln -sf zdiff.1.gz zcmp.1.gz) + cd $name-$version + ./configure --prefix=/usr --mandir=/usr/man + make + make DESTDIR=$PKG install + + rm -rf $PKG/usr/share + rm $PKG/usr/bin/{gunzip,zcat,zcmp} + rm $PKG/usr/man/man1/{gunzip.1,zcat.1,zcmp.1} + + mkdir -p $PKG/bin + mv $PKG/usr/bin/gzip $PKG/bin + + ln -sf gzip $PKG/bin/gunzip + ln -sf gzip $PKG/bin/zcat + ln -sf zdiff $PKG/usr/bin/zcmp + ln -sf zgrep $PKG/usr/bin/zfgrep + ln -sf zgrep $PKG/usr/bin/zegrep + ln -sf gzip.1.gz $PKG/usr/man/man1/gunzip.1.gz + ln -sf gzip.1.gz $PKG/usr/man/man1/zcat.1.gz + ln -sf zdiff.1.gz $PKG/usr/man/man1/zcmp.1.gz } |