From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B1704138334 for ; Tue, 12 Mar 2019 06:37:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F95EE0971; Tue, 12 Mar 2019 06:37:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4A30BE0971 for ; Tue, 12 Mar 2019 06:37:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4D684335C7B for ; Tue, 12 Mar 2019 06:37:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B898B54F for ; Tue, 12 Mar 2019 06:37:37 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1552372654.49535385e6c6b457e5d9f3b0cf329e92f3fe79a3.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/shadowsocks-libev/Manifest net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.5.ebuild X-VCS-Directories: net-proxy/shadowsocks-libev/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 49535385e6c6b457e5d9f3b0cf329e92f3fe79a3 X-VCS-Branch: master Date: Tue, 12 Mar 2019 06:37:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 090b4092-6c23-4ec6-b8b1-aae326ecea7f X-Archives-Hash: 329518505dc49152e2464f3ba7afa39b commit: 49535385e6c6b457e5d9f3b0cf329e92f3fe79a3 Author: Yixun Lan gentoo org> AuthorDate: Tue Mar 12 06:36:05 2019 +0000 Commit: Yixun Lan gentoo org> CommitDate: Tue Mar 12 06:37:34 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49535385 net-proxy/shadowsocks-libev: version bump 3.2.5 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Yixun Lan gentoo.org> net-proxy/shadowsocks-libev/Manifest | 1 + .../shadowsocks-libev-3.2.5.ebuild | 84 ++++++++++++++++++++++ 2 files changed, 85 insertions(+) diff --git a/net-proxy/shadowsocks-libev/Manifest b/net-proxy/shadowsocks-libev/Manifest index ae969abc2eb..7139e473e6e 100644 --- a/net-proxy/shadowsocks-libev/Manifest +++ b/net-proxy/shadowsocks-libev/Manifest @@ -1,2 +1,3 @@ DIST shadowsocks-libev-3.2.3.tar.gz 276992 BLAKE2B 17b26dce7b26d914612b178c635fa23d6847713fdb4793563ad10a90414f62feb71b94830a58596e1e1d019fe1bb93fcd7da745eb4825ca2f97b7919b522ff2c SHA512 41d6c3e103a028ae49b9667f9c21663dc475a9d36f562f97468521b916a1917479d099e6814dcc680a2ee2d526177d6e0ac441bf684a41de891c5a1fc2fbddfe DIST shadowsocks-libev-3.2.4.tar.gz 277679 BLAKE2B 32d4d48c22951894e9aa64cd6d34f7586c61ab5ae994b263b272c07a05a019f9c493909f50f3ec027af29681885a65f51afe97dc959c508f107a5010974c8e11 SHA512 f8bd19d4f3f70cedd0f34a6a16975c3694ef36e85b278d4a7bb10520a43d71c83f81ceebcf20530cdd04b5000a8c742e0789fdbefa70fef6b5d1dc799ce34528 +DIST shadowsocks-libev-3.2.5.tar.gz 278138 BLAKE2B 874471f134371d274ce274c096286dfe8a755e5423624df80df70321f017d9344516fd38f82df43033870588664dc626595157ab6c5022c9953bd9ce59dee2b8 SHA512 b4ca9f7c303c85a5bba9bf5d7a093c6dfde7a147d0335b449d4ee213cd3b9004c5220a099dcc78464a35c55f9cfe280d817daf934e2fda100f5e784f70091c0b diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.5.ebuild b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.5.ebuild new file mode 100644 index 00000000000..65c0bfdfa56 --- /dev/null +++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.5.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2019 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 ~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 + + find "${D}" -name '*.la' -type f -delete || die + + 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" +}