mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
* Upgrade to 1.3.2.
* Add init script. PR: 44436 Submitted by: maintainer
This commit is contained in:
parent
132c61bea0
commit
2e59d374e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68821
15 changed files with 93 additions and 6 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= openvpn
|
||||
PORTVERSION= 1.3.0
|
||||
PORTVERSION= 1.3.2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
@ -24,6 +24,8 @@ CONFIGURE_ARGS= --with-lzo-lib=${LOCALBASE}/lib \
|
|||
MAN8= openvpn.8
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/openvpn.sh.sample \
|
||||
${PREFIX}/etc/rc.d/openvpn.sh.sample
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for docs in AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL NEWS \
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (openvpn-1.3.0.tar.gz) = f82482f0ec8d9091876bd86133a8ff2f
|
||||
MD5 (openvpn-1.3.2.tar.gz) = 57f5f92730566401797943561f7cae6e
|
||||
|
|
19
security/openvpn-devel/files/openvpn.sh.sample
Normal file
19
security/openvpn-devel/files/openvpn.sh.sample
Normal file
|
@ -0,0 +1,19 @@
|
|||
#! /bin/sh
|
||||
# (C) 2002 by Matthias Andree
|
||||
|
||||
# This file may be redistributed according to the terms of the GNU General
|
||||
# Public License, version 2 (two).
|
||||
|
||||
# To use this script, rename it to openvpn.sh and make sure it is
|
||||
# executable for the owner.
|
||||
|
||||
# This file rouses a security warning at port install time. However, this
|
||||
# file itself does not start network services, but it loads a kernel driver.
|
||||
# The security of this file therefore depends on the security of kldload and
|
||||
# the if_tap driver.
|
||||
|
||||
case x$1 in
|
||||
xstart) echo -n ' if_tap' ; exec kldload if_tap ;;
|
||||
xstop) echo -n ' if_tap' ; exec kldunload if_tap ;;
|
||||
*) echo >&2 "Usage: $0 {start|stop}"
|
||||
esac
|
|
@ -1,4 +1,8 @@
|
|||
### ---------------------------------------------------------------------- ###
|
||||
### To use the tap driver, you may need to do: kldload if_tap ###
|
||||
### See ${PREFIX}/etc/rc.d/openvpn.sh.sample for how to do this ###
|
||||
### automatically at system boot-up time. ###
|
||||
### ---------------------------------------------------------------------- ###
|
||||
### To retain backwards compatibility of OpenVPN 1.3.0 with OpenVPN peers ###
|
||||
### that run older versions (back to 1.1.0), you will have to set the MTU ###
|
||||
### explicitly by command line options since OpenVPN 1.3.0. ###
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
sbin/openvpn
|
||||
etc/rc.d/openvpn.sh.sample
|
||||
%%PORTDOCS%%share/doc/openvpn/AUTHORS
|
||||
%%PORTDOCS%%share/doc/openvpn/COPYING
|
||||
%%PORTDOCS%%share/doc/openvpn/COPYRIGHT.GPL
|
||||
|
@ -10,6 +11,7 @@ sbin/openvpn
|
|||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/README
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-ca
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-dh
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-inter
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-key
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-key-pass
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-req
|
||||
|
@ -28,6 +30,8 @@ sbin/openvpn
|
|||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/static-office.conf
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/tls-home.conf
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/tls-office.conf
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/xinetd-client-config
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/xinetd-server-config
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-scripts/openvpn.init
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-scripts/verify-cn
|
||||
%%PORTDOCS%%@dirrm share/doc/openvpn/sample-scripts
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= openvpn
|
||||
PORTVERSION= 1.3.0
|
||||
PORTVERSION= 1.3.2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
@ -24,6 +24,8 @@ CONFIGURE_ARGS= --with-lzo-lib=${LOCALBASE}/lib \
|
|||
MAN8= openvpn.8
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/openvpn.sh.sample \
|
||||
${PREFIX}/etc/rc.d/openvpn.sh.sample
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for docs in AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL NEWS \
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (openvpn-1.3.0.tar.gz) = f82482f0ec8d9091876bd86133a8ff2f
|
||||
MD5 (openvpn-1.3.2.tar.gz) = 57f5f92730566401797943561f7cae6e
|
||||
|
|
19
security/openvpn/files/openvpn.sh.sample
Normal file
19
security/openvpn/files/openvpn.sh.sample
Normal file
|
@ -0,0 +1,19 @@
|
|||
#! /bin/sh
|
||||
# (C) 2002 by Matthias Andree
|
||||
|
||||
# This file may be redistributed according to the terms of the GNU General
|
||||
# Public License, version 2 (two).
|
||||
|
||||
# To use this script, rename it to openvpn.sh and make sure it is
|
||||
# executable for the owner.
|
||||
|
||||
# This file rouses a security warning at port install time. However, this
|
||||
# file itself does not start network services, but it loads a kernel driver.
|
||||
# The security of this file therefore depends on the security of kldload and
|
||||
# the if_tap driver.
|
||||
|
||||
case x$1 in
|
||||
xstart) echo -n ' if_tap' ; exec kldload if_tap ;;
|
||||
xstop) echo -n ' if_tap' ; exec kldunload if_tap ;;
|
||||
*) echo >&2 "Usage: $0 {start|stop}"
|
||||
esac
|
|
@ -1,4 +1,8 @@
|
|||
### ---------------------------------------------------------------------- ###
|
||||
### To use the tap driver, you may need to do: kldload if_tap ###
|
||||
### See ${PREFIX}/etc/rc.d/openvpn.sh.sample for how to do this ###
|
||||
### automatically at system boot-up time. ###
|
||||
### ---------------------------------------------------------------------- ###
|
||||
### To retain backwards compatibility of OpenVPN 1.3.0 with OpenVPN peers ###
|
||||
### that run older versions (back to 1.1.0), you will have to set the MTU ###
|
||||
### explicitly by command line options since OpenVPN 1.3.0. ###
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
sbin/openvpn
|
||||
etc/rc.d/openvpn.sh.sample
|
||||
%%PORTDOCS%%share/doc/openvpn/AUTHORS
|
||||
%%PORTDOCS%%share/doc/openvpn/COPYING
|
||||
%%PORTDOCS%%share/doc/openvpn/COPYRIGHT.GPL
|
||||
|
@ -10,6 +11,7 @@ sbin/openvpn
|
|||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/README
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-ca
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-dh
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-inter
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-key
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-key-pass
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-req
|
||||
|
@ -28,6 +30,8 @@ sbin/openvpn
|
|||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/static-office.conf
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/tls-home.conf
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/tls-office.conf
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/xinetd-client-config
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/xinetd-server-config
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-scripts/openvpn.init
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-scripts/verify-cn
|
||||
%%PORTDOCS%%@dirrm share/doc/openvpn/sample-scripts
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= openvpn
|
||||
PORTVERSION= 1.3.0
|
||||
PORTVERSION= 1.3.2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
@ -24,6 +24,8 @@ CONFIGURE_ARGS= --with-lzo-lib=${LOCALBASE}/lib \
|
|||
MAN8= openvpn.8
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/openvpn.sh.sample \
|
||||
${PREFIX}/etc/rc.d/openvpn.sh.sample
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for docs in AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL NEWS \
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (openvpn-1.3.0.tar.gz) = f82482f0ec8d9091876bd86133a8ff2f
|
||||
MD5 (openvpn-1.3.2.tar.gz) = 57f5f92730566401797943561f7cae6e
|
||||
|
|
19
security/openvpn20/files/openvpn.sh.sample
Normal file
19
security/openvpn20/files/openvpn.sh.sample
Normal file
|
@ -0,0 +1,19 @@
|
|||
#! /bin/sh
|
||||
# (C) 2002 by Matthias Andree
|
||||
|
||||
# This file may be redistributed according to the terms of the GNU General
|
||||
# Public License, version 2 (two).
|
||||
|
||||
# To use this script, rename it to openvpn.sh and make sure it is
|
||||
# executable for the owner.
|
||||
|
||||
# This file rouses a security warning at port install time. However, this
|
||||
# file itself does not start network services, but it loads a kernel driver.
|
||||
# The security of this file therefore depends on the security of kldload and
|
||||
# the if_tap driver.
|
||||
|
||||
case x$1 in
|
||||
xstart) echo -n ' if_tap' ; exec kldload if_tap ;;
|
||||
xstop) echo -n ' if_tap' ; exec kldunload if_tap ;;
|
||||
*) echo >&2 "Usage: $0 {start|stop}"
|
||||
esac
|
|
@ -1,4 +1,8 @@
|
|||
### ---------------------------------------------------------------------- ###
|
||||
### To use the tap driver, you may need to do: kldload if_tap ###
|
||||
### See ${PREFIX}/etc/rc.d/openvpn.sh.sample for how to do this ###
|
||||
### automatically at system boot-up time. ###
|
||||
### ---------------------------------------------------------------------- ###
|
||||
### To retain backwards compatibility of OpenVPN 1.3.0 with OpenVPN peers ###
|
||||
### that run older versions (back to 1.1.0), you will have to set the MTU ###
|
||||
### explicitly by command line options since OpenVPN 1.3.0. ###
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
sbin/openvpn
|
||||
etc/rc.d/openvpn.sh.sample
|
||||
%%PORTDOCS%%share/doc/openvpn/AUTHORS
|
||||
%%PORTDOCS%%share/doc/openvpn/COPYING
|
||||
%%PORTDOCS%%share/doc/openvpn/COPYRIGHT.GPL
|
||||
|
@ -10,6 +11,7 @@ sbin/openvpn
|
|||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/README
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-ca
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-dh
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-inter
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-key
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-key-pass
|
||||
%%PORTDOCS%%share/doc/openvpn/easy-rsa/build-req
|
||||
|
@ -28,6 +30,8 @@ sbin/openvpn
|
|||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/static-office.conf
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/tls-home.conf
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/tls-office.conf
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/xinetd-client-config
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-config-files/xinetd-server-config
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-scripts/openvpn.init
|
||||
%%PORTDOCS%%share/doc/openvpn/sample-scripts/verify-cn
|
||||
%%PORTDOCS%%@dirrm share/doc/openvpn/sample-scripts
|
||||
|
|
Loading…
Add table
Reference in a new issue