🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819
pkgname: unzip
pkgver: '6.0'
pkgrel: '2'
pkgdesc: Unpacks .zip archives such as those made by PKZIP
url: 'http://www.info-zip.org'
arch: x86_64
depends: []
makedepends: []
source:
- 'https://downloads.sourceforge.net/infozip/unzip60.tar.gz'
- cumulative.patch
- 28-cve-2022-0529-and-cve-2022-0530.patch
sha256sums:
- 036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37
- SKIP
- SKIP
build: "cd ${pkgname}60\n# patch -Np1 -i ./cumulative.patch\n# patch -p1 -F3 -i ./28-cve-2022-0529-and-cve-2022-0530.patch\n export CFLAGS=\"$CFLAGS -std=gnu17 -D_FILE_OFFSET_BITS=64 -DACORN_FTYPE_NFS \\\n -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT \\\n -DUNICODE_WCHAR -DUTF8_MAYBE_NATIVE -DNO_LCHMOD -DDATE_FORMAT=DF_YMD \\\n -DUSE_BZIP2 -DNATIVE\"\ncase `uname -m` in\n\tx86_64)\n\t\tmake -f unix/Makefile LOCAL_UNZIP=\"$CFLAGS\" prefix=/usr \\\n\t\tLF2=\"\" D_USE_BZ2=-DUSE_BZIP2 L_BZ2=-lbz2 unzips;;\n\ti?86)\n\t\tmake -f unix/Makefile \\\n\t\tLOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux;;\nesac\nmake -f unix/Makefile prefix=${PKGDIR}/usr MANDIR=${PKGDIR}/usr/share/man/man1 install\n"
package: |
true