head	1.13;
access;
symbols
	RELEASE_4_10_0:1.12
	old_RELEASE_5_2_1:1.8
	old_RELEASE_5_2_0:1.8
	old_RELEASE_4_9_0:1.8
	old_RELEASE_5_1_0:1.6
	old_RELEASE_4_8_0:1.6
	old_RELEASE_5_0_0:1.2;
locks; strict;
comment	@# @;


1.13
date	2004.05.03.13.57.45;	author arved;	state dead;
branches;
next	1.12;

1.12
date	2004.03.18.14.07.03;	author arved;	state Exp;
branches;
next	1.11;

1.11
date	2004.03.14.06.17.19;	author ade;	state Exp;
branches;
next	1.10;

1.10
date	2004.01.29.10.06.22;	author arved;	state Exp;
branches;
next	1.9;

1.9
date	2004.01.16.21.08.42;	author arved;	state Exp;
branches;
next	1.8;

1.8
date	2003.08.04.17.54.30;	author arved;	state Exp;
branches;
next	1.7;

1.7
date	2003.07.18.13.37.14;	author arved;	state Exp;
branches;
next	1.6;

1.6
date	2003.02.26.15.25.19;	author arved;	state Exp;
branches;
next	1.5;

1.5
date	2003.02.22.14.38.11;	author arved;	state Exp;
branches;
next	1.4;

1.4
date	2003.02.15.10.51.48;	author arved;	state Exp;
branches;
next	1.3;

1.3
date	2003.01.02.14.18.00;	author arved;	state Exp;
branches;
next	1.2;

1.2
date	2002.11.07.11.54.23;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2002.10.14.12.38.47;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.13
log
@Update libgcrypt to the new stable version 1.2.0
Retire libgcrypt-devel

Switch back to security/libgcrypt and bump PORTREVISION for
- gnutls
- gnutls-devel
- gsasl
- opencdk
- vpnc

libggz:
- Remove dependency on libgcrypt, because the port does not yet
work with the new libgcrypt

libksba:
- Update to 0.9.5
- Pass maintainership to lofi, who already maintains the other
aegypten ports.

Approved by:	lofi

wmbiff:
Switch to security/libgcrypt but no PORTREVISION bump, because the
dependency is optional and the port does not work with the new
libgcrypt and needs to be updated.

No action, because ports don't work with the new libgcrypt and need
to be updated, maintainers informed:
security/newpg
security/pinentry
security/dirmngr
emulators/fuse
emulators/libspectrum
@
text
@# New ports collection Makefile for:	libgcrypt
# Date created:				July 17 2002
# Whom:					Tilman Linneweh <arved@@FreeBSD.org>
#
# $FreeBSD: ports/security/libgcrypt-devel/Makefile,v 1.12 2004/03/18 14:07:03 arved Exp $

PORTNAME=	libgcrypt
PORTVERSION=	1.1.91
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR=	alpha/libgcrypt
DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
		${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}.sig

MAINTAINER=	arved@@FreeBSD.org
COMMENT=	"General purpose crypto library based on code used in GnuPG"

LIB_DEPENDS=	gpg-error.1:${PORTSDIR}/security/libgpg-error

CONFLICTS=	libgcrypt-1.1*
USE_REINPLACE=	yes
USE_PERL5=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	MAKEINFO="makeinfo --no-split"
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=		--with-pth=no
INSTALLS_SHLIB=	yes

INFO=	gcrypt

.include <bsd.port.pre.mk>

