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, 1 Mar 2018 10:40:31 +0000 (UTC) [thread overview]
Message-ID: <1519900481.94bb74930c19a774aa2eac2b0131ff3c36b11d20.dlan@gentoo> (raw)
commit: 94bb74930c19a774aa2eac2b0131ff3c36b11d20
Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 1 10:34:41 2018 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Mar 1 10:34:41 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94bb7493
net-proxy/shadowsocks-libev: version bump 3.1.3
Package-Manager: Portage-2.3.19, Repoman-2.3.6
net-proxy/shadowsocks-libev/Manifest | 1 +
.../shadowsocks-libev-3.1.3.ebuild | 80 ++++++++++++++++++++++
2 files changed, 81 insertions(+)
diff --git a/net-proxy/shadowsocks-libev/Manifest b/net-proxy/shadowsocks-libev/Manifest
index 14020f275cd..fa622a116dd 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,3 +1,4 @@
DIST shadowsocks-libev-2.5.6.tar.gz 1552674 BLAKE2B 62505f27ebe94d007fcddd5b97b03483317d942b07ee127f1693d6c8f735a1d89fbe8d19b8ceb39cb6b2bb50bd257c68f2e39f068afed0e1a33056ad6230e1c5 SHA512 577d8a6af9eac0aa5fe419cdf7d8be7396d654cec32b274d0db756480c340b3b61500c3b60e48aa82537b57a6a8c13dc00781790691897b139e0e7cc60161fb7
DIST shadowsocks-libev-2.6.2.tar.gz 1566835 BLAKE2B 85a2e5ca95e1e269055bf46de5691538e061332814ec990c204fc0e86ada51a6dd3914e97a30dcbe3617a48c9e8cc7a98201c6e3e467d001bb2405299d3d6dea SHA512 29093b25a24d64e01877d1d9ac7d4b2966c4f9934b58a8fca45235248c3b1fb625faf083f28089a03122c2f8d1a20a59d7608ff0487c684e36cadf2f736cddfd
DIST shadowsocks-libev-3.0.6.tar.xz 1512740 BLAKE2B 40da0827122da0563c6b3d3b25cf7d384989a0b8fd53743cfcd3d877c89f80da2b994a3395d19148e8f04fd7135d62999236e4c22e1c1f96d297db88f403c29f SHA512 439080b70541e828db8a60092794d8c8cfcc2ed19468f943f3c0ccd63a2ed1581d1278450ca2964f35adad3ed889f466ef55ff293e86b9a17b84fc6551ffaa8c
+DIST shadowsocks-libev-3.1.3.tar.gz 265286 BLAKE2B 4809d2d441b28e70a35940e23d84b2914e9a7c2f24b2f80e4295df7a26bda6e4626657505e97226cc759f71cac54caec7813d9f295e22aa599dbebd704268a7b SHA512 a262315cf04c325b5b659f07fd751f2f7b651feed5e2ac7290c1b3ce91fe5bd7efa7ff834f82f3fb00d5551cba8277f8668cdefbfe35279d7835089cbcced55f
diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3.ebuild b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3.ebuild
new file mode 100644
index 00000000000..6357fbf5c24
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3.ebuild
@@ -0,0 +1,80 @@
+# 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
+ >=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() {
+ 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 /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"
+}
next reply other threads:[~2018-03-01 10:40 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-01 10:40 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
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=1519900481.94bb74930c19a774aa2eac2b0131ff3c36b11d20.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