aboutsummaryrefslogtreecommitdiffstats
path: root/net/vtun/Makefile
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2016-09-20 10:30:45 +0800
committercy <cy@FreeBSD.org>2016-09-20 10:30:45 +0800
commitc077f9ae1649384d541ab72f517bb3a41830e7ba (patch)
tree32ddb4a7ef9fed52c6fab3075489c0aedd7edd87 /net/vtun/Makefile
parent45d9c87a8d37c255eeb829003c608a0dbaa476ef (diff)
downloadfreebsd-ports-gnome-c077f9ae1649384d541ab72f517bb3a41830e7ba.tar.gz
freebsd-ports-gnome-c077f9ae1649384d541ab72f517bb3a41830e7ba.tar.zst
freebsd-ports-gnome-c077f9ae1649384d541ab72f517bb3a41830e7ba.zip
Update 3.0.3 --> 3.0.4
Document GPLv2 license. Convert to USES=ssl Replace absolute link with a relative link.
Diffstat (limited to 'net/vtun/Makefile')
-rw-r--r--net/vtun/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/net/vtun/Makefile b/net/vtun/Makefile
index 36b045a2d299..a5095b723375 100644
--- a/net/vtun/Makefile
+++ b/net/vtun/Makefile
@@ -2,18 +2,19 @@
# $FreeBSD$
PORTNAME= vtun
-PORTVERSION= 3.0.3
-PORTREVISION= 1
+PORTVERSION= 3.0.4
CATEGORIES= net
MASTER_SITES= SF
MAINTAINER= cy@FreeBSD.org
COMMENT= Virtual Tunnels over TCP/IP networks with traffic shaping
+LICENSE= GPLv2
+
LIB_DEPENDS= liblzo2.so:archivers/lzo2
CFLAGS+= -ansi -Wno-pointer-sign -I${LOCALBASE}/include
-USE_OPENSSL= yes
+USES= ssl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var \
--with-ssl-headers=${OPENSSLINC} \
@@ -32,10 +33,6 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${CC} == "clang" || ${CXX} == "clang++" || (${OPSYS} == FreeBSD && ${OSVERSION} >= 1000026)
-EXTRA_PATCHES+= ${FILESDIR}/extra-cfg_file.y
-.endif
-
.if defined(VTUN_EXTENDED_MODE)
# Obtained from http://home.jp.FreeBSD.org/~simokawa/vtun-v6.html
EXTRA_PATCHES+= ${FILESDIR}/extra-tun_dev.c
@@ -54,6 +51,7 @@ post-install:
.for doc in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
- @${LN} -s ${PREFIX}/man/man8/vtund.8 ${STAGEDIR}${PREFIX}/man/man1/vtun.1
+ @cd ${STAGEDIR}${PREFIX}/man/man1/ && \
+ ${LN} -s vtund.8 ../man1/vtun.1
.include <bsd.port.post.mk>