summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2010-07-22 13:29:37 +0000
committerWesley Shields <wxs@FreeBSD.org>2010-07-22 13:29:37 +0000
commit7a30f31fb86c0a1e4aadb03a8bd49f2d4d997972 (patch)
tree04bd337b97f9e601b562155fa432f0a09909a39a
parentChase update to 2.4.1 (diff)
Update to 1.18 and unbreak on CURRENT.
PR: ports/148140 Submitted by: Chris Rees <utisoft@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=258053
-rw-r--r--net/ssltunnel-server/Makefile13
-rw-r--r--net/ssltunnel-server/distinfo6
2 files changed, 11 insertions, 8 deletions
diff --git a/net/ssltunnel-server/Makefile b/net/ssltunnel-server/Makefile
index ab0d1f6c56d7..e748b97c697b 100644
--- a/net/ssltunnel-server/Makefile
+++ b/net/ssltunnel-server/Makefile
@@ -9,7 +9,7 @@
#
PORTNAME= ssltunnel
-PORTVERSION= 1.16
+PORTVERSION= 1.18
CATEGORIES= net
MASTER_SITES= http://www.hsc.fr/ressources/outils/ssltunnel/download/
PKGNAMESUFFIX= -server
@@ -17,19 +17,22 @@ PKGNAMESUFFIX= -server
MAINTAINER= utisoft@gmail.com
COMMENT= PPP over SSL virtual private networking (server part)
+LICENSE= BSD
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-client
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 900007
-BROKEN= fails to build with new utmpx
-.endif
-
.if defined(WITH_TCPWRAPPERS)
CONFIGURE_ARGS+= --with-libwrap
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's^#include <utmp.h>^/*utmp.h not for FreeBSD*/^' \
+ ${WRKSRC}/server/main.c \
+ ${WRKSRC}/server/pppwho.c \
+ ${WRKSRC}/server/sessions.c
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/net/ssltunnel-server/distinfo b/net/ssltunnel-server/distinfo
index 510b982f88b9..02591c54c5ee 100644
--- a/net/ssltunnel-server/distinfo
+++ b/net/ssltunnel-server/distinfo
@@ -1,3 +1,3 @@
-MD5 (ssltunnel-1.16.tar.gz) = 4039b50566a33a4077883ea974e476d5
-SHA256 (ssltunnel-1.16.tar.gz) = e801ab170f364ba2997fb276d16eba1f75bffcc0fc5a1e97ff0b247bf63b0570
-SIZE (ssltunnel-1.16.tar.gz) = 140071
+MD5 (ssltunnel-1.18.tar.gz) = 67365324ec3ef232109c4a565f799604
+SHA256 (ssltunnel-1.18.tar.gz) = 1d2e4bbc935341775e7cc26dae980d6bdd5e8351f5a0cbf4d85363ac5d71081f
+SIZE (ssltunnel-1.18.tar.gz) = 132302