aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose G. Juanino <jjuanino@gmail.com>2021-11-21 17:37:19 +0000
committerDries Michiels <driesm@FreeBSD.org>2021-11-23 06:54:02 +0000
commitc6090ff97a4e1f49bff701a921f485f4d7a951c8 (patch)
treebee02d18cd34cf876d5a00652acb2baaf6d29e33
parentcc9a783244c513c5d09e1a6528a50264f5e36ee8 (diff)
downloadports-c6090ff97a4e1f49bff701a921f485f4d7a951c8.tar.gz
ports-c6090ff97a4e1f49bff701a921f485f4d7a951c8.zip
security/py-vpn-slice: New port
Customized VPN split-tunnel. vpnc-script replacement for easy and secure split-tunnel VPN setup. PR: 259831 Approved by: philip (mentor) Differential Revision: https://reviews.freebsd.org/D33074
-rw-r--r--security/Makefile1
-rw-r--r--security/py-vpn-slice/Makefile18
-rw-r--r--security/py-vpn-slice/distinfo3
-rw-r--r--security/py-vpn-slice/pkg-descr9
-rw-r--r--security/py-vpn-slice/pkg-message10
5 files changed, 41 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 5f031d0dd71f..fb6d514facac 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1023,6 +1023,7 @@
SUBDIR += py-vici
SUBDIR += py-virustotal-api
SUBDIR += py-volatility3
+ SUBDIR += py-vpn-slice
SUBDIR += py-vulndb
SUBDIR += py-webauthn
SUBDIR += py-xkcdpass
diff --git a/security/py-vpn-slice/Makefile b/security/py-vpn-slice/Makefile
new file mode 100644
index 000000000000..97b7111c2b75
--- /dev/null
+++ b/security/py-vpn-slice/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= vpn-slice
+DISTVERSION= 0.15
+CATEGORIES= security python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jjuanino@gmail.com
+COMMENT= Customized VPN split-tunnel
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.16:dns/py-dnspython@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setproctitle>=1.2:devel/py-setproctitle@${PY_FLAVOR}
+
+USES= python:3.3+
+USE_PYTHON= autoplist concurrent distutils
+
+.include <bsd.port.mk>
diff --git a/security/py-vpn-slice/distinfo b/security/py-vpn-slice/distinfo
new file mode 100644
index 000000000000..a6a29ae6a854
--- /dev/null
+++ b/security/py-vpn-slice/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1637510617
+SHA256 (vpn-slice-0.15.tar.gz) = 7d5133aecbed9d5696d59dcb799c3d8d30a89a08f6d36fac335f6b8357786353
+SIZE (vpn-slice-0.15.tar.gz) = 18510
diff --git a/security/py-vpn-slice/pkg-descr b/security/py-vpn-slice/pkg-descr
new file mode 100644
index 000000000000..a51cb39dbd1a
--- /dev/null
+++ b/security/py-vpn-slice/pkg-descr
@@ -0,0 +1,9 @@
+This is a replacement for the vpnc-script used by OpenConnect or VPNC.
+
+Instead of trying to copy the behavior of standard corporate VPN clients, which
+normally reroute all your network traffic through the VPN, this one tries to
+minimize your contact with an intrusive VPN. This is also known as a
+split-tunnel VPN, since it splits your traffic between the VPN tunnel and your
+normal network interfaces.
+
+WWW: https://github.com/dlenski/vpn-slice
diff --git a/security/py-vpn-slice/pkg-message b/security/py-vpn-slice/pkg-message
new file mode 100644
index 000000000000..05467707c329
--- /dev/null
+++ b/security/py-vpn-slice/pkg-message
@@ -0,0 +1,10 @@
+[
+{ type: install
+ message: <<EOM
+This software requires that procfs filesystem be mounted;
+
+# echo "proc /proc procfs rw 0 0" >> /etc/fstab
+# mount /proc
+EOM
+}
+]