Skip to content

Commit 2b711d2

Browse files
committed
archivers/hs-zip-archive: Update to 0.4.2.2
zip-archive 0.4.2.2 * Use `command -v` before trying `which` in the test suite (#62). `command` is a bash builtin, but for busybox we'll need `which`. zip-archive 0.4.2.1 * Fix Windows build regression (#61). zip-archive 0.4.2 * Fix problem with files with colon (#89). * Remove build-tools. This was used to indicate that the 'unzip' executable was needed for testing, but it was never intended to be used this way and now the field is deprecated. The current test suite simply skips the test using the unzip executable (with a warning) if 'unzip' is not in the path. * Remove existing symlinks when extracting zip files with symlinks (#60, Vikrem). Previously, writeEntry would raise an error if it tried to create a symlink and a symlink already existed at that path. This behavior was inconsistent with its behavior for regular files, which it overwrote without comment. This commit causes symlinks to be replaced by writeEntry instead of an error being raised. * Remove binary < 0.6 CPP. It's no longer needed because we don't support binary < 0.6. Also use manySig instead of many, to get better error messages. * Add type annotation for printf. * Better checking for unsafe paths (#55). This method allows things like `foo/bar/../../baz`. * Require base >= 4.5 (#56) * Add GitHub CI.
1 parent 43c1559 commit 2b711d2

4 files changed

Lines changed: 24 additions & 25 deletions

File tree

archivers/hs-zip-archive/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
# $NetBSD: Makefile,v 1.5 2022/02/26 03:57:43 pho Exp $
1+
# $NetBSD: Makefile,v 1.6 2023/01/25 09:53:52 pho Exp $
22

3-
DISTNAME= zip-archive-0.4.1
4-
PKGREVISION= 4
3+
DISTNAME= zip-archive-0.4.2.2
54
CATEGORIES= archivers
65

76
MAINTAINER= zecrazytux@zecrazytux.net

archivers/hs-zip-archive/PLIST

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
@comment $NetBSD: PLIST,v 1.2 2021/04/23 04:01:42 pho Exp $
2-
lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
3-
lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Zip.dyn_hi
1+
@comment $NetBSD: PLIST,v 1.3 2023/01/25 09:53:52 pho Exp $
2+
${PLIST.shlibs}lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
3+
${PLIST.shlibs}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Zip.dyn_hi
44
lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Zip.hi
5-
lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Zip.p_hi
5+
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/Codec/Archive/Zip.p_hi
66
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
7-
lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
7+
${PLIST.prof}lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
88
lib/zip-archive-${PKGVERSION}/${HS_VERSION}/package-description
99
lib/zip-archive-${PKGVERSION}/${HS_VERSION}/package-id
10-
share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/LICENSE
11-
share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/Codec-Archive-Zip.html
12-
share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/doc-index.html
13-
share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/haddock-bundle.min.js
14-
share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/index.html
15-
share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/linuwial.css
16-
share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/meta.json
17-
share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/quick-jump.css
18-
share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/synopsis.png
19-
share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/zip-archive.haddock
10+
${PLIST.doc}share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/LICENSE
11+
${PLIST.doc}share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/Codec-Archive-Zip.html
12+
${PLIST.doc}share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/doc-index.html
13+
${PLIST.doc}share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/haddock-bundle.min.js
14+
${PLIST.doc}share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/index.html
15+
${PLIST.doc}share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/linuwial.css
16+
${PLIST.doc}share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/meta.json
17+
${PLIST.doc}share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/quick-jump.css
18+
${PLIST.doc}share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/synopsis.png
19+
${PLIST.doc}share/doc/${HS_PLATFORM}/zip-archive-${PKGVERSION}/html/zip-archive.haddock

archivers/hs-zip-archive/buildlink3.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# $NetBSD: buildlink3.mk,v 1.5 2022/02/26 03:57:43 pho Exp $
1+
# $NetBSD: buildlink3.mk,v 1.6 2023/01/25 09:53:52 pho Exp $
22

33
BUILDLINK_TREE+= hs-zip-archive
44

55
.if !defined(HS_ZIP_ARCHIVE_BUILDLINK3_MK)
66
HS_ZIP_ARCHIVE_BUILDLINK3_MK:=
77

8-
BUILDLINK_API_DEPENDS.hs-zip-archive+= hs-zip-archive>=0.4.1
9-
BUILDLINK_ABI_DEPENDS.hs-zip-archive+= hs-zip-archive>=0.4.1nb4
8+
BUILDLINK_API_DEPENDS.hs-zip-archive+= hs-zip-archive>=0.4.2
9+
BUILDLINK_ABI_DEPENDS.hs-zip-archive+= hs-zip-archive>=0.4.2.2
1010
BUILDLINK_PKGSRCDIR.hs-zip-archive?= ../../archivers/hs-zip-archive
1111

1212
.include "../../security/hs-digest/buildlink3.mk"

archivers/hs-zip-archive/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.3 2021/10/26 09:57:07 nia Exp $
1+
$NetBSD: distinfo,v 1.4 2023/01/25 09:53:52 pho Exp $
22

3-
BLAKE2s (zip-archive-0.4.1.tar.gz) = 22a9560076df30891ce8b4149106331804cba0f8d10aa8c7f1a2b9effa6ffb92
4-
SHA512 (zip-archive-0.4.1.tar.gz) = 216555bd73a46da5061291c2c071e9c71239bd5ae253ac06ee80ade65bb1871366cc8e4dffbad983c5b6a7f4b0cb2a1439dfa5971db3e183124fa90442a73f0c
5-
Size (zip-archive-0.4.1.tar.gz) = 20967 bytes
3+
BLAKE2s (zip-archive-0.4.2.2.tar.gz) = c21854b98f3bfd916b751242430318234547cb3fc69ef22312b55bc86787f643
4+
SHA512 (zip-archive-0.4.2.2.tar.gz) = f0134a58583bd3f2bd1282391c7f9d5a7411db5ca7acdc2882e2b99811a8368df903c151665fd097b7e806198912aea833cc8b910c41bda57f2ff1346b17a673
5+
Size (zip-archive-0.4.2.2.tar.gz) = 22296 bytes

0 commit comments

Comments
 (0)