head	1.37;
access;
symbols
	RELEASE_8_3_0:1.36
	RELEASE_9_0_0:1.36
	RELEASE_7_4_0:1.35
	RELEASE_8_2_0:1.35
	RELEASE_6_EOL:1.34
	RELEASE_8_1_0:1.33
	RELEASE_7_3_0:1.33
	RELEASE_8_0_0:1.33
	RELEASE_7_2_0:1.32
	RELEASE_7_1_0:1.31
	RELEASE_6_4_0:1.31
	RELEASE_5_EOL:1.28
	RELEASE_7_0_0:1.27
	RELEASE_6_3_0:1.27
	PRE_XORG_7:1.26
	RELEASE_4_EOL:1.25
	RELEASE_6_2_0:1.24
	RELEASE_6_1_0:1.22
	RELEASE_5_5_0:1.22
	RELEASE_6_0_0:1.18
	RELEASE_5_4_0:1.16
	RELEASE_4_11_0:1.14
	RELEASE_5_3_0:1.14
	RELEASE_4_10_0:1.11
	RELEASE_5_2_1:1.9
	RELEASE_5_2_0:1.9
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6;
locks; strict;
comment	@# @;


1.37
date	2012.11.17.06.01.09;	author svnexp;	state Exp;
branches;
next	1.36;

1.36
date	2011.07.03.11.40.47;	author swills;	state Exp;
branches;
next	1.35;

1.35
date	2010.12.04.07.33.28;	author ade;	state Exp;
branches;
next	1.34;

1.34
date	2010.07.27.01.25.18;	author wxs;	state Exp;
branches;
next	1.33;

1.33
date	2009.08.02.19.35.31;	author mezz;	state Exp;
branches;
next	1.32;

1.32
date	2009.01.06.13.01.10;	author rafan;	state Exp;
branches;
next	1.31;

1.31
date	2008.08.21.06.18.18;	author rafan;	state Exp;
branches;
next	1.30;

1.30
date	2008.06.19.05.00.10;	author novel;	state Exp;
branches;
next	1.29;

1.29
date	2008.06.06.14.00.58;	author edwin;	state Exp;
branches;
next	1.28;

1.28
date	2008.02.28.21.47.05;	author arved;	state Exp;
branches;
next	1.27;

1.27
date	2007.10.31.05.40.39;	author novel;	state Exp;
branches;
next	1.26;

1.26
date	2007.02.14.12.09.24;	author novel;	state Exp;
branches;
next	1.25;

1.25
date	2007.01.02.10.35.46;	author novel;	state Exp;
branches;
next	1.24;

1.24
date	2006.08.12.07.01.03;	author novel;	state Exp;
branches;
next	1.23;

1.23
date	2006.05.13.04.15.09;	author edwin;	state Exp;
branches;
next	1.22;

1.22
date	2006.02.23.10.39.02;	author ade;	state Exp;
branches;
next	1.21;

1.21
date	2006.02.03.10.09.56;	author novel;	state Exp;
branches;
next	1.20;

1.20
date	2005.11.15.06.51.02;	author ade;	state Exp;
branches;
next	1.19;

1.19
date	2005.08.30.14.28.29;	author sergei;	state Exp;
branches;
next	1.18;

1.18
date	2005.04.12.03.26.30;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	2005.04.11.08.03.57;	author obrien;	state Exp;
branches;
next	1.16;

1.16
date	2005.02.07.12.16.47;	author sergei;	state Exp;
branches;
next	1.15;

1.15
date	2005.01.11.14.53.12;	author arved;	state Exp;
branches;
next	1.14;

1.14
date	2004.08.06.22.45.53;	author sergei;	state Exp;
branches;
next	1.13;

1.13
date	2004.07.09.17.42.48;	author marcus;	state Exp;
branches;
next	1.12;

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

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

1.10
date	2004.03.10.05.24.58;	author sergei;	state Exp;
branches;
next	1.9;

