[crux-commits] ports/contrib (3.6): openvpn: dropped port

crux at crux.nu crux at crux.nu
Wed Jul 28 14:19:08 UTC 2021


commit b5da7c6918604c55de8549cbc45cc53203efda79
Author: Tim Biermann <tbier at posteo.de>
Date:   Wed Jul 28 16:19:04 2021 +0200

    openvpn: dropped port

diff --git a/openvpn/.footprint b/openvpn/.footprint
deleted file mode 100644
index e66e09aed..000000000
--- a/openvpn/.footprint
+++ /dev/null
@@ -1,20 +0,0 @@
-drwxr-xr-x	root/root	etc/
-drwxr-xr-x	root/root	etc/rc.d/
--rwxr-xr-x	root/root	etc/rc.d/openvpn
-drwxr-xr-x	root/root	usr/
-drwxr-xr-x	root/root	usr/include/
--rw-r--r--	root/root	usr/include/openvpn-msg.h
--rw-r--r--	root/root	usr/include/openvpn-plugin.h
-drwxr-xr-x	root/root	usr/lib/
-drwxr-xr-x	root/root	usr/lib/openvpn/
-drwxr-xr-x	root/root	usr/lib/openvpn/plugins/
--rwxr-xr-x	root/root	usr/lib/openvpn/plugins/openvpn-plugin-auth-pam.la
--rwxr-xr-x	root/root	usr/lib/openvpn/plugins/openvpn-plugin-auth-pam.so
--rwxr-xr-x	root/root	usr/lib/openvpn/plugins/openvpn-plugin-down-root.la
--rwxr-xr-x	root/root	usr/lib/openvpn/plugins/openvpn-plugin-down-root.so
-drwxr-xr-x	root/root	usr/sbin/
--rwxr-xr-x	root/root	usr/sbin/openvpn
-drwxr-xr-x	root/root	usr/share/
-drwxr-xr-x	root/root	usr/share/man/
-drwxr-xr-x	root/root	usr/share/man/man8/
--rwxr-xr-x	root/root	usr/share/man/man8/openvpn.8.gz
diff --git a/openvpn/.signature b/openvpn/.signature
deleted file mode 100644
index 37cc64a59..000000000
--- a/openvpn/.signature
+++ /dev/null
@@ -1,6 +0,0 @@
-untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF32PBxu4qUbz46MqnKT+P6VgStkhsuFVAmAQHlu/u10IPUcmnY1k0d4bWJNNUAPtguPTDady0M6M2bCeWsKLqFgw=
-SHA256 (Pkgfile) = c427879179cb78fd1f4dc4b764827cb315b315d2d9db7af1b2b7e687c683e379
-SHA256 (.footprint) = 170756e4dffb0471fea2c8ed127a2b71ec800df87424a1c5205d83aa30bce329
-SHA256 (openvpn-2.5.3.tar.xz) = fb6a9943c603a1951ca13e9267653f8dd650c02f84bccd2b9d20f06a4c9c9a7e
-SHA256 (openvpn) = 8f0b3932f074600cab2db334b33a7528ddcb4d1380e546f7d8103708413e89b0
diff --git a/openvpn/Pkgfile b/openvpn/Pkgfile
deleted file mode 100644
index 361b7e217..000000000
--- a/openvpn/Pkgfile
+++ /dev/null
@@ -1,26 +0,0 @@
-# Description: A Secure TCP/UDP Tunneling Daemon
-# URL: https://www.openvpn.net
-# Maintainer: Tim Biermann, tbier at posteo dot de
-# Depends on: linux-pam lzo
-
-name=openvpn
-version=2.5.3
-release=1
-source=(https://swupdate.openvpn.net/community/releases/$name-$version.tar.xz
-  openvpn)
-
-build() {
-  cd $name-$version
-
-  sed -i '/^CONFIGURE_DEFINES=/s/set/env/g' configure.ac
-  autoreconf --force --install
-
-  ./configure --prefix=/usr \
-    --enable-iproute2
-  make
-  make DESTDIR=$PKG install
-
-  rm -r $PKG/usr/share/doc
-  install -D -m 755 doc/openvpn.8 $PKG/usr/share/man/man8/openvpn.8
-  install -D -m 755 $SRC/openvpn $PKG/etc/rc.d/openvpn
-}
diff --git a/openvpn/README b/openvpn/README
deleted file mode 100644
index 5af519f64..000000000
--- a/openvpn/README
+++ /dev/null
@@ -1,7 +0,0 @@
-REQUIREMENTS
-Enable Universal TUN/TAP device driver support in your kernel.
-CONFIG_TUN=y
-
-If you compiled device driver as a loadable kernel module (CONFIG_TUN=m)
-then do not forget to add 'modprobe tun' to rc.modules to not do this
-after each reboot.
diff --git a/openvpn/openvpn b/openvpn/openvpn
deleted file mode 100644
index 62ce72f0f..000000000
--- a/openvpn/openvpn
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/sh
-#
-# /etc/rc.d/openvpn: start/stop openvpn daemon
-#
-
-CONFDIR=/etc/openvpn
-RUNDIR=/var/run
-
-# optional arguments to openvpn
-OPTARGS="--fast-io"
-
-usage() {
-	echo "Usage: $0 [start|stop|restart] <config-name>"
-	exit 0
-}
-
-# require a config name to be specified
-if [ -z "$2" ]
-then
-	usage
-fi
-
-CONF=${CONFDIR}/${2}.conf
-PID=${RUNDIR}/openvpn.${2}.pid
-
-# check for the existence of the specified config
-if [ ! -f ${CONF} ]
-then
-	echo "Can't find config file ${CONF}! Exiting."
-	exit 1
-fi
-
-case $1 in
-	start)
-		# check for an existing PID; this tunnel may already be running
-		if [ -f ${PID} ]
-		then
-			echo "VPN '${2}' appears to be running already. If not, remove the stale PID file '${PID}'. Exiting."
-			exit 2
-		fi
-		# start the specified VPN config
-		echo "Starting VPN '${2}'..."
-		/usr/sbin/openvpn --config ${CONF} --writepid ${PID} --daemon ovpn-${2} ${OPTARGS}
-		;;
-	stop)
-		# check for an existing PID; this tunnel should already be running
-		if [ ! -f ${PID} ]
-		then
-			echo "VPN '${2}' doesn't appear to be running. Exiting."
-			exit 3
-		fi
-		# stop the specified VPN config
-		echo "Stopping VPN '${2}'..."
-		kill `cat ${PID}`
-		rm -f ${PID}
-		;;
-	restart)
-		${0} stop ${2}; sleep 3; ${0} start ${2}
-		;;
-	*)
-		usage
-		;;
-esac
-
-# End of file


More information about the crux-commits mailing list