summaryrefslogtreecommitdiff
path: root/net-proxy/sshuttle
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-proxy/sshuttle
reinit the tree, so we can have metadata
Diffstat (limited to 'net-proxy/sshuttle')
-rw-r--r--net-proxy/sshuttle/Manifest5
-rw-r--r--net-proxy/sshuttle/metadata.xml12
-rw-r--r--net-proxy/sshuttle/sshuttle-0.78.3.ebuild42
3 files changed, 59 insertions, 0 deletions
diff --git a/net-proxy/sshuttle/Manifest b/net-proxy/sshuttle/Manifest
new file mode 100644
index 000000000000..9a57414c6197
--- /dev/null
+++ b/net-proxy/sshuttle/Manifest
@@ -0,0 +1,5 @@
+DIST sshuttle-0.78.3.tar.gz 69460 SHA256 8aa31a645e6532d381d0298071960845fbdfa5c7683649a765a7ac7360c1be8b SHA512 581955d9868bdd369a37386b273d53448944b1fb5458a25d5930b348630521cadcaea8cf45371942f96c789889d2a405e8bbe824af3d0c6def73f017f1149a1e WHIRLPOOL 33e1f57ecefcce46240569554e623ae0865cc034232735b4361baf6e43f027b2b2be6ef54120944d3eb7281baecc376cd2a4cbede3b51d2bb8340eeb5e40a89c
+EBUILD sshuttle-0.78.3.ebuild 1040 SHA256 f0f44f31eeae3ce38c351902f7eba19379556006474e7995dc545a449e1955e7 SHA512 1b5176e1e6a154922a93102f36822ac2ffdf1ede3abdd9e31d212bad8093af202ec5db77f7e7f6ded46bf70499935cfc53831d3f42b36764be6b6f711ae8b2cd WHIRLPOOL 522455a5af68b37cc0a7b9aa221ed6c9fc31780f49c8f675a7674c033a130ca190cd00ae45c8eefa705f3b2a1e297d00bddbc4040044123971c5c6a6257b40ee
+MISC ChangeLog 3846 SHA256 c27cb1142a77a49b494477da140c6a4542cfdc3e0d5d787f051d4a6ff1d07b2f SHA512 932857de5812e05070e9e4b669605a4b1c6f423e96a6a6e6caa9315e2cce51b458278603b978011e7c5c48988e54e90375bb0bb204c7ffcab97e7c0713d3752e WHIRLPOOL 5a36faef689b23ffcbafd719cd02bc4c25b6ab3a0199a026655c0ad4cf1ebb61c18d2408e318eef2eedd73cfb2af0b2f7bae35c6d88598078b83ab11b95f4831
+MISC ChangeLog-2015 2876 SHA256 24d5090ebfb7eec8741e33c2bac010e42406b80014f9c430acf58e3fdea45014 SHA512 0306da8621f05e3294434fc71eed238066018f7a77dddcd6f7cc4623cb6c31cc279f71568b0f89a98bb796acb375e40c0aa4698dac1e92f39030692076cc7414 WHIRLPOOL f13db3a074396bba7c5fc4e73acb5eaed488ad50ce07ce98475c0ca76f0359aa1bfca826720c75272fb5173b672e224321b0361cdfd249e8793242a7f1dd6efd
+MISC metadata.xml 386 SHA256 458a38d09137ef5ec73289a8986ffb819fc58704bfe652b757a69026ff9ffef9 SHA512 988f65a4a15eac0630b83d0e090749c12ef58ca1284ed94f45f6eb9c4a5ff0678a481519f435a992f572b98a8878fbfeb7bf573443c128cd29e5c365a8eb2e32 WHIRLPOOL 90b3eeac266e8afe7a279ff964267f5c3915e4db9170d0bc94746ce1ef15ada078c91b459e628212cd512529e048ab585d9ce5dc6020a03ba66ffc82b3635377
diff --git a/net-proxy/sshuttle/metadata.xml b/net-proxy/sshuttle/metadata.xml
new file mode 100644
index 000000000000..6956e63728ab
--- /dev/null
+++ b/net-proxy/sshuttle/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">sshuttle</remote-id>
+ <remote-id type="github">sshuttle/sshuttle</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-proxy/sshuttle/sshuttle-0.78.3.ebuild b/net-proxy/sshuttle/sshuttle-0.78.3.ebuild
new file mode 100644
index 000000000000..b627c1c8e0c7
--- /dev/null
+++ b/net-proxy/sshuttle/sshuttle-0.78.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+
+inherit linux-info distutils-r1
+
+DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh"
+HOMEPAGE="https://github.com/sshuttle/sshuttle https://pypi.python.org/pypi/sshuttle"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="test"
+
+RDEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ net-firewall/iptables
+"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}]
+ )
+"
+
+CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~IP_NF_MATCH_TTL ~NF_NAT"
+
+python_prepare_all() {
+ # don't run tests via setup.py pytest
+ sed -i "/setup_requires=/s/'pytest-runner'//" setup.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ py.test || die "Tests fail under ${EPYTHON}"
+}