head	1.18;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.12
	RELEASE_8_2_0:1.12
	RELEASE_6_EOL:1.12
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.10
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.8
	RELEASE_7_1_0:1.6
	RELEASE_6_4_0:1.6
	RELEASE_5_EOL:1.4
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2;
locks; strict;
comment	@# @;


1.18
date	2013.03.22.23.30.10;	author svnexp;	state Exp;
branches;
next	1.17;

1.17
date	2013.03.08.21.56.50;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.11.17.06.01.05;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.06.01.05.24.04;	author dinoex;	state Exp;
branches;
next	1.14;

1.14
date	2012.03.02.14.56.36;	author pav;	state Exp;
branches;
next	1.13;

1.13
date	2011.10.16.11.07.29;	author pawel;	state Exp;
branches;
next	1.12;

1.12
date	2010.10.31.00.17.43;	author johans;	state Exp;
branches;
next	1.11;

1.11
date	2010.03.28.06.43.21;	author dinoex;	state Exp;
branches;
next	1.10;

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

1.9
date	2009.07.23.14.37.53;	author erwin;	state Exp;
branches;
next	1.8;

1.8
date	2009.03.24.19.13.26;	author makc;	state Exp;
branches;
next	1.7;

1.7
date	2009.01.06.17.59.19;	author pav;	state Exp;
branches;
next	1.6;

1.6
date	2008.06.20.15.01.43;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2008.06.06.14.00.53;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2008.05.27.22.12.09;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2008.02.28.09.48.29;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2007.10.30.03.54.04;	author alepulver;	state Exp;
branches;
next	1.1;

1.1
date	2007.10.21.02.51.20;	author alepulver;	state Exp;
branches;
next	;


desc
@@


1.18
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314960
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: mgrooms@@shrew.net
# $FreeBSD: head/security/ike/Makefile 314960 2013-03-22 20:06:14Z makc $

PORTNAME=	ike
PORTVERSION=	2.1.7
PORTREVISION=	1
CATEGORIES=	security net
MASTER_SITES=	http://www.shrew.net/download/ike/
DISTNAME=	${PORTNAME}-${PORTVERSION}-release
EXTRACT_SUFX=	.tbz2

MAINTAINER=	mgrooms@@shrew.net
COMMENT=	Shrew Soft IKE daemon and client tools

ONLY_FOR_ARCHS=	i386 amd64

USE_RC_SUBR=	iked
USES=		bison cmake
USE_OPENSSL=	yes
USE_BZIP2=	yes
USE_LDCONFIG=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}

CMAKE_ARGS+=	-DETCDIR:PATH="${PREFIX}/etc" \
		-DLIBDIR:PATH="${PREFIX}/lib" \
		-DMANDIR:PATH="${PREFIX}/man"

OPTIONS=	QTGUI		"Enable QT client front end applications" on \
		NATT		"Enable NAT-Traversal (kernel-patch required)" off \
		LDAP		"Enable LDAP XAuth daemon support" off \
		DEBUG		"Enable Debug support" off

.include <bsd.port.options.mk>

MAN5=		iked.conf.5
MAN8=		iked.8

.ifdef(WITH_DEBUG)
CMAKE_ARGS+=	-DDEBUG=YES
.endif

.ifdef(WITH_LDAP)
USE_OPENLDAP=	YES
CMAKE_ARGS+=	-DLDAP=YES
.endif

.ifdef(WITH_NATT)
CMAKE_ARGS+=	-DNATT=YES
.endif

.ifdef(WITH_QTGUI)
CMAKE_ARGS+=	-DQTGUI=YES
USE_QT_VER=	3
MAN1=		ikea.1 ikec.1
PLIST_SUB+=	QTGUI=""
.else
PLIST_SUB+=	QTGUI="@@comment "
.endif

.include <bsd.port.pre.mk>

