aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-09-29 12:36:00 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-09-29 12:36:00 +0000
commitbef7dfc56f4122fd9bbb1a614e5a7631fd49ca0d (patch)
treedc9f39ccfd76251bf7650e61125502d235844e5c /net
parente594c25433f1570d01c88066d253824f8930032b (diff)
downloadports-bef7dfc56f4122fd9bbb1a614e5a7631fd49ca0d.tar.gz
ports-bef7dfc56f4122fd9bbb1a614e5a7631fd49ca0d.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/pptpclient/Makefile4
-rw-r--r--net/pptpclient/distinfo4
-rw-r--r--net/pptpclient/files/patch-aa8
-rw-r--r--net/pptpclient/files/patch-ad11
-rw-r--r--net/pptpclient/pkg-plist6
5 files changed, 11 insertions, 22 deletions
diff --git a/net/pptpclient/Makefile b/net/pptpclient/Makefile
index fc85a8009739..4db56a5cdda5 100644
--- a/net/pptpclient/Makefile
+++ b/net/pptpclient/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= pptpclient
-PORTVERSION= 1.5.0
+PORTVERSION= 1.6.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pptpclient
-DISTNAME= pptp-linux-1.5.0
+DISTNAME= pptp-${PORTVERSION}
MAINTAINER= thomas@cuivre.fr.eu.org
COMMENT= PPTP client for establishing a VPN link with an NT server
diff --git a/net/pptpclient/distinfo b/net/pptpclient/distinfo
index 4644616553bf..3f298d4faf9f 100644
--- a/net/pptpclient/distinfo
+++ b/net/pptpclient/distinfo
@@ -1,2 +1,2 @@
-MD5 (pptp-linux-1.5.0.tar.gz) = 281ee37788bdf3260426eca56a9af858
-SIZE (pptp-linux-1.5.0.tar.gz) = 223317
+MD5 (pptp-1.6.0.tar.gz) = 9a706327fb9827541d7c86d48ceb9631
+SIZE (pptp-1.6.0.tar.gz) = 225956
diff --git a/net/pptpclient/files/patch-aa b/net/pptpclient/files/patch-aa
index 62682c293005..32fd59f74808 100644
--- a/net/pptpclient/files/patch-aa
+++ b/net/pptpclient/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Wed Jun 11 10:42:07 2003
-+++ Makefile Wed Aug 13 14:48:47 2003
+--- Makefile.orig Thu Feb 17 23:42:45 2005
++++ Makefile Wed Sep 28 19:51:25 2005
@@ -4,7 +4,7 @@
#################################################################
@@ -9,12 +9,12 @@
#################################################################
BINDIR=$(DESTDIR)/usr/sbin
-@@ -15,7 +15,7 @@
+@@ -16,7 +16,7 @@
OPTIMIZE= -O0
DEBUG = -g
INCLUDE =
-CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE)
-+CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE) -DUSER_PPP
++CFLAGS += -Wall $(DEBUG) $(INCLUDE) -DUSER_PPP
LIBS = -lutil
LDFLAGS =
diff --git a/net/pptpclient/files/patch-ad b/net/pptpclient/files/patch-ad
deleted file mode 100644
index 5185c0587c1b..000000000000
--- a/net/pptpclient/files/patch-ad
+++ /dev/null
@@ -1,11 +0,0 @@
---- pptp_gre.c.orig Tue Jun 22 15:10:30 2004
-+++ pptp_gre.c Tue Jun 22 15:10:38 2004
-@@ -200,7 +200,7 @@
- int optval, optlen = sizeof(optval);
- warn("transmitted GRE packet triggered an ICMP destination unreachable, fragmentation needed, or exceeds the MTU of the network interface");
- #define IP_MTU 14
-- if(getsockopt(fd, SOL_IP, IP_MTU, &optval, &optlen) < 0)
-+ if(getsockopt(fd, IPPROTO_IP, IP_MTU, &optval, &optlen) < 0)
- warn("getsockopt: %s", strerror(errno));
- warn("getsockopt: IP_MTU: %d\n", optval);
- return 0;
diff --git a/net/pptpclient/pkg-plist b/net/pptpclient/pkg-plist
index ba089bbd2ea2..a1d7a93067f7 100644
--- a/net/pptpclient/pkg-plist
+++ b/net/pptpclient/pkg-plist
@@ -1,4 +1,4 @@
sbin/pptp
-share/examples/pptpclient/README
-share/examples/pptpclient/ppp.conf
-@dirrm share/examples/pptpclient
+%%EXAMPLESDIR%%/README
+%%EXAMPLESDIR%%/ppp.conf
+@dirrm %%EXAMPLESDIR%%