head	1.148;
access;
symbols
	RELEASE_8_3_0:1.142
	RELEASE_9_0_0:1.142
	RELEASE_7_4_0:1.137
	RELEASE_8_2_0:1.137
	RELEASE_6_EOL:1.132
	RELEASE_8_1_0:1.128
	RELEASE_7_3_0:1.123
	RELEASE_8_0_0:1.121
	RELEASE_7_2_0:1.119
	RELEASE_7_1_0:1.113
	RELEASE_6_4_0:1.113
	RELEASE_5_EOL:1.111
	RELEASE_7_0_0:1.108
	RELEASE_6_3_0:1.108
	PRE_XORG_7:1.102
	RELEASE_4_EOL:1.98
	RELEASE_6_2_0:1.89
	RELEASE_6_1_0:1.83
	RELEASE_5_5_0:1.83
	RELEASE_6_0_0:1.80
	RELEASE_5_4_0:1.75
	RELEASE_4_11_0:1.74
	RELEASE_5_3_0:1.73
	RELEASE_4_10_0:1.69
	RELEASE_5_2_1:1.64
	RELEASE_5_2_0:1.64
	RELEASE_4_9_0:1.59
	RELEASE_5_1_0:1.55
	RELEASE_4_8_0:1.52
	RELEASE_5_0_0:1.49
	RELEASE_4_7_0:1.46
	RELEASE_4_6_2:1.43
	RELEASE_4_6_1:1.43
	RELEASE_4_6_0:1.43
	RELEASE_5_0_DP1:1.39
	RELEASE_4_5_0:1.32
	RELEASE_4_4_0:1.31
	RELEASE_4_3_0:1.28
	RELEASE_4_2_0:1.26
	RELEASE_4_1_1:1.24
	RELEASE_4_1_0:1.23
	RELEASE_3_5_0:1.22
	RELEASE_4_0_0:1.20
	RELEASE_3_4_0:1.19
	RELEASE_3_3_0:1.18
	RELEASE_3_2_0:1.10
	RELEASE_3_1_0:1.5
	RELEASE_2_2_8:1.1.1.1
	v0_4_4:1.1.1.1
	KURIYAMA:1.1.1;
locks; strict;
comment	@# @;


1.148
date	2012.12.27.14.26.07;	author svnexp;	state Exp;
branches;
next	1.147;

1.147
date	2012.11.17.06.01.04;	author svnexp;	state Exp;
branches;
next	1.146;

1.146
date	2012.08.13.14.17.35;	author kuriyama;	state Exp;
branches;
next	1.145;

1.145
date	2012.08.05.09.41.57;	author kuriyama;	state Exp;
branches;
next	1.144;

1.144
date	2012.05.04.11.07.46;	author kuriyama;	state Exp;
branches;
next	1.143;

1.143
date	2012.03.27.10.03.39;	author kuriyama;	state Exp;
branches;
next	1.142;

1.142
date	2011.09.26.14.49.01;	author kuriyama;	state Exp;
branches;
next	1.141;

1.141
date	2011.08.05.00.35.25;	author kuriyama;	state Exp;
branches;
next	1.140;

1.140
date	2011.07.14.08.18.59;	author dougb;	state Exp;
branches;
next	1.139;

1.139
date	2011.07.03.11.40.46;	author swills;	state Exp;
branches;
next	1.138;

1.138
date	2011.03.27.19.03.02;	author dougb;	state Exp;
branches;
next	1.137;

1.137
date	2011.02.08.03.40.15;	author dougb;	state Exp;
branches;
next	1.136;

1.136
date	2011.01.14.07.42.10;	author dougb;	state Exp;
branches;
next	1.135;

1.135
date	2010.12.22.19.16.11;	author dougb;	state Exp;
branches;
next	1.134;

1.134
date	2010.12.16.14.16.46;	author glarkin;	state Exp;
branches;
next	1.133;

1.133
date	2010.12.16.02.34.01;	author glarkin;	state Exp;
branches;
next	1.132;

1.132
date	2010.11.19.03.34.08;	author kuriyama;	state Exp;
branches;
next	1.131;

1.131
date	2010.07.27.01.25.17;	author wxs;	state Exp;
branches;
next	1.130;

1.130
date	2010.07.23.13.43.25;	author kuriyama;	state Exp;
branches;
next	1.129;

1.129
date	2010.07.20.14.01.49;	author kuriyama;	state Exp;
branches;
next	1.128;

1.128
date	2010.06.17.21.33.29;	author dougb;	state Exp;
branches;
next	1.127;

1.127
date	2010.06.14.05.17.52;	author dougb;	state Exp;
branches;
next	1.126;

1.126
date	2010.06.14.00.42.51;	author dougb;	state Exp;
branches;
next	1.125;

1.125
date	2010.05.31.02.00.48;	author ade;	state Exp;
branches;
next	1.124;

1.124
date	2010.04.03.10.44.29;	author roam;	state Exp;
branches;
next	1.123;

1.123
date	2010.01.16.06.27.17;	author kuriyama;	state Exp;
branches;
next	1.122;

1.122
date	2009.12.22.08.24.33;	author kuriyama;	state Exp;
branches;
next	1.121;

1.121
date	2009.09.05.15.22.50;	author kuriyama;	state Exp;
branches;
next	1.120;

1.120
date	2009.06.17.14.59.03;	author kuriyama;	state Exp;
branches;
next	1.119;

1.119
date	2009.03.09.17.15.41;	author stas;	state Exp;
branches;
next	1.118;

1.118
date	2009.03.04.14.27.11;	author kuriyama;	state Exp;
branches;
next	1.117;

1.117
date	2009.01.23.15.43.07;	author roam;	state Exp;
branches;
next	1.116;

1.116
date	2009.01.20.23.49.58;	author kuriyama;	state Exp;
branches;
next	1.115;

1.115
date	2009.01.13.01.24.47;	author kuriyama;	state Exp;
branches;
next	1.114;

1.114
date	2009.01.06.13.01.10;	author rafan;	state Exp;
branches;
next	1.113;

1.113
date	2008.07.27.15.13.59;	author timur;	state Exp;
branches;
next	1.112;

1.112
date	2008.06.06.14.00.50;	author edwin;	state Exp;
branches;
next	1.111;

1.111
date	2008.04.26.23.48.43;	author miwi;	state Exp;
branches;
next	1.110;

1.110
date	2008.03.04.22.57.41;	author kuriyama;	state Exp;
branches;
next	1.109;

1.109
date	2008.02.28.21.47.04;	author arved;	state Exp;
branches;
next	1.108;

1.108
date	2007.10.13.11.10.09;	author kuriyama;	state Exp;
branches;
next	1.107;

1.107
date	2007.09.03.04.31.51;	author novel;	state Exp;
branches;
next	1.106;

1.106
date	2007.09.02.11.08.10;	author novel;	state Exp;
branches;
next	1.105;

1.105
date	2007.08.13.07.57.48;	author novel;	state Exp;
branches;
next	1.104;

1.104
date	2007.07.23.09.36.28;	author rafan;	state Exp;
branches;
next	1.103;

1.103
date	2007.06.16.03.20.28;	author kuriyama;	state Exp;
branches;
next	1.102;

1.102
date	2007.03.30.01.05.06;	author kuriyama;	state Exp;
branches;
next	1.101;

1.101
date	2007.03.08.21.20.17;	author kuriyama;	state Exp;
branches;
next	1.100;

1.100
date	2007.03.08.14.12.07;	author jylefort;	state Exp;
branches;
next	1.99;

1.99
date	2007.02.03.03.08.21;	author kuriyama;	state Exp;
branches;
next	1.98;

1.98
date	2007.01.14.07.27.47;	author kuriyama;	state Exp;
branches;
next	1.97;

1.97
date	2007.01.14.07.03.52;	author kuriyama;	state Exp;
branches;
next	1.96;

1.96
date	2006.12.25.02.59.59;	author kuriyama;	state Exp;
branches;
next	1.95;

1.95
date	2006.12.21.15.13.49;	author lofi;	state Exp;
branches;
next	1.94;

1.94
date	2006.12.21.13.31.53;	author kuriyama;	state Exp;
branches;
next	1.93;

1.93
date	2006.12.13.12.41.34;	author roam;	state Exp;
branches;
next	1.92;

1.92
date	2006.12.08.09.25.31;	author kuriyama;	state Exp;
branches;
next	1.91;

1.91
date	2006.12.07.00.34.16;	author kuriyama;	state Exp;
branches;
next	1.90;

1.90
date	2006.11.27.22.37.41;	author kuriyama;	state Exp;
branches;
next	1.89;

1.89
date	2006.10.05.13.37.17;	author roam;	state Exp;
branches;
next	1.88;

1.88
date	2006.09.07.02.19.12;	author kuriyama;	state Exp;
branches;
next	1.87;

1.87
date	2006.08.17.19.39.48;	author garga;	state Exp;
branches;
next	1.86;

1.86
date	2006.08.02.01.34.30;	author kuriyama;	state Exp;
branches;
next	1.85;

1.85
date	2006.06.25.23.32.35;	author kuriyama;	state Exp;
branches;
next	1.84;

1.84
date	2006.04.03.12.57.58;	author kuriyama;	state Exp;
branches;
next	1.83;

1.83
date	2006.03.09.22.44.35;	author kuriyama;	state Exp;
branches;
next	1.82;

1.82
date	2006.02.15.08.56.51;	author kuriyama;	state Exp;
branches;
next	1.81;

1.81
date	2005.12.16.02.16.11;	author kuriyama;	state Exp;
branches;
next	1.80;

1.80
date	2005.08.01.11.17.24;	author kuriyama;	state Exp;
branches;
next	1.79;

