head	1.38;
access;
symbols
	RELEASE_8_3_0:1.34
	RELEASE_9_0_0:1.33
	RELEASE_7_4_0:1.26
	RELEASE_8_2_0:1.26
	RELEASE_6_EOL:1.26
	RELEASE_8_1_0:1.26
	RELEASE_7_3_0:1.25
	RELEASE_8_0_0:1.24
	RELEASE_7_2_0:1.22
	RELEASE_7_1_0:1.22
	RELEASE_6_4_0:1.22
	RELEASE_5_EOL:1.21
	RELEASE_7_0_0:1.20
	RELEASE_6_3_0:1.20
	PRE_XORG_7:1.17
	RELEASE_4_EOL:1.16
	RELEASE_6_2_0:1.16
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.12
	RELEASE_5_4_0:1.12
	RELEASE_4_11_0:1.12
	RELEASE_5_3_0:1.12
	RELEASE_4_10_0:1.12
	RELEASE_5_2_1:1.11
	RELEASE_5_2_0:1.11
	RELEASE_4_9_0:1.10
	RELEASE_5_1_0:1.9
	RELEASE_4_8_0:1.8
	RELEASE_5_0_0:1.7
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.3
	RELEASE_4_6_1:1.3
	RELEASE_4_6_0:1.3
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


1.38
date	2013.01.26.15.05.06;	author svnexp;	state Exp;
branches;
next	1.37;

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

1.36
date	2012.11.17.06.01.08;	author svnexp;	state Exp;
branches;
next	1.35;

1.35
date	2012.07.12.21.02.06;	author johans;	state Exp;
branches;
next	1.34;

1.34
date	2011.12.18.22.47.56;	author bapt;	state Exp;
branches;
next	1.33;

1.33
date	2011.09.04.15.43.18;	author johans;	state Exp;
branches;
next	1.32;

1.32
date	2011.09.03.10.50.40;	author johans;	state Exp;
branches;
next	1.31;

1.31
date	2011.08.18.08.39.56;	author johans;	state Exp;
branches;
next	1.30;

1.30
date	2011.07.18.08.45.55;	author johans;	state Exp;
branches;
next	1.29;

1.29
date	2011.07.17.16.20.58;	author johans;	state Exp;
branches;
next	1.28;

1.28
date	2011.04.27.19.01.59;	author johans;	state Exp;
branches;
next	1.27;

1.27
date	2011.04.27.01.56.45;	author dougb;	state Exp;
branches;
next	1.26;

1.26
date	2010.04.19.10.43.40;	author ale;	state Exp;
branches;
next	1.25;

1.25
date	2009.12.02.13.45.51;	author miwi;	state Exp;
branches;
next	1.24;

1.24
date	2009.07.08.03.45.07;	author pgollucci;	state Exp;
branches;
next	1.23;

1.23
date	2009.05.13.09.45.58;	author ale;	state Exp;
branches;
next	1.22;

1.22
date	2008.08.21.06.18.18;	author rafan;	state Exp;
branches;
next	1.21;

1.21
date	2008.03.20.10.03.41;	author pav;	state Exp;
branches;
next	1.20;

1.20
date	2007.07.24.15.10.14;	author rafan;	state Exp;
branches;
next	1.19;

1.19
date	2007.07.16.07.58.02;	author rafan;	state Exp;
branches;
next	1.18;

1.18
date	2007.05.27.09.48.24;	author miwi;	state Exp;
branches;
next	1.17;

1.17
date	2007.02.27.21.18.30;	author linimon;	state Exp;
branches;
next	1.16;

1.16
date	2006.08.07.10.54.16;	author miwi;	state Exp;
branches;
next	1.15;

1.15
date	2006.06.14.14.51.01;	author miwi;	state Exp;
branches;
next	1.14;

1.14
date	2006.05.10.14.46.47;	author ale;	state Exp;
branches;
next	1.13;

1.13
date	2005.11.24.11.25.04;	author edwin;	state Exp;
branches;
next	1.12;

1.12
date	2004.02.04.05.08.48;	author marcus;	state Exp;
branches;
next	1.11;

1.11
date	2003.10.29.21.41.31;	author sergei;	state Exp;
branches;
next	1.10;

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

1.9
date	2003.05.08.05.00.10;	author foxfair;	state Exp;
branches;
next	1.8;

1.8
date	2003.02.20.18.59.07;	author knu;	state Exp;
branches;
next	1.7;

1.7
date	2002.11.10.16.47.52;	author lioux;	state Exp;
branches;
next	1.6;

1.6
date	2002.11.06.22.46.50;	author adamw;	state Exp;
branches;
next	1.5;

1.5
date	2002.09.20.06.42.08;	author ijliao;	state Exp;
branches;
next	1.4;

1.4
date	2002.06.25.07.09.44;	author ijliao;	state Exp;
branches;
next	1.3;

1.3
date	2002.04.18.08.20.50;	author ijliao;	state Exp;
branches;
next	1.2;

1.2
date	2002.02.01.11.17.36;	author ijliao;	state Exp;
branches;
next	1.1;

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


desc
@@


1.38
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311015
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: ijliao
# $FreeBSD: head/security/nettle/Makefile 311015 2013-01-26 14:44:57Z johans $

PORTNAME=	nettle
PORTVERSION=	2.6
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_GNU} \
		http://www.lysator.liu.se/~nisse/archive/:liu \
		ftp://ftp.lysator.liu.se/pub/security/lsh/:liu
MASTER_SITE_SUBDIR=	${PORTNAME}/:DEFAULT

MAINTAINER=	johans@@FreeBSD.org
COMMENT=	A low-level cryptographic library

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING.LIB

LIB_DEPENDS=	gmp:${PORTSDIR}/math/gmp

USE_GMAKE=	yes
USE_OPENSSL=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	M4="/usr/bin/m4 -g"
CONFIGURE_ARGS=	--enable-shared
MAKE_ARGS=	pkgconfigdir="${PREFIX}/libdata/pkgconfig"

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
USE_LDCONFIG=	yes

