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 21:40:14 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2000/09/09 19:40:21 fredb Exp $
|
2000-05-25 19:57:27 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
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/
|
|
|
|
|
2000-06-08 15:53:24 +02:00
|
|
|
CONFLICTS+= openssl-*
|
|
|
|
|
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 21:40:14 +02:00
|
|
|
CRYPTO= yes
|
2000-05-25 19:57:27 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-06-08 15:53:24 +02:00
|
|
|
#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 \
|
2000-06-08 17:31:36 +02:00
|
|
|
>${MESSAGE_FILE}
|
2000-05-25 19:57:27 +02:00
|
|
|
|
|
|
|
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
|
2000-06-08 17:31:36 +02:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/services.diff ${PREFIX}/share/examples/kth-krb4
|
2000-05-25 19:57:27 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|