pkgsrc/security/kth-krb4/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

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2000/09/09 19:40:21 fredb Exp $
#
DISTNAME= krb4-1.0.1
PKGNAME= kth-krb4-1.0.1
CATEGORIES= security net
MASTER_SITES= ftp://ftp.pdc.kth.se/pub/krb/src/
MAINTAINER= wennmach@netbsd.org
HOMEPAGE= http://www.pdc.kth.se/kth-krb/
CONFLICTS+= openssl-*
CRYPTO= yes
GNU_CONFIGURE= yes
#USE_GTEXINFO= yes #not currently needed
MESSAGE_FILE= ${WRKDIR}/MESSAGE
post-patch:
@${SED} -e 's|@PREFIX@|${PREFIX}|g' \
<${WRKSRC}/lib/kafs/kafs.h \
>${WRKSRC}/lib/kafs/kafs.h.sed
@${MV} ${WRKSRC}/lib/kafs/kafs.h.sed ${WRKSRC}/lib/kafs/kafs.h
pre-install:
@${SED} -e 's|@PREFIX@|${PREFIX}|g' \
<${PKGDIR}/MESSAGE \
>${MESSAGE_FILE}
post-install:
@${MKDIR} ${PREFIX}/share/examples/kth-krb4
${INSTALL_DATA} ${WRKSRC}/etc/krb.conf ${PREFIX}/share/examples/kth-krb4
${INSTALL_DATA} ${WRKSRC}/etc/krb.realms ${PREFIX}/share/examples/kth-krb4
${INSTALL_DATA} ${WRKSRC}/etc/inetd.conf.changes ${PREFIX}/share/examples/kth-krb4
${INSTALL_DATA} ${FILESDIR}/services.diff ${PREFIX}/share/examples/kth-krb4
.include "../../mk/bsd.pkg.mk"