post-patch:
.if defined(WITH_NATT)
. if ${OSVERSION} < 800000
	@@${ECHO_MSG} "===> -------------------------------------------------------------------------"
	@@${ECHO_MSG} "===> WARNING: You will need to patch your kernel for NAT-T functionality!"
	@@${ECHO_MSG} "===>   http://people.freebsd.org/~vanhu/NAT-T/patch-natt-7.2-2009-05-12.diff"
	@@${ECHO_MSG} "===> You may need to edit the patch if it fails to apply cleanly."
	@@${ECHO_MSG} "===> -------------------------------------------------------------------------"
	@@sleep 3
. endif
.endif
	@@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' \
		${WRKSRC}/CMakeLists.txt

post-build:
# QT 3.3 UIC (User Interface Compiler) creates these, so remove them.
# Otherwise x11-toolkits/qt33 would have to be patched, as Gentoo did.
.for f in .qt_plugins_* qt_plugins_*
	@@${RM} -f ${LOCALBASE}/etc/settings/${f}
.endfor
	@@${RMDIR} ${LOCALBASE}/etc/settings || ${TRUE}

post-install:
	@@if ! ${SYSCTL} -a | ${GREP} -q ipsec; then \
	${ECHO_MSG} "===> -------------------------------------------------------------------------"; \
	${ECHO_MSG} "===> WARNNG: You need IPsec support in your kernel, please see:"; \
	${ECHO_MSG} "===>   http://www.freebsd.org/doc/en/books/handbook/ipsec.html"; \
	${ECHO_MSG} "===> -------------------------------------------------------------------------"; \
	fi ;
.if defined(WITH_NATT)
	@@${ECHO_MSG} "===> -------------------------------------------------------------------------"
	@@${ECHO_MSG} "===> WARNING: To use NAT Traversal ( NAT-T ) support, please be sure to"
	@@${ECHO_MSG} "===> include the following line in your kernel config file."
	@@${ECHO_MSG} "===>   options IPSEC_NAT_T"
	@@${ECHO_MSG} "===> -------------------------------------------------------------------------"
.endif

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


1.17
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313635
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/security/ike/Makefile 313635 2013-03-08 11:32:11Z bapt $
d18 1
a18 1
USES=		bison
a19 1
USE_CMAKE=	yes
@


1.16
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	ike
# Date created:		24 march 2007
# Whom:			mgrooms@@shrew.net
#
# $FreeBSD: head/security/ike/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d18 1
a18 1
USE_BISON=	build
@


1.15
log
@- update png to 1.5.10
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@- Remove conditional checks for FreeBSD 6.X

PR:		ports/165608
Submitted by:	pgollucci
Approved by:	portmgr (hat)
@
text
@d10 1
@


1.13
log
@- Fix plist when WITHOUT_QTGUI=yes
- Make install PREFIX safe

PR:		ports/154973
Submitted by:	Yuri Pankov <yuri.pankov@@gmail.com>
Approved by:	maintainer timeout (2 weeks)
@
text
@a70 7
.  if ${OSVERSION} < 600000
	@@${ECHO_MSG} "===>   There is no known NAT-T patch for FreeBSD 1 - 5!!!"
.  endif
.  if ${OSVERSION} > 600000 && ${OSVERSION} < 699999
	@@${ECHO_MSG} "===>   http://ipsec-tools.sf.net/freebsd6-natt.diff"
.  endif
.  if ${OSVERSION} > 700000 && ${OSVERSION} < 799999
a71 1
.  endif
@


1.12
log
@Update ike to version 2.1.7

PR:		ports/151311
Submitted by:	Matthew Grooms (maintainer)
@
text
@d20 1
a20 1
USE_RC_SUBR=    iked
d28 4
d37 2
a38 1
MAN1=		ikea.1 ikec.1
a41 2
.include <bsd.port.pre.mk>

d57 5
a61 1
LIB_DEPENDS+=	qt-mt:${PORTSDIR}/x11-toolkits/qt33
d64 2
d85 2
@


1.11
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d9 1
a9 2
PORTVERSION=	2.1.4
PORTREVISION=	2
d20 1
d58 2
a59 1
.ifdef(WITH_NATT)
d61 11
a71 14
	@@${ECHO_MSG} "===> ATTENTION: You need a kernel patch to enable NAT-Traversal functionality!"
. if ${OSVERSION} < 600000
	@@${ECHO_MSG} "===>     There is no known NAT-T patch for FreeBSD 1 - 5!!!"
