From 0ea60760b975433c044a2a0d8a0ec15c9badf88d Mon Sep 17 00:00:00 2001 From: markus Date: Tue, 3 Jun 2003 10:21:33 +0000 Subject: [PATCH] re-add IDEA flavor; ok sturm@ --- security/gnupg/Makefile | 16 +++++++++++++++- security/gnupg/distinfo | 3 +++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile index db0da6a556a..9b6534362a3 100644 --- a/security/gnupg/Makefile +++ b/security/gnupg/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.38 2003/05/27 14:54:43 brad Exp $ +# $OpenBSD: Makefile,v 1.39 2003/06/03 10:21:33 markus Exp $ COMMENT= "GNU privacy guard - a free PGP replacement" @@ -13,6 +13,8 @@ MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gnupg/ \ ftp://pgp.iijlab.net/pub/pgp/gnupg/ \ ftp://ring.aist.go.jp/pub/net/gnupg/gnupg/ +MASTER_SITES0= ftp://ftp.gnupg.dk/pub/contrib-dk/ + HOMEPAGE= http://www.gnupg.org/ MAINTAINER= Reinhard J. Sammer @@ -39,6 +41,18 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ REGRESS_TARGET= check +FLAVORS= idea +FLAVOR?= + +.if ${FLAVOR:L} == "idea" +PERMIT_PACKAGE_CDROM= "a patented algorithm" +PERMIT_DISTFILES_CDROM= "a patented algorithm" +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} idea.c.gz:0 + +post-extract: + ln -s ${WRKDIR}/idea.c ${WRKSRC}/cipher/idea.c +.endif + GNUPGDOCFILES= README AUTHORS COPYING THANKS TODO BUGS \ doc/DETAILS doc/FAQ doc/OpenPGP doc/HACKING doc/faq.html diff --git a/security/gnupg/distinfo b/security/gnupg/distinfo index 33c335dc8f1..0758b09553a 100644 --- a/security/gnupg/distinfo +++ b/security/gnupg/distinfo @@ -1,3 +1,6 @@ MD5 (gnupg-1.2.2.tar.gz) = 01cf9c6b949603d0511f6fc07bc758d2 +MD5 (idea.c.gz) = 9dc3bc086824a8c7a331f35e09a3e57f RMD160 (gnupg-1.2.2.tar.gz) = 0e63968f9d48fe51765d0c0a8e212edf321a4eb2 +RMD160 (idea.c.gz) = e35be5a031d10d52341ac5f029d28f811edd908d SHA1 (gnupg-1.2.2.tar.gz) = 4144c74b78f79beda60f98ec929f44e29ecd45f9 +SHA1 (idea.c.gz) = 82fded4ec31b97b3b2dd22741880b67cfee40f84