head	1.55;
access;
symbols
	RELEASE_8_3_0:1.49
	RELEASE_9_0_0:1.49
	RELEASE_7_4_0:1.45
	RELEASE_8_2_0:1.45
	RELEASE_6_EOL:1.45
	RELEASE_8_1_0:1.44
	RELEASE_7_3_0:1.43
	RELEASE_8_0_0:1.43
	RELEASE_7_2_0:1.43
	RELEASE_7_1_0:1.37
	RELEASE_6_4_0:1.37
	RELEASE_5_EOL:1.35
	RELEASE_7_0_0:1.27
	RELEASE_6_3_0:1.27
	PRE_XORG_7:1.24
	RELEASE_4_EOL:1.20
	RELEASE_6_2_0:1.20
	RELEASE_6_1_0:1.18
	RELEASE_5_5_0:1.18
	RELEASE_6_0_0:1.17
	RELEASE_5_4_0:1.14
	RELEASE_4_11_0:1.13
	RELEASE_5_3_0:1.11
	RELEASE_4_10_0:1.5;
locks; strict;
comment	@# @;


1.55
date	2013.01.15.13.46.58;	author svnexp;	state Exp;
branches;
next	1.54;

1.54
date	2012.11.17.06.01.22;	author svnexp;	state Exp;
branches;
next	1.53;

1.53
date	2012.11.03.18.01.22;	author ehaupt;	state Exp;
branches;
next	1.52;

1.52
date	2012.09.16.10.28.02;	author ehaupt;	state Exp;
branches;
next	1.51;

1.51
date	2012.09.09.21.12.47;	author ehaupt;	state Exp;
branches;
next	1.50;

1.50
date	2012.05.27.15.29.06;	author zi;	state Exp;
branches;
next	1.49;

1.49
date	2011.11.10.21.52.29;	author ehaupt;	state Exp;
branches;
next	1.48;

1.48
date	2011.09.23.22.25.20;	author amdmi3;	state Exp;
branches;
next	1.47;

1.47
date	2011.07.03.11.40.48;	author swills;	state Exp;
branches;
next	1.46;

1.46
date	2011.02.25.19.42.32;	author ehaupt;	state Exp;
branches;
next	1.45;

1.45
date	2010.07.27.01.25.19;	author wxs;	state Exp;
branches;
next	1.44;

1.44
date	2010.03.30.16.36.59;	author ehaupt;	state Exp;
branches;
next	1.43;

1.43
date	2009.03.27.09.53.31;	author ehaupt;	state Exp;
branches;
next	1.42;

1.42
date	2009.03.25.23.23.01;	author ehaupt;	state Exp;
branches;
next	1.41;

1.41
date	2009.03.25.22.53.17;	author ehaupt;	state Exp;
branches;
next	1.40;

1.40
date	2009.01.06.13.01.11;	author rafan;	state Exp;
branches;
next	1.39;

1.39
date	2008.11.24.00.25.16;	author ehaupt;	state Exp;
branches;
next	1.38;

1.38
date	2008.09.26.00.19.49;	author sobomax;	state Exp;
branches;
next	1.37;

1.37
date	2008.07.25.12.48.42;	author pav;	state Exp;
branches;
next	1.36;

1.36
date	2008.06.06.14.01.06;	author edwin;	state Exp;
branches;
next	1.35;

1.35
date	2008.03.27.19.27.30;	author ehaupt;	state Exp;
branches;
next	1.34;

1.34
date	2008.03.23.10.45.18;	author ehaupt;	state Exp;
branches;
next	1.33;

1.33
date	2008.03.22.11.19.41;	author ehaupt;	state Exp;
branches;
next	1.32;

1.32
date	2008.03.06.19.11.59;	author ehaupt;	state Exp;
branches;
next	1.31;

1.31
date	2008.03.05.20.50.30;	author ehaupt;	state Exp;
branches;
next	1.30;

1.30
date	2008.02.29.21.08.15;	author ehaupt;	state Exp;
branches;
next	1.29;

1.29
date	2008.02.28.21.47.06;	author arved;	state Exp;
branches;
next	1.28;

1.28
date	2008.02.27.18.26.36;	author ehaupt;	state Exp;
branches;
next	1.27;

1.27
date	2007.10.11.21.59.47;	author linimon;	state Exp;
branches;
next	1.26;

1.26
date	2007.09.23.12.47.55;	author rafan;	state Exp;
branches;
next	1.25;

