diff options
Diffstat (limited to 'net-proxy/sshuttle')
-rw-r--r-- | net-proxy/sshuttle/Manifest | 1 | ||||
-rw-r--r-- | net-proxy/sshuttle/metadata.xml | 11 | ||||
-rw-r--r-- | net-proxy/sshuttle/sshuttle-0.61-r3.ebuild | 40 |
3 files changed, 52 insertions, 0 deletions
diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest new file mode 100644 index 000000000000..79dba7b4164d --- /dev/null +++ b/net-proxy/sshuttle/Manifest @@ -0,0 +1 @@ +DIST sshuttle-0.61.tar.xz 181528 SHA256 78cea312c4bab6f6baa459131cb7739d9fae7d0df9e54efd48fc4ddd852042f5 SHA512 39687ecf0a9b78cc0f7dc576c3c036f5afb52050f17d793602e50c8a9ab8bb0f9eb3277cb2fffb1e9c0f5f652d96c6915aecf8a8da93697172d8cbef1161a986 WHIRLPOOL 9c8597d98306730fcab750094588310c03bafea473b54a2758e055a7bb4bb851b3edad4d2cf2995893a30ed4148b7fd8437820099042ff6c7c52a0dc279d6ebc diff --git a/net-proxy/sshuttle/metadata.xml b/net-proxy/sshuttle/metadata.xml new file mode 100644 index 000000000000..be10143d3fe7 --- /dev/null +++ b/net-proxy/sshuttle/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> + <upstream> + <remote-id type="github">apenwarr/sshuttle</remote-id> + </upstream> +</pkgmetadata> diff --git a/net-proxy/sshuttle/sshuttle-0.61-r3.ebuild b/net-proxy/sshuttle/sshuttle-0.61-r3.ebuild new file mode 100644 index 000000000000..249fe78233e6 --- /dev/null +++ b/net-proxy/sshuttle/sshuttle-0.61-r3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils linux-info python-single-r1 + +DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh" +HOMEPAGE="https://github.com/apenwarr/sshuttle/" +SRC_URI="http://dev.gentoo.org/~radhermit/dist/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +DEPEND="app-arch/xz-utils" +RDEPEND="net-firewall/iptables" + +CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~NF_NAT" + +pkg_setup() { + linux-info_pkg_setup + python-single-r1_pkg_setup +} + +src_compile() { :; } + +src_install() { + rm stresstest.py || die + python_moduleinto ${PN} + python_domodule *.py compat + python_optimize + + make_wrapper ${PN} "${EPYTHON} $(python_get_sitedir)/${PN}/main.py ${EPYTHON}" + + dodoc README.md + doman Documentation/${PN}.8 +} |