summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2020-01-17 19:01:49 +0000
committerpho <pho@pkgsrc.org>2020-01-17 19:01:49 +0000
commit7031244cfaf610644dd0ce3dc99a3c97595dbbb8 (patch)
tree1936ea8189c7ab395ac2202c1a1a421b6a7ce8b4 /archivers
parentfe2282866f84126a69a289fdb298f48501e66082 (diff)
downloadpkgsrc-7031244cfaf610644dd0ce3dc99a3c97595dbbb8.tar.gz
Import zip-archive-0.4.1 from wip
The zip-archive library provides functions for creating, modifying, and extracting files from zip archives. The zip archive format is documented in http://www.pkware.com/documents/casestudies/APPNOTE.TXT. Certain simplifying assumptions are made about the zip archives: in particular, there is no support for strong encryption, zip files that span multiple disks, ZIP64, OS-specific file attributes, or compression methods other than Deflate. However, the library should be able to read the most common zip archives, and the archives it produces should be readable by all standard unzip programs.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/hs-zip-archive/DESCR10
-rw-r--r--archivers/hs-zip-archive/Makefile13
-rw-r--r--archivers/hs-zip-archive/buildlink3.mk16
-rw-r--r--archivers/hs-zip-archive/distinfo6
4 files changed, 45 insertions, 0 deletions
diff --git a/archivers/hs-zip-archive/DESCR b/archivers/hs-zip-archive/DESCR
new file mode 100644
index 00000000000..a58e61550be
--- /dev/null
+++ b/archivers/hs-zip-archive/DESCR
@@ -0,0 +1,10 @@
+The zip-archive library provides functions for creating, modifying,
+and extracting files from zip archives. The zip archive format is
+documented in http://www.pkware.com/documents/casestudies/APPNOTE.TXT.
+
+Certain simplifying assumptions are made about the zip archives: in
+particular, there is no support for strong encryption, zip files that
+span multiple disks, ZIP64, OS-specific file attributes, or
+compression methods other than Deflate. However, the library should be
+able to read the most common zip archives, and the archives it
+produces should be readable by all standard unzip programs.
diff --git a/archivers/hs-zip-archive/Makefile b/archivers/hs-zip-archive/Makefile
new file mode 100644
index 00000000000..0395aa53204
--- /dev/null
+++ b/archivers/hs-zip-archive/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2020/01/17 19:01:49 pho Exp $
+
+DISTNAME= zip-archive-0.4.1
+CATEGORIES= archivers
+
+MAINTAINER= zecrazytux@zecrazytux.net
+COMMENT= Library for creating and modifying zip archives
+LICENSE= modified-bsd
+
+.include "../../security/hs-digest/buildlink3.mk"
+.include "../../archivers/hs-zlib/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/hs-zip-archive/buildlink3.mk b/archivers/hs-zip-archive/buildlink3.mk
new file mode 100644
index 00000000000..e31e939e3aa
--- /dev/null
+++ b/archivers/hs-zip-archive/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/01/17 19:01:49 pho Exp $
+
+BUILDLINK_TREE+= hs-zip-archive
+
+.if !defined(HS_ZIP_ARCHIVE_BUILDLINK3_MK)
+HS_ZIP_ARCHIVE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-zip-archive+= hs-zip-archive>=0.4.1
+BUILDLINK_ABI_DEPENDS.hs-zip-archive+= hs-zip-archive>=0.4.1
+BUILDLINK_PKGSRCDIR.hs-zip-archive?= ../../archivers/hs-zip-archive
+
+.include "../../security/hs-digest/buildlink3.mk"
+.include "../../archivers/hs-zlib/buildlink3.mk"
+.endif # HS_ZIP_ARCHIVE_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-zip-archive
diff --git a/archivers/hs-zip-archive/distinfo b/archivers/hs-zip-archive/distinfo
new file mode 100644
index 00000000000..5e994d6690d
--- /dev/null
+++ b/archivers/hs-zip-archive/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/01/17 19:01:49 pho Exp $
+
+SHA1 (zip-archive-0.4.1.tar.gz) = 4da8c2eefe54d0415cabf2f4a229b58639f78997
+RMD160 (zip-archive-0.4.1.tar.gz) = 661115244b28d3ae69e563b7d2868d954dc88081
+SHA512 (zip-archive-0.4.1.tar.gz) = 216555bd73a46da5061291c2c071e9c71239bd5ae253ac06ee80ade65bb1871366cc8e4dffbad983c5b6a7f4b0cb2a1439dfa5971db3e183124fa90442a73f0c
+Size (zip-archive-0.4.1.tar.gz) = 20967 bytes