1.9
date	2003.10.23.05.42.48;	author sergei;	state Exp;
branches;
next	1.8;

1.8
date	2003.09.26.11.20.29;	author krion;	state Exp;
branches;
next	1.7;

1.7
date	2003.09.24.09.09.32;	author krion;	state Exp;
branches;
next	1.6;

1.6
date	2003.02.27.20.32.12;	author naddy;	state Exp;
branches;
next	1.5;

1.5
date	2003.02.21.13.26.48;	author knu;	state Exp;
branches;
next	1.4;

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

1.3
date	2003.01.28.22.15.48;	author nork;	state Exp;
branches;
next	1.2;

1.2
date	2003.01.24.23.13.30;	author arved;	state Exp;
branches;
next	1.1;

1.1
date	2003.01.18.21.30.53;	author arved;	state Exp;
branches;
next	;


desc
@@


1.37
log
@Switch exporter over
@
text
@# New ports collection makefile for:	opencdk
# Date created:		15 Jan 2003
# Whom:			Sergei Kolobov <sergei@@kolobov.com>
#
# $FreeBSD: head/security/opencdk/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	opencdk
PORTVERSION=	0.6.6
PORTREVISION=	3
PORTEPOCH=	1
CATEGORIES=	security
MASTER_SITES=	http://josefsson.org/gnutls/releases/opencdk/
MASTER_SITE_SUBDIR=	alpha/gnutls/opencdk

MAINTAINER=	novel@@FreeBSD.org
COMMENT=	Open Crypto Development Kit

LIB_DEPENDS=	gcrypt.18:${PORTSDIR}/security/libgcrypt

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_GNOME=	pkgconfig ltverhack
USE_LDCONFIG=	yes
USE_AUTOTOOLS=	libtool
CONFIGURE_ARGS=	--with-libgcrypt-prefix=${LOCALBASE}

DOCS=		AUTHORS NEWS README THANKS doc/opencdk-api.html

