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 82385139694 for ; Tue, 6 Jun 2017 14:53:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B702E21C04E; Tue, 6 Jun 2017 14:53:28 +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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 802F721C04E for ; Tue, 6 Jun 2017 14:53:28 +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 22B45341A12 for ; Tue, 6 Jun 2017 14:53:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E7407452 for ; Tue, 6 Jun 2017 14:53:25 +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: <1496760803.03b80f298609e2db3f5a32ef0c391ab4378b4567.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.0.6.ebuild X-VCS-Directories: net-proxy/shadowsocks-libev/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 03b80f298609e2db3f5a32ef0c391ab4378b4567 X-VCS-Branch: master Date: Tue, 6 Jun 2017 14:53:25 +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-Archives-Salt: 1b52c76f-2acf-40a7-89d5-b0fd250e7227 X-Archives-Hash: c97ad6de2d7c7479100f226855e770b8 commit: 03b80f298609e2db3f5a32ef0c391ab4378b4567 Author: Yixun Lan gentoo org> AuthorDate: Tue Jun 6 14:50:42 2017 +0000 Commit: Yixun Lan gentoo org> CommitDate: Tue Jun 6 14:53:23 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b80f29 net-proxy/shadowsocks-libev: version bump, 3.0.6 1) drop USE=system-libs, use bundled libbloom, libcork, libipset 2) drop crypto (openssl, polarssl), fallback mbedtls Package-Manager: Portage-2.3.6, Repoman-2.3.2 net-proxy/shadowsocks-libev/Manifest | 1 + .../shadowsocks-libev-3.0.6.ebuild | 74 ++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/net-proxy/shadowsocks-libev/Manifest b/net-proxy/shadowsocks-libev/Manifest index 52c8c9b317a..84d7b2a1a01 100644 --- a/net-proxy/shadowsocks-libev/Manifest +++ b/net-proxy/shadowsocks-libev/Manifest @@ -1,2 +1,3 @@ DIST shadowsocks-libev-2.5.6.tar.gz 1552674 SHA256 fa232047d12d39bf19f3539828ca1662da5e5905bfc03163ba20c37fe8e94d8f SHA512 577d8a6af9eac0aa5fe419cdf7d8be7396d654cec32b274d0db756480c340b3b61500c3b60e48aa82537b57a6a8c13dc00781790691897b139e0e7cc60161fb7 WHIRLPOOL bf33e32335120bdebe0d9a86abed9c8594f6289d709089caa9099cea0502e573979c624fcf741fe39a383a3c68ced41a9b77d494f0ec28e139fb44f4481d04bc DIST shadowsocks-libev-2.6.2.tar.gz 1566835 SHA256 1fa5b70177f7c125cd10b46d590274c22b4bded26bf3d2372ab73829dc4b7c97 SHA512 29093b25a24d64e01877d1d9ac7d4b2966c4f9934b58a8fca45235248c3b1fb625faf083f28089a03122c2f8d1a20a59d7608ff0487c684e36cadf2f736cddfd WHIRLPOOL d1366d9fa9e24a2b749f74740b120bf5ad6817a5874532180e9c76bf8a10f41248e462e70aeebbc97090af04d412d04a4eda95ed9f7295049c70d9b400b45ba5 +DIST shadowsocks-libev-3.0.6.tar.xz 1512740 SHA256 c890bd96d73b89d9bb28031fa17d6bba3ab2262085394f03d9ea60f7f81d861b SHA512 439080b70541e828db8a60092794d8c8cfcc2ed19468f943f3c0ccd63a2ed1581d1278450ca2964f35adad3ed889f466ef55ff293e86b9a17b84fc6551ffaa8c WHIRLPOOL 559e547e171a40197363b6e7cfe472d472e7544a50c3b06cf6c209e8b04291968ac029492b445a781545dba5f1416b91ebde8d587af460393757a594e4f631da diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.0.6.ebuild b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.0.6.ebuild new file mode 100644 index 00000000000..136bc28dcc3 --- /dev/null +++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.0.6.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc" + +RDEPEND="net-libs/mbedtls + >=dev-libs/libsodium-1.0.8 + dev-libs/libev + net-libs/udns + dev-libs/libpcre + " +DEPEND="${RDEPEND} + sys-kernel/linux-headers + doc? ( + app-text/asciidoc + app-text/xmlto + ) + " + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=" \ + $(use_enable debug assert) \ + " + 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 /etc/init.d/shadowsocks /etc/init.d/shadowsocks.server + dosym /etc/init.d/shadowsocks /etc/init.d/shadowsocks.client + dosym /etc/init.d/shadowsocks /etc/init.d/shadowsocks.redir + dosym /etc/init.d/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" +}