1.79
date	2005.07.31.22.31.11;	author kuriyama;	state Exp;
branches;
next	1.78;

1.78
date	2005.04.24.04.42.08;	author kuriyama;	state Exp;
branches;
next	1.77;

1.77
date	2005.04.12.03.26.27;	author obrien;	state Exp;
branches;
next	1.76;

1.76
date	2005.04.11.08.03.50;	author obrien;	state Exp;
branches;
next	1.75;

1.75
date	2005.02.12.09.29.34;	author kuriyama;	state Exp;
branches;
next	1.74;

1.74
date	2004.12.29.15.40.42;	author kuriyama;	state Exp;
branches;
next	1.73;

1.73
date	2004.08.31.10.04.09;	author osa;	state Exp;
branches;
next	1.72;

1.72
date	2004.08.04.03.42.11;	author kuriyama;	state Exp;
branches;
next	1.71;

1.71
date	2004.08.03.06.30.56;	author kuriyama;	state Exp;
branches;
next	1.70;

1.70
date	2004.07.26.04.57.14;	author adamw;	state Exp;
branches;
next	1.69;

1.69
date	2004.04.05.15.09.00;	author kuriyama;	state Exp;
branches;
next	1.68;

1.68
date	2004.03.30.19.56.41;	author krion;	state Exp;
branches;
next	1.67;

1.67
date	2004.02.04.04.36.23;	author marcus;	state Exp;
branches;
next	1.66;

1.66
date	2004.01.23.18.12.19;	author trevor;	state Exp;
branches;
next	1.65;

1.65
date	2003.12.24.05.59.10;	author kuriyama;	state Exp;
branches;
next	1.64;

1.64
date	2003.11.28.00.05.26;	author kuriyama;	state Exp;
branches;
next	1.63;

1.63
date	2003.11.12.13.37.25;	author kuriyama;	state Exp;
branches;
next	1.62;

1.62
date	2003.10.26.23.03.37;	author kuriyama;	state Exp;
branches;
next	1.61;

1.61
date	2003.10.26.13.05.52;	author kuriyama;	state Exp;
branches;
next	1.60;

1.60
date	2003.10.14.08.22.42;	author kuriyama;	state Exp;
branches;
next	1.59;

1.59
date	2003.08.26.20.25.54;	author marcus;	state Exp;
branches;
next	1.58;

1.58
date	2003.08.25.05.41.34;	author marcus;	state Exp;
branches;
next	1.57;

1.57
date	2003.08.23.06.34.40;	author kuriyama;	state Exp;
branches;
next	1.56;

1.56
date	2003.08.15.00.49.30;	author kuriyama;	state Exp;
branches;
next	1.55;

1.55
date	2003.05.12.01.46.27;	author kuriyama;	state Exp;
branches;
next	1.54;

1.54
date	2003.05.06.15.09.48;	author kuriyama;	state Exp;
branches;
next	1.53;

1.53
date	2003.04.22.01.46.14;	author kuriyama;	state Exp;
branches;
next	1.52;

1.52
date	2003.02.24.02.56.36;	author edwin;	state Exp;
branches;
next	1.51;

1.51
date	2003.02.22.07.48.48;	author kuriyama;	state Exp;
branches;
next	1.50;

1.50
date	2003.02.15.12.35.42;	author arved;	state Exp;
branches;
next	1.49;

1.49
date	2002.10.26.05.07.39;	author kuriyama;	state Exp;
branches;
next	1.48;

1.48
date	2002.10.08.07.25.54;	author kuriyama;	state Exp;
branches;
next	1.47;

1.47
date	2002.10.06.08.55.25;	author kuriyama;	state Exp;
branches;
next	1.46;

1.46
date	2002.08.01.16.22.34;	author ade;	state Exp;
branches;
next	1.45;

1.45
date	2002.07.21.01.51.41;	author kuriyama;	state Exp;
branches;
next	1.44;

1.44
date	2002.05.27.23.16.06;	author kuriyama;	state Exp;
branches;
next	1.43;

1.43
date	2002.05.24.15.15.29;	author kuriyama;	state Exp;
branches;
next	1.42;

1.42
date	2002.04.30.13.13.01;	author kuriyama;	state Exp;
branches;
next	1.41;

1.41
date	2002.04.16.13.00.39;	author kuriyama;	state Exp;
branches;
next	1.40;

1.40
date	2002.04.12.17.10.04;	author ade;	state Exp;
branches;
next	1.39;

1.39
date	2002.03.18.10.27.55;	author knu;	state Exp;
branches;
next	1.38;

1.38
date	2002.03.18.09.46.45;	author sobomax;	state Exp;
branches;
next	1.37;

1.37
date	2002.03.15.19.44.18;	author ade;	state Exp;
branches;
next	1.36;

1.36
date	2002.02.12.01.41.03;	author kuriyama;	state Exp;
branches;
next	1.35;

1.35
date	2002.02.05.03.00.03;	author kuriyama;	state Exp;
branches;
next	1.34;

1.34
date	2002.02.04.09.14.50;	author kuriyama;	state Exp;
branches;
next	1.33;

1.33
date	2002.02.03.23.00.56;	author kuriyama;	state Exp;
branches;
next	1.32;

1.32
date	2001.12.11.15.00.53;	author kuriyama;	state Exp;
branches;
next	1.31;

1.31
date	2001.06.30.06.21.45;	author kuriyama;	state Exp;
branches;
next	1.30;

1.30
date	2001.05.30.00.44.02;	author kris;	state Exp;
branches;
next	1.29;

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

1.28
date	2001.01.18.09.46.01;	author kuriyama;	state Exp;
branches;
next	1.27;

1.27
date	2000.12.20.22.49.31;	author kuriyama;	state Exp;
branches;
next	1.26;

1.26
date	2000.11.06.08.37.20;	author kuriyama;	state Exp;
branches;
next	1.25;

1.25
date	2000.10.18.15.30.10;	author kuriyama;	state Exp;
branches;
next	1.24;

1.24
date	2000.09.19.03.16.11;	author kuriyama;	state Exp;
branches;
next	1.23;

1.23
date	2000.07.13.10.57.15;	author kuriyama;	state Exp;
branches;
next	1.22;

1.22
date	2000.05.09.01.44.40;	author kuriyama;	state Exp;
branches;
next	1.21;

1.21
date	2000.04.09.18.29.39;	author cpiazza;	state Exp;
branches;
next	1.20;

1.20
date	99.12.23.00.01.11;	author kuriyama;	state Exp;
branches;
next	1.19;

1.19
date	99.12.08.21.26.55;	author ache;	state Exp;
branches;
next	1.18;

1.18
date	99.09.09.22.56.20;	author kuriyama;	state Exp;
branches;
next	1.17;

1.17
date	99.08.31.06.50.07;	author mharo;	state Exp;
branches;
next	1.16;

1.16
date	99.08.31.01.51.04;	author peter;	state Exp;
branches;
next	1.15;

1.15
date	99.08.22.18.59.52;	author mharo;	state Exp;
branches;
next	1.14;

1.14
date	99.08.12.15.10.08;	author kuriyama;	state Exp;
branches;
next	1.13;

1.13
date	99.07.26.15.59.32;	author kuriyama;	state Exp;
branches;
next	1.12;

1.12
date	99.06.30.14.47.59;	author kuriyama;	state Exp;
branches;
next	1.11;

1.11
date	99.05.25.00.32.32;	author kuriyama;	state Exp;
branches;
next	1.10;

1.10
date	99.05.09.04.46.30;	author kuriyama;	state Exp;
branches;
next	1.9;

1.9
date	99.04.17.04.51.20;	author kuriyama;	state Exp;
branches;
next	1.8;

1.8
date	99.03.21.07.44.48;	author kuriyama;	state Exp;
branches;
next	1.7;

1.7
date	99.03.14.03.12.10;	author kuriyama;	state Exp;
branches;
next	1.6;

1.6
date	99.03.08.14.33.24;	author kuriyama;	state Exp;
branches;
next	1.5;

1.5
date	99.02.11.11.41.04;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	99.02.07.11.18.51;	author kuriyama;	state Exp;
branches;
next	1.3;

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

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

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

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


desc
@@


1.148
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309542
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309542 | kuriyama | 2012-12-27 14:04:17 +0000 (Thu, 27 Dec 2012) | 6 lines
## SVN ##
## SVN ## - Fix with NOPORTDOCS=yes [1,2]
## SVN ## - Fix CURL option handled incorrectly [3,4]
## SVN ##
## SVN ## PR:		ports/170543 [1], ports/171848 [2], ports/171370 [3], ports/174075 [4]
## SVN ## Submitted by:	Rainer Duffner <rainer@@ultra-secure.de> [1], Konstantinos Koukopoulos <koukopoulos@@gmail.com> [2], John Marshall <john.marshall@@riverwillow.com.au> [3], Phil Pennock <phil.pennock@@globnix.org> [4]
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# $FreeBSD: head/security/gnupg/Makefile 309542 2012-12-27 14:04:17Z kuriyama $

PORTNAME=	gnupg
PORTVERSION=	2.0.19
PORTREVISION=	3
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR=	gnupg
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.sig
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	kuriyama@@FreeBSD.org
COMMENT=	The GNU Privacy Guard

LICENSE=	GPLv3 LGPL3
LICENSE_COMB=	multi
LICENSE_FILE_GPLv3=	${WRKSRC}/COPYING
LICENSE_FILE_LGPL3=	${WRKSRC}/COPYING.LIB

