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.20 2000/09/09 19:40:23 fredb Exp $
|
1998-03-18 01:49:33 +01:00
|
|
|
#
|
|
|
|
|
1999-04-25 21:10:16 +02:00
|
|
|
DISTNAME= rsaref
|
1999-12-14 23:36:47 +01:00
|
|
|
PKGNAME= rsaref-2.0p3
|
1998-07-14 20:48:37 +02:00
|
|
|
WRKSRC= ${WRKDIR}/install
|
1998-03-19 13:17:53 +01:00
|
|
|
CATEGORIES= security
|
1999-04-25 21:10:16 +02:00
|
|
|
MASTER_SITES= ftp://ftp.spinnaker.com/pub/crypt/rsaref/
|
1998-03-19 13:17:53 +01:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1998-03-18 01:49:33 +01:00
|
|
|
|
1998-07-14 20:48:37 +02:00
|
|
|
MAINTAINER= tv@netbsd.org
|
1998-03-18 01:49:33 +01:00
|
|
|
|
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
|
1999-04-25 21:10:16 +02:00
|
|
|
IS_INTERACTIVE= yes # requires options to be set in order to use
|
1998-12-03 18:40:46 +01:00
|
|
|
LICENSE= no-commercial-use
|
1998-03-18 01:49:33 +01:00
|
|
|
|
2000-06-21 03:17:52 +02:00
|
|
|
USE_LIBTOOL= yes
|
1998-12-03 18:40:46 +01:00
|
|
|
MAKEFILE= unix/makefile
|
1998-07-14 20:48:37 +02:00
|
|
|
ALL_TARGET= librsaref.la
|
|
|
|
|
1999-04-25 21:10:16 +02:00
|
|
|
fetch-depends:
|
1998-03-23 23:20:47 +01:00
|
|
|
@if [ "X${USA_RESIDENT}" != XYES ]; then \
|
1998-03-18 14:54:23 +01:00
|
|
|
${ECHO} "This package is legal for use only within the United States."; \
|
|
|
|
${ECHO} "You must set the variable USA_RESIDENT to YES to enable"; \
|
|
|
|
${ECHO} "use of the rsaref package."; \
|
1999-04-25 21:10:16 +02:00
|
|
|
${FALSE}; \
|
1998-03-18 01:49:33 +01:00
|
|
|
fi
|
|
|
|
|
1998-07-14 20:48:37 +02:00
|
|
|
do-configure:
|
1999-05-23 23:12:01 +02:00
|
|
|
@${RM} -f ${WRKDIR}/source/rsaref && ${LN} -sf . ${WRKDIR}/source/rsaref
|
1998-03-18 01:49:33 +01:00
|
|
|
|
1998-07-14 20:48:37 +02:00
|
|
|
do-install:
|
1998-03-18 01:49:33 +01:00
|
|
|
${MKDIR} ${PREFIX}/include/rsaref ${PREFIX}/share/doc/rsaref
|
1999-05-23 23:12:01 +02:00
|
|
|
cd ${WRKSRC} && ${LIBTOOL} ${INSTALL_DATA} librsaref.la ${PREFIX}/lib
|
|
|
|
.for file in des.h global.h md2.h md5.h rsa.h rsaref.h
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/source/${file} ${PREFIX}/include/rsaref/
|
|
|
|
.endfor
|
|
|
|
cd ${WRKDIR}/doc && ${INSTALL_DATA} info.txt rsaref.txt ${PREFIX}/share/doc/rsaref/
|
1998-03-18 01:49:33 +01:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|