head	1.33;
access;
symbols
	RELEASE_8_3_0:1.31
	RELEASE_9_0_0:1.31
	RELEASE_7_4_0:1.31
	RELEASE_8_2_0:1.31
	RELEASE_6_EOL:1.31
	RELEASE_8_1_0:1.31
	RELEASE_7_3_0:1.31
	RELEASE_8_0_0:1.31
	RELEASE_7_2_0:1.31
	RELEASE_7_1_0:1.31
	RELEASE_6_4_0:1.31
	RELEASE_5_EOL:1.30
	RELEASE_7_0_0:1.30
	RELEASE_6_3_0:1.30
	PRE_XORG_7:1.30
	RELEASE_4_EOL:1.30
	RELEASE_6_2_0:1.28
	RELEASE_6_1_0:1.26
	RELEASE_5_5_0:1.26
	RELEASE_6_0_0:1.26
	RELEASE_5_4_0:1.26
	RELEASE_4_11_0:1.26
	RELEASE_5_3_0:1.26
	RELEASE_4_10_0:1.26
	RELEASE_5_2_1:1.23
	RELEASE_5_2_0:1.23
	RELEASE_4_9_0:1.23
	RELEASE_5_1_0:1.23
	RELEASE_4_8_0:1.21
	RELEASE_5_0_0:1.17
	RELEASE_4_7_0:1.11
	RELEASE_4_6_2:1.11
	RELEASE_4_6_1:1.11
	RELEASE_4_6_0:1.11
	RELEASE_5_0_DP1:1.11
	RELEASE_4_5_0:1.10
	RELEASE_4_4_0:1.8
	RELEASE_4_3_0:1.6
	RELEASE_4_2_0:1.6
	RELEASE_4_1_1:1.4
	RELEASE_4_1_0:1.3
	RELEASE_3_5_0:1.2
	v1_0_1:1.1.1.1
	DIRK:1.1.1;
locks; strict;
comment	@# @;


1.33
date	2012.11.17.06.01.04;	author svnexp;	state Exp;
branches;
next	1.32;

1.32
date	2012.10.13.13.39.56;	author dinoex;	state Exp;
branches;
next	1.31;

1.31
date	2008.06.06.14.00.50;	author edwin;	state Exp;
branches;
next	1.30;

1.30
date	2006.12.22.02.51.14;	author kuriyama;	state Exp;
branches;
next	1.29;

1.29
date	2006.12.21.13.31.54;	author kuriyama;	state Exp;
branches;
next	1.28;

1.28
date	2006.09.03.02.05.55;	author kris;	state Exp;
branches;
next	1.27;

1.27
date	2006.05.20.12.16.03;	author dinoex;	state Exp;
branches;
next	1.26;

1.26
date	2004.02.26.05.47.06;	author dinoex;	state Exp;
branches;
next	1.25;

1.25
date	2004.02.04.05.08.45;	author marcus;	state Exp;
branches;
next	1.24;

1.24
date	2004.01.31.12.19.33;	author dinoex;	state Exp;
branches;
next	1.23;

1.23
date	2003.05.15.20.02.17;	author dinoex;	state Exp;
branches;
next	1.22;

1.22
date	2003.05.11.07.42.26;	author dinoex;	state Exp;
branches;
next	1.21;

1.21
date	2003.02.23.11.12.06;	author dinoex;	state Exp;
branches;
next	1.20;

1.20
date	2003.02.23.06.16.51;	author dinoex;	state Exp;
branches;
next	1.19;

1.19
date	2003.02.21.04.07.03;	author dinoex;	state Exp;
branches;
next	1.18;

1.18
date	2003.01.27.17.10.06;	author dinoex;	state Exp;
branches;
next	1.17;

1.17
date	2002.12.26.14.37.42;	author dinoex;	state Exp;
branches;
next	1.16;

1.16
date	2002.12.26.05.43.52;	author dinoex;	state Exp;
branches;
next	1.15;

1.15
date	2002.10.27.10.09.42;	author dinoex;	state Exp;
branches;
next	1.14;

1.14
date	2002.10.20.16.14.57;	author dinoex;	state Exp;
branches;
next	1.13;

1.13
date	2002.10.09.20.03.15;	author dinoex;	state Exp;
branches;
next	1.12;

1.12
date	2002.10.08.21.52.27;	author dinoex;	state Exp;
branches;
next	1.11;

1.11
date	2002.01.29.11.58.40;	author knu;	state Exp;
branches;
next	1.10;

