https://github.com/sshuttle/sshuttle
Transparent proxy server as a VPN over SSH.
---
testing/sshuttle/APKBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 testing/sshuttle/APKBUILD
diff --git a/testing/sshuttle/APKBUILD b/testing/sshuttle/APKBUILD
new file mode 100644
index 0000000000..f38a821d8f
--- /dev/null
+++ b/testing/sshuttle/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Paul Bredbury <brebs@sent.com>
+pkgname=sshuttle
+pkgver=0.78.5
+pkgrel=0
+pkgdesc="Transparent proxy server as a VPN over SSH"
+url="https://github.com/sshuttle/sshuttle"
+arch="noarch"
+license="LGPL-2.1-or-later"
+depends="iptables python3"
+makedepends="py3-setuptools py3-sphinx"
+source="$pkgname-$pkgver.tar.gz::https://github.com/sshuttle/sshuttle/archive/v$pkgver.tar.gz"
+subpackages="$pkgname-doc"
+
+build() {
+ export SETUPTOOLS_SCM_PRETEND_VERSION="$pkgver"
+ python3 setup.py build
+
+ cd docs
+ make SPHINXBUILD=/usr/bin/sphinx-build-3 man
+}
+
+check() {
+ python3 setup.py check
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+
+ install -Dm 644 docs/_build/man/sshuttle.1 "$pkgdir"/usr/share/man/man1/sshuttle.1
+}
+
+sha512sums="bf76bfbd1025ce8c7b72e946541b9cc8b678ba21049fef65df4929cb7a36684f259fc653b644da0c3c278fd26a38e218202d5debce243659a840b7f36acd5e20 sshuttle-0.78.5.tar.gz"
--
2.23.0