0c6b58570c
RESTRICTED= variables that were predicated on former U.S. export regulations. Add CRYPTO=, as necessary, so it's still possible to exclude all crypto packages from a build by setting MKCRYPTO=no (but "lintpkgsrc -R" will no longer catch them). Specifically, - - All packages which set USE_SSL just lose their RESTRICTED variable, since MKCRYPTO responds to USE_SSL directly. - - realplayer7 and ns-flash keep their RESTRICTED, which is based on license terms, but also gain the CRYPTO variable. - - srp-client is now marked broken, since the distfile is evidently no longer available. On this, we're no worse off than before. [We haven't been mirroring the distfile, or testing the build!] - - isakmpd gets CRYPTO for RESTRICTED, but remains broken. - - crack loses all restrictions, as it does not evidently empower a user to utilize strong encryption (working definition: ability to encode a message that requires a secret key plus big number arithmetic to decode).
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2000/09/09 19:40:17 fredb Exp $
|
|
#
|
|
|
|
DISTNAME= zip1-1.1
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/ \
|
|
ftp://ftp.icce.rug.nl/infozip/src/
|
|
DISTFILES= zip11.zip
|
|
|
|
MAINTAINER= tv@netbsd.org
|
|
HOMEPAGE= http://www.cdrom.com/pub/infozip/
|
|
|
|
BUILD_DEPENDS= unzip:../../archivers/unzip
|
|
|
|
EXTRACT_CMD= unzip -qo ${DOWNLOADED_DISTFILE}
|
|
|
|
MAKEFILE= makefile
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS} -DDIRENT" LFLAGS2="-lcompat"
|
|
ALL_TARGET= zip
|
|
|
|
NO_WRKSUBDIR= yes
|
|
PLIST_SRC= ${WRKSRC}/PLIST
|
|
|
|
BUILD_DEFS+= ZIP_ENCRYPTION
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if defined(ZIP_ENCRYPTION)
|
|
DISTFILES+= zcrypt10.zip
|
|
ALL_TARGET+= zipcloak
|
|
CRYPTO= yes
|
|
.endif
|
|
|
|
do-install:
|
|
@${CP} ${PKGDIR}/PLIST.pre ${PLIST_SRC}
|
|
cd ${WRKSRC} && ${INSTALL_PROGRAM} zip ${PREFIX}/bin/zip1
|
|
cd ${WRKSRC} && ${INSTALL_MAN} zip.1 ${PREFIX}/man/man1/zip1.1
|
|
.if defined(ZIP_ENCRYPTION)
|
|
cd ${WRKSRC} && ${INSTALL_PROGRAM} zipcloak ${PREFIX}/bin/zipcloak1
|
|
${LN} -fs zip1.1 ${PREFIX}/man/man1/zipcloak1.1
|
|
@${ECHO} >>${PLIST_SRC} "bin/zipcloak1"
|
|
@${ECHO} >>${PLIST_SRC} "man/man1/zipcloak1.1"
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|