1.10
date	2001.12.28.10.06.53;	author dinoex;	state Exp;
branches;
next	1.9;

1.9
date	2001.09.16.09.37.03;	author dinoex;	state Exp;
branches;
next	1.8;

1.8
date	2001.06.25.06.43.13;	author dinoex;	state Exp;
branches;
next	1.7;

1.7
date	2001.04.30.00.34.26;	author kris;	state Exp;
branches;
next	1.6;

1.6
date	2000.11.06.06.42.01;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2000.10.02.14.23.03;	author kevlo;	state Exp;
branches;
next	1.4;

1.4
date	2000.09.16.19.28.06;	author ade;	state Exp;
branches;
next	1.3;

1.3
date	2000.07.04.02.44.57;	author kuriyama;	state Exp;
branches;
next	1.2;

1.2
date	2000.05.15.06.33.36;	author kuriyama;	state Exp;
branches;
next	1.1;

1.1
date	2000.05.12.08.19.03;	author kuriyama;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.05.12.08.19.03;	author kuriyama;	state Exp;
branches;
next	;


desc
@@


1.33
log
@Switch exporter over
@
text
@# $FreeBSD: head/security/gnupg-idea/Makefile 305832 2012-10-13 13:39:56Z dinoex $

PORTNAME=	gnupg-idea
PORTVERSION=	1.0.6
PORTREVISION=	3
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_GNUPG} \
		ftp://ftp.gnupg.org/gcrypt/%SUBDIR%/ \
		http://www.gnupg.dk/contrib-dk/:idea \
		http://www.gnupg.cz/~rp/GnuPG/extensions/:idea \
		${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/gnupg/&,}
MASTER_SITE_SUBDIR=	contrib
DISTFILES=	# later
DIST_SUBDIR=	${PORTNAME}
EXTRACT_ONLY=	# none

MAINTAINER=	dinoex@@FreeBSD.org
COMMENT=	IDEA extension module for gnupg (and RSA for demonstration)

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>

.if defined(MAKE_IDEA) && !defined(WITHOUT_IDEA)
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:
	@@${SED} -e s!%%PREFIX%%!${PREFIX}!g ${PKGMESSAGE}

post-extract:
.for i in rsa.c
	@@${TR} -d '\r' <${_DISTDIR}/${i} >${WRKSRC}/${i}
.endfor

do-patch:
.for i in ${CONTRIB}
	@@${ECHO_MSG} "===>  Applying extra patch ${i}.c"
	@@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/patch-${i}.c
.endfor

do-build:
.for i in ${CONTRIB}
	${CC} ${CFLAGS} -o ${WRKSRC}/${i} ${WRKSRC}/${i}.c
	${ECHO_CMD} "lib/gnupg/${i}" >>${PLIST}
.endfor
	${ECHO_CMD} "@@dirrm lib/gnupg" >>${PLIST}

do-install:
	${MKDIR} ${PREFIX}/lib/gnupg
.for i in ${CONTRIB}
	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/lib/gnupg/${i}
.endfor

.include <bsd.port.post.mk>
@


1.32
log
@SVN rev 305832 on 2012-10-13 13:39:56Z by dinoex

- cleanup comments
Feature safe: yes
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.31
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@a0 4
# New ports collection makefile for:	gnupg-idea
# Date created:		10 May, 2000
# Whom:			dirk.meyer@@dinoex.sub.org
#
a1 1
#
@


1.30
log
@- Since security/gnupg (2.x) installs symlink $PREFIX/bin/gpg,
  depending on $PREFIX/bin/gpg for security/gnupg1 (1.4.x) is not
  correct.  To work around this, change dependency line from bin/gpg
  to bin/gpgv which exists in security/gnupg1 port only.

Spotted by:	ume
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.29
log
@- Upgrade gnupg to 2.0.1.  Old stable version (1.4.6) was repocopied
  to security/gnupg1.

Thanks to:	dougb, lofi
@
text
@d10 1
a10 1
PORTREVISION=	1
d25 1
a25 1
RUN_DEPENDS=	${LOCALBASE}/bin/gpg:${PORTSDIR}/security/gnupg1
@


1.28
log
@NO_PACKAGE is superfluous
@
text
@d10 1
d25 1
a25 1
RUN_DEPENDS=	${LOCALBASE}/bin/gpg:${PORTSDIR}/security/gnupg
@


1.27
log
@- make portlint happier
@
text
@a27 1
NO_PACKAGE=	${RESTRICTED}
@


