From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1139497-garchives=archives.gentoo.org@lists.gentoo.org> 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 E31B0138350 for <garchives@archives.gentoo.org>; Wed, 22 Jan 2020 06:22:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25C55E08AA; Wed, 22 Jan 2020 06:22:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 9E276E08AA for <gentoo-commits@lists.gentoo.org>; Wed, 22 Jan 2020 06:22:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 DAAD034E3CD for <gentoo-commits@lists.gentoo.org>; Wed, 22 Jan 2020 06:22:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 872C935 for <gentoo-commits@lists.gentoo.org>; Wed, 22 Jan 2020 06:22:17 +0000 (UTC) From: "Yixun Lan" <dlan@gentoo.org> 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" <dlan@gentoo.org> Message-ID: <1579674108.4b17e5412429cb9b664296ea439c5a26cdfa3cd9.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.3.4.ebuild X-VCS-Directories: net-proxy/shadowsocks-libev/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 4b17e5412429cb9b664296ea439c5a26cdfa3cd9 X-VCS-Branch: master Date: Wed, 22 Jan 2020 06:22:17 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 358bdd8d-e80b-4f21-9d45-9a913e4dfbb1 X-Archives-Hash: c2d3e9a542631988af32d511f0813cf2 commit: 4b17e5412429cb9b664296ea439c5a26cdfa3cd9 Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Wed Jan 22 06:19:00 2020 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Wed Jan 22 06:21:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b17e541 net-proxy/shadowsocks-libev: version bump, 3.3.4 Package-Manager: Portage-2.3.83, Repoman-2.3.19 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> net-proxy/shadowsocks-libev/Manifest | 1 + .../shadowsocks-libev-3.3.4.ebuild | 84 ++++++++++++++++++++++ 2 files changed, 85 insertions(+) diff --git a/net-proxy/shadowsocks-libev/Manifest b/net-proxy/shadowsocks-libev/Manifest index 5c5dfa0bd48..28122f1784b 100644 --- a/net-proxy/shadowsocks-libev/Manifest +++ b/net-proxy/shadowsocks-libev/Manifest @@ -1,2 +1,3 @@ DIST shadowsocks-libev-3.3.2.tar.gz 279477 BLAKE2B 4f40bf3b122f3ccc7da040fdf0d643e2138530e1c5fb295e0bb10d027a2ff525d5ee42febb12ad8fc254d1457e399a9b43904d9c2c9079ca0955c49c3bf808d0 SHA512 2b997680ff46a6888326aea59b554acf81f391663129fe05b75e2bd1474c0c1738292bbab0b5dbbfc2a8228b17759101b1cd266d40b2e7bfdb5912bd3408b3e2 DIST shadowsocks-libev-3.3.3.tar.gz 279655 BLAKE2B d2d229ae2b3223c987682b6ed3e87481dc2653cbaae0092a7502b7b740a671f805e241e8912a0dbb46741eae0d118acabfc3e08ecc678948d897ba4179e6359c SHA512 f02b43ee95b18b0a63fae1a1ad56b4d5e41cc79dc38cd9ad71c3830b7bb97a14110299f766b1e2cfbd6ce362f4c76c338693b1d8b558cf18b9c5e53a08fddd38 +DIST shadowsocks-libev-3.3.4.tar.gz 279666 BLAKE2B ea698a3cf29ed0b1268d17e25a492712cb90f515068de2f74d200ab04bb0d5ca859ea1d7f071714cc1c8dced0e566df4bfea0d780e24c9398f93ab1e362ec466 SHA512 4fb9e4a62f86f1504aab71022b5078a1f97b1f14da82c7b456dc9eaed23be990430769f37b7c2855c266be40ec215237bb0a40d254dffac8556ec4719cc9aa6d diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild new file mode 100644 index 00000000000..7972f8f9587 --- /dev/null +++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild @@ -0,0 +1,84 @@ +# 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 + ) + " + +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" +}