head	1.9;
access;
symbols
	RELEASE_8_3_0:1.9
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.9
	RELEASE_8_2_0:1.9
	RELEASE_6_EOL:1.9
	RELEASE_8_1_0:1.9
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.8
	RELEASE_6_4_0:1.8
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.6
	RELEASE_6_3_0:1.6
	PRE_XORG_7:1.5
	RELEASE_4_EOL:1.4
	RELEASE_6_2_0:1.4
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.4
	RELEASE_5_4_0:1.4
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.4
	RELEASE_4_10_0:1.3;
locks; strict;
comment	@# @;


1.9
date	2008.11.24.00.25.16;	author ehaupt;	state Exp;
branches;
next	1.8;

1.8
date	2008.02.29.21.08.15;	author ehaupt;	state Exp;
branches;
next	1.7;

1.7
date	2008.02.27.18.26.36;	author ehaupt;	state Exp;
branches;
next	1.6;

1.6
date	2007.08.07.08.12.45;	author ehaupt;	state Exp;
branches;
next	1.5;

1.5
date	2007.03.16.11.24.04;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2004.04.29.13.41.55;	author arved;	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.15;	author krion;	state Exp;
branches;
next	1.1;

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


desc
@@


1.9
log
@Update to 0.5.3
@
text
@--- Makefile.orig	2008-11-19 21:36:12.000000000 +0100
+++ Makefile	2008-11-24 01:21:22.000000000 +0100
@@@@ -20,15 +20,15 @@@@
 # $Id: Makefile 312 2008-06-15 18:09:42Z Joerg Mayer $
 
 DESTDIR=
-PREFIX=/usr/local
-ETCDIR=/etc/vpnc
+PREFIX?=/usr/local
+ETCDIR=$(PREFIX)/etc/
 BINDIR=$(PREFIX)/bin
 SBINDIR=$(PREFIX)/sbin
 MANDIR=$(PREFIX)/share/man
 DOCDIR=$(PREFIX)/share/doc/vpnc
 
 SRCS = sysdep.c vpnc-debug.c isakmp-pkt.c tunip.c config.c dh.c math_group.c supp.c decrypt-utils.c
-BINS = vpnc cisco-decrypt
+BINS += vpnc
 OBJS = $(addsuffix .o,$(basename $(SRCS)))
 BINOBJS = $(addsuffix .o,$(BINS))
 BINSRCS = $(addsuffix .c,$(BINS))
@@@@ -50,9 +50,7 @@@@
 #OPENSSL_GPL_VIOLATION = -DOPENSSL_GPL_VIOLATION
 #OPENSSLLIBS = -lcrypto
 
-CC=gcc
-CFLAGS ?= -O3 -g
-CFLAGS += -W -Wall -Wmissing-declarations -Wwrite-strings
+CC?=gcc
 CFLAGS +=  $(shell libgcrypt-config --cflags)
 CPPFLAGS += -DVERSION=\"$(VERSION)\" $(OPENSSL_GPL_VIOLATION)
 LDFLAGS ?= -g
@@@@ -78,7 +76,7 @@@@
 	sed -e 's,@@''PREFIX''@@,$(PREFIX),g' $< > $@@ && chmod 755 $@@
 
 cisco-decrypt : cisco-decrypt.o decrypt-utils.o
-	$(CC) -o $@@ $^ $(LDFLAGS)
+	$(CC) $(CFLAGS) -o $@@ $^ $(LDFLAGS)
 
 .depend: $(SRCS) $(BINSRCS)
 	$(CC) -MM $(SRCS) $(BINSRCS) $(CFLAGS) $(CPPFLAGS) > $@@
@


1.8
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
@d1 4
a4 4
--- Makefile.orig	2007-09-06 22:05:15.000000000 +0200
+++ Makefile	2008-02-29 21:58:37.000000000 +0100
@@@@ -20,14 +20,14 @@@@
 # $Id: Makefile 236 2007-09-05 20:40:59Z Joerg Mayer $
d14 1
d16 1
a16 1
 SRCS = sysdep.c vpnc-debug.c isakmp-pkt.c tunip.c config.c dh.c math_group.c supp.c