1.26
log
@- add SIZE
@
text
@d27 1
a27 1
RESTRICTED=	"IDEA is Patented in the USA and many European countries"
@


1.25
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d9 1
a9 2
PORTVERSION=	1.0.5
PORTREVISION=	1
@


1.24
log
@- make portlint happier
@
text
@d10 1
@


1.23
log
@- silent change of idea.c.gz (not versioned)
- MediaCrypt URL updated
PR:		52273
Submitted by:	eikemeier@@fillmore-labs.com
@
text
@d55 1
a55 1
	@@tr -d '\r' <${_DISTDIR}/${i} >${WRKSRC}/${i}
@


1.22
log
@- extend MASTER_SITES
@
text
@d9 1
a9 1
PORTVERSION=	1.0.4
@


1.21
log
@- remove checks for USA_RESIDENT as requested by kris
MAKE_IDEA and WITHOUT_IDEA controls now the build.
@
text
@d14 1
@


1.20
log
@- use NO_PACKAGE if enviroment is not set.
@
text
@d27 1
d34 1
a34 6
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
NO_PACKAGE=	You must set variable USA_RESIDENT to YES or NO

.include <bsd.port.mk>

.elif defined(USA_RESIDENT)
d36 1
a36 1
.if ${USA_RESIDENT} == NO || defined(MAKE_IDEA)
a48 2
.include <bsd.port.pre.mk>

a76 4

.else

.endif
@


1.19
log
@- Add COMMENT
@
text
@d34 1
a34 5
pre-fetch:
	@@${ECHO_MSG}
	@@${ECHO_MSG} You must set variable USA_RESIDENT to YES, if you are USA resident
	@@${ECHO_MSG} or to NO, if you aren\'t USA resident to build this package
	@@${FALSE}
@


1.18
log
@- add MASTER_SITE_GNUPG
Suggested by: arved
@
text
@d21 1
@


1.17
log
@- change order to make this commit possible
- reflect small changes in distfile:
* 2002-08-07 wk  Removed unused macros and types etc.
* 2002-09-20 wk  Made the DLL relocatable
* 2002-12-11 wk  __ppc__ is used on Darwin instead of __powerpc__.
@
text
@d11 2
a12 1
MASTER_SITES=	ftp://ftp.gnupg.org/gcrypt/%SUBDIR%/ \
@


1.16
log
@- Fix for newer distfile
@
text
@a17 1
EXTRACT_AFTER_ARGS=	> ${WRKSRC}/idea.c
d23 1
@


1.15
log
@fix post-extract
@
text
@d9 1
a9 1
PORTVERSION=	1.0.3
@


1.14
log
@fix and group MASTER_SITES
@
text
@d61 1
a61 1
.for i in ${DISTFILES}
@


1.13
log
@Update to newer distribution.
revert to old path, as most people use realitive path in their configs
@
text
@d11 2
a12 2
MASTER_SITES=	ftp://ftp.gnupg.org/pub/gcrypt/%SUBDIR%/ \
		http://www.gnupg.dk/contrib-dk/ \
d44 1
a44 1
DISTFILES=	idea.c.gz rsa.c
@


1.12
log
@installtion dir changed from lib to libexec
@
text
@d9 1
a9 1
PORTVERSION=	1.0.2
d15 1
a15 1
DISTFILES=	${CONTRIB:S|$|.c|}
d18 1
d44 2
d48 1
d74 1
a74 1
	${ECHO_CMD} "libexec/gnupg/${i}" >>${PLIST}
d76 1
d79 1
d81 1
a81 1
	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/libexec/gnupg/${i}
@


1.11
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
@
text
@d9 1
a9 1
PORTVERSION=	1.0.1
d70 1
a70 1
	${ECHO_CMD} "lib/gnupg/${i}" >>${PLIST}
