public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/
Date: Thu, 24 Nov 2016 02:40:36 +0000 (UTC)	[thread overview]
Message-ID: <1479955235.932f1b328b17a73c95d1edb1b94f8bfb78ce1489.dlan@gentoo> (raw)

commit:     932f1b328b17a73c95d1edb1b94f8bfb78ce1489
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 24 02:38:47 2016 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Nov 24 02:40:35 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=932f1b32

net-proxy/shadowsocks-libev: version bump

Gentoo-Bug: 600438

Package-Manager: portage-2.3.2

 net-proxy/shadowsocks-libev/Manifest               |  1 +
 .../shadowsocks-libev-2.5.6.ebuild                 | 77 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/net-proxy/shadowsocks-libev/Manifest b/net-proxy/shadowsocks-libev/Manifest
index b4e09b9..ace42ab 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,2 +1,3 @@
 DIST shadowsocks-libev-2.5.4.tar.gz 1538962 SHA256 06cb4e8c42d9f2876def93255753f72757e07118968498057e124937705d46c2 SHA512 126ae569f7a9204ae4f2fb52f2a00f06971eeebf75ee81b8f38dd784ddb79aaa71621c9882e1c6c7ada243bed3535753caa3f5e68365bc1752c657c97cc1e2fb WHIRLPOOL 723154a9fef417281903e1ab3c1a74cb2aa939acd1f286f0cda16c520c5bf2ee7f164701ece4aed803199a62dfad9184ac774e237e05d9e97a19b9d9fc2d8e74
 DIST shadowsocks-libev-2.5.5.tar.gz 1539044 SHA256 46a72367b7301145906185f1e4136e39d6792d27643826e409ab708351b6d0dd SHA512 5ce15288f23bcb566428b6a46fb47375c9c89ace658e32f049208c6dd5ec644d1be6c1d844f5edaf4073be52e846d37b6d78a310f64f50a95811dfbcc0f91188 WHIRLPOOL fde30bc7c3ff0c75dba7bce45370eecb5bac84c13c049eb7a850e34e4cd3dfbb8ea1147301d9fbe19d8373336526e8fa454410e2c9e6429ffd893fb53abe398f
+DIST shadowsocks-libev-2.5.6.tar.gz 1552674 SHA256 fa232047d12d39bf19f3539828ca1662da5e5905bfc03163ba20c37fe8e94d8f SHA512 577d8a6af9eac0aa5fe419cdf7d8be7396d654cec32b274d0db756480c340b3b61500c3b60e48aa82537b57a6a8c13dc00781790691897b139e0e7cc60161fb7 WHIRLPOOL bf33e32335120bdebe0d9a86abed9c8594f6289d709089caa9099cea0502e573979c624fcf741fe39a383a3c68ced41a9b77d494f0ec28e139fb44f4481d04bc

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.6.ebuild b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.6.ebuild
new file mode 100644
index 00000000..dc1a936
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.6.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils systemd
+
+DESCRIPTION="A lightweight secured SOCKS5 proxy for embedded devices and low end boxes"
+HOMEPAGE="https://github.com/shadowsocks/shadowsocks-libev"
+
+MY_PV="v${PV}"
+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 +openssl mbedtls +system-libs"
+
+RDEPEND="openssl? ( dev-libs/openssl:= )
+	mbedtls? ( net-libs/mbedtls )
+	system-libs? (
+		>=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
+	)
+	"
+
+REQUIRED_USE=" ^^ ( openssl mbedtls )"
+
+src_configure() {
+	local myconf=" \
+		$(use_enable debug assert) \
+		$(use_enable system-libs system-shared-lib) \
+		--with-crypto-library=$(usex openssl openssl mbedtls)
+	"
+	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"
+}


             reply	other threads:[~2016-11-24  2:40 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-24  2:40 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-03  1:23 [gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/ Yixun Lan
2021-01-14  8:20 Yixun Lan
2021-01-13 23:09 Yixun Lan
2020-09-27  8:49 Yixun Lan
2020-02-15  7:21 Yixun Lan
2020-02-15  7:21 Yixun Lan
2020-01-22  6:22 Yixun Lan
2019-12-13  9:21 Yixun Lan
2019-11-16 10:29 Yixun Lan
2019-10-16  2:58 Yixun Lan
2019-10-16  2:58 Yixun Lan
2019-08-29  7:52 Yixun Lan
2019-06-24 22:06 Yixun Lan
2019-06-24 22:06 Yixun Lan
2019-03-20  1:44 Yixun Lan
2019-03-12  6:37 Yixun Lan
2019-03-07  3:24 Yixun Lan
2019-03-07  3:22 Yixun Lan
2019-01-24  9:17 Yixun Lan
2018-10-23 12:49 Benda XU
2018-05-31  5:53 Yixun Lan
2018-04-24 14:20 Yixun Lan
2018-03-13 22:04 Yixun Lan
2018-03-01 14:43 Yixun Lan
2018-03-01 10:40 Yixun Lan
2018-03-01 10:40 Yixun Lan
2017-11-26 23:23 David Seifert
2017-10-04  9:15 Michał Górny
2017-06-06 14:53 Yixun Lan
2017-01-19  9:49 Yixun Lan
2017-01-19  9:49 Yixun Lan
2016-10-14 21:31 Yixun Lan
2016-10-14 21:31 Yixun Lan
2016-10-11  6:34 Yixun Lan
2016-09-07  1:48 Yixun Lan
2016-09-05  7:46 Yixun Lan
2016-09-05  7:46 Yixun Lan
2016-09-01 10:23 Jeroen Roovers
2016-07-09 13:01 Patrick Lauer
2016-06-30 22:03 Yixun Lan
2016-06-30 21:41 Yixun Lan
2016-03-27 17:48 Yixun Lan
2016-03-27 17:48 Yixun Lan
2016-03-27 17:48 Yixun Lan
2015-12-21  7:47 Yixun Lan
2015-08-11 15:08 Yixun Lan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1479955235.932f1b328b17a73c95d1edb1b94f8bfb78ce1489.dlan@gentoo \
    --to=dlan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox