head	1.36;
access;
symbols
	RELEASE_8_3_0:1.33
	RELEASE_9_0_0:1.32
	RELEASE_7_4_0:1.32
	RELEASE_8_2_0:1.32
	RELEASE_6_EOL:1.32
	RELEASE_8_1_0:1.32
	RELEASE_7_3_0:1.31
	RELEASE_8_0_0:1.31
	RELEASE_7_2_0:1.31
	RELEASE_7_1_0:1.31
	RELEASE_6_4_0:1.31
	RELEASE_5_EOL:1.31
	RELEASE_7_0_0:1.30
	RELEASE_6_3_0:1.30
	PRE_XORG_7:1.29
	RELEASE_4_EOL:1.28
	RELEASE_6_2_0:1.28
	RELEASE_6_1_0:1.25
	RELEASE_5_5_0:1.25
	RELEASE_6_0_0:1.24
	RELEASE_5_4_0:1.24
	RELEASE_4_11_0:1.24
	RELEASE_5_3_0:1.20
	RELEASE_4_10_0:1.20
	RELEASE_5_2_1:1.20
	RELEASE_5_2_0:1.20
	RELEASE_4_9_0:1.19
	RELEASE_5_1_0:1.16
	RELEASE_4_8_0:1.16
	RELEASE_5_0_0:1.12
	RELEASE_4_7_0:1.10
	RELEASE_4_6_2:1.6
	RELEASE_4_6_1:1.6
	RELEASE_4_6_0:1.6
	RELEASE_5_0_DP1:1.4
	RELEASE_4_5_0:1.3
	RELEASE_4_4_0:1.1;
locks; strict;
comment	@# @;


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

1.35
date	2012.08.21.21.00.33;	author dougb;	state Exp;
branches;
next	1.34;

1.34
date	2012.08.05.23.19.36;	author dougb;	state Exp;
branches;
next	1.33;

1.33
date	2012.01.09.04.01.15;	author eadler;	state Exp;
branches;
next	1.32;

1.32
date	2010.05.04.10.53.46;	author nork;	state Exp;
branches;
next	1.31;

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

1.30
date	2007.09.29.22.12.19;	author alepulver;	state Exp;
branches;
next	1.29;

1.29
date	2007.04.05.10.10.19;	author simon;	state Exp;
branches;
next	1.28;

1.28
date	2006.09.03.17.46.04;	author simon;	state Exp;
branches;
next	1.27;

1.27
date	2006.03.27.20.57.47;	author simon;	state Exp;
branches;
next	1.26;

1.26
date	2006.03.26.11.14.02;	author simon;	state Exp;
branches;
next	1.25;

1.25
date	2005.12.11.18.08.07;	author simon;	state Exp;
branches;
next	1.24;

1.24
date	2004.12.16.23.14.38;	author simon;	state Exp;
branches;
next	1.23;

1.23
date	2004.12.14.11.49.45;	author simon;	state Exp;
branches;
next	1.22;

1.22
date	2004.11.24.01.53.15;	author sem;	state Exp;
branches;
next	1.21;

1.21
date	2004.10.21.21.25.00;	author nectar;	state Exp;
branches;
next	1.20;

1.20
date	2003.10.17.12.41.12;	author edwin;	state Exp;
branches;
next	1.19;

1.19
date	2003.09.10.08.22.59;	author netchild;	state Exp;
branches;
next	1.18;

1.18
date	2003.08.25.09.29.26;	author edwin;	state Exp;
branches;
next	1.17;

1.17
date	2003.07.30.06.16.41;	author daichi;	state Exp;
branches;
next	1.16;

1.16
date	2003.02.21.16.18.58;	author nectar;	state Exp;
branches;
next	1.15;

1.15
date	2003.02.20.18.59.06;	author knu;	state Exp;
branches;
next	1.14;

1.14
date	2003.01.03.07.21.30;	author ijliao;	state Exp;
branches;
next	1.13;

1.13
date	2003.01.03.07.10.25;	author ijliao;	state Exp;
branches;
next	1.12;

1.12
date	2002.11.10.16.47.51;	author lioux;	state Exp;
branches;
next	1.11;

1.11
date	2002.11.06.22.46.49;	author adamw;	state Exp;
branches;
next	1.10;

1.10
date	2002.09.08.23.07.37;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2002.08.20.01.16.02;	author nectar;	state Exp;
branches;
next	1.8;

1.8
date	2002.08.20.01.06.26;	author trevor;	state Exp;
branches;
next	1.7;

1.7
date	2002.08.07.13.03.55;	author trevor;	state Exp;
branches;
next	1.6;

1.6
date	2002.05.08.06.16.29;	author dinoex;	state Exp;
branches;
next	1.5;

1.5
date	2002.04.03.21.11.50;	author pat;	state Exp;
branches;
next	1.4;

1.4
date	2002.03.30.21.30.23;	author pat;	state Exp;
branches;
next	1.3;

1.3
date	2002.01.11.03.08.24;	author pat;	state Exp;
branches;
next	1.2;

1.2
date	2002.01.10.00.01.49;	author pat;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.20.02.31.11;	author will;	state Exp;
branches;
next	;


desc
@@


1.36
log
@Switch exporter over
@
text
@# New ports collection Makefile for:	ISAKMP daemon
# Date created:				Fri May 11 18:20:02 EEST 2001
# Whom:					Martti Kuparinen <martti.kuparinen@@iki.fi>
#
# $FreeBSD: head/security/isakmpd/Makefile 302901 2012-08-21 21:00:33Z dougb $
#

PORTNAME=	isakmpd
PORTVERSION=	20041207
PORTREVISION=	3
CATEGORIES=	security net
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	simon

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	OpenBSD IKE daemon

# this is not compatible with cross build - there's no other way
.if !exists(/usr/include/netipsec/ipsec.h) && !exists(/usr/include/netinet6/ipsec.h)
BROKEN=		requires IPsec support
.endif

# If keynote is in use, bring the dependency
.if defined(USE_KEYNOTE)
BUILD_DEPENDS+=	keynote:${PORTSDIR}/security/keynote
.endif

USE_RC_SUBR=	isakmpd
MAKE_ENV+=	BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man LC_ALL=C

MAN5=		isakmpd.conf.5 isakmpd.policy.5
MAN8=		certpatch.8 isakmpd.8
MANCOMPRESSED=	yes

USE_OPENSSL=	yes

.include <bsd.port.pre.mk>

OPENSSLINC?=	/usr/include
OPENSSLLIB?=	/usr/lib
MAKE_ENV+=	OPENSSLINC="${OPENSSLINC}" OPENSSLLIB="${OPENSSLLIB}"

post-extract:
	@@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}

post-patch:
.for f in conf.h ike_auth.c isakmpd.8 isakmpd.conf.5 isakmpd.policy.5 policy.h
	${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/${f}
.endfor
	@@${REINPLACE_CMD} -e "s!netinet6/ipsec.h!netipsec/ipsec.h!" \
		${WRKSRC}/sysdep/freebsd/sysdep-os.h

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


1.35
log
@SVN rev 302901 on 2012-08-21 21:00:33Z by dougb

Fix problem introduced in r302141.  The directory for the unpacked source
files is unversioned, so it conflicts with the name of the rc.d script in
WRKDIR after SUB_FILES is applied.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.34
log
@SVN rev 302141 on 2012-08-05 23:19:36Z by dougb

Move the rc.d scripts of the form *.sh.in to *.in

Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
@
text
@a28 1
WRKSRC=		${WRKDIR}/isakmpd
d43 3
@


1.33
log
@- Remove outdated version checks

Reviewed by:	nox
@
text
@d28 1
a28 1
USE_RC_SUBR=	isakmpd.sh
@


1.32
log
@Fix build issue WITH_OPENSSL_PORT.

PR:		ports/146288
Submitted by:	Dan Lukes   dan  obluda cz
@
text
@a47 1
.if ${OSVERSION} > 700050
a49 1
.endif
@


1.31
log
@- Fix build with newer openssl (>= 0.9.8b)
- Fix build after FAST_IPSEC removal on 7.x and 8.x

PR:		ports/111430
Submitted by:	Dan Lukes <dan at obluda.cz>
@
text
@d36 2
@


1.30
log
@- Make it work on 64-bit systems.
- Avoid the build failing when OpenSSL is installed as a port too.

PR:		ports/94921
Submitted by:	Mats Palmgren <mats.palmgren@@bredband.net>
@
text
@d10 1
a10 1
PORTREVISION=	2
d19 1
a19 1
.if !exists(/usr/include/netinet6/ipsec.h)
a37 3
.if ${OSVERSION} >= 700019
BROKEN=		is not buildable with OpenSSL 0.9.8b
.else
a40 1
.endif
d46 4
@


1.29
log
@Return this port to the pool.

I don't use isakmpd enough to care enough about maintaining this port
properly.  It really should be upgraded to a new snapshot, unfortunatly
this is non-trivial work since the compat code was removed upstream.
@
text
@a28 1
USE_OPENSSL=	yes
d37 1
d40 4
@


1.28
log
@Mark BROKEN on recent -CURRENT since it doesn't compile with OpenSSL
0.9.8b, and I haven't found out how to fix it yet (patches are gladly
accepted).
@
text
@d15 1
a15 1
MAINTAINER=	simon@@FreeBSD.org
@


1.27
log
@- Make rc.d script more like what the Porters Handbook suggests.
- Bump PORTREVISION.

Prodded by:	dougb
@
text
@d37 5
d47 1
a47 1
.include <bsd.port.mk>
@


1.26
log
@- Install an isakmpd rc.d startup script based on the ike startup script
  in the base system. [1]
- Do not quote BROKEN.
- Remove USE_REINPLACE, when I'm here anyway.

Postponed for way to long by:	simon [1]
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.25
log
@Force C locale during build, since the isakmpd build system is not
locale safe.

This should fix the build for locales like German and Hungarian where
the tr(1) misuse "tr '[a-z]' '[A-Z]'" does not work.

Add SHA256 checksum when I'm modifying the port anyway.

Reported by:	Harald Schmalzbauer, Zahemszky Gabor
Should have been fixed long ago by:	simon
@
text
@d10 1
d20 1
a20 1
BROKEN=		"requires IPsec support"
d28 1
a29 1
USE_REINPLACE=	yes
@


1.24
log
@Forced commit to note that the new isakmpd snapshot is of course from
the OpenBSD 3.6 branch and not the OpenBSD 2.6 branch as I accidently
stated in the last commit.

Noticed by:	remko
@
text
@d30 1
a30 1
MAKE_ENV+=	BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man/man
@


1.23
log
@- Update to a new snapshot from the OpenBSD 2.6 branch dated 20041207
  which, among many other things, fixes the know security
  vulnerabilities.
- Remove some notes about tracking NetBSD, since the port does not do
  that anymore.
- Remove out-of-date information from pkg-descr.
- Take maintainership.

Approved by:	nectar
@
text
@@


1.22
log
@- Standardize an EXPIRATION_DATE format.

Approved by:	krion
@
text
@a6 3
# NOTE: See NetBSD's /usr/pkgsrc/security/isakmpd if this package
#       should be updated!
#
d9 1
a9 1
PORTVERSION=	20030903
d11 2
a12 2
MASTER_SITES=	${MASTER_SITE_NETBSD}
MASTER_SITE_SUBDIR=	.
d14 1
a14 4
DEPRECATED=	http://vuxml.freebsd.org/b7cb488c-8349-11d8-a41f-0020ed76ef5a.html (security)
EXPIRATION_DATE=2004-11-21

MAINTAINER=	ports@@FreeBSD.org
@


1.21
log
@Mark deprecated due to no maintainer and unpatched denial-of-service
vulnerability:
http://vuxml.freebsd.org/b7cb488c-8349-11d8-a41f-0020ed76ef5a.html
@
text
@d18 1
a18 1
EXPIRATION_DATE=November 21, 2004
@


1.20
log
@Upgrade to the latests isakmpd version.
@
text
@d17 3
@


1.19
log
@- Fix the "duplicate script for target <...> ignored" warnings on -current
  caused by ${WRKSRC}/Makefile.
- Fix the "extra tokens at end of #else directive" warnings in
  ${WRKSRC}/sysdep/freebsd/sysdep-os.h on -current.
- Fix some format strings in ${WRKSRC}/conf.c and ${WRKSRC}/sa.c for 64 bit
  systems (obtained from NetBSD).
- Move the delta patching ${WRKSRC}/Makefile from patch-ab (priviously
  patching ${WRKSRC}/samples/Makefile and ${WRKSRC}/Makefile) to patch-aa
  (patching ${WRKSRC}/Makefile).
- Build and install certpatch(8), a quite usefull tool to add subjectAltName
  identities to X.509 certificates.

Submitted by:	Marius Strobl <marius@@alchemy.franken.de>
@
text
@d12 1
a12 2
PORTVERSION=	20021118
PORTREVISION=	2
d15 1
a15 1
MASTER_SITE_SUBDIR=	LOCAL_PORTS
d40 3
a42 3
	@@(cd ${WRKSRC}; ${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" \
		conf.h ike_auth.c isakmpd.8 isakmpd.conf.5 \
		isakmpd.policy.5 policy.h)
@


1.18
log
@isakmpd pcap support is broken

	The isakmpd port comes with a pcap.h that is not compatible
	with the FreeBSD pcap.h.  As a result, the pcap file written
	by isakmpd has an incorrect 'linktype' in the header.  Thus,
	if one tries to use the pcap file with a FreeBSD tool like
	tcpdump, the packets are incorrectly (read: not at all)
	decoded.

PR:		ports/55940
Submitted by:	James E. Flemer <jflemer@@alum.rpi.edu>
@
text
@d13 1
a13 1
PORTREVISION=	1
d37 1
a37 1
MAN8=		isakmpd.8
@


1.17
log
@update security/isakmpd: Enable use of keynote

PR:		43892
Submitted by:	Daniel C. Sobral <dcs@@tcoip.com.br>
@
text
@d13 1
@


1.16
log
@-- Remove libgmp dependency.  It's not used (openssl BN is used).
-- We don't have <des.h> anymore.  Use <openssl/des.h>.
@
text
@d25 5
@


1.15
log
@De-pkg-comment.
@
text
@a19 2
LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4

@


1.14
log
@fix hardcoded path

PR:		43933
Submitted by:	Daniel C. Sobral <dcs@@tcoip.com.br>
@
text
@d18 1
@


1.13
log
@upgrade to 20021118

PR:		45752
Submitted by:	Mathieu Arnold <m@@absolight.fr>
@
text
@d27 1
d34 5
@


1.12
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
@d12 1
a12 2
PORTVERSION=	20020403
PORTREVISION=	1
d17 1
a17 3
PATCH_SITES=	ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.1/common/
PATCHFILES=	010_isakmpd.patch
PATCH_DIST_STRIP= -p2
a19 2

MAINTAINER=	ports@@FreeBSD.org
@


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

Approved by:	pat
@
text
@a25 2
PORTCOMMENT=	OpenBSD IKE daemon

@


1.10
log
@Fix build on -current (add LIB_DEPENDS on libgmp4)
@
text
@d26 2
@


1.9
log
@Apply patch from OpenBSD for out-of-sequence packets.
@
text
@d22 2
@


1.8
log
@Add another URL (from Jacques Vidrine) to the FORBIDDEN line.
@
text
@d13 1
d18 4
a22 2

FORBIDDEN=	"unconfirmed reports of security bug--see <URL:http://www.openbsd.org/errata.html\#isakmpd> and <URL:http://www.kb.cert.org/vuls/id/287771>"
@


1.7
log
@Mark forbidden due to unconfirmed report that out-of-sequence IKE
payloads can make isakmpd crash.
@
text
@d19 1
a19 1
FORBIDDEN=	"unconfirmed report of security bug--see <URL:http://www.openbsd.org/errata.html\#isakmpd>"
@


1.6
log
@change unknown USE_SSL into USE_OPENSSL
@
text
@d19 2
@


1.5
log
@Update to 20020403

PR:		36693
Submitted by:	Martti Kuparinen <martti.kuparinen@@iki.fi>
@
text
@d24 1
a24 1
USE_SSL=	yes
@


1.4
log
@Update to 20020203 and give maintainership back to ports@@

PR:		36548
Submitted by:	maintainer
@
text
@d12 1
a12 1
PORTVERSION= 	20020203
@


1.3
log
@Hand maintainership to Anders Andersson <anders@@hack.org>

Submitted by:	Anders Andersson <anders@@hack.org>
@
text
@d12 1
a12 1
PORTVERSION= 	20020104
d17 1
a17 1
MAINTAINER=	anders@@hack.org
@


1.2
log
@Update to 20020104

PR:		33741
Submitted by:	Anders Andersson <anders@@hack.org>
Obtained from:	NetBSD
@
text
@d17 1
a17 1
MAINTAINER=	ports@@FreeBSD.org
@


1.1
log
@Add isakmpd 20010403, the OpenBSD IKE daemon.  About time, too...

PR:		27274
Submitted by:	Martti Kuparinen <martti.kuparinen@@iki.fi>
@
text
@d12 1
a12 1
PORTVERSION= 	20010403
@

