mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Make fetchable again. The distfile was rerolled years ago.
The difference between the old and the new distfiles are a lot of CVS ids in comments, and the config.in.h being regenerated with a newer version of autoheader. (Which we do not care about here because we use autoreconf anyway.) While there, also put up a copy in MASTER_SITE_LOCAL. - Remove expiration, I'll fix it up as best as I can if it breaks. - General cleanup of the Makefile - Fix of a manpage symlink (reason for PORTREVISION bump) - Document what the patches are for. (and regen when needed.)
This commit is contained in:
parent
b90cc799d2
commit
4d30bc0919
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517565
6 changed files with 39 additions and 33 deletions
|
@ -3,32 +3,29 @@
|
||||||
|
|
||||||
PORTNAME= vtun
|
PORTNAME= vtun
|
||||||
PORTVERSION= 3.0.4
|
PORTVERSION= 3.0.4
|
||||||
PORTREVISION= 7
|
PORTREVISION= 8
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= SF
|
MASTER_SITES= SF LOCAL/mat/vtun
|
||||||
|
|
||||||
MAINTAINER= mat@FreeBSD.org
|
MAINTAINER= mat@FreeBSD.org
|
||||||
COMMENT= Virtual Tunnels over TCP/IP networks with traffic shaping
|
COMMENT= Virtual Tunnels over TCP/IP networks with traffic shaping
|
||||||
|
|
||||||
BROKEN= unfetchable
|
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
DEPRECATED= No longer supported by upline
|
|
||||||
EXPIRATION_DATE= 2021-09-30
|
|
||||||
|
|
||||||
LIB_DEPENDS= liblzo2.so:archivers/lzo2
|
LIB_DEPENDS= liblzo2.so:archivers/lzo2
|
||||||
|
|
||||||
CFLAGS+= -ansi -Wno-pointer-sign
|
|
||||||
USES= autoreconf localbase ssl
|
USES= autoreconf localbase ssl
|
||||||
|
USE_RC_SUBR= vtunclient vtund
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
CONFIGURE_ARGS= --localstatedir=/var \
|
CONFIGURE_ARGS= --localstatedir=/var \
|
||||||
--with-ssl-headers=${OPENSSLINC} \
|
--with-ssl-headers=${OPENSSLINC} \
|
||||||
--with-ssl-lib=${OPENSSLLIB} \
|
--with-ssl-lib=${OPENSSLLIB} \
|
||||||
--with-lzo-headers=${LOCALBASE}/include/lzo \
|
--with-lzo-headers=${LOCALBASE}/include/lzo \
|
||||||
--with-lzo-lib=${LOCALBASE}/lib
|
--with-lzo-lib=${LOCALBASE}/lib
|
||||||
CONFIGURE_ENV= YACC=${YACC}
|
CONFIGURE_ENV= YACC=${YACC}
|
||||||
USE_RC_SUBR= vtunclient vtund
|
|
||||||
|
CFLAGS+= -ansi -Wno-pointer-sign
|
||||||
|
|
||||||
ALL_TARGET= vtund
|
ALL_TARGET= vtund
|
||||||
|
|
||||||
|
@ -48,13 +45,12 @@ post-patch:
|
||||||
${WRKSRC}/configure
|
${WRKSRC}/configure
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/vtund
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/vtund
|
||||||
@${INSTALL_DATA} ${WRKSRC}/vtund.conf ${STAGEDIR}${PREFIX}/etc/vtund.conf.sample
|
${INSTALL_DATA} ${WRKSRC}/vtund.conf ${STAGEDIR}${PREFIX}/etc/vtund.conf.sample
|
||||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
.for doc in ${DOCS}
|
.for doc in ${DOCS}
|
||||||
@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
|
||||||
.endfor
|
.endfor
|
||||||
@cd ${STAGEDIR}${PREFIX}/man/man1/ && \
|
${RLN} ${STAGEDIR}${PREFIX}/man/man8/vtund.8 ${STAGEDIR}${PREFIX}/man/man1/vtun.1
|
||||||
${LN} -s vtund.8 ../man1/vtun.1
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1474289088
|
TIMESTAMP = 1573738292
|
||||||
SHA256 (vtun-3.0.4.tar.gz) = 79d9ccfec98bb13b19523c483f2192e6db7d0c24af8382506f80cc335c643085
|
SHA256 (vtun-3.0.4.tar.gz) = abf8df6b15e3febeaaeae2ce24ead7105eb1537ad4ec0d830c83cbb684fd98b9
|
||||||
SIZE (vtun-3.0.4.tar.gz) = 130877
|
SIZE (vtun-3.0.4.tar.gz) = 132691
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
--- Makefile.in.orig 2012-07-08 21:55:38.000000000 -0700
|
Cleanup install procedure.
|
||||||
+++ Makefile.in 2014-06-09 23:06:38.000000000 -0700
|
|
||||||
@@ -28,7 +28,7 @@
|
--- Makefile.in.orig 2016-10-01 21:46:00 UTC
|
||||||
|
+++ Makefile.in
|
||||||
|
@@ -28,7 +28,7 @@ LEX = @LEX@
|
||||||
LEXFLAGS = -t
|
LEXFLAGS = -t
|
||||||
|
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
|
@ -9,7 +11,7 @@
|
||||||
|
|
||||||
prefix = @prefix@
|
prefix = @prefix@
|
||||||
exec_prefix = @exec_prefix@
|
exec_prefix = @exec_prefix@
|
||||||
@@ -55,7 +55,7 @@
|
@@ -55,7 +55,7 @@ OBJS = main.o cfg_file.tab.o cfg_file.lex.o server.o c
|
||||||
|
|
||||||
CONFIGURE_FILES = Makefile config.status config.cache config.h config.log
|
CONFIGURE_FILES = Makefile config.status config.cache config.h config.log
|
||||||
|
|
||||||
|
@ -18,7 +20,7 @@
|
||||||
$(CC) $(CFLAGS) $(DEFS) -c $<
|
$(CC) $(CFLAGS) $(DEFS) -c $<
|
||||||
|
|
||||||
vtund: $(OBJS)
|
vtund: $(OBJS)
|
||||||
@@ -80,25 +80,25 @@
|
@@ -80,25 +80,25 @@ distclean: clean
|
||||||
rm -f `cat vtun.drivers`
|
rm -f `cat vtun.drivers`
|
||||||
|
|
||||||
install_man:
|
install_man:
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
--- freebsd/tun_dev.c.orig 2008-01-07 14:36:10.000000000 -0800
|
Part of extended mode being an argument and not a compile time decision.
|
||||||
+++ freebsd/tun_dev.c 2016-09-19 20:06:49.919502000 -0700
|
|
||||||
|
--- freebsd/tun_dev.c.orig 2016-10-01 21:46:01 UTC
|
||||||
|
+++ freebsd/tun_dev.c
|
||||||
@@ -35,6 +35,8 @@
|
@@ -35,6 +35,8 @@
|
||||||
#include "vtun.h"
|
#include "vtun.h"
|
||||||
#include "lib.h"
|
#include "lib.h"
|
||||||
|
@ -9,7 +11,7 @@
|
||||||
/*
|
/*
|
||||||
* Allocate TUN device, returns opened fd.
|
* Allocate TUN device, returns opened fd.
|
||||||
* Stores dev name in the first arg(must be large enough).
|
* Stores dev name in the first arg(must be large enough).
|
||||||
@@ -58,10 +60,8 @@
|
@@ -58,10 +60,8 @@ int tun_open(char *dev)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if( fd > -1 ){
|
if( fd > -1 ){
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
Part of extended mode being an argument and not a compile time decision.
|
||||||
|
Some bits about using vfork, or not, and pidfile as an argument.
|
||||||
|
|
||||||
--- main.c.orig 2013-07-07 20:31:22 UTC
|
--- main.c.orig 2013-07-07 20:31:22 UTC
|
||||||
+++ main.c
|
+++ main.c
|
||||||
@@ -39,9 +39,9 @@
|
@@ -39,9 +39,9 @@
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
--- vtund.8.orig 2016-09-17 13:01:21.000000000 -0700
|
Part of extended mode being an argument and not a compile time decision.
|
||||||
+++ vtund.8 2016-09-19 20:38:04.531515000 -0700
|
Some bits about using vfork, or not, and pidfile as an argument.
|
||||||
@@ -48,6 +48,12 @@
|
|
||||||
|
--- vtund.8.orig 2016-09-17 20:01:21 UTC
|
||||||
|
+++ vtund.8
|
||||||
|
@@ -48,6 +48,12 @@ vtund \- VTun(Virtual Tunnel) daemon.
|
||||||
[
|
[
|
||||||
.I -n
|
.I -n
|
||||||
]
|
]
|
||||||
|
@ -13,10 +16,11 @@
|
||||||
<
|
<
|
||||||
.I session
|
.I session
|
||||||
>
|
>
|
||||||
@@ -116,6 +122,14 @@
|
@@ -115,6 +121,14 @@ Connect
|
||||||
|
.I timeout
|
||||||
Default is 30 seconds. This options is equivalent to the 'timeout' option of
|
Default is 30 seconds. This options is equivalent to the 'timeout' option of
|
||||||
config file.
|
config file.
|
||||||
.TP
|
+.TP
|
||||||
+.I -e
|
+.I -e
|
||||||
+Use vtun-v6 extended mode.
|
+Use vtun-v6 extended mode.
|
||||||
+.TP
|
+.TP
|
||||||
|
@ -24,7 +28,6 @@
|
||||||
+Connect
|
+Connect
|
||||||
+.I z pid_file
|
+.I z pid_file
|
||||||
+The full pathname of the file containing the PID of the daemon in server mode.
|
+The full pathname of the file containing the PID of the daemon in server mode.
|
||||||
+.TP
|
.TP
|
||||||
.I session
|
.I session
|
||||||
Session name from the config file.
|
Session name from the config file.
|
||||||
.TP
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue