diff options
author | tv <tv> | 1998-06-20 23:26:05 +0000 |
---|---|---|
committer | tv <tv> | 1998-06-20 23:26:05 +0000 |
commit | c5560780ff631bd9dd0134581446aa137155f60d (patch) | |
tree | 5ab8fbc3045f26a9b1f40bc58656dd0618408def /archivers/zip | |
parent | b1ee1ad723ce23b54fb770cffa097727e7739fdb (diff) | |
download | pkgsrc-c5560780ff631bd9dd0134581446aa137155f60d.tar.gz |
Add encryption support to zip and unzip pkgs using ZIP_ENCRYPTION make
variable.
Diffstat (limited to 'archivers/zip')
-rw-r--r-- | archivers/zip/Makefile | 18 | ||||
-rw-r--r-- | archivers/zip/files/md5 | 1 | ||||
-rw-r--r-- | archivers/zip/pkg/PLIST | 10 |
3 files changed, 22 insertions, 7 deletions
diff --git a/archivers/zip/Makefile b/archivers/zip/Makefile index d84fe30cd4b..4a4cb0f2b10 100644 --- a/archivers/zip/Makefile +++ b/archivers/zip/Makefile @@ -1,10 +1,11 @@ -# $NetBSD: Makefile,v 1.10 1998/06/18 16:06:38 agc Exp $ +# $NetBSD: Makefile,v 1.11 1998/06/20 23:26:05 tv Exp $ # FreeBSD Id: Makefile,v 1.10 1997/04/27 16:06:15 ache Exp # DISTNAME= zip-2.2 CATEGORIES= archivers -MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/ +MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/ \ + ftp://ftp.icce.rug.nl/infozip/src/ DISTFILES= zip22.tar.gz MAINTAINER= packages@netbsd.org @@ -13,6 +14,19 @@ MAKEFILE= unix/Makefile MAKE_FLAGS= LOCAL_ZIP="${CFLAGS}" ALL_TARGET= generic +.include "../../mk/bsd.prefs.mk" + +.if defined(ZIP_ENCRYPTION) +DISTFILES+= zcrypt27.zip +EXTRACT_ONLY= zip22.tar.gz +FETCH_DEPENDS= unzip:../../archivers/unzip +RESTRICTED= crypto +MIRROR_DISTFILE=no + +post-extract: + @cd ${WRKSRC} && unzip -qo ${DISTDIR}/zcrypt27.zip +.endif + do-install: cd ${WRKSRC} && \ ${INSTALL_PROGRAM} zip zipnote zipsplit zipcloak ${PREFIX}/bin diff --git a/archivers/zip/files/md5 b/archivers/zip/files/md5 index 0e772b01708..33e10366a91 100644 --- a/archivers/zip/files/md5 +++ b/archivers/zip/files/md5 @@ -1 +1,2 @@ MD5 (zip22.tar.gz) = abfa0cfa13a4813aea02b0414a99ad37 +MD5 (zcrypt27.zip) = 705945343dae4c9344b3c3cf9b2c5ded diff --git a/archivers/zip/pkg/PLIST b/archivers/zip/pkg/PLIST index e879b3b314f..d51ce0394ca 100644 --- a/archivers/zip/pkg/PLIST +++ b/archivers/zip/pkg/PLIST @@ -1,9 +1,9 @@ -@comment $NetBSD: PLIST,v 1.3 1997/11/06 09:57:35 agc Exp $ +@comment $NetBSD: PLIST,v 1.4 1998/06/20 23:26:06 tv Exp $ bin/zip bin/zipnote bin/zipsplit bin/zipcloak -man/man1/zip.1.gz -man/man1/zipnote.1.gz -man/man1/zipcloak.1.gz -man/man1/zipsplit.1.gz +man/man1/zip.1 +man/man1/zipnote.1 +man/man1/zipcloak.1 +man/man1/zipsplit.1 |