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, 31 May 2018 05:53:38 +0000 (UTC)	[thread overview]
Message-ID: <1527746015.489c097653e8c0e2793a8013e2e82b43381727c1.dlan@gentoo> (raw)

commit:     489c097653e8c0e2793a8013e2e82b43381727c1
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu May 31 05:51:54 2018 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu May 31 05:53:35 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=489c0976

net-proxy/shadowsocks-libev: version bump 3.2.0

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-proxy/shadowsocks-libev/Manifest               |  1 +
 .../shadowsocks-libev-3.2.0.ebuild                 | 83 ++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/net-proxy/shadowsocks-libev/Manifest b/net-proxy/shadowsocks-libev/Manifest
index bda045a84a1..8c20d8d3614 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1 +1,2 @@
 DIST shadowsocks-libev-3.1.3.tar.gz 265286 BLAKE2B 4809d2d441b28e70a35940e23d84b2914e9a7c2f24b2f80e4295df7a26bda6e4626657505e97226cc759f71cac54caec7813d9f295e22aa599dbebd704268a7b SHA512 a262315cf04c325b5b659f07fd751f2f7b651feed5e2ac7290c1b3ce91fe5bd7efa7ff834f82f3fb00d5551cba8277f8668cdefbfe35279d7835089cbcced55f
+DIST shadowsocks-libev-3.2.0.tar.gz 275512 BLAKE2B 1ffcaea3abb9a8d8c864c78de099ae4d13914765a07855423ca68b6f38b67d79a9e82a89791eb414ecabd3fd5faba05fb31c718becea48ec5c44f59f1f287982 SHA512 a90d161ec89155bb064cb7e9a8320475bdf75c47588000e5baa8275e9c0ce69126c3a75a4d1f40fa799f27cf537856482ed505436255519b58d9b84a4809fd0a

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild
new file mode 100644
index 00000000000..c35487bc242
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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
+	prune_libtool_files --all
+
+	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"
+}


             reply	other threads:[~2018-05-31  5:53 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-31  5:53 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-07 19:05 [gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/ Arthur Zamarin
2025-08-05 20:01 Eli Schwartz
2025-08-05 20:01 Eli Schwartz
2025-01-06  0:53 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-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
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=1527746015.489c097653e8c0e2793a8013e2e82b43381727c1.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