pkgsrc/security/rc5des/Makefile
fredb 0c6b58570c Reorganize crypto handling, as discussed on tech-pkg. Remove all
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).
2000-09-09 19:40:14 +00:00

37 lines
999 B
Makefile

# $NetBSD: Makefile,v 1.6 2000/09/09 19:40:23 fredb Exp $
#
DISTNAME= rc5-mlg-004
PKGNAME= rc5des-0.4
CATEGORIES= security
MASTER_SITES= http://www.flame.org/netbsd-rc5/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://rc5.distributed.net/
ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm32 NetBSD-*-i386
CRYPTO= yes
NO_CONFIGURE= yes
WRKSRC= ${WRKDIR}/RC5
# agc - this is commented out until I can test that it works.
#post-patch:
# @(hostname=`/bin/hostname`; \
# fqdn=`/usr/sbin/host $$hostname | ${AWK} '{ print $$1; exit }'`; \
# ${MV} ${WRKSRC}/master.ini ${WRKSRC}/master.ini.in; \
# ${SED} -e 's|your\.site|'$$fqdn'|g' ${WRKSRC}/master.ini.in > ${WRKSRC}/master.ini)
do-build:
cd ${WRKSRC}; ${RM} -f master.ini.orig rc5.sh.orig
# agc - commented out until the above is tested.
#do-build:
# cd ${WRKSRC}; ${RM} -f master.ini.orig master.ini.in rc5.sh.orig
do-install:
${MKDIR} ${PREFIX}/RC5
cd ${WRKSRC}; ${PAX} -r -w . ${PREFIX}/RC5
.include "../../mk/bsd.pkg.mk"