1.25
date	2007.08.07.08.12.45;	author ehaupt;	state Exp;
branches;
next	1.24;

1.24
date	2007.03.21.09.59.20;	author miwi;	state Exp;
branches;
next	1.23;

1.23
date	2007.03.16.11.24.04;	author miwi;	state Exp;
branches;
next	1.22;

1.22
date	2007.03.05.19.02.04;	author gabor;	state Exp;
branches;
next	1.21;

1.21
date	2007.02.26.18.57.30;	author gabor;	state Exp;
branches;
next	1.20;

1.20
date	2006.07.29.20.41.30;	author miwi;	state Exp;
branches;
next	1.19;

1.19
date	2006.05.13.04.15.18;	author edwin;	state Exp;
branches;
next	1.18;

1.18
date	2005.09.04.14.20.45;	author lawrance;	state Exp;
branches;
next	1.17;

1.17
date	2005.05.27.18.21.51;	author leeym;	state Exp;
branches;
next	1.16;

1.16
date	2005.05.14.12.00.30;	author krion;	state Exp;
branches;
next	1.15;

1.15
date	2005.04.18.01.41.08;	author leeym;	state Exp;
branches;
next	1.14;

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

1.13
date	2004.11.23.14.43.51;	author vs;	state Exp;
branches;
next	1.12;

1.12
date	2004.11.18.12.22.50;	author vs;	state Exp;
branches;
next	1.11;

1.11
date	2004.06.21.06.24.32;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2004.05.14.08.04.39;	author krion;	state Exp;
branches;
next	1.9;

1.9
date	2004.05.13.14.48.04;	author vs;	state Exp;
branches;
next	1.8;

1.8
date	2004.05.04.20.14.23;	author markus;	state Exp;
branches;
next	1.7;

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

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

1.5
date	2004.03.01.16.29.27;	author markus;	state Exp;
branches;
next	1.4;

1.4
date	2004.02.04.05.08.53;	author marcus;	state Exp;
branches;
next	1.3;

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

1.2
date	2003.12.22.19.23.14;	author krion;	state Exp;
branches;
next	1.1;

1.1
date	2003.12.17.15.19.50;	author krion;	state Exp;
branches;
next	;


desc
@@


1.55
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310443
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Christian Lackas
# $FreeBSD: head/security/vpnc/Makefile 310443 2013-01-15 13:40:28Z ehaupt $

PORTNAME=	vpnc
PORTVERSION=	0.5.3
PORTREVISION=	7
CATEGORIES=	security
MASTER_SITES=	http://www.unix-ag.uni-kl.de/~massar/vpnc/ \
		CRITICAL

MAINTAINER=	ehaupt@@FreeBSD.org
COMMENT=	Client for Cisco 3000 VPN Concentrator

LIB_DEPENDS=	gcrypt.18:${PORTSDIR}/security/libgcrypt
RUN_DEPENDS=	vpnc-script:${PORTSDIR}/sysutils/vpnc-scripts

USE_GMAKE=	yes
USE_PERL5_BUILD=yes
USE_RC_SUBR=	vpnc
MAKE_JOBS_SAFE=	yes

ALL_TARGET=	all

PORTDOCS=	README TODO
MAN8=		vpnc.8

MAKE_ENV+=	BINS="${EXTRABUILDS}"

OPTIONS_DEFINE=	DECRYPT SSL CISCOVERSION DOCS

DECRYPT_DESC=		cisco-decypt password decrypt utility
CISCOVERSION_DESC=	Mask linux presentation string

OPTIONS_DEFAULT=DECRYPT

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDECRYPT}
MAN1=		cisco-decrypt.1
EXTRABUILDS+=	cisco-decrypt
PLIST_SUB+=	DECRYPT=""
.else
PLIST_SUB+=	DECRYPT="@@comment "
.endif

.if ${PORT_OPTIONS:MSSL}
NO_PACKAGE=	binary linked against OpenSSL must not be redistributed
CFLAGS+=	-DOPENSSL_GPL_VIOLATION
LDFLAGS+=	-lcrypto
.endif

.if ${PORT_OPTIONS:MCISCOVERSION}
CFLAGS+=	-DCISCO_PATCH_VERSION
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/config.c
	@@${REINPLACE_CMD} -e 's|\(/etc/vpnc\)|${PREFIX}\1|' \
		${WRKSRC}/${MAN8}.template
	@@${REINPLACE_CMD} -e '1s|.*perl|#!${PERL}|' ${WRKSRC}/makeman.pl