d22 1
a22 1
@@@@ -49,9 +49,9 @@@@
a29 2
+#CFLAGS ?= -O3 -g
+#CFLAGS += -W -Wall -Wmissing-declarations -Wwrite-strings
d33 2
a34 2
@@@@ -74,7 +74,7 @@@@
 	./makeman.pl
d36 1
a36 1
 cisco-decrypt : cisco-decrypt.o config.o supp.o sysdep.o vpnc-debug.o
@


1.7
log
@- Update to 0.5.1
- Take maintainership
- Optional install cisco-decrypt utility
- Optional build with hybrid support
@
text
@d2 1
a2 1
+++ Makefile	2008-02-27 19:17:28.000000000 +0100
d34 9
@


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

PR:		114863
Approved by:	maintainer timeout (14 days)
@
text
@d1 4
a4 4
--- ./Makefile.orig	2007-02-19 21:51:12.000000000 +0100
+++ ./Makefile	2007-07-24 16:45:36.000000000 +0200
@@@@ -20,7 +20,7 @@@@
 # $Id: Makefile 148 2007-02-19 20:51:14Z Maurice Massar $
d8 3
a10 2
+PREFIX=%%PREFIX%%
 ETCDIR=/etc/vpnc
d13 11
a23 3
@@@@ -34,8 +34,7 @@@@
 VERSION := $(shell sh mk-version)
 RELEASE_VERSION := $(shell cat VERSION)
d26 5
a30 4
-CFLAGS += -W -Wall -O3 -Wmissing-declarations -Wwrite-strings -g
+CC=%%CC%%
 CPPFLAGS = -DVERSION=\"$(VERSION)\"
 LDFLAGS = -g $(shell libgcrypt-config --libs)
d32 2
@


1.5
log
@- Update to 0.4.0

PR:             110272
Submitted by:   Christian Lackas <delta@@lackas.net> (maintainer)
@
text
@d1 2
a2 2
--- Makefile.orig	Tue Mar 13 15:58:08 2007
+++ Makefile	Tue Mar 13 15:59:50 2007
d4 1
a4 1
 # $Id: patch-Makefile,v 1.5 2007/03/13 15:30:29 lackas Exp $
d12 1
a12 1
@@@@ -34,7 +34,7 @@@@
d17 1
a18 1
 CFLAGS += -W -Wall -O3 -Wmissing-declarations -Wwrite-strings -g
d21 1
@


1.4
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
@d1 14
a14 5
--- Makefile.orig	Sun Apr 25 02:43:56 2004
+++ Makefile	Sun Apr 25 02:44:38 2004
@@@@ -15,9 +15,9 @@@@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
a16 2
-CFLAGS=-W -Wall -O -g '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags)
-LDFLAGS=-g $(shell libgcrypt-config --libs)
d18 3
a20 5
+CFLAGS=-W -Wall %%CFLAGS%% '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags)
+LDFLAGS=$(shell libgcrypt-config --libs)
 
 ifeq ($(shell uname -s), Linux)
 SYSDEP=sysdep-linux.o
@


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

PR:		62111
Submitted by:	Christian Lackas <delta@@lackas.net>
@
text
@d1 3
a3 3
--- Makefile.orig	Sun Nov  2 01:21:39 2003
+++ Makefile	Wed Dec 17 09:56:14 2003
@@@@ -15,14 +15,14 @@@@
a15 5
 endif
 ifeq ($(shell uname -s), NetBSD)
 CFLAGS += -DSOCKADDR_IN_SIN_LEN
 SYSDEP=sysdep-bsd.o
 endif
@


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
@d17 1
a17 2
-ifeq ($(shell uname -s), NetBSD)
+ifeq ($(shell uname -s), FreeBSD)
@


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 1
a2 1
+++ Makefile	Wed Dec 17 13:08:35 2003
d9 4
a12 3
+CC?=gcc
+CFLAGS+=-W -Wall -O -g '-DVERSION="$(shell cat VERSION)"' $(shell libgcrypt-config --cflags)
 LDFLAGS=-g $(shell libgcrypt-config --libs)
@

