# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
categories archivers sysutils
description Decompression compatible with pkunzip
UnZip is an extraction utility for archives compressed in .zip \
format (also called \"zipfiles\"). Although highly compatible both \
with PKWARE's PKZIP and PKUNZIP utilities for MS-DOS and with Info-ZIP's \
own Zip program, our primary objectives have been portability and \
homepage http://infozip.sourceforge.net/UnZip.html
master_sites sourceforge:infozip
distname ${name}[strsed $version g/\\.//]
checksums rmd160 48af66606e9472e45fbb94bc4e285da23d1b89ba \
sha256 036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37
01-manpages-in-section-1-not-in-section-1l.patch \
04-handle-pkware-verification-bit.patch \
05-fix-uid-gid-handling.patch \
06-initialize-the-symlink-flag.patch \
07-increase-size-of-cfactorstr.patch \
08-allow-greater-hostver-values.patch \
09-cve-2014-8139-crc-overflow.patch \
10-cve-2014-8140-test-compr-eb.patch \
11-cve-2014-8141-getzip64data.patch \
12-cve-2014-9636-test-compr-eb.patch \
13-remove-build-date.patch \
16-fix-integer-underflow-csiz-decrypted.patch \
17-restore-unix-timestamps-accurately.patch \
18-cve-2014-9913-unzip-buffer-overflow.patch \
19-cve-2016-9844-zipinfo-buffer-overflow.patch
reinplace -E "/-O3/s|(LF2=\")|\\1[get_canonical_archflags ld]|" \
${worksrcpath}/unix/Makefile
set localflags [get_canonical_archflags cc]
build.args -f unix/Makefile \