diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild')
-rw-r--r-- | net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild deleted file mode 100644 index d5a9a4a40427..000000000000 --- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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 ~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 - ) - " - -src_prepare() { - sed -i 's|AC_CONFIG_FILES(\[libbloom/Makefile libcork/Makefile libipset/Makefile\])||' \ - configure.ac || 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 - prune_libtool_files --all - - dodir "/etc/${PN}" - 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 - - systemd_newunit "${FILESDIR}/${PN}-local_at.service" "${PN}-local@.service" - systemd_newunit "${FILESDIR}/${PN}-server_at.service" "${PN}-server@.service" - systemd_newunit "${FILESDIR}/${PN}-redir_at.service" "${PN}-redir@.service" - systemd_newunit "${FILESDIR}/${PN}-tunnel_at.service" "${PN}-tunnel@.service" -} - -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" -} |