LIB_DEPENDS=	assuan:${PORTSDIR}/security/libassuan \
		gcrypt:${PORTSDIR}/security/libgcrypt \
		gpg-error:${PORTSDIR}/security/libgpg-error \
		ksba:${PORTSDIR}/security/libksba \
		pth:${PORTSDIR}/devel/pth

USE_BZIP2=	YES
USE_GMAKE=	YES
GNU_CONFIGURE=	YES
USE_ICONV=	YES
USE_LDCONFIG=	YES
CONFIGURE_ARGS+=	--enable-symcryptrun
.if defined(NOPORTDOCS)
CONFIGURE_ARGS+=	--disable-doc
.else
MAN1=		gpg2.1 gpgsm.1 gpgv2.1 gpg-agent.1 scdaemon.1 watchgnupg.1 \
		gpgconf.1 gpg-preset-passphrase.1 gpg-connect-agent.1 \
		gpgparsemail.1 symcryptrun.1 gpgsm-gencert.sh.1
MAN8=		addgnupghome.8 applygnupgdefaults.8
INFO=		gnupg
.endif

OPTIONS_DEFINE=		PINENTRY LDAP SCDAEMON CURL GPGSM KDNS STD_SOCKET NLS
PINENTRY_DESC=		Use pinentry
LDAP_DESC=		LDAP keyserver interface
SCDAEMON_DESC=		Enable Smartcard daemon (with libusb)
CURL_DESC=		Use the real curl library (worked around if no)
GPGSM_DESC=		Enable GPGSM (requires LDAP)
KDNS_DESC=		Use DNS CERT helper
STD_SOCKET_DESC=	Use standard socket for agent
OPTIONS_DEFAULT=	CURL
NO_OPTIONS_SORT=	YES

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPINENTRY}
RUN_DEPENDS+=	pinentry>0:${PORTSDIR}/security/pinentry
.endif

.if ${PORT_OPTIONS:MGPGSM}
RUN_DEPENDS+=	dirmngr:${PORTSDIR}/security/dirmngr
PORT_OPTIONS+=	LDAP
PLIST_SUB+=	GPGSM=""
.else
CONFIGURE_ARGS+=--disable-gpgsm
PLIST_SUB+=	GPGSM="@@comment "
.endif

.if ${PORT_OPTIONS:MLDAP}
USE_OPENLDAP=	YES
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
PLIST_SUB+=	LDAP=""
.else
CONFIGURE_ARGS+=--disable-ldap
PLIST_SUB+=	LDAP="@@comment "
.endif

.if ${PORT_OPTIONS:MKDNS}
LIB_DEPENDS+=	adns:${PORTSDIR}/dns/adns
PLIST_SUB+=	ADNS=""
.else
CONFIGURE_SUB=	-e '/GPGKEYS_KDNS=/s/".*"/""/'
PLIST_SUB+=	ADNS="@@comment "
.endif

.if ${PORT_OPTIONS:MSTD_SOCKET}
CONFIGURE_ARGS+=--enable-standard-socket
.endif

.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT=	YES
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@@comment "
.endif

.if ${PORT_OPTIONS:MSCDAEMON}
CONFIGURE_ARGS+=--enable-scdaemon
. if ${OSVERSION} < 800069
LIB_DEPENDS+=	usb-0.1:${PORTSDIR}/devel/libusb
. endif
PLIST_SUB+=	SCDAEMON=""
.else
CONFIGURE_ARGS+=--disable-scdaemon
PLIST_SUB+=	SCDAEMON="@@comment "
.endif

.if ${PORT_OPTIONS:MCURL}
LIB_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
CONFIGURE_ARGS+=--with-libcurl=${LOCALBASE}
.else
CONFIGURE_ARGS+=--without-libcurl
.endif

verify:	checksum
	gpg2 --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.sig

post-patch:
	@@${REINPLACE_CMD} -e "s@@-lpthread@@${PTHREAD_LIBS}@@g" ${CONFIGURE_SUB} \
		${WRKSRC}/acinclude.m4 ${WRKSRC}/aclocal.m4 ${WRKSRC}/configure
	@@${REINPLACE_CMD} -e "/#include <utmp.h>/d" \
		${WRKSRC}/tools/symcryptrun.c

post-install:
	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.if defined(WITH_SUID_GPG)
	${CHMOD} u+s ${PREFIX}/bin/gpg2
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.147
log
@Switch exporter over
@
text
@d1 1
a1 6
# New ports collection makefile for:	gnupg
# Date created:		Sep 30, 1998
# Whom:			kuriyama@@FreeBSD.org
#
# $FreeBSD: head/security/gnupg/Makefile 302469 2012-08-13 14:17:35Z kuriyama $
#
d5 1
a5 1
PORTREVISION=	2
a109 2
CONFIGURE_ARGS+=--without-libcurl
.else
d112 2
@


1.146
log
@SVN rev 302469 on 2012-08-13 14:17:35Z by kuriyama

Revert previous tty patch until matured.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.145
log
@SVN rev 302102 on 2012-08-05 09:41:57Z by kuriyama

- Convert to OptionsNG.
- Don't install gpg-zip.1 manpage as gpg-zip script is not installed
  [1].
- Fix /dev/tty brokenness [2].

PR:		ports/170327 [1], ports/170269 [2]
Submitted by:	Alfred Bartsch <bartsch@@dssgmbh.de> [1],
	  	Ben Cottrell <tamino@@wolfhut.org> [2]
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.144
log
@- Add optional dependency on security/pinentry port.

I'd like to keep this port (and package built on pointyhat) having
simple dependencies.  So this knob is off by default.

PR:		ports/156287, ports/164333
Submitted by:	Joseph Olatt <joji@@eskimo.com>, Oliver Herold <oh@@fixmbr.de>
@
text
@d10 1
a19 6
LIB_DEPENDS=	assuan.0:${PORTSDIR}/security/libassuan \
		gcrypt.18:${PORTSDIR}/security/libgcrypt \
		gpg-error:${PORTSDIR}/security/libgpg-error \
		ksba.19:${PORTSDIR}/security/libksba \
		pth.20:${PORTSDIR}/devel/pth

d24 7
d42 1
a42 1
		gpgparsemail.1 symcryptrun.1 gpgsm-gencert.sh.1 gpg-zip.1
d47 10
a56 8
OPTIONS=	PINENTRY "Use pinentry" off \
		LDAP "LDAP keyserver interface" off \
		SCDAEMON "Enable Smartcard daemon (with libusb)" off \
		CURL "Use the real curl library (worked around if no)" on \
		GPGSM "Enable GPGSM (requires LDAP)" off \
		KDNS "Use DNS CERT helper" off \
		STD_SOCKET "Use standard socket for agent" off \
		NLS "National Language Support" off
d58 1
a58 1
.include <bsd.port.pre.mk>
d60 1
a60 1
.if defined(WITH_PINENTRY)
d64 5
a68 1
.if defined(WITHOUT_GPGSM)
a70 5
.else
RUN_DEPENDS+=	dirmngr:${PORTSDIR}/security/dirmngr
WITH_LDAP=	YES
.undef WITHOUT_LDAP
PLIST_SUB+=	GPGSM=""
d73 1
a73 1
.if defined(WITH_LDAP)
d82 1
a82 1
.if defined(WITH_KDNS) && !defined(WITHOUT_KDNS)
d90 1
a90 1
.if defined(WITH_STD_SOCKET) && !defined(WITHOUT_STD_SOCKET)
d94 1
a94 1
.if defined(WITH_NLS) && !defined(WITHOUT_NLS)
d103 1
a103 1
.if defined(WITH_SCDAEMON)
d114 1
a114 1
.if defined(WITHOUT_CURL)
d137 1
a137 1
.include <bsd.port.post.mk>
@


1.143
log
@- Upgrade to 2.0.19.

Feature safe:	yes
@
text
@d45 2
a46 1
OPTIONS=	LDAP "LDAP keyserver interface" off \
d56 4
d64 1
a64 1
RUN_DEPENDS=	dirmngr:${PORTSDIR}/security/dirmngr
@


1.142
log
@- Fix libcurl detection.

PR:		ports/160535
Submitted by	John Marshall <john.marshall@@riverwillow.com.au>
@
text
@d9 1
a9 2
PORTVERSION=	2.0.18
PORTREVISION=	1
@


1.141
log
@- Upgrade to 2.0.18:
  - Support the SSH confirm flag and show SSH fingerprints in ssh
    related pinentries.
  - Improved dirmngr/gpgsm interaction for OCSP.
  - Allow generation of card keys up to 4096 bit.

- Improve for port:
  - Remove patch that was incorporated into this release.
  - Remove redundant BUILD_DEPENDS.
  - Patching should be done in a -patch target. Silence the REINPLACE.

Submitted by:	dougb
PR:	  	ports/159520
@
text
@d10 1
@


1.140
log
@Add a patch to handle an ABI change relative to libgcrypt 1.5

Confirmed upstream:
http://lists.gnupg.org/pipermail/gnupg-users/2011-July/042333.html

PR:		ports/158674
Submitted by:	Mark Atkinson <atkin901@@gmail.com>
Approved by:	early maintainer timeout/portmgr (pav)
@
text
@d9 1
a9 2
PORTVERSION=	2.0.17
PORTREVISION=	3
a18 1
BUILD_DEPENDS=	libksba>=1.2.0:${PORTSDIR}/security/libksba
d116 2
a117 2
pre-configure:
	${REINPLACE_CMD} -e "s@@-lpthread@@${PTHREAD_LIBS}@@g" ${CONFIGURE_SUB} \
d119 1
a119 1
	${REINPLACE_CMD} -e "/#include <utmp.h>/d" \
@


1.139
log
@- Chase the libgcrypt shared lib version
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.138
log
@Update libksba to 1.2.0, and update dependent ports.
The patch also adds a verify target for the PGP signature
of the distfile.

