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: Sun, 27 Mar 2016 17:48:06 +0000 (UTC)	[thread overview]
Message-ID: <1459100861.a7a8f2f423e5acd284e75c2c454ec538b2e40b82.dlan@gentoo> (raw)

commit:     a7a8f2f423e5acd284e75c2c454ec538b2e40b82
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 27 17:46:45 2016 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 17:47:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7a8f2f4

net-proxy/shadowsocks-libev: version bump 2.4.5

Package-Manager: portage-2.2.28

 net-proxy/shadowsocks-libev/Manifest               |  1 +
 .../shadowsocks-libev-2.4.5.ebuild                 | 60 ++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/net-proxy/shadowsocks-libev/Manifest b/net-proxy/shadowsocks-libev/Manifest
index 93bb668..64b8f94 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,2 +1,3 @@
 DIST shadowsocks-libev-2.2.3.tar.gz 2493211 SHA256 41a4746190698fc78b8e06c0f0e3638ca0bb1180a8cb77246736d88553b277f7 SHA512 28e20ce069b456cfc3d52437ded739d2995de7883fcb9b4c3cfde5bc78f33419cb75fa67812660d7456084e5a97e6a6531223486259a650988552494f02ebe9f WHIRLPOOL f20090a4366788315e0f442987cb20b79aca61a3424f7570bf5961f29c5634bcbf01df6a8ee012c7b38135f50ae1af940fecec8917bee1056d2c4ce6eca4b6b5
 DIST shadowsocks-libev-2.4.3.tar.gz 1461896 SHA256 5de76361a6b34385bf9ad255a69089a886f657d44c7e338a5dc191273e1cf9f3 SHA512 3dfa528fa01e7e9293a31cb55529cb77fc935e04ad9f2e27b5426eff61df27a8a31d1e98efd0fb07b2a2bcb5da00706d142448adbc51dcc15f2d3c6993736787 WHIRLPOOL 10819f54cc2aad5604e62fd4e4783597ff89b6753056a2961652384f175c65eb667fa0e42d097fbf25b9243714adf0f91d33dc0b5a71957adb82edee72209fc5
+DIST shadowsocks-libev-2.4.5.tar.gz 1476944 SHA256 08bf7f240ee39fa700aac636ca84b65f2f0cfbcfa63a0783afb05872940067e2 SHA512 9405db0850bea43bf734bda599cdbff736ab9b86fd137e447a8191919a2ebbb19a19566a64903c1bad84708ab4e77ff8615c4d10aff30cd1413724ffa55c1cdb WHIRLPOOL eb06ed15e476a1324c20b9b08c20030ceccdd07446e4b83750468d0681920574766462eb7b2c4db4cc38885e034bcc21e8707cb4db2d939574ee227b9cd8a6d2

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.5.ebuild b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.5.ebuild
new file mode 100644
index 0000000..c761cba
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.5.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils systemd
+
+DESCRIPTION="A lightweight secured scoks5 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 +openssl polarssl"
+
+DEPEND="openssl? ( dev-libs/openssl:= )
+	polarssl? ( net-libs/polarssl )
+	<sys-kernel/linux-headers-4.5
+	"
+RDEPEND="${DEPEND}"
+
+REQUIRED_USE=" ^^ ( openssl polarssl )"
+
+src_configure() {
+	econf \
+		$(use_enable debug assert) \
+		--with-crypto-library=$(usex openssl openssl polarssl)
+}
+
+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
+
+	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-03-27 17:48 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-27 17:48 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-06  0:53 [gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/ Sam James
2021-12-03  1:23 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-11-24  2:40 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
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=1459100861.a7a8f2f423e5acd284e75c2c454ec538b2e40b82.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