diff options
author | Yixun Lan <dlan@gentoo.org> | 2021-01-14 07:09:01 +0800 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2021-01-14 07:09:01 +0800 |
commit | a866384246a52e47cd28610f2ca2d4129308a1b4 (patch) | |
tree | c824d35de2d02c612f61442cec07ebaf0ec181a7 /net-proxy | |
parent | dev-libs/libev: drop old (diff) | |
download | gentoo-a866384246a52e47cd28610f2ca2d4129308a1b4.tar.gz gentoo-a866384246a52e47cd28610f2ca2d4129308a1b4.tar.bz2 gentoo-a866384246a52e47cd28610f2ca2d4129308a1b4.zip |
net-proxy/shadowsocks-libev: drop old
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'net-proxy')
-rw-r--r-- | net-proxy/shadowsocks-libev/Manifest | 1 | ||||
-rw-r--r-- | net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4-r1.ebuild | 87 |
2 files changed, 0 insertions, 88 deletions
diff --git a/net-proxy/shadowsocks-libev/Manifest b/net-proxy/shadowsocks-libev/Manifest index 7d41f1878afa..077899cf5d8d 100644 --- a/net-proxy/shadowsocks-libev/Manifest +++ b/net-proxy/shadowsocks-libev/Manifest @@ -1,2 +1 @@ -DIST shadowsocks-libev-3.3.4.tar.gz 279666 BLAKE2B ea698a3cf29ed0b1268d17e25a492712cb90f515068de2f74d200ab04bb0d5ca859ea1d7f071714cc1c8dced0e566df4bfea0d780e24c9398f93ab1e362ec466 SHA512 4fb9e4a62f86f1504aab71022b5078a1f97b1f14da82c7b456dc9eaed23be990430769f37b7c2855c266be40ec215237bb0a40d254dffac8556ec4719cc9aa6d DIST shadowsocks-libev-3.3.5.tar.gz 303368 BLAKE2B bb7d6e64596710402db94085044c20315028395723828fa82dfba419bc41a0c740ece1f79c6cf05dda395d9442d553429f66d7f7b2de3cdd188d5b6adb0b8edf SHA512 c0cc869b4b7661ebd348bd5559c6a17c44b66a5f42374d97023adcfb525d934da3ed96245ff792ebc74870d30dd8f71fadcd89c79b2cd8a98d551ff7592508d0 diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4-r1.ebuild b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4-r1.ebuild deleted file mode 100644 index e10f0e72b1ac..000000000000 --- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4-r1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PV="v${PV}" -inherit autotools eutils systemd - -DESCRIPTION="A lightweight secured SOCKS5 proxy for embedded devices and low end boxes" -HOMEPAGE="https://github.com/shadowsocks/shadowsocks-libev" - -#repack with git submodule populated: libbloom, libcork, libipset -#SRC_URI="https://dev.gentoo.org/~dlan/distfiles/${P}.tar.xz" - -SRC_URI="https://github.com/shadowsocks/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="debug doc" - -RDEPEND="net-libs/mbedtls:= - net-libs/libbloom - net-libs/libcork - net-libs/libcorkipset - >=dev-libs/libsodium-1.0.8:= - dev-libs/libev - net-dns/c-ares - dev-libs/libpcre - " -DEPEND="${RDEPEND} - sys-kernel/linux-headers - doc? ( - app-text/asciidoc - app-text/xmlto - ) - " - -PATCHES=( - "${FILESDIR}/${P}-gcc10.patch" -) -src_prepare() { - sed -i -e 's|AC_CONFIG_FILES(\[libbloom/Makefile libcork/Makefile libipset/Makefile\])||' \ - configure.ac || die - sed -i -e "/\[Service\]/a\\User=nobody" \ - debian/shadowsocks-libev*.service || die - default - eautoreconf -} - -src_configure() { - local myconf=" - $(use_enable debug assert) - --enable-system-shared-lib - " - use doc || myconf+="--disable-documentation" - econf ${myconf} -} - -src_install() { - default - - find "${D}" -name '*.la' -type f -delete || die - - insinto "/etc/${PN}" - newins "${FILESDIR}/shadowsocks.json" shadowsocks.json - - newinitd "${FILESDIR}/shadowsocks.initd" shadowsocks - dosym shadowsocks /etc/init.d/shadowsocks.server - dosym shadowsocks /etc/init.d/shadowsocks.client - dosym shadowsocks /etc/init.d/shadowsocks.redir - dosym shadowsocks /etc/init.d/shadowsocks.tunnel - - dodoc -r acl - - for i in debian/${PN}*.service; do - systemd_newunit $i $(basename $i) - done -} - -pkg_setup() { - elog "You need to choose the mode" - elog " server: rc-update add shadowsocks.server default" - elog " client: rc-update add shadowsocks.client default" - elog " redir: rc-update add shadowsocks.redir default" - elog " tunnel: rc-update add shadowsocks.tunnel default" -} |