Noteworthy changes in version 1.2.0 (2011-03-01)
------------------------------------------------

* New functions to allow the creation of X.509 certificates.

This release adds features required by the GnuPG 2.1 development
version.

PR:		ports/155506
Submitted by:	me
Approved by:	maintainer timeout
@
text
@d10 1
a10 1
PORTREVISION=	1
d22 1
a22 1
		gcrypt.17:${PORTSDIR}/security/libgcrypt \
@


1.137
log
@Version 2.0.17 was released on 2011-01-13:

What's New
===========
* Allow more hash algorithms with the OpenPGP v2 card.
* The gpg-agent now tests for a new gpg-agent.conf on a HUP.
* Fixed output of "gpgconf --check-options".
* Fixed a bug where Scdaemon sends a signal to Gpg-agent running in
  non-daemon mode.
* Fixed TTY management for pinentries and session variable update
  problem.
* Minor bug fixes.

For the port:
Camellia stopped being a configure option in 2.0.12
Fix minor typo for GPGSM OPTION
Minor plist update for 2.0.17

files/patch-keybox-blob.c seems to be no longer needed [2]

PR:		ports/153984
Submitted by:	me
Submitted by:	Hirohisa Yamaguchi <umq@@ueo.co.jp> [2]
Approved by:	maintainer timeout (24 days)
Feature safe:	yes
@
text
@d10 1
d20 1
a20 1
BUILD_DEPENDS=	libksba>=1.0.7:${PORTSDIR}/security/libksba
d24 1
a24 1
		ksba.18:${PORTSDIR}/security/libksba \
@


1.136
log
@Fix the shared library version number for libassuan to reflect what
the authors intended by adding:

USE_AUTOTOOLS=	libtool
USE_GNOME=	ltverhack

to security/libassuan/Makefile.

Update the libassuan shared library version number and/or bump
PORTREVISION in the dependent ports.

Requested by:	ale
Feature safe:	yes
@
text
@d9 1
a9 2
PORTVERSION=	2.0.16
PORTREVISION=	6
d49 1
a49 2
		GPGSM "Enable GPGSM (require LDAP)" off \
		CAMELLIA "Enable Camellia algorithm" on \
a74 4
.if defined(WITH_CAMELLIA) && !defined(WITHOUT_CAMELLIA)
CONFIGURE_ARGS+=--enable-camellia
.endif

@


1.135
log
@Update libassuan to version 2.0.1:

* Input and output notification handler can now really access the
  parsed fd as stated in the manual.

* Cleaned up the logging.

Bump PORTREVISION and libassuan version number in related ports
@
text
@d10 1
a10 1
PORTREVISION=	5
d21 1
a21 1
LIB_DEPENDS=	assuan.1:${PORTSDIR}/security/libassuan \
@


1.134
log
@- Chase libksba shlib version bump in directly-dependent ports

Reported by:		ale and others via private email
Another pointy to:	glarkin
@
text
@d10 1
a10 1
PORTREVISION=	4
d21 1
a21 1
LIB_DEPENDS=	assuan.0:${PORTSDIR}/security/libassuan \
@


1.133
log
@- Chase security/libksba shlib version bump

Requested by:	kwm
Pointyhat to:	glarkin
@
text
@d10 1
a10 1
PORTREVISION=	3
d24 1
a24 1
		ksba.17:${PORTSDIR}/security/libksba \
@


1.132
log
@- Fix WITH_SUID_GPG knob.

PR:		152359
Submitted by:	sunpoet
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.131
log
@Chase security/libgcrypt shlib bump.

PR:		ports/148755
Submitted by:	Hirohisa Yamaguchi <umq@@ueo.co.jp>
@
text
@d132 1
a132 1
	${CHMOD} u+s ${PREFIX}/bin/gpg
@


1.130
log
@- Fix $LICENSE_FILE [1].
- Fix realloc bug in GPGSM (not affected GPG itself) [2].

PR:		ports/148817 [1]
Submitted by:	Anonymous <swell.k@@gmail.com> [1]
Security:	http://lists.gnupg.org/pipermail/gnupg-announce/2010q3/000302.html [2]
@
text
@d10 1
a10 1
PORTREVISION=	1
d22 1
a22 1
		gcrypt.16:${PORTSDIR}/security/libgcrypt \
@


1.129
log
@- Upgrade to 2.0.16.
- Add license info.

PR:		ports/148756
Submitted by:	Hirohisa Yamaguchi <umq@@ueo.co.jp>
@
text
@d10 1
d29 2
a30 1
LICENSE_FILE=	${WRKSRC}/COPYING ${WRKSRC}/COPYING.LIB
@


1.128
log
@Update to version 2.0.15, which has the following changes:
 * New command --passwd for GPG.
 * Fixes a regression in 2.0.14 which prevented unprotection of new
   or changed gpg-agent passphrases.
 * Make use of libassuan 2.0 which is available as a DSO.

For the port:
 * Since libassuan is now a shared lib, move it LIB_DEPENDS
 * Remove now-spurious CONFLICTS

Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	2.0.15
d26 3
d51 1
d87 4
@


1.127
log
@Fix port name on the LEFT side of the : for BUILD_DEPENDS

While I'm here update to the current version of libassuan-1 (1.0.5)
@
text
@d9 1
a9 2
PORTVERSION=	2.0.14
PORTREVISION=	3
d19 3
a21 3
BUILD_DEPENDS=	libassuan-1>=1.0.5:${PORTSDIR}/security/libassuan-1 \
		libksba>=1.0.2:${PORTSDIR}/security/libksba
LIB_DEPENDS=	gcrypt.16:${PORTSDIR}/security/libgcrypt \
a25 2
CONFLICTS=	gnupg-devel-[0-9]*

@


1.126
log
@Update security/libassuan to version 2.0.0, which is required by gnupg 2.0.15

Unfortunately version 2.0.0 is largely incompatible with version 1.x, so it
is necessary to have a stopgap measure while ports that depend on libassuan
can be updated. In conversation with the maintainers of the dependent ports
it was originally considered ideal to prepare updates for the ports first,
then upgrade everything to libassuan 2.x en masse. Since no action has
arisen on that front, go with plan B:

Copy security/libassuan to security/libassuan-1, and update the dependent
ports accordingly. Because this is (intended to be) a _temporary_ measure,
and because no updates for libassuan 1.x are anticipated, and because the
hope is that it can be removed sooner rather than later, it's a copy instead
of a repocopy.
@
text
@d20 1
a20 1
BUILD_DEPENDS=	libassuan>=1.0.4:${PORTSDIR}/security/libassuan-1 \
@


1.125
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@d10 1
a10 1
PORTREVISION=	2
d20 1
a20 1
BUILD_DEPENDS=	libassuan>=1.0.4:${PORTSDIR}/security/libassuan \
@


1.124
log
@Chase the ftp/curl shlib version bump.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.123
log
@- Unbreak on 9-current (utmpx).

PR:		ports/142865, ports/142871
Submitted by:	garga, keramida
Tested on:	9-current, 8.0
@
text
@d10 1
@


1.122
log
@- Upgrade to 2.0.14.
@
text
@d118 2
@


1.121
log
@- Upgrade to 2.0.13.
@
text
@d9 1
a9 1
PORTVERSION=	2.0.13
@


1.120
log
@- Upgrade to 2.0.12.
- Turn on Camellia option (rfc5581 published).

PR:		ports/135668
Submitted by:	Hirohisa Yamaguchi <umq@@ueo.co.jp>
@
text
@d9 1
a9 1
PORTVERSION=	2.0.12
@


1.119
log
@- Chase libusb20 rename in r189585.
- Mark sane-backends broken on current due to changes
  in USB stack.

Reviewed by:	thompsa (old version), miwi
Tested by:	miwi
@
text
@d9 1
a9 1
PORTVERSION=	2.0.11
d48 1
a48 1
		CAMELLIA "Enable Camellia algorithm (for testing only)" off \
@


1.118
log
@Upgrade to 2.0.11 (minor fixes).
@
text
@d96 1
d98 1
@


1.117
log
@Bump the version of the curl shared library after the ftp/curl update
to 7.19.2.
Bump PORTREVISION, even on the ports that do not have a versioned
dependency, since the binaries will most probably still stop working.
@
text
@d9 1
a9 2
PORTVERSION=	2.0.10
PORTREVISION=	2
@


1.116
log
@- Add notice about CAMELLIA option (for testing only) [1].
- Turn CAMELLIA off by default for above reason.

Suggested by:	dougb [1]
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.115
log
@Upgrade to 2.0.10.

PR:		ports/130430
Submitted by:	Hirohisa Yamaguchi <umq@@ueo.co.jp>
Announcement:	https://lists.gnupg.org/pipermail/gnupg-announce/2009q1/000284.html
@
text
@d10 1
d49 1
a49 1
		CAMELLIA "Enable Camellia algorithm" on \
@


1.114
log
@- Bump PORTREVISION due to share library version bump in security/libgcrypt

PR:		 ports/127478
@
text
@d9 1
a9 2
PORTVERSION=	2.0.9
PORTREVISION=	3
d33 1
d39 1
a39 1
		gpgparsemail.1 symcryptrun.1 gpgsm-gencert.sh.1
d48 2
d73 12
d114 1
a114 1
	${REINPLACE_CMD} -e "s@@-lpthread@@${PTHREAD_LIBS}@@g" \
@


1.113
log
@Make WITHOUT_NLS actually work
@
text
@d10 1
a10 1
PORTREVISION=	2
d22 1
a22 1
LIB_DEPENDS=	gcrypt.15:${PORTSDIR}/security/libgcrypt \
@