do-install:
	${INSTALL_PROGRAM} -m 751 ${WRKSRC}/vpnc ${PREFIX}/sbin/vpnc
.if ${PORT_OPTIONS:MDECRYPT}
	${INSTALL_PROGRAM} ${WRKSRC}/cisco-decrypt ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
.endif
	${INSTALL_SCRIPT} -m 751 ${WRKSRC}/vpnc-disconnect ${PREFIX}/sbin/vpnc-disconnect
	${INSTALL_DATA} -m 600 ${WRKSRC}/vpnc.conf ${PREFIX}/etc/vpnc.conf.sample
.if !exists(${PREFIX}/etc/vpnc.conf)
	${INSTALL_DATA} -m 600 ${WRKSRC}/vpnc.conf ${PREFIX}/etc
.endif
	${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8

.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${DOCSDIR}
	@@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>
@


1.54
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/security/vpnc/Makefile 306932 2012-11-03 18:01:22Z ehaupt $
d29 1
a29 1
OPTIONS_DEFINE=	DECRYPT SSL CISCOVERSION
d75 1
a75 1
.if !defined(NOPORTDOCS)
@


1.53
log
@SVN rev 306932 on 2012-11-03 18:01:22Z by ehaupt

Restore 'Created by' header information. This has been removed during the
first announcement of the new trimming rule and the finalized overworked
version.

Feature safe:   yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.52
log
@SVN rev 304339 on 2012-09-16 10:28:02Z by ehaupt

Point shebang in a perl script to ${PERL} in order to solve a build problem if
perl is installed without creating symlinks to /usr/bin/perl.

PR:             171673 (based on)
Notified by:    Yuriy Taraday <yorik.sar@@gmail.com>
@
text
@d1 1
@


1.51
log
@SVN rev 303997 on 2012-09-09 21:12:47Z by ehaupt

- Use OPTIONSng
- Remove deprecated header information
@
text
@d59 1
@


1.50
log
@- Use sysutils/vpnc-scripts instead of builtin version
- Bump PORTREVISION

Approved by:	ehaupt@@ (maintainer)
@
text
@a0 4
# New ports collection makefile for:	vpnc
# Date created:				15 December 2003
# Whom:					Christian Lackas
#
a1 1
#
d26 3
a28 3
OPTIONS+=	DECRYPT       "cisco-decypt password decrypt utility"      on
OPTIONS+=	SSL           "OpenSSL certificate support (hybrid only)"  off
OPTIONS+=	CISCOVERSION  "Mask linux presentation string"             off
d30 4
a33 1
MAKE_ENV+=	BINS="${EXTRABUILDS}"
d35 1
a35 1
.include <bsd.port.pre.mk>
d37 1
a37 1
.if defined(WITH_DECRYPT)
d45 1
a45 1
.if defined(WITH_SSL)
d51 1
a51 1
.if defined(WITH_CISCOVERSION)
d62 1
a62 1
.if defined(WITH_DECRYPT)
d78 1
a78 1
.include <bsd.port.post.mk>
@


1.49
log
@Fix handling of /etc/resolv.conf during connect/disconnect. Now that FreeBSD 9.x
has a script called /sbin/resolvconf it tried to use the Debian, Ubuntu, Gentoo
syntax which is incompatible with FreeBSD's version of the script and will
therefore fail.

Feature safe:	yes
@
text
@d10 1
a10 1
PORTREVISION=	6
d19 1
a67 1
	${INSTALL_SCRIPT} -m 751 ${WRKSRC}/vpnc-script ${PREFIX}/sbin/vpnc-script
@


1.48
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d10 1
a10 1
PORTREVISION=	5
@


1.47
log
@- Chase the libgcrypt shared lib version
@
text
@d34 1
a34 1
MAKE_ENV+=	LDFLAGS="${LDFLAGS}" BINS="${EXTRABUILDS}"
@


1.46
log
@Include a patchset that solves a problem with phase2 re-keying. That is, when
phase2 lifetime (either in seconds or bytes) expires, then vpnc either silently
stops passing traffic or that plus consuming CPU time by running a tight loop.

This issue have experienced this issue on various platforms.

Example of a bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496718

Bump PORTREVISION and while we're here remove MD5 sums.

Submitted by:   avg
Obtained from:  http://www.gossamer-threads.com/lists/vpnc/devel/3442, with
                slight adjustments to apply to our patchlevel by avg
@
text
@d10 1
a10 1
PORTREVISION=	4
d18 1
a18 1
LIB_DEPENDS=	gcrypt.17:${PORTSDIR}/security/libgcrypt
@


1.45
log
@Chase security/libgcrypt shlib bump.

PR:		ports/148755
Submitted by:	Hirohisa Yamaguchi <umq@@ueo.co.jp>
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.44
log
@Fix rc.d script return value

PR:		145207
Submitted by:	Dominic Fandrey <kamikaze@@bsdforen.de>
@
text
@d10 1
a10 1
PORTREVISION=	2
d18 1
a18 1
LIB_DEPENDS=	gcrypt.16:${PORTSDIR}/security/libgcrypt
@


1.43
log
@Mark MAKE_JOBS_SAFE
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.42
log
@Unbreak security/vpnc and graphics/pecomato. Those ports were fixed by 133053,
thanks. However, it remains unclear why the PR wasn't assigned to me nor why I
wasn't notified as maintainer.
@
text
@d23 1
@


1.41
log
@Mark BROKEN on ${OSVERSION} >= 800067 && ${ARCH} == "amd64"

Notified by:	pointyhat via pav
@
text
@a36 4
.if ${OSVERSION} >= 800067 && ${ARCH} == "amd64"
BROKEN=		does not compile
.endif

@


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

PR:		 ports/127478
@
text
@d37 4
@


1.39
log
@Update to 0.5.3
@
text
@d10 1
d18 1
a18 1
LIB_DEPENDS=	gcrypt.15:${PORTSDIR}/security/libgcrypt
@


1.38
log
@Use kldstat(8) to check for the availability of the if_tun module in the
kernel instead of checking for existance of /dev/tun. The latter causes
tun(8) to allocate new instance, which is not good by itself, but also
on all FreeBSD versions before the very recent -current it causes number
of tun devices to grow each time the script is invoked (and it's invoked
every time when vpnc makes a new connection).

Bump PORTREVISION.

Approved by:	MAINTAINER
@
text
@d9 1
a9 2
PORTVERSION=	0.5.1
PORTREVISION=	7
@


1.37
log
@- Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV
@
text
@d10 1
a10 1
PORTREVISION=	6
@


1.36
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
@d33 1
a33 2
MAKE_ENV+=	LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" CC="${CC}" \
		BINS="${EXTRABUILDS}"
@


1.35
log
@Use MASTER_SITE_CRITICAL
@
text
@d10 1
a10 1
PORTREVISION=	5
@


1.34
log
@Follow the change of the pid file in the rc script.

Submitted by:	Dominic Fandrey <kamikaze@@bsdforen.de>
@
text
@d13 1
a13 2
		http://critical.ch/distfiles/ \
		http://energy.critical.ch/distfiles/
@


1.33
log
@Fix vpnc-disconnect script

PR:		121942
Submitted by:	Andreas Schwarz <bugs.asc@@schwarzes.net>
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.32
log
@Some Cisco Concentrator refuse connection if the presentation version string
differs from the official "Cisco VPN Client".

Provide an optional patch which masks the original version string.

PR:		116949
Submitted by:	Raffaele De Lorenzo <raffaele.delorenzo@@libero.it>
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.31
log
@- Update RC script
- Bump PORTREVISION

Submitted by:	kamikaze@@bsdforen.de (author of rc script)
@
text
@d30 3
a32 2
OPTIONS+=	DECRYPT "cisco-decypt password decrypt utility"     on
OPTIONS+=	SSL     "OpenSSL certificate support (hybrid only)" off
d53 4
@


1.30
log
@The upgrade of ports/security/vpnc to version 0.5.1 introduced some glitches
against the documented behaviour. In particular, the configuration files are
not searched in the documented locations: /usr/local/etc/vpnc/*.conf is not
searched at all, and /usr/local/etc/vpnc/default.conf is skipped, both in
contrast to the documentation.

PR:		121229
Submitted by:	Helge Oldach <ports-security-vpnc-feb08@@oldach.net>
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.29
log
@Chase libgcrypt library version
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.28
log
@- Update to 0.5.1
- Take maintainership
- Optional install cisco-decrypt utility
- Optional build with hybrid support
@
text
@d10 1
d19 1
a19 1
LIB_DEPENDS=	gcrypt.13:${PORTSDIR}/security/libgcrypt
@


1.27
log
@Reset delta@@lackas.net due to maintainer-timeouts and no response to email.

Hat:		portmgr
@
text
@d9 1
a9 2
PORTVERSION=	0.4.0
PORTREVISION=	3
d11 3
a13 1
MASTER_SITES=	http://www.unix-ag.uni-kl.de/~massar/vpnc/
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d21 1
a21 2
ALL_TARGET=	vpnc

a22 1
USE_PERL5_BUILD=	yes
d24 1
a24 4
PLIST_FILES=	sbin/vpnc \
		sbin/vpnc-script \
		sbin/vpnc-disconnect \
		etc/vpnc.conf.sample
d29 6
d37 14
d52 3
a54 5
	@@${REINPLACE_CMD} -e \
		's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/config.c
	@@${REINPLACE_CMD} -e \
		's|%%PREFIX%%|${PREFIX}|;s|%%CC%%|${CC}|;s|%%CFLAGS%%|${CFLAGS}|' \
			${WRKSRC}/Makefile
d57 4
a60 7
	@@${INSTALL_PROGRAM} -m 751 ${WRKSRC}/vpnc ${PREFIX}/sbin/vpnc
	@@${INSTALL_SCRIPT} -m 751 ${WRKSRC}/vpnc-script ${PREFIX}/sbin/vpnc-script
	@@${INSTALL_SCRIPT} -m 751 ${WRKSRC}/vpnc-disconnect ${PREFIX}/sbin/vpnc-disconnect
	@@${INSTALL_DATA} -m 600 ${WRKSRC}/vpnc.conf ${PREFIX}/etc/vpnc.conf.sample
.if !defined(NO_INSTALL_MANPAGES)
	@@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/vpnc.8
	@@${INSTALL_MAN} ${WRKSRC}/vpnc.8 ${PREFIX}/man/man8
d62 8
@


1.26
log
@- In managed mode the script does not return the proper value due to $?
  is reset by the if command. Therefore, the script does not fail when
  starts with broken configuration files
- While I'm here, use %%RC_SUBR%% instead of /etc/rc.subr

PR:		ports/110320
Submitted by:	Dominic Fandrey <lon_kamikaze at gmx.de>
Approved by:	maintainer timeout (6 months)
@
text
@d14 1
a14 1
MAINTAINER=	delta@@lackas.net
@


1.25
log
@- Make port fully respect CFLAGS
- Don't build with debug symbols
- Bump PORTREVISION

PR:		114863
Approved by:	maintainer timeout (14 days)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.24
log
@- Respect %%PREFIX%%
- Bump PORTREVISION

PR:             110466
Submitted by:   Helge Oldach <ports-vpnc-mar07@@oldach.net> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.23
log
@- Update to 0.4.0

PR:             110272
Submitted by:   Christian Lackas <delta@@lackas.net> (maintainer)
@
text
@d10 1
@


1.22
log
@- Improve the style and behaviour of the rc.d script
- Bump PORTREVISION

Submitted by:	dougb
Reviewed by:	Dominic Fandrey <lon_kamikaze@@gmx.de>
Approved by:	Christian Lackas <christian@@lackas.net> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.3.3
PORTREVISION=	5
d22 1
d29 1
a29 1
PORTDOCS=	README ChangeLog TODO
d38 1
a38 1
		's|%%CC%%|${CC}|;s|%%CFLAGS%%|${CFLAGS}|' \
a54 3
post-install:
	@@${CAT} ${PKGMESSAGE}

@


1.21
log
@- Update rc.d script
- Use USE_RC_SUBR instead of direct patching
- Bump PORTREVISION

PR:		ports/107675
Submitted by:	Dominic Fandrey <lon_kamikaze@@gmx.de> (with fixes from maintainer)
Approved by:	Christian Lackas <delta@@lackas.net> (maintainer),
		erwin (mentor, implicit)
@
text
@d10 1
a10 1
PORTREVISION=	4
@


1.20
log
@- Add NAT keepalive capability as per RFC 3947
- Bump PORTREVISION

PR:		ports/100814
Submitted by:	Daniel Roethlisberger <daniel(at)roe.ch>
Approved by:	krion (mentor), maintainer
@
text
@d10 1
a10 1
PORTREVISION=	3
d22 2
d27 1
a27 2
		etc/vpnc.conf.sample \
		etc/rc.d/vpnc.sh.sample
a44 3
	@@${INSTALL_SCRIPT} ${FILESDIR}/vpnc.sh ${WRKDIR}
	@@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKDIR}/vpnc.sh
	@@${INSTALL_SCRIPT} -m 755 ${WRKDIR}/vpnc.sh ${PREFIX}/etc/rc.d/vpnc.sh.sample
@


1.19
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.18
log
@- Unbreak vpnc-disconnect by fixing the config.c patch
- Remove obsolete vpnc-wrapper leftovers to make portlint happy
- Use PLIST_FILES and PORTDOCS instead of pkg-plist
- Bump PORTREVISION

PR:		ports/84491
Submitted by:	Daniel Roethlisberger <daniel@@roe.ch>
Approved by:	Christian Lackas <delta@@lackas.net> (maintainer)
@
text
@a19 1
USE_REINPLACE=	yes
@


1.17
log
@- fix connect script
- remove obsolete fulltunnel script
- add disconnect script

PR:		81550
Submitted by:	Christian Lackas <delta@@lackas.net>
@
text
@d10 1
a10 1
PORTREVISION=	1
a12 2
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
a18 1
STARTSCRIPT=	vpnc-wrapper-1.25
d23 7
d55 1
a55 3
	@@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
	@@${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
@


1.16
log
@Update to 0.3.3

PR:		ports/81008
Submitted by:	maintainer
@
text
@d10 1
d12 2
a13 3
MASTER_SITES=	http://www.unix-ag.uni-kl.de/~massar/vpnc/:source \
	http://dragon.roe.ch/mirrors/distfiles/vpnc/:script
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:source ${STARTSCRIPT}:script
d40 1
a40 2
	@@${INSTALL_SCRIPT} ${DISTDIR}/${STARTSCRIPT} ${WRKDIR}/vpnc.sh-fulltunnel
	@@${REINPLACE_CMD} -e 's|PREFIX=/usr/local|PREFIX=${PREFIX}|' ${WRKDIR}/vpnc.sh-fulltunnel
a43 1
	@@${INSTALL_SCRIPT} -m 755 ${WRKDIR}/vpnc.sh-fulltunnel ${PREFIX}/etc/rc.d/vpnc.sh.sample-fulltunnel
@


1.15
log
@- Update vpnc.sh-sample-fulltunnel to vpnc-wrapper 1.25
- Bump PORTREVISION.

PR:		79942
Submitted by:	Daniel Roethlisberger <daniel@@roe.ch>
Approved by:	Christian Lackas <delta@@lackas.net> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.3.2
PORTREVISION=	2
a29 4
.if ${ARCH} == "amd64"
IGNORE=		"Crashes on startup"
.endif

d39 1
@


1.14
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
@d10 1
a10 1
PORTREVISION=	1
d22 1
a22 1
STARTSCRIPT=    vpnc-wrapper-1.10
d44 1
a44 1
	@@${CP} ${DISTDIR}/${STARTSCRIPT} ${WRKDIR}/vpnc.sh-fulltunnel
d46 1
a46 1
	@@${CP} ${FILESDIR}/vpnc.sh ${WRKDIR}
@


1.13
log
@Update to 0.3.2
- added support for preshared without xauth
- fixed NAT-T support with IOS and PIX
- fixed IP-Len header
- fixed reconnection problems with IOS and PIX

PR:		ports/74271
Submitted by:	maintainer
@
text
@d10 1
d20 1
a20 1
LIB_DEPENDS=	gcrypt.12:${PORTSDIR}/security/libgcrypt
@


1.12
log
@Update to 0.3.1:
- IPSec over UDP and NAT-T support
- added support for interactive authentication (security tokens for example)
- fixed IOS support

PR:		ports/74040
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	0.3.1
@


1.11
log
@s/BROKEN/IGNORE/ to prevent package build
@
text
@d9 1
a9 2
PORTVERSION=	0.2
PORTREVISION=	8
a12 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-rm+zomb.1
d36 1
a36 1
		's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/vpnc.c
@


1.10
log
@- Update to vpnc-0.2-rm+zomb.1.tar.gz
- Update manpage

PR:		ports/66624
Submitted by:	maintainer
@
text
@d33 1
a33 1
BROKEN=		"Crashes on startup"
@


1.9
log
@- Fix MASTER_SITES
- Update to vpnc-wrapper-1.10 (better FreeBSD 4 support)
  (Daniel Roethlisberger)
- Bump PORTREVISION

PR:		ports/66571
Submitted by:	Christian Lackas (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	7
d14 1
a14 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-rm+zomb-pre9
d53 2
a54 1
	@@${INSTALL_MAN} ${FILESDIR}/vpnc.8 ${PREFIX}/man/man8
@


1.8
log
@Update to vpnc-0.2-rm+zomb-pre9

PR:		ports/66202
Submitted by:	Christian Lackas <delta@@lackas.net> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	6
d12 2
a13 2
MASTER_SITES=	http://www.unix-ag.uni-kl.de/~massar/vpnc/ \
	http://dragon.roe.ch/mirrors/distfiles/vpnc/
d15 1
a15 1
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${STARTSCRIPT}
d23 1
a23 1
STARTSCRIPT=    vpnc-wrapper-1.9
@


1.7
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
@d10 1
a10 1
PORTREVISION=	5
d14 1
a14 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-rm+zomb-pre8
@


1.6
log
@Update to vpnc-0.2-rm+zomb-pre8
Add fulltunnel wrapper script by Daniel Roethlisberger

PR:		65945
Submitted by:	Christian Lackas

Mark broken on AMD64
@
text
@d10 1
a10 1
PORTREVISION=	4
d21 1
a21 1
LIB_DEPENDS=	gcrypt.10:${PORTSDIR}/security/libgcrypt-devel
@


1.5
log
@- use tun0 as default-interface
- fix install of startscript

Approved by:	Christian Lackas <delta@@lackas.net> (maintainer)
		arved (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	3
d12 5
a16 2
MASTER_SITES=	http://www.unix-ag.uni-kl.de/~massar/vpnc/
DISTNAME=	${PORTNAME}-${PORTVERSION}-rm+zomb-pre7
d23 1
d30 6
d45 2
d50 1
d65 1
a65 1
.include <bsd.port.mk>
@


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

(Part 1)
@
text
@d35 3
a37 3
	@@${INSTALL_SCRIPT} -m 755 ${FILESDIR}/vpnc.sh ${PREFIX}/etc/rc.d/vpnc.sh.sample
	@@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
				${PREFIX}/etc/rc.d/vpnc.sh.sample
@


1.3
log
@Update to new version.
Depend on new libgcrypt-devel port.

PR:		62111
Submitted by:	Christian Lackas <delta@@lackas.net>
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.2
log
@- using PREFIX/CC/CFLAGS (with help from Markus Brueffer)
- added a man-page
- installing additional docs
- fixed installing with 0666
- sample start script now works and actually contains an usefull example
- fixed install target
- added a comment (in pkg-message) about ESP "Protocol not supported"

PR:		60364
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	1
d13 1
a13 1
DISTNAME=	${PORTNAME}-${PORTVERSION}-rm+zomb-pre6
d18 1
a18 1
LIB_DEPENDS=	gcrypt.6:${PORTSDIR}/security/libgcrypt
d34 1
a34 1
	@@${INSTALL_PROGRAM} -m 751 ${WRKSRC}/vpnc ${PREFIX}/sbin
d36 2
d39 1
d41 1
a50 2
	@@${REINPLACE_CMD} -e \
		's|%%PREFIX%%|${PREFIX}|' ${PREFIX}/etc/rc.d/vpnc.sh.sample
@


1.1
log
@Add vpnc 0.2,

VPNC - Client for Cisco 3000 VPN Concentrator

A VPN client compatible with Cisco's EasyVPN equipment.
Supports IPSec (ESP) with Mode Configuration and Xauth.
Supports only shared-secret IPSec authentication, 3DES, MD5,
and IP tunneling.  It runs entirely in userspace

PR:		60283
Submitted by:	Christian Lackas
@
text
@d2 2
a3 2
# Date created:			        15 December 2003
# Whom:                			Christian Lackas
d10 1
d16 1
a16 1
COMMENT=	"Client for Cisco 3000 VPN Concentrator"
d21 1
a22 1
INSTALL_TARGET=
d24 11
a34 2
post-install:
	@@${INSTALL_PROGRAM} -m 751 ${WRKSRC}/vpnc ${PREFIX}/sbin/vpnc
d37 1
d40 3
a42 1
	@@${INSTALL_DATA} -m 666 ${WRKSRC}/README ${DOCSDIR}
d44 5
@

