Date: Thu, 25 Apr 2013 05:17:17 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316501 - head/security/gnupg-idea Message-ID: <201304250517.r3P5HH5P002312@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dinoex Date: Thu Apr 25 05:17:17 2013 New Revision: 316501 URL: http://svnweb.freebsd.org/changeset/ports/316501 Log: - use OPTIONS_DEFINE - make option IDEA deafult - remove RESTRICTED http://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm The last patents expired in 2012 and IDEA is now patent-free and thus free to use. Modified: head/security/gnupg-idea/Makefile Modified: head/security/gnupg-idea/Makefile ============================================================================== --- head/security/gnupg-idea/Makefile Thu Apr 25 05:16:25 2013 (r316500) +++ head/security/gnupg-idea/Makefile Thu Apr 25 05:17:17 2013 (r316501) @@ -2,7 +2,7 @@ PORTNAME= gnupg-idea PORTVERSION= 1.0.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_GNUPG} \ ftp://ftp.gnupg.org/gcrypt/%SUBDIR%/ \ @@ -20,26 +20,26 @@ COMMENT= IDEA extension module for gnupg RUN_DEPENDS= ${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1 EXTRACT_AFTER_ARGS= > ${WRKSRC}/idea.c -RESTRICTED= IDEA is Patented in the USA and many European countries NO_WRKSUBDIR= yes CFLAGS+= -shared -fPIC -DIS_MODULE CFLAGS+= -Wall -Wcast-align -Wshadow -Wstrict-prototypes PLIST= ${WRKDIR}/.PLIST.more -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= IDEA +OPTIONS_DEFINE= IDEA +OPTIONS_DEFAULT=IDEA +IDEA_DESC= IDEA encyrption -.if defined(MAKE_IDEA) && !defined(WITHOUT_IDEA) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MIDEA} CONTRIB= idea rsa DISTFILES= idea.c.gz:idea rsa.c EXTRACT_ONLY= idea.c.gz .else CONTRIB= rsa DISTFILES= rsa.c - -pre-fetch: - @${ECHO_MSG} - @${ECHO_MSG} You must set variable MAKE_IDEA to YES, only rsa is build now. .endif pre-extract: @@ -69,4 +69,4 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/lib/gnupg/${i} .endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304250517.r3P5HH5P002312>