diff --git a/srcpkgs/sshuttle/template b/srcpkgs/sshuttle/template new file mode 100644 index 00000000000..212dc44c825 --- /dev/null +++ b/srcpkgs/sshuttle/template @@ -0,0 +1,30 @@ +# Template file for 'sshuttle' +pkgname=sshuttle +version=0.78.4 +revision=1 +noarch=yes +build_style=python3-module +pycompile_module="sshuttle" +hostmakedepends="python3-setuptools python3-Sphinx" +depends="python3 iptables" +short_desc="Transparent proxy server that forwards TCP packets over ssh" +maintainer="Daniel Santana " +license="LGPL-2" +homepage="https://github.com/sshuttle/sshuttle" +distfiles="${PYPI_SITE}/s/sshuttle/sshuttle-${version}.tar.gz" +checksum=30c1d8f62486b3eb7f565f00a75e0ffc7166af9a88da87cd8338b3d3e620135f + +post_extract() { + # BUG: wrong permissions (https://github.com/sshuttle/sshuttle/issues/217) + rm -r sshuttle.egg-info +} + +post_build() { + cd docs + make man +} + +post_install() { + vman docs/_build/man/sshuttle.1 + vlicense LICENSE +}