New package: sshuttle-0.78.4

This commit is contained in:
Daniel Santana 2018-04-19 01:20:52 -03:00 committed by Leah Neukirchen
parent e2caaa39df
commit 3a0c872b9b
1 changed files with 30 additions and 0 deletions

30
srcpkgs/sshuttle/template Normal file
View File

@ -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 <daniel@santana.tech>"
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
}