diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-07-04 22:17:22 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-07-04 22:17:22 +0000 |
commit | 385230dcc9ebaaa26a0efb59ae6d40b5b2763f2c (patch) | |
tree | aadbeb2f969ba25ec5b1c55237e4f1889557ae90 /net-proxy | |
parent | bump to 3.12.1 (diff) | |
download | gentoo-2-385230dcc9ebaaa26a0efb59ae6d40b5b2763f2c.tar.gz gentoo-2-385230dcc9ebaaa26a0efb59ae6d40b5b2763f2c.tar.bz2 gentoo-2-385230dcc9ebaaa26a0efb59ae6d40b5b2763f2c.zip |
Initial import.
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/sshuttle/ChangeLog | 10 | ||||
-rw-r--r-- | net-proxy/sshuttle/metadata.xml | 9 | ||||
-rw-r--r-- | net-proxy/sshuttle/sshuttle-0.54.ebuild | 38 |
3 files changed, 57 insertions, 0 deletions
diff --git a/net-proxy/sshuttle/ChangeLog b/net-proxy/sshuttle/ChangeLog new file mode 100644 index 000000000000..a91cbdc90ca9 --- /dev/null +++ b/net-proxy/sshuttle/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-proxy/sshuttle +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/sshuttle/ChangeLog,v 1.1 2011/07/04 22:17:22 radhermit Exp $ + +*sshuttle-0.54 (04 Jul 2011) + + 04 Jul 2011; Tim Harder <radhermit@gentoo.org> +sshuttle-0.54.ebuild, + +metadata.xml: + Initial import. + diff --git a/net-proxy/sshuttle/metadata.xml b/net-proxy/sshuttle/metadata.xml new file mode 100644 index 000000000000..8ad81e6612d1 --- /dev/null +++ b/net-proxy/sshuttle/metadata.xml @@ -0,0 +1,9 @@ +<?xml version = '1.0' encoding = 'UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> +</pkgmetadata> diff --git a/net-proxy/sshuttle/sshuttle-0.54.ebuild b/net-proxy/sshuttle/sshuttle-0.54.ebuild new file mode 100644 index 000000000000..980812e75fe4 --- /dev/null +++ b/net-proxy/sshuttle/sshuttle-0.54.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/sshuttle/sshuttle-0.54.ebuild,v 1.1 2011/07/04 22:17:22 radhermit Exp $ + +EAPI=3 +PYTHON_DEPEND="2" + +inherit python linux-info + +DESCRIPTION="Transparent proxy server that works as a poor man's VPN using ssh" +HOMEPAGE="https://github.com/apenwarr/sshuttle/" +SRC_URI="mirror://gentoo/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="net-firewall/iptables + || ( app-admin/sudo sys-apps/shadow )" + +CONFIG_CHECK="~NETFILTER_XT_TARGET_HL ~IP_NF_TARGET_REDIRECT ~NF_NAT" + +src_compile() { :; } + +src_install() { + rm -f stresstest.py + insinto "$(python_get_sitedir)"/${PN} + doins -r *.py compat || die + + exeinto "$(python_get_sitedir)"/${PN} + doexe ${PN} || die + dosym "$(python_get_sitedir)"/${PN}/${PN} /usr/bin/${PN} || die + + dodoc README.md || die + doman ${PN}.8 || die +} |