mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-02-22 02:55:52 +01:00
Added redsocks
This commit is contained in:
32
net-proxy/redsocks/redsocks-9999.ebuild
Normal file
32
net-proxy/redsocks/redsocks-9999.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit git-2
|
||||
|
||||
DESCRIPTION="Transparent redirector of any TCP connection to proxy"
|
||||
HOMEPAGE="http://darkk.net.ru/redsocks/"
|
||||
EGIT_REPO_URI="git://github.com/darkk/${PN}.git"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/libevent
|
||||
net-firewall/iptables"
|
||||
DEPEND="virtual/pkgconfig
|
||||
${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin redsocks
|
||||
dodoc README doc/*
|
||||
insinto /etc/redsocks
|
||||
newins redsocks.conf.example redsocks.conf
|
||||
}
|
||||
Reference in New Issue
Block a user