diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-17 19:04:28 +0100 |
commit | 514d1bbe260df2521fe60f1a3ec87cfcfde1a829 (patch) | |
tree | 555c194dbeb0fb2ac4ad3cde7c0f6a80fd330ce2 /net-proxy/redsocks/redsocks-0.5-r1.ebuild | |
parent | 4df3bf9762850b34cd1ead5c80374d1a0fc3362e (diff) |
gentoo resync : 17.07.2021
Diffstat (limited to 'net-proxy/redsocks/redsocks-0.5-r1.ebuild')
-rw-r--r-- | net-proxy/redsocks/redsocks-0.5-r1.ebuild | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/net-proxy/redsocks/redsocks-0.5-r1.ebuild b/net-proxy/redsocks/redsocks-0.5-r1.ebuild deleted file mode 100644 index 665f5a700021..000000000000 --- a/net-proxy/redsocks/redsocks-0.5-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} != *9999* ]]; then - SRC_URI="https://github.com/darkk/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -else - GIT_ECLASS="git-r3" - EGIT_REPO_URI="https://github.com/darkk/${PN}.git" -fi - -inherit systemd toolchain-funcs user ${GIT_ECLASS} - -DESCRIPTION="Transparent redirector of any TCP connection to proxy" -HOMEPAGE="http://darkk.net.ru/redsocks/" -LICENSE="Apache-2.0 LGPL-2.1+ ZLIB" -SLOT="0" -IUSE="doc" -RESTRICT="test" - -DEPEND="dev-libs/libevent:0=" -RDEPEND="${DEPEND} - net-firewall/iptables" - -[[ ${PV} != *9999 ]] && S="${WORKDIR}"/"${PN}"-release-"${PV}" - -pkg_setup() { - enewgroup redsocks - enewuser redsocks -1 -1 /run/redsocks redsocks -} - -src_compile() { - CC="$(tc-getCC)" emake -} - -src_install() { - dosbin redsocks - doman debian/redsocks.8 - use doc && dodoc README doc/* - insinto /etc - newins debian/redsocks.conf redsocks.conf - - newinitd "${FILESDIR}"/redsocks.init-r1 redsocks - newconfd "${FILESDIR}"/redsocks.conf redsocks - - systemd_dounit "${FILESDIR}"/redsocks.service -} |