d75 1
a75 1
	${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/lib/gnupg/${i}
@


1.10
log
@- Update MASTER-SITES, dstfiles changed, and cr-encoding has to be reverted.
@
text
@d70 1
a70 1
	${ECHO} "lib/gnupg/${i}" >>${PLIST}
@


1.9
log
@Add a warnig messages if IDEA is not build by configuration.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg-idea/Makefile,v 1.8 2001/06/25 06:43:13 dinoex Exp $
d11 2
a12 1
MASTER_SITES=	ftp://ftp.gnupg.org/pub/gcrypt/%SUBDIR%/	\
d54 1
a54 1
	@@${SED} s!%%PREFIX%%!${PREFIX}!g ${PKGMESSAGE}
d58 1
a58 1
	@@${CP} ${_DISTDIR}/${i} ${WRKSRC}/${i}
@


1.8
log
@change MAINTAINER to FreeBSD.org address
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg-idea/Makefile,v 1.7 2001/04/30 00:34:26 kris Exp $
d44 4
@


1.7
log
@Don't hard-code -O2
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg-idea/Makefile,v 1.6 2000/11/06 06:42:01 knu Exp $
d18 1
a18 1
MAINTAINER=	dirk.meyer@@dinoex.sub.org
@


1.6
log
@Fix the port.

	- Remove extra spaces and newlines
	- Describe RESTRICTED more specifically
	- Generate PLIST on the fly
	- Prepare PKGMESSAGE to inform the users

	(Additional fixes by knu follow:)

	- Add MASTER_SITES.
	- Respect MAKE_IDEA that could be defined in /etc/make.conf
	- Make a bit more portlint friendly
	- Fix pkg-{comment,descr} to reflect the latest situation

gnupg-idea was repo-moved from gnupg-rsa, because now GnuPG has a
builtin RSA support. (GnuPG >= 1.03, after the RSA patent restriction
was lifted)

PR:		ports/22620
Submitted by:	Dirk Meyer <dirk.meyer@@dinoex.sub.org> (MAINTAINER)
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg-idea/Makefile,v 1.5 2000/10/02 14:23:03 kevlo Exp $
d25 1
a25 1
CFLAGS+=	-O2 -shared -fPIC -DIS_MODULE
@


1.5
log
@Fix Makefile

PR: 21690
Submitted by: MAINTAINER
@
text
@d1 2
a2 2
# New ports collection makefile for:	gnupg-rsa
# Date created:		10 May, 2000 
d5 1
a5 1
# $FreeBSD: ports/security/gnupg-rsa/Makefile,v 1.4 2000/09/16 19:28:06 ade Exp $
d8 1
a8 1
PORTNAME=	gnupg-rsa
a9 1
PORTREVISION=	1
d11 6
a16 1
MASTER_SITES=   ftp://ftp.gnupg.org/pub/gcrypt/contrib/
a19 1
RESTRICTED=	"Crypto; export-controlled"
d21 3
a24 1
DIST_SUBDIR=    ${PORTNAME}
d27 1
d40 2
a41 3
.if ${USA_RESIDENT} == NO
DISTFILES=	rsa.c idea.c
CONTRIB=	rsa idea
a42 1
DISTFILES=	rsa.c
d48 4
a51 3
do-extract:
	@@${RM} -rf ${WRKDIR}
	@@${MKDIR} ${WRKDIR}
d65 1
@


1.4
log
@Fix for the USA_RESIDENT=YES case (added PORTREVISION)

PR:		21106
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg-rsa/Makefile,v 1.3 2000/07/04 02:44:57 kuriyama Exp $
d48 7
a54 1
	${CP} ${_DISTDIR}/${i} ${WRKSRC}/${i}
@


1.3
log
@Fix workaround for USA_RESIDENT=YES condition.

Submitted by:	dirk.meyer@@dinoex.sub.org (maintainer)
PR:		ports/19608
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg-rsa/Makefile,v 1.2 2000/05/15 06:33:36 kuriyama Exp $
d10 1
d37 4
a63 8
pre-fetch:
	@@${ECHO_MSG}
	@@${ECHO_MSG} rsaref is not supported in this port
	@@${FALSE}

.include <bsd.port.mk>

.endif
@


1.2
log
@Add fake target for USA_RESIDENT=YES case.
Fix typo.

Reported by:	Bill Fenner <fenner@@research.att.com>
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg-rsa/Makefile,v 1.1.1.1 2000/05/12 08:19:03 kuriyama Exp $
d28 4
a31 1
.endif
a35 7
#EXTRACT_ONLY=
.else
do-fetch:
	@@${ECHO_MSG}
	@@${ECHO_MSG} rsaref not yet supported
	@@${FALSE}
.endif
d57 12
@


1.1
log
@Initial revision
@
text
@d5 1
a5 1
# $FreeBSD$
d35 1
d37 1
a37 1
	@@${ECHO_MSG} rsaref not jet supported
@


1.1.1.1
log
@gnupg extensions: rsa idea

Submitted by:	dirk.meyer@@dinoex.sub.org
@
text
@@
