2012-10-23 20:16:19 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2012/10/23 18:16:56 asau Exp $
|
1998-11-24 17:52:18 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= rc5-mlg-004
|
|
|
|
PKGNAME= rc5des-0.4
|
2002-04-12 17:17:22 +02:00
|
|
|
PKGREVISION= 1
|
1998-11-24 17:52:18 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://www.flame.org/netbsd-rc5/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-01-09 18:50:03 +01:00
|
|
|
HOMEPAGE= http://www.distributed.net/rc5/
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= Binaries for taking part in the rc5des challenge
|
1998-11-24 17:52:18 +01:00
|
|
|
|
2007-08-23 21:36:00 +02:00
|
|
|
EMUL_PLATFORMS= netbsd-alpha netbsd-arm netbsd-i386
|
|
|
|
EMUL_MODULES.netbsd= base
|
2004-01-20 13:18:15 +01:00
|
|
|
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
2002-04-12 17:17:22 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2007-08-23 21:36:00 +02:00
|
|
|
.if ${EMUL_PLATFORM} == "netbsd-i386"
|
|
|
|
EMUL_REQD= netbsd>=1.2
|
|
|
|
.else
|
|
|
|
EMUL_REQD= netbsd>=1.3
|
|
|
|
.endif
|
1998-11-24 17:52:18 +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
|
|
|
|
NO_CONFIGURE= yes
|
2007-08-23 21:36:00 +02:00
|
|
|
WRKSRC= ${WRKDIR}/RC5
|
1998-11-24 17:52:18 +01:00
|
|
|
|
|
|
|
# agc - this is commented out until I can test that it works.
|
|
|
|
#post-patch:
|
|
|
|
# @(hostname=`/bin/hostname`; \
|
|
|
|
# fqdn=`/usr/sbin/host $$hostname | ${AWK} '{ print $$1; exit }'`; \
|
|
|
|
# ${MV} ${WRKSRC}/master.ini ${WRKSRC}/master.ini.in; \
|
|
|
|
# ${SED} -e 's|your\.site|'$$fqdn'|g' ${WRKSRC}/master.ini.in > ${WRKSRC}/master.ini)
|
|
|
|
|
|
|
|
do-build:
|
2000-02-05 06:01:26 +01:00
|
|
|
cd ${WRKSRC}; ${RM} -f master.ini.orig rc5.sh.orig
|
1998-11-24 17:52:18 +01:00
|
|
|
|
|
|
|
# agc - commented out until the above is tested.
|
|
|
|
#do-build:
|
2000-02-05 06:01:26 +01:00
|
|
|
# cd ${WRKSRC}; ${RM} -f master.ini.orig master.ini.in rc5.sh.orig
|
1998-11-24 17:52:18 +01:00
|
|
|
|
2010-01-27 22:32:58 +01:00
|
|
|
INSTALLATION_DIRS+= RC5
|
|
|
|
|
1998-11-24 17:52:18 +01:00
|
|
|
do-install:
|
2010-01-27 22:32:58 +01:00
|
|
|
cd ${WRKSRC} && pax -rw . ${DESTDIR}${PREFIX}/RC5
|
1998-11-24 17:52:18 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|