post-patch:
	@@${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
		${WRKSRC}/src/Makefile.in

post-install:
	@@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>
@


1.36
log
@- Chase the libgcrypt shared lib version
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.35
log
@Sync to new bsd.autotools.mk
@
text
@d10 1
a10 1
PORTREVISION=	2
d19 1
a19 1
LIB_DEPENDS=	gcrypt.17:${PORTSDIR}/security/libgcrypt
@


1.34
log
@Chase security/libgcrypt shlib bump.

PR:		ports/148755
Submitted by:	Hirohisa Yamaguchi <umq@@ueo.co.jp>
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	libtool:22
@


1.33
log
@-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
@
text
@d10 1
a10 1
PORTREVISION=	1
d19 1
a19 1
LIB_DEPENDS=	gcrypt.16:${PORTSDIR}/security/libgcrypt
@


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

PR:		 ports/127478
@
text
@d25 1
a25 1
USE_AUTOTOOLS=	libtool:15
@


1.31
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d10 1
d19 1
a19 1
LIB_DEPENDS=	gcrypt.15:${PORTSDIR}/security/libgcrypt
@


1.30
log
@- Update to 0.6.6
- Drop obsolete mastersites
@
text
@a24 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.29
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
@d9 1
a9 2
PORTVERSION=	0.6.0
PORTREVISION=	1
d12 1
a12 5
MASTER_SITES=	http://josefsson.org/gnutls/releases/opencdk/ \
		${MASTER_SITE_GNUPG} \
		http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
		ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
		ftp://ftp.gnutls.org/pub/gnutls/opencdk/
d20 1
@


1.28
log
@Chase libgcrypt library version
@
text
@d10 1
@


1.27
log
@Update to 0.6.0 - the versioin compatible with the current version
of gnutls in ports. Therefore, it fixes the problem described in
ports/117671.

Approved by:	portmgr (pav)
@
text
@d22 1
a22 1
LIB_DEPENDS=	gcrypt.13:${PORTSDIR}/security/libgcrypt
@


1.26
log
@Update to 0.5.13.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.13
d25 1
a25 1
USE_GNOME=	pkgconfig
d27 1
@


1.25
log
@Update to 0.5.11.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.11
@


1.24
log
@Update to 0.5.9.
@
text
@d9 1
a9 1
PORTVERSION=	0.5.9
d25 2
a26 1
INSTALLS_SHLIB=	yes
d32 4
@


1.23
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d9 1
a9 2
PORTVERSION=	0.5.8
PORTREVISION=	1
a30 5
post-patch:
.for f in encrypt.c main.c misc.c
	${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' ${WRKSRC}/src/${f}
.endfor

@


1.22
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@a28 1
USE_REINPLACE=	yes
@


1.21
log
@Update to 0.5.8.
@
text
@d10 1
d25 1
a25 1
USE_AUTOTOOLS=	libtool:15
@


1.20
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@d9 1
a9 2
PORTVERSION=	0.5.5
PORTREVISION=	1
d12 2
a13 1
MASTER_SITES=	${MASTER_SITE_GNUPG} \
a23 3
USE_GPG=	yes
SIG_SUFFIX=	.sig.asc
USE_BZIP2=	yes
@


1.19
log
@- Pass maintainership of gnutls, libtasn1 and opencdk ports to
  Roman Bogorodskiy (novel) who kindly agreed to look after them
@
text
@d27 1
a27 1
USE_LIBTOOL_VER=15
@


1.18
log
@At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
@
text
@d19 1
a19 1
MAINTAINER=	sergei@@FreeBSD.org
@


1.17
log
@Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
@
text
@d29 1
a29 1
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@


1.16
log
@- Attempt to check PGP signature of the tarball (using experimental
  USE_GPG support in bsd.port.mk)
@
text
@d29 1
a29 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.15
log
@Update libgcrypt to 1.2.1. Changes:
        * made the code try to lock secure memory pool not only when running as
          root,
        * fixed type usage in Serpent,
        * made the code mix the PID into the entropy pool for better protection
          after a fork,
        * fixed memory leak in RSA.
        * fixed alignment problems in Rijndael,
        * fixed memory leak in gcry_pk_sign(),
        * fixed broken pointer access in gcry_ac_open(),
        * updated the documentation,
        * fixed several other bugs.
Chase Shared library version and bump PORTREVISION of affected ports.
@
text
@d24 2
@


1.14
log
@- Update to 2.5.5
- Switch to using libtool 1.5 installed from ports
@
text
@d10 1
d22 1
a22 1
LIB_DEPENDS=	gcrypt.12:${PORTSDIR}/security/libgcrypt
@


1.13
log
@Apply a big libtool patch to allow porters to use the libtool installed by
the libtoolX ports instead of the one included with each port.  Ports that
set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of
the included version.  To restore previous behavior, use the new macro,
USE_INC_LIBTOOL_VER.  Both macros accept the same argument: a libtool version.

For example, to use the ports version of libtool-1.5, add the following to
your Makefile:

USE_LIBTOOL_VER=        15

To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:

USE_INC_LIBTOOL_VER=    15

With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).

PR:		63944
Based on work by:eik and marcus
Approved by:	ade (autotools maintainer)
Tested by:	kris on pointyhat
Bound to be hidden problems:	You bet
@
text
@d9 1
a9 2
PORTVERSION=	0.5.4
PORTREVISION=	1
d23 2
a24 1
USE_INC_LIBTOOL_VER=13
@


1.12
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
@d24 1
a24 1
USE_LIBTOOL_VER=13
@


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
@d10 1
d22 1
a22 1
LIB_DEPENDS=	gcrypt.10:${PORTSDIR}/security/libgcrypt-devel
@


1.10
log
@- Update to 0.5.4

Forgotten by:	sergei
Reminded by:	Herbert J. Skuhra <herbert.skuhra@@gmx.at>
@
text
@d23 1
a23 1
USE_LIBTOOL=	yes
@


1.9
log
@Change to my @@FreeBSD.org address.

Approved by:	krion
@
text
@d9 1
a9 1
PORTVERSION=	0.4.5
d21 1
a21 1
LIB_DEPENDS=	gcrypt.6:${PORTSDIR}/security/libgcrypt
d29 1
a29 1
DOCS=		AUTHORS NEWS README THANKS
d32 2
a33 2
.for file in encrypt.c main.c misc.c
	${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' ${WRKSRC}/src/${file}
d42 1
a42 4
.for file in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
	${INSTALL_DATA} ${WRKSRC}/doc/opencdk-api.html ${DOCSDIR}
@


1.8
log
@- Backout last commit to build gnutls successfully
- Bump PORTEPOCH

Submitted by:	maintainer
Discussed with:	gnutls developers, maintainer
@
text
@d18 1
a18 1
MAINTAINER=	sergei@@kolobov.com
@


1.7
log
@- Update to 0.5.1

PR:		57141
Submitted by:	maintainer
@
text
@d9 2
a10 1
PORTVERSION=	0.5.1
a22 1
USE_BZIP2=	yes
d29 1
a29 2
DOCS=		AUTHORS NEWS README THANKS doc/opencdk-api.html
EXAMPLES=	tests/*.c tests/*.gpg
d38 2
a39 1
	cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
d42 4
a45 1
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
@


1.6
log
@- Update to 0.4.5
- Use DOCSDIR and EXAMPLESDIR in pkg-plist

PR:		48705
Submitted by:	Sergei Kolobov <sergei@@kolobov.com>
@
text
@d9 1
a9 1
PORTVERSION=	0.4.5
d22 1
d29 2
a30 1
DOCS=		AUTHORS NEWS README THANKS
d39 1
a39 2
	${INSTALL_DATA} ${WRKSRC}/tests/*.c ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/tests/*.gpg ${EXAMPLESDIR}
d42 1
a42 4
.for file in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
	${INSTALL_DATA} ${WRKSRC}/doc/opencdk-api.html ${DOCSDIR}
@


1.5
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	0.4.1
d31 1
a31 1
.for file in encrypt.c main.c
a35 1
	${RM} -f ${PREFIX}/lib/libopencdk.la
@


1.4
log
@Use MASTER_SITE_GNUPG
@
text
@d18 1
@


1.3
log
@- Make portlint happy (remove space at EOL)
- Remove useless .la files
- Make REINPLACE_CMD invocation a bit more readable (at least IMO)

PR:		ports/47524
Submitted by:	Sergei Kolobov <sergei@@kolobov.com> (maintainer)
@
text
@d11 1
a11 1
MASTER_SITES=	http://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/opencdk/ \
a12 1
		ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/opencdk/ \
d15 1
@


1.2
log
@Unbreak on CURRENT. Re-sort MASTER_SITES

PR:		47439
Submitted by:	Sergei Kolobov <sergei@@kolobov.com>
@
text
@d15 1
a15 1
		ftp://ftp.gnutls.org/pub/gnutls/opencdk/ 
d30 3
a32 2
	${REINPLACE_CMD} -e 's,#include <malloc.h>,#include<stdlib.h>,' \
		${WRKSRC}/src/encrypt.c ${WRKSRC}/src/main.c
d35 1
@


1.1
log
@Add opencdk, Open Crypto Development Kit, libary for basic parts of the OpenPGP message format

PR:		47103
Submitted by:	Sergei Kolobov <sergei@@kolobov.com>
@
text
@d12 1
a12 1
		ftp://ftp.gnutls.org/pub/gnutls/opencdk/ \
d14 2
a15 2
		http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
		ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/
d19 1
a19 2
LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
		gcrypt.6:${PORTSDIR}/security/libgcrypt
d24 2
a25 2
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -lgnugetopt"
d28 4
@

