2009-09-03 14:35:32 +02:00
|
|
|
# $NetBSD: Makefile,v 1.39 2009/09/03 12:35:32 joerg 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
|
2005-08-01 14:27:53 +02:00
|
|
|
PKGREVISION= 1
|
1998-03-19 13:17:53 +01:00
|
|
|
CATEGORIES= security
|
2005-08-01 14:27:53 +02:00
|
|
|
MASTER_SITES= http://www.spinnaker.com/crypt/rsaref/
|
1998-03-19 13:17:53 +01:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1998-03-18 01:49:33 +01:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= Encryption/authentication library, RSA/MDX/DES
|
2007-06-14 20:58:15 +02:00
|
|
|
LICENSE= rsaref-license
|
2009-05-19 10:59:00 +02:00
|
|
|
|
2007-06-14 20:58:15 +02:00
|
|
|
RESTRICTED= No generation of income.
|
|
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/install
|
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
|
1998-03-18 01:49:33 +01:00
|
|
|
|
2004-01-06 00:34:03 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
2009-09-03 14:35:32 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2004-01-06 00:34:03 +01:00
|
|
|
|
2000-06-21 03:17:52 +02:00
|
|
|
USE_LIBTOOL= yes
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= unix/makefile
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= librsaref.la
|
1998-07-14 20:48:37 +02:00
|
|
|
|
2009-09-03 14:35:32 +02:00
|
|
|
INSTALLATION_DIRS= lib include/rsaref share/doc/rsaref
|
|
|
|
|
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:
|
2009-09-03 14:35:32 +02:00
|
|
|
cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_DATA} \
|
|
|
|
librsaref.la ${DESTDIR}${PREFIX}/lib
|
1999-05-23 23:12:01 +02:00
|
|
|
.for file in des.h global.h md2.h md5.h rsa.h rsaref.h
|
2009-09-03 14:35:32 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/source/${file} ${DESTDIR}${PREFIX}/include/rsaref/
|
1999-05-23 23:12:01 +02:00
|
|
|
.endfor
|
2009-09-03 14:35:32 +02:00
|
|
|
cd ${WRKDIR}/doc && ${INSTALL_DATA} info.txt rsaref.txt \
|
|
|
|
${DESTDIR}${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"
|