pre-extract:
.if exists(${PREFIX}/bin/gpg)
	@@${MKDIR} ${WRKDIR}
	@@${ECHO_CMD} "===> Verifying GnuPG Signature."
	-${PREFIX}/bin/gpg --no-default-keyring --keyring ${WRKDIR}/keyring \
		--keyserver pgp.mit.edu --recv-key 57548DCD
	cd ${DISTDIR}; ${PREFIX}/bin/gpg --keyring ${WRKDIR}/keyring --verify \
		${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}.sig \
		${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
.else
	@@${ECHO_CMD} "===> GnuPG not installed. Signature can not be verified"
.endif

post-patch:
	@@${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \
		's|-lpthread|${PTHREAD_LIBS}|g'
	@@${REINPLACE_CMD} -e s'|-lpthread|${PTHREAD_LIBS}|g' \
		${WRKSRC}/src/Makefile.in

pre-configure:
	@@${RM} -f ${WRKSRC}/doc/gcrypt.info*

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


1.12
log
@Don't depend on devel/pth

Submitted by:	marcus
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@Whoa there, boy, that's a mighty big commit y'all have there...

Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
@
text
@d9 1
d19 1
a19 2
LIB_DEPENDS=	gpg-error.1:${PORTSDIR}/security/libgpg-error \
		pth.20:${PORTSDIR}/devel/pth
d24 2
a25 5
USE_GNOME=	lthack
USE_LIBTOOL_VER=13
CONFIGURE_ENV=	MAKEINFO="makeinfo --no-split" \
		CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include/pth" \
		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib/pth"
d27 1
d48 4
a51 2
	@@${REINPLACE_CMD} -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|" \
		${WRKSRC}/ltmain.sh
@


1.10
log
@Add libgcrypt-devel, repocopied from libgcrypt.
Version 1.1.91 is incompatible with 1.1.12.

The -devel is required by the upcoming GnuTLS version and the new vpnc version.
The Stable version is still required by the Aegypten plugins.

Approved by:    portmgr(marcus)
Repocopied by:  joe
@
text
@d25 1
a25 1
USE_LIBTOOL=	yes
@


1.9
log
@Don't create the default keyring, if gnupg is installed.

Requested by:	Randy Bush
@
text
@d8 1
a8 1
PORTVERSION=	1.1.12
d18 4
d24 1
d26 3
a28 1
CONFIGURE_ENV=	MAKEINFO="makeinfo --no-split"
a48 1

d51 1
a51 1
		${WRKSRC}/scripts/ltmain.sh
@


1.8
log
@Use new INFO macro
@
text
@d31 1
d33 3
a35 2
	-${PREFIX}/bin/gpg --keyserver pgp.mit.edu --recv-key 57548DCD
	cd ${DISTDIR}; ${PREFIX}/bin/gpg --verify \
@


1.7
log
@Verify gpg signature if possible.
@
text
@d25 2
@


1.6
log
@Update to 1.1.12

PR:		48704
Submitted by:	Sergei Kolobov <sergei@@kolobov.com>
@
text
@d12 2
a19 1
#USE_AUTOCONF_VER=	253
d25 14
d46 1
a46 1
.include <bsd.port.mk>
@


1.5
log
@de-pkg-comment
@
text
@d8 1
a8 1
PORTVERSION=	1.1.11
d18 1
a18 1
USE_AUTOCONF_VER=	253
@


1.4
log
@Use MASTER_SITE_GNUPG
@
text
@d14 1
@


1.3
log
@Update to 1.1.11
@
text
@d10 2
a11 5
MASTER_SITES=	http://gd.tuwien.ac.at/privacy/gnupg/alpha/libgcrypt/ \
		ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/ \
		http://ftp.hi.is/pub/mirrors/gnupg/alpha/libgcrypt/ \
		http://www.mirrors.wiretapped.net/security/cryptography/apps/pgp/GnuPG/alpha/libgcrypt/  \
		${MASTER_SITE_RINGSERVER}/net/gnupg/alpha/libgcrypt/ \
@


1.2
log
@Fix PERL dependencies for these ports (print/cups solves print/cups-base
and french/cups-base)

Noticed on: bento
@
text
@d3 1
a3 1
# Whom:					Tilman Linneweh <tilman@@arved.de>
d8 1
a8 1
PORTVERSION=	1.1.10
d16 1
a16 3
MAINTAINER=	freebsdports@@arved.de

BUILD_DEPENDS=	autoconf:${PORTSDIR}/devel/autoconf
d20 1
a31 1
	@@cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf
@


1.1
log
@add libgcrypt 1.1.0
General purpose crypto library based on code used in GnuPG

PR:		43894
Submitted by:	Tilman Linneweh <tilman@@arved.de>
@
text
@d21 1
@

