summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/unzip/.footprint15
-rw-r--r--base/unzip/.md5sum3
-rwxr-xr-xbase/unzip/Pkgfile28
3 files changed, 46 insertions, 0 deletions
diff --git a/base/unzip/.footprint b/base/unzip/.footprint
new file mode 100644
index 000000000..068376c50
--- /dev/null
+++ b/base/unzip/.footprint
@@ -0,0 +1,15 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/funzip
+-rwxr-xr-x root/root usr/bin/unzip
+-rwxr-xr-x root/root usr/bin/unzipsfx
+-rwxr-xr-x root/root usr/bin/zipgrep
+-rwxr-xr-x root/root usr/bin/zipinfo
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/funzip.1.gz
+-rw-r--r-- root/root usr/share/man/man1/unzip.1.gz
+-rw-r--r-- root/root usr/share/man/man1/unzipsfx.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zipgrep.1.gz
+-rw-r--r-- root/root usr/share/man/man1/zipinfo.1.gz
diff --git a/base/unzip/.md5sum b/base/unzip/.md5sum
new file mode 100644
index 000000000..0f253be23
--- /dev/null
+++ b/base/unzip/.md5sum
@@ -0,0 +1,3 @@
+00ebf64fdda2ad54ddfc619f85f328bb unzip-5.52-security_fix-1.patch
+1754a1725588830b045a6bb1da8b7b54 unzip-5.52-security_fix-2.patch
+9d23919999d6eac9217d1f41472034a9 unzip552.tar.gz
diff --git a/base/unzip/Pkgfile b/base/unzip/Pkgfile
new file mode 100755
index 000000000..baec20844
--- /dev/null
+++ b/base/unzip/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Utilitaire de décompression de fichiers zip
+# URL: http://infozip.sourceforge.net/UnZip.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=unzip
+version=5.52
+release=1
+source=(http://fresh.t-systems-sfr.com/unix/src/misc/unzip552.tar.gz\
+ http://www.linuxfromscratch.org/patches/blfs/svn/unzip-5.52-security_fix-1.patch\
+ http://www.linuxfromscratch.org/patches/blfs/svn/unzip-5.52-security_fix-2.patch )
+
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../unzip-5.52-security_fix-1.patch
+ patch -Np1 -i ../unzip-5.52-security_fix-2.patch
+ case `uname -m` in
+ x86_64)
+ make -f unix/Makefile LOCAL_UNZIP=-D FILE_OFFSET_64BITS=64 \
+ CF="-0 -Wall -I. -DUSE_UNSHRINK" prefix=/usr unzips;;
+ i?86)
+ make -f unix/Makefile \
+ LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux;;
+ esac
+ make -f unix/Makefile prefix=$PKG/usr MANDIR=$PKG/usr/share/man/man1 install
+}