1.112
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
@d10 1
a10 1
PORTREVISION=	1
a33 1
USE_GETTEXT=	YES
d72 1
@


1.111
log
@- Update to 2.0.9

Notes:
	This update fixes a possible security vulnerability involving
	memory corruption from importing malicious keys.

PR:		122114/122349
Submitted by:	Hirohisa Yamaguchi <umq@@ueo.co.jp> / Nick Barkas <snb@@threerings.net>
Approved by:	maintainer timeout
Security:	http://www.vuxml.org/freebsd/30394651-13e1-11dd-bab7-0016179b2dd5.html
@
text
@d10 1
@


1.110
log
@- Upgrade to 2.0.8.
- Change dependency versions.
- NLS option back again.
- Make GPGSM option off by default (to avoid ldap dependency in package).

PR:		ports/118895
Submitted by:	Hirohisa Yamaguchi <umq@@ueo.co.jp>
@
text
@d9 1
a9 1
PORTVERSION=	2.0.8
@


1.109
log
@Chase libgcrypt library version
@
text
@d9 1
a9 2
PORTVERSION=	2.0.4
PORTREVISION=	1
d19 2
a20 1
BUILD_DEPENDS=	libassuan>=1.0.1:${PORTSDIR}/security/libassuan
d34 3
a36 2
CONFIGURE_TARGET=# empty
CONFIGURE_ARGS+=	--enable-nls
d42 1
d47 2
a48 2
		GPGSM "Enable GPGSM (require LDAP)" on
#OPTIONS+=	NLS "National Language Support" off
d71 1
a71 1
#.if defined(WITH_NLS)
d74 4
a77 4
#.else
#CONFIGURE_ARGS+=--disable-nls
#PLIST_SUB+=	NLS="@@comment "
#.endif
@


1.108
log
@- Add a note "require LDAP" in GPGSM knob for $OPTIONS.  This may help
  to reduce confusion when "WITHOUT_LDAP and WITH_GPGSM selected, but
  OpenLDAP dependency exists" situcation.

PR:		ports/116558
Reported by:	Jo Rhett <jrhett@@netconsonance.com>
@
text
@d10 1
d21 1
a21 1
LIB_DEPENDS=	gcrypt.13:${PORTSDIR}/security/libgcrypt \
@


1.107
log
@Backout the commit with addition of pinentry as a run dependency because
it needs discussion.
@
text
@d44 1
a44 1
		GPGSM "Enable GPGSM" on
d55 1
@


1.106
log
@Add RUN_DEPEND on security/pinentry because gpg is almost useless
without it.

PR:		115760
Submitted by:	novel
Approved by:	maintainer timeout (1 week, linimon ok)
@
text
@a23 1
RUN_DEPENDS=	bin/pinentry:${PORTSDIR}/security/pinentry
d53 1
a53 1
RUN_DEPENDS+=	dirmngr:${PORTSDIR}/security/dirmngr
@


1.105
log
@Resurrect handy WITH_SUID_GPG knob.

PR:		114926
Submitted by:	novel
Approved by:	maintainer timeout
@
text
@d24 1
d54 1
a54 1
RUN_DEPENDS=	dirmngr:${PORTSDIR}/security/dirmngr
@


1.104
log
@- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
  supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
@
text
@d100 3
@


1.103
log
@Upgrade to 2.0.4 (maintainance release with a few minor enhancements).

PR:		ports/113676
Submitted by:	Hirohisa Yamaguchi <umq@@ueo.co.jp>
@
text
@a33 1
CONFIGURE_ARGS+=	--infodir=${PREFIX}/info --mandir=${PREFIX}/man
@


1.102
log
@- Fix breakage on WITHOUT_NLS=t condition by forcing --enable-nls in
  configure args which I fogot in previous commit.

Reported by:	kris
@
text
@d9 1
a9 1
PORTVERSION=	2.0.3
@


1.101
log
@- Upgrade to 2.0.3 (including same safety belt as of 1.4.7).

References:	http://lists.gnupg.org/pipermail/gnupg-announce/2007q1/000251.html
@
text
@d68 1
a68 1
.if defined(WITH_NLS)
d71 4
a74 4
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@@comment "
.endif
@


1.100
log
@Track libgpg-error shlib version change.
@
text
@d9 1
a9 2
PORTVERSION=	2.0.2
PORTREVISION=	1
d39 1
a39 1
MAN8=		addgnupghome.8
@


1.99
log
@- Upgrade to 2.0.2.
@
text
@d10 1
@


1.98
log
@Fix breakage.
@
text
@d9 1
a9 2
PORTVERSION=	2.0.1
PORTREVISION=	1
d34 2
a35 2
CONFIGURE_ARGS+=	--infodir=${PREFIX}/info --mandir=${PREFIX}/man \
	--enable-nls
a42 1
		NLS "National Language Support" off \
d46 1
@


1.97
log
@- Make GPGSM dependency optional (then we can use this port without LDAP
  dependency). [1]
- Remove libpth hack in configure since this problem was fixed in 2.0.1. [2]
- Remove silly conflict detections which breaks BATCH building [2],[3]
- Check libassuan package version (to avoid using old lib) [4]

PR:		ports/107185 (I'm still working on NLS problem) [2],
		ports/107349 [3]
Submitted by:	Brian Minard <bminard@@flatfoot.ca> [1],
		dougb [2],
		Ulrich Spoerlein <uspoerlein@@gmail.com> [3],
		Ian Lister <freebsd-ports@@lister.dnsalias.net> [4]
@
text
@d44 1
a47 1
PLIST_SUB=	NLS=""
d69 8
@


1.96
log
@- Force USE_GETTEXT=YES (remove from OPTIONS) because 2.0.x cannot be
  compiled without libintl.so (I didn't notice this by hidden
  dependencies).

PR:			ports/107089
Investigated with:	Roland Smith <rsmith@@xs4all.nl>
@
text
@d10 1
d20 1
a20 1
BUILD_DEPENDS=	${LOCALBASE}/lib/libassuan.a:${PORTSDIR}/security/libassuan
a24 1
RUN_DEPENDS=	dirmngr:${PORTSDIR}/security/dirmngr
d36 1
a36 1
	--enable-nls --with-libpth-prefix=${LOCALBASE}/lib/pth
d45 2
a46 1
		CURL "Use the real curl library (worked around if no)" on
d51 9
a63 3
.if defined(WITHOUT_LDAP)
BROKEN=		Conflict options: WITHOUT_LDAP/WITH_LDAP
.endif
a72 3
.if defined(WITHOUT_SCDAEMON)
BROKEN=		Conflict options: WITHOUT_SCDAEMON/WITH_SCDAEMON
.endif
a79 3
.if defined(WITH_CURL)
BROKEN=		Conflict options: WITHOUT_CURL/WITH_CURL
.endif
@


1.95
log
@gnupg-devel and gnupg-2.x conflict.
@
text
@d33 1
d36 1
a36 1
	--with-libpth-prefix=${LOCALBASE}/lib/pth
a43 1
		NLS "Native Language Support" on \
d46 1
a49 8
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@@comment "
.else
USE_GETTEXT=	YES
PLIST_SUB+=	NLS=""
.endif

d54 3
d66 3
d76 3
@


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

Thanks to:	dougb, lofi
@
text
@d26 2
@


1.93
log
@Update the ftp/curl port to 7.16.0.
Bump PORTREVISION of all dependent ports.
Fix the build errors in the few ports that still use the long deprecated,
and now obsoleted, cURL options.

Thanks to everyone who took the time to look over the patch!

Discussed on:	-ports
@
text
@d9 1
a9 2
PORTVERSION=	1.4.6
PORTREVISION=	2
d19 7
d29 10
a38 11
CONFIGURE_TARGET=	--build ${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=	--infodir=${PREFIX}/info --mandir=${PREFIX}/man
.if ${MACHINE_CPU:Mi586}
MACHINE_ARCH=	i586
.endif
CFLAGS:=	${CFLAGS:S/-pipe//g}
MAN1=		gpg.1 gpgv.1 gpg.ru.1
MAN7=		gnupg.7
INFO=		gnupg1

PORTDOCS=	*
a40 3
		LIBICONV "use libiconv" off \
		LIBUSB "use libusb" off \
		SUID_GPG "install GPG with suid" off \
d42 2
a43 1
		CURL "use libcurl for the keyserver interface" on
d47 3
a49 2
.if defined(WITH_LIBICONV)
USE_ICONV=	yes
d51 2
a52 1
CONFIGURE_ARGS+=	--without-libiconv-prefix
d55 4
a58 3
.if defined(WITH_LIBUSB)
CONFIGURE_ARGS+=	--with-libusb=${LOCALBASE}
LIB_DEPENDS+=	usb-0.1.8:${PORTSDIR}/devel/libusb
d60 2
a61 1
CONFIGURE_ARGS+=	--without-libusb
d64 4
a67 5
.if defined(WITH_LDAP)
USE_OPENLDAP=	yes
PLIST_SUB+=	WITH_LDAP=""
CONFIGURE_ARGS+=	--with-ldap=${LOCALBASE}
#CONFIGURE_ENV+=	LDFLAGS="-L/usr/lib"
d69 2
a70 2
PLIST_SUB+=	WITH_LDAP="@@comment "
CONFIGURE_ARGS+=	--disable-ldap
d73 2
a74 3
.if !defined(WITHOUT_NLS)
USE_GETTEXT=	YES
PLIST_SUB+=	NLS=""
a75 5
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@@comment "
.endif

.if !defined(WITHOUT_CURL)
a77 4
# Work around a GnuPG configure buglet
CONFIGURE_ENV+=	_libcurl_config=${LOCALBASE}/bin/curl-config
.else
CONFIGURE_ARGS+=--without-libcurl
d80 7
d88 1
a88 14
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in DETAILS FAQ HACKING OpenPGP
	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor
.for i in ABOUT-NLS AUTHORS BUGS COPYING INSTALL NEWS PROJECTS \
	README THANKS TODO VERSION
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.if defined(WITH_SUID_GPG)
	${CHMOD} u+s ${PREFIX}/bin/gpg
.endif
.if ${OSVERSION} < 500019
a89 10
.else
PKGMESSAGE=	/nonexistent
.endif

.if ${OSVERSION} < 500000
CONFIGURE_ARGS+=	--without-readline
.endif

check:
	(cd ${WRKSRC}; ${MAKE} check)
@


1.92
log
@- Unbreak locale.

PR:		ports/106456
Submitted by:	jjuanino@@gmail.com
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.91
log
@- Upgrade to 1.4.6 (including security fix).

Security:	CVE-2006-6235
References:	http://lists.gnupg.org/pipermail/gnupg-announce/2006q4/000491.html
@
text
@d10 1
@


1.90
log
@Fix buffer overflow.

References:	http://lists.gnupg.org/pipermail/gnupg-announce/2006q4/000241.html
@
text
@d9 1
a9 2
PORTVERSION=	1.4.5
PORTREVISION=	2
d23 1
d30 1
a30 1
INFO=		gpg gpgv
@


1.89
log
@Fix GnuPG's hidden dependency on cURL - add cURL support to OPTIONS and
either explicitly depend on it, or disable it in the configure options.

PR:		103427
Silence from:	kuriyama (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.88
log
@- Fix WITH_LIBICONV to work correctly.
- Add WITH_USB to OPTIONS.

PR:		ports/101311
Submitted by:	Helge Oldach <gnupgaug06@@oldach.net>
@
text
@d10 1
d38 2
a39 1
		NLS "Native Language Support" on
d74 9
@


1.87
log
@- Remove NOPORTDOCS from OPTIONS since the correct is check NOPORTDOCS and
  not WITH(OUT)_NOPORTDOCS
- Use PORTDOCS and clean pkg-plist
- Add NLS to OPTIONS as on by default and move the check after
  bsd.port.pre.mk
- Add --with-ldap=${LOCALBASE} because it was not finding ldap libs without
  this

PR:		ports/101318
Submitted by:	garga
Approved by:	maintainer timeout (14 days)
@
text
@d35 1
d41 1
a41 1
.if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so)
d43 2
d58 1
@


1.86
log
@- Upgrade to 1.4.5.
  (fixes 2 more possible memory allocation attacks).
- Enable OPTIONS [1].

Security:	http://lists.gnupg.org/pipermail/gnupg-announce/2006q3/000229.html
PR:		ports/93540 [1]
Submitted by:	Pawel Wieleba <P.Wieleba@@iem.pw.edu.pl> [1]
@
text
@a26 7
.if !defined(WITHOUT_NLS)
USE_GETTEXT=	YES
PLIST_SUB=	NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB=	NLS="@@comment "
.endif
d31 2
d36 1
a36 1
		NOPORTDOCS "without port docs" off
d43 1
d50 1
d54 1
d60 8
@


1.85
log
@- Upgrade to 1.4.4.
  (fixes user ID handling bug).

Security:	http://lists.gnupg.org/pipermail/gnupg-announce/2006q2/000226.html
@
text
@d9 1
a9 1
PORTVERSION=	1.4.4
d38 5
@


1.84
log
@- Upgrade to 1.4.3.
- Handle hidden dependency on libusb (1).

Submitted by:	Peter Pentchev <roam@@ringlet.net> (1)
@
text
@d9 1
a9 1
PORTVERSION=	1.4.3
@


1.83
log
@Update to 1.4.2.2.

Security:	GnuPG does not detect injection of unsigned data
References:	http://lists.gnupg.org/pipermail/gnupg-announce/2006q1/000216.html
Probbed by:	simon
Approved by:	portmgr (erwin)
@
text
@d9 1
a9 1
PORTVERSION=	1.4.2.2
d43 6
@


1.82
log
@Upgrade to 1.4.2.1.

Security:	False positive signature verification in GnuPG
References:	http://lists.gnupg.org/pipermail/gnupg-announce/2006q1/000211.html
Prodded by:	simon
@
text
@d9 1
a9 1
PORTVERSION=	1.4.2.1
@


1.81
log
@Fix the problem in --batch mode.

Obtained from:	http://cvs.gnupg.org/cgi-bin/viewcvs.cgi/trunk/g10/keygen.c?rev=3853&r1=3852&r2=3853
PR:		ports/90105
Submitted by:	Thomas Vogt <thomas@@bsdunix.ch>
@
text
@d9 1
a9 2
PORTVERSION=	1.4.2
PORTREVISION=	1
@


1.80
log
@Fix build failure on 4.x.

Reported by:	"Sander Holthaus - Orange XL" <info@@orangexl.com>
@
text
@d10 1
@


1.79
log
@Upgrade to 1.4.2.

PR:		ports/84289
Submitted by:	Vasil Dimov <vd@@datamax.bg>
@
text
@d71 4
@


1.78
log
@Upgrade to 1.4.1.

PR:		ports/80157
Submitted by:	Vasil Dimov <vd@@datamax.bg>
Kindly knocked by:	dougb
@
text
@d9 1
a9 2
PORTVERSION=	1.4.1
PORTREVISION?=	0
@


1.77
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d9 2
a10 2
PORTVERSION=	1.4.0
PORTREVISION?=	1
@


1.76
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d23 1
a23 1
CONFIGURE_TARGET=	--build ${ARCH}-portbld-freebsd${OSREL}
d25 1
a25 1
ARCH=	i586
@


1.75
log
@Add a workaround patch to avoid protocol attack (but will not be
effective in the real world).

References:	http://lists.gnupg.org/pipermail/gnupg-announce/2005q1/000190.html (broken mailman archive)
		http://www.pgp.com/library/ctocorner/openpgp.html
		http://eprint.iacr.org/2005/033
Reported by:	dougb
@
text
@d23 1
a23 1
CONFIGURE_TARGET=	--build ${MACHINE_ARCH}-portbld-freebsd${OSREL}
d25 1
a25 1
MACHINE_ARCH=	i586
@


1.74
log
@Upgrade to 1.4.0.
@
text
@d10 1
a10 1
PORTREVISION?=	0
@


1.73
log
@Update to 1.2.6.
Utilize DOCSDIR and DATADIR macros.

Approved by:	kuriyama (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.2.6
a20 5

.if !defined(WITHOUT_NLS)
USE_GETTEXT=	YES
.endif

d29 1
d35 1
a35 1
MAN1=		gpg.1 gpgv.1
d37 1
a37 3
# Workaround for 1.2.5 distribution.
# Refer: http://lists.gnupg.org/pipermail/gnupg-announce/2004q3/000173.html
INSTALL_TARGET=	install mkinstalldirs=`pwd`/scripts/mkinstalldirs
@


1.72
log
@Link with openldap library only when WITH_LDAP knob is specified
explicitly.
@
text
@d9 2
a10 2
PORTVERSION=	1.2.5
PORTREVISION=	1
d60 1
a60 1
	${MKDIR} ${PREFIX}/share/doc/gnupg
d62 1
a62 1
	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/gnupg
d66 1
a66 1
	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/gnupg
@


1.71
log
@- Upgrade to 1.2.5.
- Remove unnecessary "@@unexec rmdir"s for locales.
@
text
@d10 1
d50 1
a50 1
.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so)
d55 1
@


1.70
log
@Fix LDAP detection. For everybody who has a the default
openldap client installed, this will cause a plist change.
I didn't bump the PORTREVISION, but it might not be a bad
idea. I'll leave that up to the maintainer.
@
text
@d9 1
a9 2
PORTVERSION=	1.2.4
PORTREVISION=	1
d40 3
@


1.69
log
@Add WITHOUT_NLS knob.

PR:		ports/64491
Submitted by:	Sebastian Klemke <packet@@adrenochrome.nl>
@
text
@d47 1
a47 1
.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so.2)
@


1.68
log
@- Use USE_ICONV knob

Approved by:	portmgr
@
text
@d21 5
a25 1
USE_GETTEXT=	yes
d33 6
@


1.67
log
@Add USE_GETTEXT and bump PORTREVISION.

Submitted by:	trevor
Tested by:	bento
@
text
@d35 1
a35 1
LIB_DEPENDS+=	iconv.3:${PORTSDIR}/converters/libiconv
@


1.66
log
@Now gettext 0.12.1 is gettext-old.
@
text
@d10 1
a19 2
LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext-old

d21 1
@


1.65
log
@Upgrade to 1.2.4.
@
text
@d19 1
a19 1
LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext
@


1.64
log
@*** Security Update (not fix, only workaround) ***

Disable the ability to create signatures using the ElGamal
sign+encrypt (type 20) keys as well as to remove the option
to create such keys.

Reported by:	se
References:	http://lists.gnupg.org/pipermail/gnupg-devel/2003-November/020570.html
		http://lists.gnupg.org/pipermail/gnupg-devel/2003-November/020569.html
Approved by	portmgr (will)
@
text
@d9 1
a9 2
PORTVERSION=	1.2.3
PORTREVISION=	4
@


1.63
log
@What users should use is WITH_LDAP and USE_OPENLDAP is for ports
system.

Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
PR:		ports/59151
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.62
log
@Fix USE_DYNAMIC_LINKING detection.

Submitted by:	ls+gnupg.devel.gnupg.org@@gambit.com.ru
References:	http://lists.gnupg.org/pipermail/gnupg-devel/2003-October/020503.html
@
text
@d38 2
a39 4
.if defined(USE_OPENLDAP) || exists(${PREFIX}/lib/libldap.so.2)
WITH_LDAP=	yes
.endif
.if defined(WITH_LDAP)
@


1.61
log
@Add missing share/locale/ro/LC_MESSAGES/gnupg.mo and clean up
@@unexec rmdir's.

PR:		ports/58212
Submitted by:	Dimitry Andric <dimitry@@andric.com>
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.60
log
@Respect USE_OPENLDAP(WANT_OPENLDAP_VER).

Pointed out by:	lofi
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.59
log
@Bump the PORTREVISION for the ports directly affected by the gettext upgrade.

Prodded by:	kris
@
text
@d38 4
a41 2
.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so.2)
LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap20-client
@


1.58
log
@Chase the libintl.so shared lib version.
@
text
@d10 1
@


1.57
log
@o Upgrade to 1.2.3.
o Remove explicit --enable-tiger from $CONFIGURE_ARGS.  This feature will
  be removed from GnuPG.
@
text
@d19 1
a19 1
LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext
@


1.56
log
@Fix non-default dependency on openldap2[012] which is broken by splitting.

# I'm not bumped port revision of them because this should not affect
# packages built on bento...
@
text
@d9 1
a9 2
PORTVERSION=	1.2.2
PORTREVISION=	1
a23 1
CONFIGURE_ARGS=	--enable-tiger
@


1.55
log
@Show $PKGMESSAGE only if $OSVERSION < 500019.
Add URL reference for rndcontrol.

Submitted by:	dougb
@
text
@d40 1
a40 1
LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap20
@


1.54
log
@Upgrade to 1.2.2.
@
text
@d10 1
d60 1
d62 3
@


1.53
log
@Check versioned library file explicitly.

PR:		ports/48692
Submitted by:	fenner
@
text
@d9 1
a9 1
PORTVERSION=	1.2.1
@


1.52
log
@Point dependencies on net/openldap2 to net/openldap20
@
text
@d38 1
a38 1
.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so)
@


