aboutsummaryrefslogtreecommitdiff
path: root/security/vpnc
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2008-11-24 00:25:16 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2008-11-24 00:25:16 +0000
commit93c7fcb929f28649920a709c49ace27484267b9f (patch)
tree1064533bf080200e7d31a4076c6ea00dc0ff16ad /security/vpnc
parentd2b683251ff4b6fb5a62f196790bc1d13384996c (diff)
downloadports-93c7fcb929f28649920a709c49ace27484267b9f.tar.gz
ports-93c7fcb929f28649920a709c49ace27484267b9f.zip
Notes
Diffstat (limited to 'security/vpnc')
-rw-r--r--security/vpnc/Makefile3
-rw-r--r--security/vpnc/distinfo6
-rw-r--r--security/vpnc/files/patch-Makefile21
3 files changed, 14 insertions, 16 deletions
diff --git a/security/vpnc/Makefile b/security/vpnc/Makefile
index c395b45754b6..070e1ef9d76e 100644
--- a/security/vpnc/Makefile
+++ b/security/vpnc/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= vpnc
-PORTVERSION= 0.5.1
-PORTREVISION= 7
+PORTVERSION= 0.5.3
CATEGORIES= security
MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/ \
CRITICAL
diff --git a/security/vpnc/distinfo b/security/vpnc/distinfo
index 2f13312a8d10..3e4f8e04612d 100644
--- a/security/vpnc/distinfo
+++ b/security/vpnc/distinfo
@@ -1,3 +1,3 @@
-MD5 (vpnc-0.5.1.tar.gz) = 7a8e94dbe94f39a4fd89b72e0125f66f
-SHA256 (vpnc-0.5.1.tar.gz) = f63660bd020bbe6a39e8eb67ad60c54d719046c6198a6834371d098947f9a2ed
-SIZE (vpnc-0.5.1.tar.gz) = 91496
+MD5 (vpnc-0.5.3.tar.gz) = 4378f9551d5b077e1770bbe09995afb3
+SHA256 (vpnc-0.5.3.tar.gz) = 46cea3bd02f207c62c7c6f2f22133382602baeda1dc320747809e94881414884
+SIZE (vpnc-0.5.3.tar.gz) = 98740
diff --git a/security/vpnc/files/patch-Makefile b/security/vpnc/files/patch-Makefile
index 85eea5c9e12f..e95c48774770 100644
--- a/security/vpnc/files/patch-Makefile
+++ b/security/vpnc/files/patch-Makefile
@@ -1,7 +1,7 @@
---- 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 $
+--- 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
@@ -11,14 +11,15 @@
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
+ 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))
-@@ -49,9 +49,9 @@
+@@ -50,9 +50,7 @@
#OPENSSL_GPL_VIOLATION = -DOPENSSL_GPL_VIOLATION
#OPENSSLLIBS = -lcrypto
@@ -26,15 +27,13 @@
-CFLAGS ?= -O3 -g
-CFLAGS += -W -Wall -Wmissing-declarations -Wwrite-strings
+CC?=gcc
-+#CFLAGS ?= -O3 -g
-+#CFLAGS += -W -Wall -Wmissing-declarations -Wwrite-strings
CFLAGS += $(shell libgcrypt-config --cflags)
CPPFLAGS += -DVERSION=\"$(VERSION)\" $(OPENSSL_GPL_VIOLATION)
LDFLAGS ?= -g
-@@ -74,7 +74,7 @@
- ./makeman.pl
+@@ -78,7 +76,7 @@
+ sed -e 's,@''PREFIX''@,$(PREFIX),g' $< > $@ && chmod 755 $@
- cisco-decrypt : cisco-decrypt.o config.o supp.o sysdep.o vpnc-debug.o
+ cisco-decrypt : cisco-decrypt.o decrypt-utils.o
- $(CC) -o $@ $^ $(LDFLAGS)
+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)