2001-04-30 06:16:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2001/04/30 04:16:11 jlam Exp $
|
1998-12-31 15:25:30 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= pgp50i-unix-src
|
1999-04-16 16:53:22 +02:00
|
|
|
PKGNAME= pgp5-5.0i
|
1998-12-31 15:25:30 +01:00
|
|
|
WRKSRC= ${WRKDIR}/pgp50i/src
|
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= ftp://ftp.pgpi.com/pub/pgp/5.0/unix/ \
|
|
|
|
ftp://ftp.at.pgpi.com/pub/pgpi/5.0/unix/ \
|
|
|
|
ftp://ftp.se.pgpi.com/pub/pgp/5.0/unix/ \
|
|
|
|
ftp://ftp.ch.pgpi.com/pub/pgp/5.0/unix/ \
|
1999-08-07 08:01:07 +02:00
|
|
|
ftp://ftp.au.pgpi.com/pub/pgp/5.0/unix/ \
|
|
|
|
ftp://ftp.ifi.uio.no/pub/pgp/5.0/unix/ \
|
|
|
|
ftp://ftp.tuwien.ac.at/privacy/pgp/pgpi/5.0/unix/ \
|
|
|
|
http://gd.tuwien.ac.at/privacy/pgp/pgpi/5.0/unix/
|
1998-12-31 15:25:30 +01:00
|
|
|
|
1999-04-16 16:53:22 +02:00
|
|
|
MAINTAINER= mjl@netbsd.org
|
1998-12-31 15:25:30 +01:00
|
|
|
HOMEPAGE= http://www.pgpi.com/
|
2001-03-27 05:19:43 +02:00
|
|
|
COMMENT= New, international, Public-Key encryption and digital signature utility
|
1998-12-31 15:25:30 +01:00
|
|
|
|
2001-04-30 06:16:08 +02:00
|
|
|
BUILD_DEPENDS= perl>=${PERL5_REQD}:../../lang/perl5
|
1998-12-31 15:25:30 +01:00
|
|
|
|
2001-04-11 23:49:15 +02:00
|
|
|
CONFLICTS= pgraf-* # Both have a `pgps' executable
|
|
|
|
|
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-12-31 15:25:30 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2000-09-26 21:59:53 +02:00
|
|
|
USE_RSAREF2= NO
|
1998-12-31 15:25:30 +01:00
|
|
|
|
2000-10-10 13:42:15 +02:00
|
|
|
# use of IDEA as crypto function
|
|
|
|
LICENCE= fee-based-commercial-use
|
|
|
|
|
1998-12-31 15:25:30 +01:00
|
|
|
PGPLIB= ${PREFIX}/share/pgp5
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if !defined(USE_RSAREF2) || ${USE_RSAREF2} != YES && ${USE_RSAREF2} != NO
|
|
|
|
pre-fetch:
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} The variable USE_RSAREF2 must be set to either YES or NO
|
|
|
|
@${ECHO} in order to build this package. USA residents that are
|
|
|
|
@${ECHO} not licensees of the RSA algorithm MUST set this variable
|
|
|
|
@${ECHO} to YES. Users outside the USA MUST set this variable to
|
|
|
|
@${ECHO} NO. Licensees may choose -- NO is faster.
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} On the other hand, this package needs more work to
|
|
|
|
@${ECHO} actually work with RSAREF. Sorry.
|
|
|
|
@${FALSE}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/man/pgp.1 ${WRKSRC}/man/pgp5.1
|
|
|
|
|
|
|
|
post-install:
|
2001-02-25 05:17:35 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PGPLIB}
|
1998-12-31 15:25:30 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/language50.txt ${PGPLIB}
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|