1.51
log
@de-pkg-comment.
@
text
@d39 1
a39 1
LIB_DEPENDS+=	ldap.2:${PORTSDIR}/net/openldap2
@


1.50
log
@Use MASTER_SITE_GNUPG
@
text
@d17 1
@


1.49
log
@Upgrade to 1.2.1.
@
text
@d11 1
a11 6
MASTER_SITES=	ftp://ftp.gnupg.org/gcrypt/%SUBDIR%/ \
		http://ftp.planetmirror.com/pub/gnupg/%SUBDIR%/ \
		http://sunsite.dk/pub/security/gcrypt/%SUBDIR%/ \
		ftp://pgp.iijlab.net/pub/%SUBDIR%/ \
		${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/gnupg/&,} \
		ftp://ftp.demon.nl/pub/mirrors/gnupg/%SUBDIR%/
@


1.48
log
@Directory in master site is changed.

Reported by:	ijliao
@
text
@d9 1
a9 1
PORTVERSION=	1.2.0
@


1.47
log
@Upgrade to 1.2.0.

PR:		ports/43211
Submitted by:	Jason Harris <jharris@@widomaker.com>
Modified by:	kuriyama (for WITH_LDAP)
@
text
@d11 1
a11 1
MASTER_SITES=	ftp://ftp.gnupg.org/pub/gcrypt/%SUBDIR%/ \
@


1.46
log
@Chase shlib rev of devel/gettext

Submitted by:	lots and lots
Pointy hat to:	ade
@
text
@d9 1
a9 1
PORTVERSION=	1.0.7
d12 2
d15 2
a16 1
		${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/gnupg/&,}
d18 2
d25 1
d28 1
d35 1
d41 6
@


1.45
log
@(1) Remove implicit dependency on devel/gdbm.
(2) Allow to explicit dependency on converters/libiconv with WITH_LIBICONV
    knob.

Submitted by:	NIIMI Satoshi <sa2c@@sa2c.net> (1),
		Dmitry Morozovsky <marck@@rinet.ru> (2)
PR:		ports/40653 (1), ports/40814 (2)
@
text
@d18 1
a18 1
LIB_DEPENDS=	intl.2:${PORTSDIR}/devel/gettext
@


1.44
log
@Use i586 optimized asm code for msi when i586 over CPUTYPE is set in
/etc/make.conf.

Submitted by:	<skrueger@@europe.com>
@
text
@d31 1
a31 4
.if exists(${PREFIX}/lib/libgdbm.so)
LIB_DEPENDS+=	gdbm.2:${PORTSDIR}/databases/gdbm
.endif
.if exists(${PREFIX}/lib/libiconv.so)
@


1.43
log
@Install set-uid'ed gpg if WITH_SUID_GPG is defined.

Requested by:	Tobias Henoeckl <hoeni@@Space.Net>
@
text
@d22 4
a25 1
CONFIGURE_TARGET=
@


1.42
log
@Upgrade to 1.0.7.

See http://www.gnupg.org/whatsnew.html#rn20020429 for changelog.
@
text
@d46 3
a48 1
#	${CHMOD} u+s ${PREFIX}/bin/gpg
@


1.41
log
@Check hidden dependency on libiconv.

Pointed out by:	Neil Darlow <neil@@darlow.co.uk>
@
text
@d9 1
a9 2
PORTVERSION=	1.0.6
PORTREVISION=	6
d20 1
a20 1
#RESTRICTED=	"Crypto; export-controlled"
d22 2
a24 1
MLINKS=		gpg.1 gpgm.1
a33 5