. endif
. if ${OSVERSION} > 600000 && ${OSVERSION} < 699999
	@@${ECHO_MSG} "===>     http://ipsec-tools.sf.net/freebsd6-natt.diff"
. endif
. if ${OSVERSION} > 700000 && ${OSVERSION} < 799999
	@@${ECHO_MSG} "===>     http://vanhu.free.fr/FreeBSD/patch-natt-freebsd7-2007-10-22.diff"
. endif
. if ${OSVERSION} > 800000
	@@${ECHO_MSG} "===>     http://vanhu.free.fr/FreeBSD/patch-natt-freebsd-HEAD-2007-10-22.diff"
. endif
	@@${ECHO_MSG} "===> You might possibly have to do some steps manually if it fails to apply."
a72 1

d74 1
d87 4
a90 2
	${ECHO_MSG} "WARNING: IPsec feature is disabled on this host"; \
	${ECHO_MSG} "         You must configure a kernel with this option to use this software"; \
d92 7
@


1.10
log
@- update to jpeg-8
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.9
log
@Update to 2.1.4

Submitted by:	maintainer
@
text
@d10 1
@


1.8
log
@bump PORTREVISION after cmake update
@
text
@d9 1
a9 2
PORTVERSION=	2.1.0
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://www.shrew.net/vpn/
d60 4
a63 1
. if ${OSVERSION} < 699999
@


1.7
log
@- Remove conditional checks for FreeBSD 5.x and older
@
text
@d10 1
@


1.6
log
@- Update to 2.1.0

PR:		124768
Submitted by:	mgrooms@@shrew.net (maintainer)
@
text
@d60 1
a60 4
. if ${OSVERSION} < 600000
	@@${ECHO_MSG} "===>     There is no known NAT-T patch for FreeBSD 1 - 5!!!"
. endif
. if ${OSVERSION} > 600000 && ${OSVERSION} < 699999
@


1.5
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=	2.0.3
PORTREVISION=	1
@


1.4
log
@- Add common code to support for cmake based ports.
- Update devel/cmake to 2.6.0 (also fix ports/123092)
- Use the new CMAKE build framework in all ports using cmake

Approved by:	portmgr (pav)
@
text
@d10 1
@


1.3
log
@- Update to 2.0.3

PR:		118303
Submitted by:	Matthew Grooms <mgrooms@@shrew.net> (maintainer)
@
text
@a17 2
BUILD_DEPENDS=	cmake:${PORTSDIR}/devel/cmake

d22 1
a35 2
CMAKE_ARGS=	-DCMAKE_INSTALL_PREFIX=${PREFIX}

a77 3
do-configure:
	@@cd ${BUILD_WRKSRC}; cmake ${CMAKE_ARGS} .

@


1.2
log
@- Update to version 2.0.2.
- Update the NAT-T patch notice (in pre-everything).

Submitted by:	Matthew Grooms <mgrooms@@shrew.net> (maintainer, via e-mail)
@
text
@d9 1
a9 1
PORTVERSION=	2.0.2
@


1.1
log
@This port contains the Shrew Soft ike daemon and client tools. The
software supports ike v1 communications between two gateways or a
a client and a gateway.

For more information please visit ...

WWW: http://www.shrew.net/

PR:		ports/116684
Submitted by:	mgrooms at shrew.net
@
text
@d9 1
a9 1
PORTVERSION=	2.0.1
d33 1
a60 1
. if ${OSVERSION} < 700000
d63 4
a66 1
	@@${ECHO_MSG} "===> You can download the patch here:"
d68 7
d77 1
a77 7
. else
	@@${ECHO_MSG} "===> -------------------------------------------------------------------------"
	@@${ECHO_MSG} "===> ATTENTION: You need a kernel patch to enable NAT-Traversal functionality!"
	@@${ECHO_MSG} "===>     There is no known NAT-T patch for FreeBSD 7!!!"
	@@${ECHO_MSG} "===> You might possibly have to do some steps manually if it fails to apply."
	@@${ECHO_MSG} "===> -------------------------------------------------------------------------"
. endif
@

