9c8b5ede43
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2006/03/04 21:30:38 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= rc5-mlg-004
|
|
PKGNAME= rc5des-0.4
|
|
PKGREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.flame.org/netbsd-rc5/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.distributed.net/rc5/
|
|
COMMENT= Binaries for taking part in the rc5des challenge
|
|
|
|
WRKSRC= ${WRKDIR}/RC5
|
|
|
|
# This package requires emulators/compat12,compat13 and compat14
|
|
# but only if we aren't running the relevant release natively.
|
|
.include "../../mk/bsd.prefs.mk"
|
|
RELEASE!= ${ECHO} ${OS_VERSION} | ${AWK} -F. '{print $$1*100+$$2}'
|
|
.if ${RELEASE}>104
|
|
DEPENDS+= compat14-[0-9]*:../../emulators/compat14
|
|
.if ${RELEASE}>103
|
|
DEPENDS+= compat13-[0-9]*:../../emulators/compat13
|
|
.if ${RELEASE}>102
|
|
DEPENDS+= compat12-[0-9]*:../../emulators/compat12
|
|
.endif
|
|
.endif
|
|
.endif
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm NetBSD-*-arm32 \
|
|
NetBSD-*-i386
|
|
|
|
CRYPTO= yes
|
|
NO_CONFIGURE= yes
|
|
|
|
# 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:
|
|
cd ${WRKSRC}; ${RM} -f master.ini.orig rc5.sh.orig
|
|
|
|
# agc - commented out until the above is tested.
|
|
#do-build:
|
|
# cd ${WRKSRC}; ${RM} -f master.ini.orig master.ini.in rc5.sh.orig
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/RC5
|
|
cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}/RC5
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|