.if ${OSVERSION} < 300000
USE_GMAKE=	YES
.endif
CFLAGS:=	${CFLAGS:S/-pipe//g}
@


1.40
log
@gettext upgrade uber-patch (stage 3)

- switch devel/gettext (0.11.1) on, installing full package
- flip devel/gettext-old (0.10.35) to installing only static binaries
  with a "-old" suffix -- gettext-old will have its deorbit burn
  sequence initiated just after 4.6-RELEASE
- fix up ports for the new world order

Reviewed by:	portmgr
@
text
@d31 3
@


1.39
log
@Bump PORTREVISION to reflect the (lib)iconv upgrade.
@
text
@d10 1
a10 1
PORTREVISION=	5
d19 1
a19 1
LIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext-old
a27 3
.if exists(${PREFIX}/lib/libiconv.so)
LIB_DEPENDS+=	iconv.3:${PORTSDIR}/converters/libiconv
.endif
@


1.38
log
@Iconv cleanup, stage 1b: correct {BUILD,LIB,RUN}_DEPENDS of all ports that need
libiconv.
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.37
log
@Stage 1 of gettext update.

Move gettext (0.10.35) with gettext-old
Update gettext from gettext-devel (0.10.40)
Remove gettext-devel
Fix dependencies

Stage 2 will involve upgraded gettext to 0.11 and fixing issues
Stage 3 involves a de-orbit burn sequence for gettext-old

Reviewed by:	portmgr
@
text
@d29 1
a29 1
LIB_DEPENDS+=	iconv.2:${PORTSDIR}/converters/iconv
@


1.36
log
@Remove *.alias entries from plist.

Submitted by:	Neil Darlow <neil@@darlow.co.uk> and
		Jimmy Olgeni <olgeni@@FreeBSD.org>
@
text
@d19 1
a19 1
LIB_DEPENDS=	intl.1:${PORTSDIR}/devel/gettext
@


1.35
log
@Link with shared libintl rather than static included gettext.

Suggested by:	ache
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.34
log
@Fix typos in LIB_DEPENDS line.

Submitted by:	Neil Darlow <neil@@darlow.co.uk>
@
text
@d10 1
a10 1
PORTREVISION=	2
d19 2
a22 1
CONFIGURE_ARGS=	--with-included-gettext
@


1.33
log
@Add (conditional) hidden dependency for iconv and gdbm.

PR:		ports/34543
Reported by:	Ronald Kuehn <rk@@ronald.org>
@
text
@d28 1
a28 1
LIB_DEPENDS+=	libiconv.2:${PORTSDIR}/converter/iconv
d31 1
a31 1
LIB_DEPENDS+=	libgdbm.2:${PORTSDIR}/databases/gdbm
@


1.32
log
@Display TIPS (use rndcontrol(8)) message at post-install.
@
text
@d27 7
@


1.31
log
@Bump $PORTREVISION.

Pointed out by:	sf
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.30 2001/05/30 00:44:02 kris Exp $
d10 1
a10 1
PORTREVISION=	1
d44 1
@


1.30
log
@Upgrade to gnupg 1.0.6.  This is an important security update due to an
exploitable format string vulnerability in decoding files
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.29 2001/04/30 03:22:55 kuriyama Exp $
d10 1
@


1.29
log
@Upgrade to 1.0.5.

  o The semantics of --verify have changed.
  o Corrected hash calculation for input data larger than 512M.
  o Large File Support is now working.
  o A bunch of new options and commands.
  o Keyserver support for the W32 version.
  o Better handling of key expiration and subkeys.
  o Estonian and Turkish translation.
  o The usual fixes and other enhancements.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.28 2001/01/18 09:46:01 kuriyama Exp $
d9 1
a9 1
PORTVERSION=	1.0.5
d18 1
a18 1
RESTRICTED=	"Crypto; export-controlled"
@


1.28
log
@Bump PORTVERSION.

Pointed out by:	kris
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.27 2000/12/20 22:49:31 kuriyama Exp $
d9 1
a9 2
PORTVERSION=	1.0.4
PORTREVISION=	3
a14 3
PATCHFILES=	gnupg-1.0.4.security-patch1.diff
PATCH_SITES=	${MASTER_SITES}
PATCH_DIST_STRIP=	-p1
@


1.27
log
@Add security-patch1.diff.

Pointed out by:	Sergii Laskavyi <ls@@gambit.com.ru>
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.26 2000/11/06 08:37:20 kuriyama Exp $
d10 1
a10 1
PORTREVISION=	2
@


1.26
log
@Use $MASTER_SITE_RINGSERVER.
Correct description around RSA/IDEA (with PORTREVISION bump).

Submitted by:	knu
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.25 2000/10/18 15:30:10 kuriyama Exp $
d10 1
a10 1
PORTREVISION=	1
d16 3
@


1.25
log
@Upgrade to v1.0.4.

Submitted by:	des
Committed from:	bsdcon2000 terminal room
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.24 2000/09/19 03:16:11 kuriyama Exp $
d10 1
d12 4
a15 3
MASTER_SITES=	ftp://ftp.gnupg.org/pub/gcrypt/gnupg/ \
		ftp://pgp.iijlab.net/pub/gnupg/ \
		ftp://ring.aist.go.jp/pub/net/gnupg/gnupg/
@


1.24
log
@Upgrade to 1.0.3.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.23 2000/07/13 10:57:15 kuriyama Exp $
d9 1
a9 1
PORTVERSION=	1.0.3
d20 1
a20 1
MAN1=		gpg.1
@


1.23
log
@Upgrade to v1.0.2.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.22 2000/05/09 01:44:40 kuriyama Exp $
d9 1
a9 1
PORTVERSION=	1.0.2
@


1.22
log
@Fix building error on 2.2.8.

Submitted by:	dirk.meyer@@dinoex.sub.org (Dirk Meyer)
Not tested by:	kuriyama
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.21 2000/04/09 18:29:39 cpiazza Exp $
d9 1
a9 1
PORTVERSION=	1.0.1
a13 2
DISTFILES=	${DISTNAME}.tar.gz gpg.1.gz
EXTRACT_ONLY=	${DISTNAME}.tar.gz
a28 3

post-extract:
	${GZIP_CMD} -c -d ${DISTDIR}/gpg.1.gz > ${WRKSRC}/doc/gpg.1
@


1.21
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.20 1999/12/23 00:01:11 kuriyama Exp $
d28 1
a28 1
CONFIGURE_ARGS+=--disable-asm
@


1.20
log
@Update to v1.0.1. (with correct gpg.1)
@
text
@a1 1
# Version required:	1.0.1
d5 1
a5 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.19 1999/12/08 21:26:55 ache Exp $
d8 2
a9 1
DISTNAME=	gnupg-1.0.1
@


1.19
log
@Change broken link to homepage to official one
@
text
@d2 1
a2 2
# http://www.gnupg.org/
# Version required:	1.0.0
d6 1
a6 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.18 1999/09/09 22:56:20 kuriyama Exp $
d9 1
a9 1
DISTNAME=	gnupg-1.0.0
d11 5
a15 3
MASTER_SITES=	ftp://ftp.guug.de/pub/gcrypt/gnupg/ \
		ftp://pgp.iijlab.net/pub/gnupg/gnupg/ \
		ftp://ftp.win.or.jp/pub/network/gnupg/gnupg/
d31 3
@


1.18
log
@Upgrade to v1.0.0.
@
text
@d2 1
d7 1
a7 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.17 1999/08/31 06:50:07 mharo Exp $
@


1.17
log
@FreeBSD.ORG -> FreeBSD.org

Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
@
text
@d2 1
a2 1
# Version required:	0.9.10
d6 1
a6 1
# $FreeBSD: ports/security/gnupg/Makefile,v 1.16 1999/08/31 01:51:04 peter Exp $
d9 1
a9 1
DISTNAME=	gnupg-0.9.10
d11 3
a13 3
MASTER_SITES=	ftp://ftp.guug.de/pub/gcrypt/ \
		ftp://pgp.iijlab.net/pub/gnupg/ \
		ftp://ftp.win.or.jp/pub/network/gnupg/
@


1.16
log
@$Id$ -> $FreeBSD$
@
text
@d4 1
a4 1
# Whom:			kuriyama@@FreeBSD.ORG
d6 1
a6 1
# $FreeBSD$
d15 1
a15 1
MAINTAINER=	kuriyama@@FreeBSD.ORG
@


1.15
log
@chmod -> ${CHMOD}
chown -> ${CHOWN}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.14 1999/08/12 15:10:08 kuriyama Exp $
@


1.14
log
@Upgrade to v0.9.10.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.13 1999/07/26 15:59:32 kuriyama Exp $
d41 1
a41 1
#	chmod u+s ${PREFIX}/bin/gpg
@


1.13
log
@Upgrade to v0.9.9.
@
text
@d2 1
a2 1
# Version required:	0.9.9
d6 1
a6 1
# $Id: Makefile,v 1.12 1999/06/30 14:47:59 kuriyama Exp $
d9 1
a9 1
DISTNAME=	gnupg-0.9.9
@


1.12
log
@Upgrade to v0.9.8.
Add workaround for compilation with CFLAGS=-pipe.
@
text
@d2 1
a2 1
# Version required:	0.9.8
d6 1
a6 1
# $Id: Makefile,v 1.11 1999/05/25 00:32:32 kuriyama Exp $
d9 1
a9 1
DISTNAME=	gnupg-0.9.8
@


1.11
log
@Upgrade to v0.9.7.
@
text
@d2 1
a2 1
# Version required:	0.9.7
d6 1
a6 1
# $Id: Makefile,v 1.10 1999/05/09 04:46:30 kuriyama Exp $
d9 1
a9 1
DISTNAME=	gnupg-0.9.7
d28 1
@


1.10
log
@Upgrade to v0.9.6.

# In my environment (3.1-19990331-STABLE), I cannot finish to build
# with CFLAGS+=-pipe.  Hmmm....
@
text
@d2 1
a2 1
# Version required:	0.9.6
d6 1
a6 1
# $Id: Makefile,v 1.9 1999/04/17 04:51:20 kuriyama Exp $
d9 1
a9 1
DISTNAME=	gnupg-0.9.6
@


1.9
log
@Add optional CONFIGURE_ARGS to compile on 2.2.8 system.
Install documentations.

Submitted by:	Dirk Meyer <dirk.meyer@@dinoex.sub.org>
Reviewed and modified by:	maintainer
@
text
@d2 1
a2 1
# Version required:	0.9.5
d6 1
a6 1
# $Id: Makefile,v 1.8 1999/03/21 07:44:48 kuriyama Exp $
d9 1
a9 1
DISTNAME=	gnupg-0.9.5
@


1.8
log
@Upgrade to v0.9.5.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.7 1999/03/14 03:12:10 kuriyama Exp $
a16 2
#BUILD_DEPENDS=	aclocal:${PORTSDIR}/devel/automake

a17 1
#USE_AUTOCONF=	YES
d23 17
a39 1
#post-install:
d45 1
a45 1
.include <bsd.port.mk>
@


1.7
log
@Upgrade to v0.9.4.
@
text
@d2 1
a2 1
# Version required:	0.9.4
d6 1
a6 1
# $Id: Makefile,v 1.6 1999/03/08 14:33:24 kuriyama Exp $
d9 1
a9 1
DISTNAME=	gnupg-0.9.4
@


1.6
log
@Upgrade to v0.9.3.
@
text
@d2 1
a2 1
# Version required:	0.9.3
d6 1
a6 1
# $Id: Makefile,v 1.5 1999/02/11 11:41:04 obrien Exp $
d9 1
a9 1
DISTNAME=	gnupg-0.9.3
d17 1
a17 1
BUILD_DEPENDS=	aclocal:${PORTSDIR}/devel/automake
d20 2
a21 1
USE_AUTOCONF=	YES
@


1.5
log
@*  Don't use "USE_AUTOCONF" when "GNU_CONFIGURE" will work just fine.
*  BROKEN='{standard input}: Assembler messages: Error: Alignment not a power of 2'
@
text
@d2 1
a2 1
# Version required:	0.9.2
d6 1
a6 1
# $Id: Makefile,v 1.4 1999/02/07 11:18:51 kuriyama Exp $
d9 1
a9 1
DISTNAME=	gnupg-0.9.2
d17 1
a17 1
BROKEN='{standard input}: Assembler messages: Error: Alignment not a power of 2'
d20 1
a20 2

GNU_CONFIGURE=	YES
a21 1

@


1.4
log
@Upgrade to v0.9.2.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1999/01/15 15:21:30 kuriyama Exp $
d17 2
d21 1
a21 1
USE_AUTOCONF=	YES
@


1.3
log
@Upgrade to v0.9.1.
@
text
@d2 1
a2 1
# Version required:	0.9.1
d6 1
a6 1
# $Id: Makefile,v 1.2 1998/12/10 13:32:55 kuriyama Exp $
d9 1
a9 1
DISTNAME=	gnupg-0.9.1
@


1.2
log
@Upgrade to v0.4.5.
@
text
@d2 1
a2 1
# Version required:	0.4.5
d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1998/11/23 14:13:26 kuriyama Exp $
d9 1
a9 1
DISTNAME=	gnupg-0.4.5
d19 1
a19 1
GNU_CONFIGURE=	yes
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# Version required:	0.4.4
d6 1
a6 1
# $Id$
d9 1
a9 1
DISTNAME=	gnupg-0.4.4
@


1.1.1.1
log
@The GNU Privacy Guard

Submitted by:	kuriyama@@FreeBSD.ORG
@
text
@@