DOCS=		NEWS README TODO nettle.html nettle.pdf
EXAMPLES=	examples/*.c examples/*.h

INFO=		nettle

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
CONFIGURE_ENV+=	CCPIC=-fPIC
.endif

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
	@@${MKDIR} ${EXAMPLESDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
.endif
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif

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


1.37
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310565
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/security/nettle/Makefile 310565 2013-01-17 19:55:23Z johans $
d36 6
d54 1
a54 1
.include <bsd.port.mk>
@


1.36
log
@Switch exporter over
@
text
@d1 2
a2 7
# ex:ts=8
# New ports collection makefile for:	nettle
# Date created:			Dec 6, 2001
# Whom:				ijliao
#
# $FreeBSD: head/security/nettle/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d5 1
a5 1
PORTVERSION=	2.5
@


1.35
log
@- Update Nettle to 2.5 release
- Remove local patch that is no longer needed
- This release is ABI/API compatible with the previous version

PR:		ports/169742
Submitted by:	Niclas Zeising <zeising@@daemonic.se>
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.34
log
@Fix build on CURRENT using m4 -g instead of m4

Approved by:	johans
@
text
@d10 1
a10 1
PORTVERSION=	2.4
d23 1
a23 1
LIB_DEPENDS=	gmp.10:${PORTSDIR}/math/gmp
d41 1
a41 3
post-patch:
	@@${REINPLACE_CMD} -e 's/[[:<:]]sub[[:>:]]/subl/' \
		${WRKSRC}/x86/camellia-crypt-internal.asm
d44 1
a44 1
.if !defined(NOPORTEXAMPLES)
d48 1
a48 1
.if !defined(NOPORTDOCS)
@


1.33
log
@Update Nettle to 2.4 (bugfix release)
@
text
@d28 1
@


1.32
log
@- Update nettle to 2.3
  The library is intended to be binary compatible with nettle-2.2
- Includes *.pc files for pkgconfig
@
text
@d10 1
a10 1
PORTVERSION=	2.3
@


1.31
log
@Fix nettle build with clang on i386: correct assembly

PR:		ports/159773
Submitted by:	rene
@
text
@d10 1
a10 1
PORTVERSION=	2.2
d29 1
@


1.30
log
@- Add MASTER_SITE_GNU as new site for nettle
- Remove duplicated ex modeline
@
text
@d39 4
@


1.29
log
@Update nettle to 2.2
@
text
@a1 1
# ex:ts=8
d12 4
a15 2
MASTER_SITES=	http://www.lysator.liu.se/~nisse/archive/ \
		ftp://ftp.lysator.liu.se/pub/security/lsh/
@


1.28
log
@- Update nettle to 2.1 release [1]
  The latest stable release of GnuTLS requires this version.
  This includes a shared library bump
- Grab maintainership for myself (to catch any issues that may arise)

PR:		ports/156173 [1]
Submitted by:	Hirohisa Yamaguchi <umq@@ueo.co.jp>
Approved by:	Charlie Kester <corky1951@@comcast.net> (old maintainer)
@
text
@d11 1
a11 1
PORTVERSION=	2.1
d19 3
a23 4
LICENSE=	GPLv2 LGPL21
LICENSE_COMB=	multi
LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING.LIB
a26 1
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
d29 1
@


1.27
log
@By Maintainer's request, toss these ports back into the pool
@
text
@d11 1
a11 2
PORTVERSION=	2.0
PORTREVISION=	1
d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
d21 4
@


1.26
log
@Switch to use newer GMP version.

PR:		ports/144487
Submitted by:	ale
Approved by:	portmgr (-exp run by erwin)
@
text
@d17 1
a17 1
MAINTAINER=	corky1951@@comcast.net
@


1.25
log
@All ports depending on the nettle library have been updated
to use nettle 2.0, and there is no longer any reason to keep
separate ports for nettle versions 1.x and 2.x.

PR:		139482 139484
Submitted by:	Charlie Kester <corky1951@@comcast.net> (maintainer)
@
text
@d12 1
d20 1
a20 1
LIB_DEPENDS=	gmp.8:${PORTSDIR}/math/libgmp4
@


1.24
log
@- Pass maintainer to submitter

PR:				ports/136448
Submitted by:	Charlie Kester <corky1951@@comcast.net>
@
text
@d2 1
d11 1
a11 2
PORTVERSION=	1.15
PORTREVISION=	2
d26 1
d30 1
a30 1
DOCS=		NEWS README TODO nettle.html
a34 3
post-extract:
	@@${RM} -f ${WRKSRC}/nettle.info*

d36 1
d39 1
@


1.23
log
@Chase libgmp and bump PORTREVISION.
@
text
@d16 1
a16 1
MAINTAINER=	ports@@FreeBSD.org
@


1.22
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
@d11 1
a11 1
PORTREVISION=	1
d19 1
a19 1
LIB_DEPENDS=	gmp.7:${PORTSDIR}/math/libgmp4
@


1.21
log
@- Remove USE_GETOPT_LONG which is a no-op since March 2007
@
text
@a24 1
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
@


1.20
log
@- Remove --mandir and --infodir from CONFIGURE_ARGS. They are now default
  in bsd.port.mk.

Tested with:	my tinderbox on i386 6
Approved by:	portmgr
@
text
@a28 1
USE_GETOPT_LONG=	yes
@


1.19
log
@- Correct info file path (PREFIX/share/info -> PREFIX/INFO_PATH)
- Bump PORTREVISION

Reported by:	pointyhat exp run
@
text
@d26 1
a26 1
CONFIGURE_ARGS=	--enable-shared --infodir=${PREFIX}/${INFO_PATH}
@


1.18
log
@- Update to 1.15

PR:		112925
Submitted by:	Nils Vogels <nivo+kw+ports.bfa274@@is-root.com>
@
text
@d11 1
d26 1
a26 1
CONFIGURE_ARGS=	--enable-shared
a29 1
USE_GCC=	3.4+
d34 2
@


1.17
log
@Reset jim@@corebsd.or.id, since he no longer has access to FreeBSD machines.
We appreciate the help in the past.

Hat:		portmgr
@
text
@d10 1
a10 1
PORTVERSION=	1.14
d27 1
a27 1
INSTALLS_SHLIB=	yes
a32 1
INFO=		nettle
@


1.16
log
@- Fix build on 4.x
- Fix pkg-plist

Submitted by:	pointyhat via kris
Approved by:	krion (mentor)
@
text
@d15 1
a15 1
MAINTAINER=	jim@@corebsd.or.id
@


1.15
log
@Update to 1.14

PR:		ports/98434
Submitted by:	miwi
Approved by:	krion (mentor), maintainer timeout
@
text
@d28 2
@


1.14
log
@Chase gmp library and bump PORTREVISION.
@
text
@d10 1
a10 2
PORTVERSION=	1.13
PORTREVISION=	2
@


1.13
log
@security/nettle is out of date : port version is 1.7, available is 1.13

	Nettle port is out of date. Nettle website has 1.13 for ages.
	Nettle port needs to be updated for software fixes purposes.

Bumped portversion of lang/pike76

PR:		ports/87655
Submitted by:	Xavier beaudouin <kiwi@@oav.net>
@
text
@d11 1
a11 1
PORTREVISION=	1
d19 1
a19 1
LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4
@


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

(Part 1)
@
text
@d10 2
a11 2
PORTVERSION=	1.7
PORTREVISION=	2
d31 1
a31 1
EXAMPLES=	examples/README examples/*.c examples/*.h
@


1.11
log
@- Install shared library (mostly for Pike 7.5 crypto toolkit)
- Install documentation and examples
- Utilize INFO

PR:		58338
Submitted by:	Xavier Beaudouin <kiwi@@plonk.home.oav.net>
Approved by:	maintainer
@
text
@d11 1
a11 1
PORTREVISION=	1
@


1.10
log
@- don't clobber any given LDFLAGS
  resolves conflitcs with bsd.openssl.mk
Approved by:	jim@@corebsd.or.id
@
text
@d11 1
d24 1
d26 1
a26 2
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		MAKEINFO="makeinfo --no-split"
d28 5
d36 8
@


1.9
log
@PR:		51650
Submitted by:	Jim Geovedi <jim@@corebsd.or.id>
Update to 1.7
@
text
@a24 1
		LDFLAGS="-L${LOCALBASE}/lib" \
d26 1
@


1.8
log
@De-pkg-comment.
@
text
@d10 1
a10 2
PORTVERSION=	1.5
PORTREVISION=	2
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d21 1
@


1.7
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d17 1
@


1.6
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a17 2
PORTCOMMENT=	A low-level cryptographic library

@


1.5
log
@- Support CFLAGS/CXXFLAGS properly
- Pass "--no-split" flag to makeinfo

PR:		42896
Submitted by:	Ports Fury
@
text
@d18 2
@


1.4
log
@bump libgmp4 libversion
@
text
@d11 1
a11 1
PORTREVISIOIN=	1
d20 1
a20 1
USE_LIBTOOL=	yes
d22 7
a28 3
CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE=	yes
@


1.3
log
@libgmp3 -> libgmp4
@
text
@d18 1
a18 1
LIB_DEPENDS=	gmp.5:${PORTSDIR}/math/libgmp4
@


1.2
log
@upgrade to 1.5
@
text
@d11 1
d18 1
a18 1
LIB_DEPENDS=	gmp.4:${PORTSDIR}/math/libgmp3
@


1.1
log
@add nettle
A low-level cryptographic library
@
text
@d10 1
a10 1
PORTVERSION=	1.0
d17 3
d21 2
@

