aboutsummaryrefslogtreecommitdiff
path: root/net/pptpclient
diff options
context:
space:
mode:
authorChin-San Huang <chinsan@FreeBSD.org>2008-05-18 19:55:03 +0000
committerChin-San Huang <chinsan@FreeBSD.org>2008-05-18 19:55:03 +0000
commitf37afdb032efa98e2d14714e80205d4acf657cb2 (patch)
tree86034569aee355c510838db71621ef3833a8cd65 /net/pptpclient
parent9608b54611cd4bdce43d408567952771d4358adc (diff)
downloadports-f37afdb032efa98e2d14714e80205d4acf657cb2.tar.gz
ports-f37afdb032efa98e2d14714e80205d4acf657cb2.zip
Notes
Diffstat (limited to 'net/pptpclient')
-rw-r--r--net/pptpclient/Makefile19
-rw-r--r--net/pptpclient/distinfo6
-rw-r--r--net/pptpclient/files/patch-pptp_compat.c11
-rw-r--r--net/pptpclient/files/patch-pptp_ctrl.c20
4 files changed, 24 insertions, 32 deletions
diff --git a/net/pptpclient/Makefile b/net/pptpclient/Makefile
index 1db0f327495d..07eb1be179cd 100644
--- a/net/pptpclient/Makefile
+++ b/net/pptpclient/Makefile
@@ -5,17 +5,18 @@
# $FreeBSD$
#
-PORTNAME= pptpclient
-PORTVERSION= 1.7.1
-CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= pptpclient
-DISTNAME= pptp-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
+PORTNAME= pptpclient
+PORTVERSION= 1.7.2
+CATEGORIES= net
+MASTER_SITES= SF
+DISTNAME= pptp-${PORTVERSION}
+
+MAINTAINER= chinsan@FreeBSD.org
COMMENT= PPTP client for establishing a VPN link with an NT server
-MAN8= pptp.8
+USE_PERL5= yes
+
+MAN8= pptp.8
.include <bsd.port.pre.mk>
diff --git a/net/pptpclient/distinfo b/net/pptpclient/distinfo
index 9b4612a1cc7a..46ae83da027c 100644
--- a/net/pptpclient/distinfo
+++ b/net/pptpclient/distinfo
@@ -1,3 +1,3 @@
-MD5 (pptp-1.7.1.tar.gz) = b47735ba5d6d37dfdbccb85afc044ede
-SHA256 (pptp-1.7.1.tar.gz) = 8e3fa9f17c22818eae68419f66966865423206d736eb74d212a3501f62423276
-SIZE (pptp-1.7.1.tar.gz) = 229024
+MD5 (pptp-1.7.2.tar.gz) = 4c3d19286a37459a632c7128c92a9857
+SHA256 (pptp-1.7.2.tar.gz) = e98ae0065d2a39fa3131654ff28cb7070e996f668ed6d0e7d9a445b8d37694bc
+SIZE (pptp-1.7.2.tar.gz) = 81113
diff --git a/net/pptpclient/files/patch-pptp_compat.c b/net/pptpclient/files/patch-pptp_compat.c
new file mode 100644
index 000000000000..b1789e25d92a
--- /dev/null
+++ b/net/pptpclient/files/patch-pptp_compat.c
@@ -0,0 +1,11 @@
+--- pptp_compat.c.orig 2008-05-19 03:44:02.000000000 +0800
++++ pptp_compat.c 2008-05-19 03:44:45.000000000 +0800
+@@ -7,7 +7,7 @@
+ #include <fcntl.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+-#include <stropts.h>
++#include <sys/un.h>
+ #include <stdlib.h>
+ #include <strings.h>
+ #include "pptp_compat.h"
diff --git a/net/pptpclient/files/patch-pptp_ctrl.c b/net/pptpclient/files/patch-pptp_ctrl.c
deleted file mode 100644
index 51aa84471f35..000000000000
--- a/net/pptpclient/files/patch-pptp_ctrl.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- pptp_ctrl.c.orig Fri Sep 30 21:56:59 2005
-+++ pptp_ctrl.c Fri Sep 30 21:57:27 2005
-@@ -457,6 +457,8 @@
- void pptp_fd_set(PPTP_CONN * conn, fd_set * read_set, fd_set * write_set,
- int * max_fd)
- {
-+ int sig_fd;
-+
- assert(conn && conn->call);
- /* Add fd to write_set if there are outstanding writes. */
- if (conn->write_size > 0)
-@@ -465,7 +467,7 @@
- FD_SET(conn->inet_sock, read_set);
- if (*max_fd < conn->inet_sock) *max_fd = conn->inet_sock;
- /* Add signal pipe file descriptor to set */
-- int sig_fd = sigpipe_fd();
-+ sig_fd = sigpipe_fd();
- FD_SET(sig_fd, read_set);
- if (*max_fd < sig_fd) *max_fd = sig_fd;
- }