[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2021-12-02 Thread Yixun Lan
commit: b7582851820f37e8a5086a56bfb3ca9d3d8531af
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Dec  2 09:38:30 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Dec  3 01:23:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7582851

net-proxy/shadowsocks-libev: keyword ~riscv

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild
index 09aae5d8e6d1..70be2ec789e8 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/shadowsocks/${PN}/archive/${MY_PV}.tar.gz -> ${P}.ta
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="debug doc"
 
 RDEPEND="net-libs/mbedtls:=



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/files/

2021-02-20 Thread Conrad Kostecki
commit: 273e123b5821bd0c8d92dfd1a2eb4568a7b2b8ab
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Feb 20 08:22:26 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Feb 20 22:43:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=273e123b

net-proxy/shadowsocks-libev: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/19553
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../files/shadowsocks-libev-3.3.4-gcc10.patch  | 24 --
 1 file changed, 24 deletions(-)

diff --git 
a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-3.3.4-gcc10.patch 
b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-3.3.4-gcc10.patch
deleted file mode 100644
index 7a480f12b24..000
--- a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-3.3.4-gcc10.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/src/http.h b/src/http.h
-index 914815a..e312dd3 100644
 a/src/http.h
-+++ b/src/http.h
-@@ -29,6 +29,6 @@
- #include 
- #include "protocol.h"
- 
--const protocol_t *const http_protocol;
-+extern const protocol_t *const http_protocol;
- 
- #endif
-diff --git a/src/tls.h b/src/tls.h
-index 3998913..ddbee11 100644
 a/src/tls.h
-+++ b/src/tls.h
-@@ -28,6 +28,6 @@
- 
- #include "protocol.h"
- 
--const protocol_t *const tls_protocol;
-+extern const protocol_t *const tls_protocol;
- 
- #endif



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2021-01-14 Thread Yixun Lan
commit: f3aeafa1ffe571ea5ef4b0ae80424f01ccb7b058
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Jan 14 08:18:57 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jan 14 08:20:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3aeafa1

net-proxy/shadowsocks-libev: fix -Werror issue

Closes: https://bugs.gentoo.org/765364
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Yixun Lan  gentoo.org>

 net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild
index 5349e2ab840..4829df5517b 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -39,6 +39,9 @@ DEPEND="${RDEPEND}
 src_prepare() {
sed -i -e 's|AC_CONFIG_FILES(\[libbloom/Makefile libcork/Makefile 
libipset/Makefile\])||' \
configure.ac || die
+   sed -i -e 's|-Werror||g' \
+   configure.ac src/Makefile.am || die
+
default
eautoreconf
 }



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2021-01-13 Thread Yixun Lan
commit: a866384246a52e47cd28610f2ca2d4129308a1b4
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Jan 13 23:09:01 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Jan 13 23:09:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8663842

net-proxy/shadowsocks-libev: drop old

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Yixun Lan  gentoo.org>

 net-proxy/shadowsocks-libev/Manifest   |  1 -
 .../shadowsocks-libev-3.3.4-r1.ebuild  | 87 --
 2 files changed, 88 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 7d41f1878af..077899cf5d8 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,2 +1 @@
-DIST shadowsocks-libev-3.3.4.tar.gz 279666 BLAKE2B 
ea698a3cf29ed0b1268d17e25a492712cb90f515068de2f74d200ab04bb0d5ca859ea1d7f071714cc1c8dced0e566df4bfea0d780e24c9398f93ab1e362ec466
 SHA512 
4fb9e4a62f86f1504aab71022b5078a1f97b1f14da82c7b456dc9eaed23be990430769f37b7c2855c266be40ec215237bb0a40d254dffac8556ec4719cc9aa6d
 DIST shadowsocks-libev-3.3.5.tar.gz 303368 BLAKE2B 
bb7d6e64596710402db94085044c20315028395723828fa82dfba419bc41a0c740ece1f79c6cf05dda395d9442d553429f66d7f7b2de3cdd188d5b6adb0b8edf
 SHA512 
c0cc869b4b7661ebd348bd5559c6a17c44b66a5f42374d97023adcfb525d934da3ed96245ff792ebc74870d30dd8f71fadcd89c79b2cd8a98d551ff7592508d0

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4-r1.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4-r1.ebuild
deleted file mode 100644
index e10f0e72b1a..000
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4-r1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 ~arm ~arm64 ~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
-   )
-   "
-
-PATCHES=(
-   "${FILESDIR}/${P}-gcc10.patch"
-)
-src_prepare() {
-   sed -i -e 's|AC_CONFIG_FILES(\[libbloom/Makefile libcork/Makefile 
libipset/Makefile\])||' \
-   configure.ac || die
-   sed -i -e "/\[Service\]/a\\User=nobody" \
-   debian/shadowsocks-libev*.service || 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
-
-   find "${D}" -name '*.la' -type f -delete || die
-
-   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
-
-   for i in debian/${PN}*.service; do
-   systemd_newunit $i $(basename $i)
-   done
-}
-
-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"
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2020-09-27 Thread Yixun Lan
commit: 116fe80ef9a6cd263ce99bc1ee953f9f3e7519cf
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Sep 27 08:44:49 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Sep 27 08:49:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=116fe80e

net-proxy/shadowsocks-libev: version bump, 3.3.5

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index d12e7601a42..7d41f1878af 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1 +1,2 @@
 DIST shadowsocks-libev-3.3.4.tar.gz 279666 BLAKE2B 
ea698a3cf29ed0b1268d17e25a492712cb90f515068de2f74d200ab04bb0d5ca859ea1d7f071714cc1c8dced0e566df4bfea0d780e24c9398f93ab1e362ec466
 SHA512 
4fb9e4a62f86f1504aab71022b5078a1f97b1f14da82c7b456dc9eaed23be990430769f37b7c2855c266be40ec215237bb0a40d254dffac8556ec4719cc9aa6d
+DIST shadowsocks-libev-3.3.5.tar.gz 303368 BLAKE2B 
bb7d6e64596710402db94085044c20315028395723828fa82dfba419bc41a0c740ece1f79c6cf05dda395d9442d553429f66d7f7b2de3cdd188d5b6adb0b8edf
 SHA512 
c0cc869b4b7661ebd348bd5559c6a17c44b66a5f42374d97023adcfb525d934da3ed96245ff792ebc74870d30dd8f71fadcd89c79b2cd8a98d551ff7592508d0

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild
new file mode 100644
index 000..5349e2ab840
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.5.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~arm ~arm64 ~x86"
+IUSE="debug doc"
+
+RDEPEND="net-libs/mbedtls:=
+   >=net-libs/libbloom-1.6
+   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 -e '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
+
+   find "${D}" -name '*.la' -type f -delete || die
+
+   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
+
+   for i in debian/${PN}*.service; do
+   systemd_newunit $i $(basename $i)
+   done
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/, net-proxy/shadowsocks-libev/files/

2020-09-27 Thread Yixun Lan
commit: 34fde22d157226fb9bae167225265d6724588186
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Sep 26 15:05:20 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Sep 27 08:14:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34fde22d

net-proxy/shadowsocks-libev: run as non-privilege user

* fix security issue, run as non-root user
* use systemd unit files from the package source

Bug: https://bugs.gentoo.org/731058
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Yixun Lan  gentoo.org>

 .../files/shadowsocks-libev-local_at.service  | 11 ---
 .../files/shadowsocks-libev-redir_at.service  | 11 ---
 .../files/shadowsocks-libev-server_at.service | 11 ---
 .../files/shadowsocks-libev-tunnel_at.service | 11 ---
 net-proxy/shadowsocks-libev/files/shadowsocks.initd   |  9 ++---
 ...s-libev-3.3.4.ebuild => shadowsocks-libev-3.3.4-r1.ebuild} | 11 ++-
 6 files changed, 12 insertions(+), 52 deletions(-)

diff --git 
a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-local_at.service 
b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-local_at.service
deleted file mode 100644
index af137178380..000
--- a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-local_at.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Shadowsocks-Libev Client Service for %I
-After=network.target
-
-[Service]
-Type=simple
-CapabilityBoundingSet=CAP_NET_BIND_SERVICE
-ExecStart=/usr/bin/ss-local -c /etc/shadowsocks-libev/%i.json
-
-[Install]
-WantedBy=multi-user.target

diff --git 
a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-redir_at.service 
b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-redir_at.service
deleted file mode 100644
index 1ced8f45440..000
--- a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-redir_at.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Shadowsocks-Libev Client Service Redir Mode for %I
-After=network.target
-
-[Service]
-Type=simple
-CapabilityBoundingSet=CAP_NET_BIND_SERVICE
-ExecStart=/usr/bin/ss-redir -c /etc/shadowsocks-libev/%i.json
-
-[Install]
-WantedBy=multi-user.target

diff --git 
a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-server_at.service 
b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-server_at.service
deleted file mode 100644
index 58d934bdb1d..000
--- a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-server_at.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Shadowsocks-Libev Server Service for %I
-After=network.target
-
-[Service]
-Type=simple
-CapabilityBoundingSet=CAP_NET_BIND_SERVICE
-ExecStart=/usr/bin/ss-server -c /etc/shadowsocks-libev/%i.json
-
-[Install]
-WantedBy=multi-user.target

diff --git 
a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-tunnel_at.service 
b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-tunnel_at.service
deleted file mode 100644
index 24b31d5a1cd..000
--- a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-tunnel_at.service
+++ /dev/null
@@ -1,11 +0,0 @@
-[Unit]
-Description=Shadowsocks-Libev Client Service Tunnel Mode for %I
-After=network.target
-
-[Service]
-Type=simple
-CapabilityBoundingSet=CAP_NET_BIND_SERVICE
-ExecStart=/usr/bin/ss-tunnel -c /etc/shadowsocks-libev/%i.json
-
-[Install]
-WantedBy=multi-user.target

diff --git a/net-proxy/shadowsocks-libev/files/shadowsocks.initd 
b/net-proxy/shadowsocks-libev/files/shadowsocks.initd
index 2ccd114485b..994ba23e3b8 100644
--- a/net-proxy/shadowsocks-libev/files/shadowsocks.initd
+++ b/net-proxy/shadowsocks-libev/files/shadowsocks.initd
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 SS_CONFIG="/etc/shadowsocks-libev/shadowsocks.json"
@@ -49,13 +49,16 @@ start() {
 
 ebegin "Starting Shadowsocks: ${SS_SVCNAME} mode"
 start-stop-daemon --start --exec ${SS_COMMAND} \
--- -c ${SS_CONFIG} -f ${SS_PIDFILE} >/dev/null 2>&1 &
+   --user nobody --group nobody \
+   -- -c ${SS_CONFIG} -f ${SS_PIDFILE} >/dev/null 2>&1 &
 eend $?
 }
 
 stop() {
 ebegin "Stopping Shadowsocks"
-start-stop-daemon --stop --pidfile ${SS_PIDFILE}
+start-stop-daemon --stop \
+   --user nobody --group nobody \
+   --pidfile ${SS_PIDFILE}
 eend $?
 }
 

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4-r1.ebuild
similarity index 82%
rename from net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild
rename to net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4-r1.ebuild
index 353791fc263..e10f0e72b1a 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4-r1.ebuild
@@ -40,8 +40,10 @@ PATCHES=(

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/, net-proxy/shadowsocks-libev/files/

2020-05-31 Thread Yixun Lan
commit: 2847306d107bc3dc5df5981de5295a24bd258bc0
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Jun  1 02:36:55 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Jun  1 02:37:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2847306d

net-proxy/shadowsocks-libev: fix gcc10 compiling error

Closes: https://bugs.gentoo.org/708380
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Yixun Lan  gentoo.org>

 .../files/shadowsocks-libev-3.3.4-gcc10.patch  | 24 ++
 .../shadowsocks-libev-3.3.4.ebuild |  3 +++
 2 files changed, 27 insertions(+)

diff --git 
a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-3.3.4-gcc10.patch 
b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-3.3.4-gcc10.patch
new file mode 100644
index 000..7a480f12b24
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-3.3.4-gcc10.patch
@@ -0,0 +1,24 @@
+diff --git a/src/http.h b/src/http.h
+index 914815a..e312dd3 100644
+--- a/src/http.h
 b/src/http.h
+@@ -29,6 +29,6 @@
+ #include 
+ #include "protocol.h"
+ 
+-const protocol_t *const http_protocol;
++extern const protocol_t *const http_protocol;
+ 
+ #endif
+diff --git a/src/tls.h b/src/tls.h
+index 3998913..ddbee11 100644
+--- a/src/tls.h
 b/src/tls.h
+@@ -28,6 +28,6 @@
+ 
+ #include "protocol.h"
+ 
+-const protocol_t *const tls_protocol;
++extern const protocol_t *const tls_protocol;
+ 
+ #endif

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild
index be40495a1c0..353791fc263 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild
@@ -36,6 +36,9 @@ DEPEND="${RDEPEND}
)
"
 
+PATCHES=(
+   "${FILESDIR}/${P}-gcc10.patch"
+)
 src_prepare() {
sed -i 's|AC_CONFIG_FILES(\[libbloom/Makefile libcork/Makefile 
libipset/Makefile\])||' \
configure.ac || die



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2020-02-14 Thread Yixun Lan
commit: 130f848b9ed0d936113d865201f8e0f43f349a24
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Feb 15 07:14:38 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Feb 15 07:19:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=130f848b

net-proxy/shadowsocks-libev: QA: fix redundant dodir

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Yixun Lan  gentoo.org>

 net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild
index 7972f8f9587..be40495a1c0 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild
@@ -57,7 +57,6 @@ src_install() {
 
find "${D}" -name '*.la' -type f -delete || die
 
-   dodir "/etc/${PN}"
insinto "/etc/${PN}"
newins "${FILESDIR}/shadowsocks.json" shadowsocks.json
 



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2020-02-14 Thread Yixun Lan
commit: 87312924e5de1f39eea9d2a5c318f93b5c46214c
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Feb 15 07:11:48 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Feb 15 07:19:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87312924

net-proxy/shadowsocks-libev: drop old

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Yixun Lan  gentoo.org>

 net-proxy/shadowsocks-libev/Manifest   |  2 -
 .../shadowsocks-libev-3.3.2.ebuild | 84 --
 .../shadowsocks-libev-3.3.3.ebuild | 84 --
 3 files changed, 170 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 28122f1784b..d12e7601a42 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,3 +1 @@
-DIST shadowsocks-libev-3.3.2.tar.gz 279477 BLAKE2B 
4f40bf3b122f3ccc7da040fdf0d643e2138530e1c5fb295e0bb10d027a2ff525d5ee42febb12ad8fc254d1457e399a9b43904d9c2c9079ca0955c49c3bf808d0
 SHA512 
2b997680ff46a6888326aea59b554acf81f391663129fe05b75e2bd1474c0c1738292bbab0b5dbbfc2a8228b17759101b1cd266d40b2e7bfdb5912bd3408b3e2
-DIST shadowsocks-libev-3.3.3.tar.gz 279655 BLAKE2B 
d2d229ae2b3223c987682b6ed3e87481dc2653cbaae0092a7502b7b740a671f805e241e8912a0dbb46741eae0d118acabfc3e08ecc678948d897ba4179e6359c
 SHA512 
f02b43ee95b18b0a63fae1a1ad56b4d5e41cc79dc38cd9ad71c3830b7bb97a14110299f766b1e2cfbd6ce362f4c76c338693b1d8b558cf18b9c5e53a08fddd38
 DIST shadowsocks-libev-3.3.4.tar.gz 279666 BLAKE2B 
ea698a3cf29ed0b1268d17e25a492712cb90f515068de2f74d200ab04bb0d5ca859ea1d7f071714cc1c8dced0e566df4bfea0d780e24c9398f93ab1e362ec466
 SHA512 
4fb9e4a62f86f1504aab71022b5078a1f97b1f14da82c7b456dc9eaed23be990430769f37b7c2855c266be40ec215237bb0a40d254dffac8556ec4719cc9aa6d

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.2.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.2.ebuild
deleted file mode 100644
index b6510c91d68..000
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.2.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 ~arm ~arm64 ~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
-
-   find "${D}" -name '*.la' -type f -delete || die
-
-   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"
-}

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.3.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.3.ebuild
deleted file mode 100644
index b6510c91d68..000
--- 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2020-01-21 Thread Yixun Lan
commit: 4b17e5412429cb9b664296ea439c5a26cdfa3cd9
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Jan 22 06:19:00 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Jan 22 06:21:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b17e541

net-proxy/shadowsocks-libev: version bump, 3.3.4

Package-Manager: Portage-2.3.83, Repoman-2.3.19
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 5c5dfa0bd48..28122f1784b 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,2 +1,3 @@
 DIST shadowsocks-libev-3.3.2.tar.gz 279477 BLAKE2B 
4f40bf3b122f3ccc7da040fdf0d643e2138530e1c5fb295e0bb10d027a2ff525d5ee42febb12ad8fc254d1457e399a9b43904d9c2c9079ca0955c49c3bf808d0
 SHA512 
2b997680ff46a6888326aea59b554acf81f391663129fe05b75e2bd1474c0c1738292bbab0b5dbbfc2a8228b17759101b1cd266d40b2e7bfdb5912bd3408b3e2
 DIST shadowsocks-libev-3.3.3.tar.gz 279655 BLAKE2B 
d2d229ae2b3223c987682b6ed3e87481dc2653cbaae0092a7502b7b740a671f805e241e8912a0dbb46741eae0d118acabfc3e08ecc678948d897ba4179e6359c
 SHA512 
f02b43ee95b18b0a63fae1a1ad56b4d5e41cc79dc38cd9ad71c3830b7bb97a14110299f766b1e2cfbd6ce362f4c76c338693b1d8b558cf18b9c5e53a08fddd38
+DIST shadowsocks-libev-3.3.4.tar.gz 279666 BLAKE2B 
ea698a3cf29ed0b1268d17e25a492712cb90f515068de2f74d200ab04bb0d5ca859ea1d7f071714cc1c8dced0e566df4bfea0d780e24c9398f93ab1e362ec466
 SHA512 
4fb9e4a62f86f1504aab71022b5078a1f97b1f14da82c7b456dc9eaed23be990430769f37b7c2855c266be40ec215237bb0a40d254dffac8556ec4719cc9aa6d

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild
new file mode 100644
index 000..7972f8f9587
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.4.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~arm ~arm64 ~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
+
+   find "${D}" -name '*.la' -type f -delete || die
+
+   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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2019-12-13 Thread Yixun Lan
commit: 59ffd26cf55e23e0787fcc552f48a59f1f7c8bb3
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Dec 12 05:58:54 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Dec 13 09:21:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ffd26c

net-proxy/shadowsocks-libev: drop old

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Yixun Lan  gentoo.org>

 net-proxy/shadowsocks-libev/Manifest   |  1 -
 .../shadowsocks-libev-3.3.1.ebuild | 84 --
 2 files changed, 85 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index cdc8a5b65c3..5c5dfa0bd48 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,3 +1,2 @@
-DIST shadowsocks-libev-3.3.1.tar.gz 281804 BLAKE2B 
b0091f0c0eba285d75d340e2449684e42689a44c4c93d71b32466a9f6f85130f0ecaaa1b880717e50d5b9d452d10f3fe0b87705b704be2896f450588d6cac48d
 SHA512 
a2f5f257fb701f03cc24d1d86df0e41aa2589c95a0e694c3b7fe19af68fa9ad8c61de631320525338d5579a60c978bb0fb741a85a9606110ff1077cb9c655eba
 DIST shadowsocks-libev-3.3.2.tar.gz 279477 BLAKE2B 
4f40bf3b122f3ccc7da040fdf0d643e2138530e1c5fb295e0bb10d027a2ff525d5ee42febb12ad8fc254d1457e399a9b43904d9c2c9079ca0955c49c3bf808d0
 SHA512 
2b997680ff46a6888326aea59b554acf81f391663129fe05b75e2bd1474c0c1738292bbab0b5dbbfc2a8228b17759101b1cd266d40b2e7bfdb5912bd3408b3e2
 DIST shadowsocks-libev-3.3.3.tar.gz 279655 BLAKE2B 
d2d229ae2b3223c987682b6ed3e87481dc2653cbaae0092a7502b7b740a671f805e241e8912a0dbb46741eae0d118acabfc3e08ecc678948d897ba4179e6359c
 SHA512 
f02b43ee95b18b0a63fae1a1ad56b4d5e41cc79dc38cd9ad71c3830b7bb97a14110299f766b1e2cfbd6ce362f4c76c338693b1d8b558cf18b9c5e53a08fddd38

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.1.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.1.ebuild
deleted file mode 100644
index b6510c91d68..000
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 ~arm ~arm64 ~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
-
-   find "${D}" -name '*.la' -type f -delete || die
-
-   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"
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2019-11-16 Thread Yixun Lan
commit: d21ba7a8e544d4fc3b8b65f86d9a79f771211dc4
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Nov 16 10:28:58 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Nov 16 10:28:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d21ba7a8

net-proxy/shadowsocks-libev: version bump, 3.3.3

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index e34c2eed637..cdc8a5b65c3 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,2 +1,3 @@
 DIST shadowsocks-libev-3.3.1.tar.gz 281804 BLAKE2B 
b0091f0c0eba285d75d340e2449684e42689a44c4c93d71b32466a9f6f85130f0ecaaa1b880717e50d5b9d452d10f3fe0b87705b704be2896f450588d6cac48d
 SHA512 
a2f5f257fb701f03cc24d1d86df0e41aa2589c95a0e694c3b7fe19af68fa9ad8c61de631320525338d5579a60c978bb0fb741a85a9606110ff1077cb9c655eba
 DIST shadowsocks-libev-3.3.2.tar.gz 279477 BLAKE2B 
4f40bf3b122f3ccc7da040fdf0d643e2138530e1c5fb295e0bb10d027a2ff525d5ee42febb12ad8fc254d1457e399a9b43904d9c2c9079ca0955c49c3bf808d0
 SHA512 
2b997680ff46a6888326aea59b554acf81f391663129fe05b75e2bd1474c0c1738292bbab0b5dbbfc2a8228b17759101b1cd266d40b2e7bfdb5912bd3408b3e2
+DIST shadowsocks-libev-3.3.3.tar.gz 279655 BLAKE2B 
d2d229ae2b3223c987682b6ed3e87481dc2653cbaae0092a7502b7b740a671f805e241e8912a0dbb46741eae0d118acabfc3e08ecc678948d897ba4179e6359c
 SHA512 
f02b43ee95b18b0a63fae1a1ad56b4d5e41cc79dc38cd9ad71c3830b7bb97a14110299f766b1e2cfbd6ce362f4c76c338693b1d8b558cf18b9c5e53a08fddd38

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.3.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.3.ebuild
new file mode 100644
index 000..b6510c91d68
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.3.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~arm ~arm64 ~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
+
+   find "${D}" -name '*.la' -type f -delete || die
+
+   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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2019-10-15 Thread Yixun Lan
commit: 02eae19861419271acd2d2beb011aa56db4aee4b
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Oct 16 02:57:27 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Oct 16 02:57:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02eae198

net-proxy/shadowsocks-libev: drop old version

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Yixun Lan  gentoo.org>

 net-proxy/shadowsocks-libev/Manifest   |  2 -
 .../shadowsocks-libev-3.2.5.ebuild | 84 --
 .../shadowsocks-libev-3.3.0.ebuild | 84 --
 3 files changed, 170 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 98406ee800f..e34c2eed637 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,4 +1,2 @@
-DIST shadowsocks-libev-3.2.5.tar.gz 278138 BLAKE2B 
874471f134371d274ce274c096286dfe8a755e5423624df80df70321f017d9344516fd38f82df43033870588664dc626595157ab6c5022c9953bd9ce59dee2b8
 SHA512 
b4ca9f7c303c85a5bba9bf5d7a093c6dfde7a147d0335b449d4ee213cd3b9004c5220a099dcc78464a35c55f9cfe280d817daf934e2fda100f5e784f70091c0b
-DIST shadowsocks-libev-3.3.0.tar.gz 278818 BLAKE2B 
e2f00082d6fe697560dc282f31ed98368390e750a7be33fd3230f4d4635b4aa8a8ace3bd82da8000defee468ae167c2b4fa1e836e79580deeeff3a53dc7b793c
 SHA512 
7c93bddef07af9e79a7c6757a89f301000a6137e0951ee622c66c2e8d3aa70e157cfdf7798a718074f956f7c22dde0af1073781cf0b36d7e185dfd45a87f354b
 DIST shadowsocks-libev-3.3.1.tar.gz 281804 BLAKE2B 
b0091f0c0eba285d75d340e2449684e42689a44c4c93d71b32466a9f6f85130f0ecaaa1b880717e50d5b9d452d10f3fe0b87705b704be2896f450588d6cac48d
 SHA512 
a2f5f257fb701f03cc24d1d86df0e41aa2589c95a0e694c3b7fe19af68fa9ad8c61de631320525338d5579a60c978bb0fb741a85a9606110ff1077cb9c655eba
 DIST shadowsocks-libev-3.3.2.tar.gz 279477 BLAKE2B 
4f40bf3b122f3ccc7da040fdf0d643e2138530e1c5fb295e0bb10d027a2ff525d5ee42febb12ad8fc254d1457e399a9b43904d9c2c9079ca0955c49c3bf808d0
 SHA512 
2b997680ff46a6888326aea59b554acf81f391663129fe05b75e2bd1474c0c1738292bbab0b5dbbfc2a8228b17759101b1cd266d40b2e7bfdb5912bd3408b3e2

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.5.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.5.ebuild
deleted file mode 100644
index 65c0bfdfa56..000
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.5.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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
-
-   find "${D}" -name '*.la' -type f -delete || die
-
-   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 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2019-10-15 Thread Yixun Lan
commit: 91d9102f0b2e89cc1a53e90d5200b5b4a32cadef
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Oct 16 02:56:13 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Oct 16 02:56:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d9102f

net-proxy/shadowsocks-libev: version bump, 3.3.2

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 1d1011d08af..98406ee800f 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,3 +1,4 @@
 DIST shadowsocks-libev-3.2.5.tar.gz 278138 BLAKE2B 
874471f134371d274ce274c096286dfe8a755e5423624df80df70321f017d9344516fd38f82df43033870588664dc626595157ab6c5022c9953bd9ce59dee2b8
 SHA512 
b4ca9f7c303c85a5bba9bf5d7a093c6dfde7a147d0335b449d4ee213cd3b9004c5220a099dcc78464a35c55f9cfe280d817daf934e2fda100f5e784f70091c0b
 DIST shadowsocks-libev-3.3.0.tar.gz 278818 BLAKE2B 
e2f00082d6fe697560dc282f31ed98368390e750a7be33fd3230f4d4635b4aa8a8ace3bd82da8000defee468ae167c2b4fa1e836e79580deeeff3a53dc7b793c
 SHA512 
7c93bddef07af9e79a7c6757a89f301000a6137e0951ee622c66c2e8d3aa70e157cfdf7798a718074f956f7c22dde0af1073781cf0b36d7e185dfd45a87f354b
 DIST shadowsocks-libev-3.3.1.tar.gz 281804 BLAKE2B 
b0091f0c0eba285d75d340e2449684e42689a44c4c93d71b32466a9f6f85130f0ecaaa1b880717e50d5b9d452d10f3fe0b87705b704be2896f450588d6cac48d
 SHA512 
a2f5f257fb701f03cc24d1d86df0e41aa2589c95a0e694c3b7fe19af68fa9ad8c61de631320525338d5579a60c978bb0fb741a85a9606110ff1077cb9c655eba
+DIST shadowsocks-libev-3.3.2.tar.gz 279477 BLAKE2B 
4f40bf3b122f3ccc7da040fdf0d643e2138530e1c5fb295e0bb10d027a2ff525d5ee42febb12ad8fc254d1457e399a9b43904d9c2c9079ca0955c49c3bf808d0
 SHA512 
2b997680ff46a6888326aea59b554acf81f391663129fe05b75e2bd1474c0c1738292bbab0b5dbbfc2a8228b17759101b1cd266d40b2e7bfdb5912bd3408b3e2

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.2.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.2.ebuild
new file mode 100644
index 000..b6510c91d68
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~arm ~arm64 ~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
+
+   find "${D}" -name '*.la' -type f -delete || die
+
+   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 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2019-08-29 Thread Yixun Lan
commit: 0cb5824bb03d23d0126032f4ad09ca8a2bc5d68d
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Aug 29 07:49:14 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Aug 29 07:51:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb5824b

net-proxy/shadowsocks-libev: version bump, 3.3.1

Package-Manager: Portage-2.3.71, Repoman-2.3.16
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 1ac63c33701..1d1011d08af 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,2 +1,3 @@
 DIST shadowsocks-libev-3.2.5.tar.gz 278138 BLAKE2B 
874471f134371d274ce274c096286dfe8a755e5423624df80df70321f017d9344516fd38f82df43033870588664dc626595157ab6c5022c9953bd9ce59dee2b8
 SHA512 
b4ca9f7c303c85a5bba9bf5d7a093c6dfde7a147d0335b449d4ee213cd3b9004c5220a099dcc78464a35c55f9cfe280d817daf934e2fda100f5e784f70091c0b
 DIST shadowsocks-libev-3.3.0.tar.gz 278818 BLAKE2B 
e2f00082d6fe697560dc282f31ed98368390e750a7be33fd3230f4d4635b4aa8a8ace3bd82da8000defee468ae167c2b4fa1e836e79580deeeff3a53dc7b793c
 SHA512 
7c93bddef07af9e79a7c6757a89f301000a6137e0951ee622c66c2e8d3aa70e157cfdf7798a718074f956f7c22dde0af1073781cf0b36d7e185dfd45a87f354b
+DIST shadowsocks-libev-3.3.1.tar.gz 281804 BLAKE2B 
b0091f0c0eba285d75d340e2449684e42689a44c4c93d71b32466a9f6f85130f0ecaaa1b880717e50d5b9d452d10f3fe0b87705b704be2896f450588d6cac48d
 SHA512 
a2f5f257fb701f03cc24d1d86df0e41aa2589c95a0e694c3b7fe19af68fa9ad8c61de631320525338d5579a60c978bb0fb741a85a9606110ff1077cb9c655eba

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.1.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.1.ebuild
new file mode 100644
index 000..b6510c91d68
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~arm ~arm64 ~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
+
+   find "${D}" -name '*.la' -type f -delete || die
+
+   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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2019-06-24 Thread Yixun Lan
commit: 7099d83cf175d1dfa1a20e23ec3d6d84e1b40928
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Jun 24 09:34:21 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Jun 24 22:06:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7099d83c

net-proxy/shadowsocks-libev: add arm/arm64 keyword

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Yixun Lan  gentoo.org>

 net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.0.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.0.ebuild
index 65c0bfdfa56..b6510c91d68 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.0.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/shadowsocks/${PN}/archive/${MY_PV}.tar.gz -> ${P}.ta
 
 LICENSE="GPL-3+"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 IUSE="debug doc"
 
 RDEPEND="net-libs/mbedtls:=



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2019-06-24 Thread Yixun Lan
commit: 322dd2d825e1213db62cd5583a6aad0199a1f846
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Jun 24 09:28:40 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Jun 24 22:06:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=322dd2d8

net-proxy/shadowsocks-libev: drop old 3.2.4

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Yixun Lan  gentoo.org>

 net-proxy/shadowsocks-libev/Manifest   |  1 -
 .../shadowsocks-libev-3.2.4.ebuild | 83 --
 2 files changed, 84 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 560e73e6326..1ac63c33701 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,3 +1,2 @@
-DIST shadowsocks-libev-3.2.4.tar.gz 277679 BLAKE2B 
32d4d48c22951894e9aa64cd6d34f7586c61ab5ae994b263b272c07a05a019f9c493909f50f3ec027af29681885a65f51afe97dc959c508f107a5010974c8e11
 SHA512 
f8bd19d4f3f70cedd0f34a6a16975c3694ef36e85b278d4a7bb10520a43d71c83f81ceebcf20530cdd04b5000a8c742e0789fdbefa70fef6b5d1dc799ce34528
 DIST shadowsocks-libev-3.2.5.tar.gz 278138 BLAKE2B 
874471f134371d274ce274c096286dfe8a755e5423624df80df70321f017d9344516fd38f82df43033870588664dc626595157ab6c5022c9953bd9ce59dee2b8
 SHA512 
b4ca9f7c303c85a5bba9bf5d7a093c6dfde7a147d0335b449d4ee213cd3b9004c5220a099dcc78464a35c55f9cfe280d817daf934e2fda100f5e784f70091c0b
 DIST shadowsocks-libev-3.3.0.tar.gz 278818 BLAKE2B 
e2f00082d6fe697560dc282f31ed98368390e750a7be33fd3230f4d4635b4aa8a8ace3bd82da8000defee468ae167c2b4fa1e836e79580deeeff3a53dc7b793c
 SHA512 
7c93bddef07af9e79a7c6757a89f301000a6137e0951ee622c66c2e8d3aa70e157cfdf7798a718074f956f7c22dde0af1073781cf0b36d7e185dfd45a87f354b

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.4.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.4.ebuild
deleted file mode 100644
index 03fc22b936a..000
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.4.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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"
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/, net-proxy/shadowsocks-libev/files/

2019-06-24 Thread Yixun Lan
commit: 7a4f60ea4e7e36a8ad3513e514223317c2bf030a
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Jun 24 09:25:47 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Jun 24 09:27:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a4f60ea

net-proxy/shadowsocks-libev: version bump 3.3.0

Closes: https://bugs.gentoo.org/688180
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Yixun Lan  gentoo.org>

 net-proxy/shadowsocks-libev/Manifest   |  1 +
 .../shadowsocks-libev/files/shadowsocks.initd  |  2 +-
 .../shadowsocks-libev-3.3.0.ebuild | 84 ++
 3 files changed, 86 insertions(+), 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index e6839557c35..560e73e6326 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,2 +1,3 @@
 DIST shadowsocks-libev-3.2.4.tar.gz 277679 BLAKE2B 
32d4d48c22951894e9aa64cd6d34f7586c61ab5ae994b263b272c07a05a019f9c493909f50f3ec027af29681885a65f51afe97dc959c508f107a5010974c8e11
 SHA512 
f8bd19d4f3f70cedd0f34a6a16975c3694ef36e85b278d4a7bb10520a43d71c83f81ceebcf20530cdd04b5000a8c742e0789fdbefa70fef6b5d1dc799ce34528
 DIST shadowsocks-libev-3.2.5.tar.gz 278138 BLAKE2B 
874471f134371d274ce274c096286dfe8a755e5423624df80df70321f017d9344516fd38f82df43033870588664dc626595157ab6c5022c9953bd9ce59dee2b8
 SHA512 
b4ca9f7c303c85a5bba9bf5d7a093c6dfde7a147d0335b449d4ee213cd3b9004c5220a099dcc78464a35c55f9cfe280d817daf934e2fda100f5e784f70091c0b
+DIST shadowsocks-libev-3.3.0.tar.gz 278818 BLAKE2B 
e2f00082d6fe697560dc282f31ed98368390e750a7be33fd3230f4d4635b4aa8a8ace3bd82da8000defee468ae167c2b4fa1e836e79580deeeff3a53dc7b793c
 SHA512 
7c93bddef07af9e79a7c6757a89f301000a6137e0951ee622c66c2e8d3aa70e157cfdf7798a718074f956f7c22dde0af1073781cf0b36d7e185dfd45a87f354b

diff --git a/net-proxy/shadowsocks-libev/files/shadowsocks.initd 
b/net-proxy/shadowsocks-libev/files/shadowsocks.initd
index e980bb2636e..2ccd114485b 100644
--- a/net-proxy/shadowsocks-libev/files/shadowsocks.initd
+++ b/net-proxy/shadowsocks-libev/files/shadowsocks.initd
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 SS_CONFIG="/etc/shadowsocks-libev/shadowsocks.json"

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.0.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.0.ebuild
new file mode 100644
index 000..65c0bfdfa56
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.3.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+
+   find "${D}" -name '*.la' -type f -delete || die
+
+   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() 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2019-03-19 Thread Yixun Lan
commit: ae4a867aa458f8de7890d0664d6c85d8524ee5a7
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Mar 20 01:43:14 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Mar 20 01:43:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae4a867a

net-proxy/shadowsocks-libev: drop old

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

 net-proxy/shadowsocks-libev/Manifest   |  1 -
 .../shadowsocks-libev-3.2.3.ebuild | 83 --
 2 files changed, 84 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 7139e473e6e..e6839557c35 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,3 +1,2 @@
-DIST shadowsocks-libev-3.2.3.tar.gz 276992 BLAKE2B 
17b26dce7b26d914612b178c635fa23d6847713fdb4793563ad10a90414f62feb71b94830a58596e1e1d019fe1bb93fcd7da745eb4825ca2f97b7919b522ff2c
 SHA512 
41d6c3e103a028ae49b9667f9c21663dc475a9d36f562f97468521b916a1917479d099e6814dcc680a2ee2d526177d6e0ac441bf684a41de891c5a1fc2fbddfe
 DIST shadowsocks-libev-3.2.4.tar.gz 277679 BLAKE2B 
32d4d48c22951894e9aa64cd6d34f7586c61ab5ae994b263b272c07a05a019f9c493909f50f3ec027af29681885a65f51afe97dc959c508f107a5010974c8e11
 SHA512 
f8bd19d4f3f70cedd0f34a6a16975c3694ef36e85b278d4a7bb10520a43d71c83f81ceebcf20530cdd04b5000a8c742e0789fdbefa70fef6b5d1dc799ce34528
 DIST shadowsocks-libev-3.2.5.tar.gz 278138 BLAKE2B 
874471f134371d274ce274c096286dfe8a755e5423624df80df70321f017d9344516fd38f82df43033870588664dc626595157ab6c5022c9953bd9ce59dee2b8
 SHA512 
b4ca9f7c303c85a5bba9bf5d7a093c6dfde7a147d0335b449d4ee213cd3b9004c5220a099dcc78464a35c55f9cfe280d817daf934e2fda100f5e784f70091c0b

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.3.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.3.ebuild
deleted file mode 100644
index 03fc22b936a..000
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.3.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# 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"
-}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2019-03-12 Thread Yixun Lan
commit: 49535385e6c6b457e5d9f3b0cf329e92f3fe79a3
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Mar 12 06:36:05 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Mar 12 06:37:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49535385

net-proxy/shadowsocks-libev: version bump 3.2.5

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index ae969abc2eb..7139e473e6e 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,2 +1,3 @@
 DIST shadowsocks-libev-3.2.3.tar.gz 276992 BLAKE2B 
17b26dce7b26d914612b178c635fa23d6847713fdb4793563ad10a90414f62feb71b94830a58596e1e1d019fe1bb93fcd7da745eb4825ca2f97b7919b522ff2c
 SHA512 
41d6c3e103a028ae49b9667f9c21663dc475a9d36f562f97468521b916a1917479d099e6814dcc680a2ee2d526177d6e0ac441bf684a41de891c5a1fc2fbddfe
 DIST shadowsocks-libev-3.2.4.tar.gz 277679 BLAKE2B 
32d4d48c22951894e9aa64cd6d34f7586c61ab5ae994b263b272c07a05a019f9c493909f50f3ec027af29681885a65f51afe97dc959c508f107a5010974c8e11
 SHA512 
f8bd19d4f3f70cedd0f34a6a16975c3694ef36e85b278d4a7bb10520a43d71c83f81ceebcf20530cdd04b5000a8c742e0789fdbefa70fef6b5d1dc799ce34528
+DIST shadowsocks-libev-3.2.5.tar.gz 278138 BLAKE2B 
874471f134371d274ce274c096286dfe8a755e5423624df80df70321f017d9344516fd38f82df43033870588664dc626595157ab6c5022c9953bd9ce59dee2b8
 SHA512 
b4ca9f7c303c85a5bba9bf5d7a093c6dfde7a147d0335b449d4ee213cd3b9004c5220a099dcc78464a35c55f9cfe280d817daf934e2fda100f5e784f70091c0b

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.5.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.5.ebuild
new file mode 100644
index 000..65c0bfdfa56
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.5.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+
+   find "${D}" -name '*.la' -type f -delete || die
+
+   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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2019-03-06 Thread Yixun Lan
commit: b832f30ec074bb5548e21270fe77e2954ef37e5d
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Mar  7 03:24:11 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Mar  7 03:24:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b832f30e

net-proxy/shadowsocks-libev: drop old

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

 net-proxy/shadowsocks-libev/Manifest   |  2 -
 .../shadowsocks-libev-3.1.3-r1.ebuild  | 83 --
 .../shadowsocks-libev-3.2.0.ebuild | 83 --
 3 files changed, 168 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 6049e5e0aed..ae969abc2eb 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,4 +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
 DIST shadowsocks-libev-3.2.3.tar.gz 276992 BLAKE2B 
17b26dce7b26d914612b178c635fa23d6847713fdb4793563ad10a90414f62feb71b94830a58596e1e1d019fe1bb93fcd7da745eb4825ca2f97b7919b522ff2c
 SHA512 
41d6c3e103a028ae49b9667f9c21663dc475a9d36f562f97468521b916a1917479d099e6814dcc680a2ee2d526177d6e0ac441bf684a41de891c5a1fc2fbddfe
 DIST shadowsocks-libev-3.2.4.tar.gz 277679 BLAKE2B 
32d4d48c22951894e9aa64cd6d34f7586c61ab5ae994b263b272c07a05a019f9c493909f50f3ec027af29681885a65f51afe97dc959c508f107a5010974c8e11
 SHA512 
f8bd19d4f3f70cedd0f34a6a16975c3694ef36e85b278d4a7bb10520a43d71c83f81ceebcf20530cdd04b5000a8c742e0789fdbefa70fef6b5d1dc799ce34528

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3-r1.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3-r1.ebuild
deleted file mode 100644
index c35487bc242..000
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3-r1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# 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"
-   

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2019-03-06 Thread Yixun Lan
commit: cd820f8565d341f6e681fd4215ccb04472c10e63
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Mar  7 03:21:53 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Mar  7 03:22:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd820f85

net-proxy/shadowsocks-libev: version bump 3.2.4

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 866b63901ee..6049e5e0aed 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,3 +1,4 @@
 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
 DIST shadowsocks-libev-3.2.3.tar.gz 276992 BLAKE2B 
17b26dce7b26d914612b178c635fa23d6847713fdb4793563ad10a90414f62feb71b94830a58596e1e1d019fe1bb93fcd7da745eb4825ca2f97b7919b522ff2c
 SHA512 
41d6c3e103a028ae49b9667f9c21663dc475a9d36f562f97468521b916a1917479d099e6814dcc680a2ee2d526177d6e0ac441bf684a41de891c5a1fc2fbddfe
+DIST shadowsocks-libev-3.2.4.tar.gz 277679 BLAKE2B 
32d4d48c22951894e9aa64cd6d34f7586c61ab5ae994b263b272c07a05a019f9c493909f50f3ec027af29681885a65f51afe97dc959c508f107a5010974c8e11
 SHA512 
f8bd19d4f3f70cedd0f34a6a16975c3694ef36e85b278d4a7bb10520a43d71c83f81ceebcf20530cdd04b5000a8c742e0789fdbefa70fef6b5d1dc799ce34528

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.4.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.4.ebuild
new file mode 100644
index 000..03fc22b936a
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.4.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2019-01-24 Thread Yixun Lan
commit: 372606ce2d4204cd61cac54413b5e4c39e7e3410
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Jan 24 09:13:37 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jan 24 09:16:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=372606ce

net-proxy/shadowsocks-libev: version bump 3.2.3

Package-Manager: Portage-2.3.57, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

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

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 8c20d8d3614..866b63901ee 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,2 +1,3 @@
 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
+DIST shadowsocks-libev-3.2.3.tar.gz 276992 BLAKE2B 
17b26dce7b26d914612b178c635fa23d6847713fdb4793563ad10a90414f62feb71b94830a58596e1e1d019fe1bb93fcd7da745eb4825ca2f97b7919b522ff2c
 SHA512 
41d6c3e103a028ae49b9667f9c21663dc475a9d36f562f97468521b916a1917479d099e6814dcc680a2ee2d526177d6e0ac441bf684a41de891c5a1fc2fbddfe

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.3.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.3.ebuild
new file mode 100644
index 000..03fc22b936a
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.3.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2018-10-23 Thread Benda XU
commit: 9a205f3c21cee3557fd2020dc1272d214c6af2e5
Author: Benda Xu  gentoo  org>
AuthorDate: Tue Oct 23 12:46:54 2018 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Oct 23 12:47:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a205f3c

net-proxy/shadowsocks-libev: add sub-SLOT dependence.

  version bumps of net-libs/mbedtls and dev-libs/libsodium involve
  SONAME updates.

Signed-off-by: Benda Xu  gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild
index c35487bc242..d5a9a4a4042 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,11 +19,11 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="debug doc"
 
-RDEPEND="net-libs/mbedtls
+RDEPEND="net-libs/mbedtls:=
net-libs/libbloom
net-libs/libcork
net-libs/libcorkipset
-   >=dev-libs/libsodium-1.0.8
+   >=dev-libs/libsodium-1.0.8:=
dev-libs/libev
net-dns/c-ares
dev-libs/libpcre



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2018-05-30 Thread Yixun Lan
commit: 489c097653e8c0e2793a8013e2e82b43381727c1
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu May 31 05:51:54 2018 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu May 31 05:53:35 2018 +
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 000..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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2018-04-24 Thread Yixun Lan
commit: 07e88ab5b5c76b15eb6438d2fa5ebff4cd1e0fc4
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Apr 24 14:17:55 2018 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Apr 24 14:18:15 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07e88ab5

net-proxy/shadowsocks-libev: drop dep net-libs/udns

Gentoo-Bug: 650004

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3-r1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3-r1.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3-r1.ebuild
index dfd349e6583..c35487bc242 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3-r1.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3-r1.ebuild
@@ -25,7 +25,6 @@ RDEPEND="net-libs/mbedtls
net-libs/libcorkipset
>=dev-libs/libsodium-1.0.8
dev-libs/libev
-   net-libs/udns
net-dns/c-ares
dev-libs/libpcre
"



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2018-03-13 Thread Yixun Lan
commit: 3f923ae8e40a95c604621adb4a25d5f23ceb5f93
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Mar 13 22:02:54 2018 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Mar 13 22:04:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f923ae8

net-proxy/shadowsocks-libev: fix dep

add net-dns/c-ares as dependency

Gentoo-Bug: 650004

Package-Manager: Portage-2.3.19, Repoman-2.3.6
Signed-off-by: Yixun Lan  gentoo.org>

 ...{shadowsocks-libev-3.1.3.ebuild => shadowsocks-libev-3.1.3-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3-r1.ebuild
similarity index 99%
rename from net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3.ebuild
rename to net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3-r1.ebuild
index c0840b78632..dfd349e6583 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3-r1.ebuild
@@ -26,6 +26,7 @@ RDEPEND="net-libs/mbedtls
>=dev-libs/libsodium-1.0.8
dev-libs/libev
net-libs/udns
+   net-dns/c-ares
dev-libs/libpcre
"
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2018-03-01 Thread Yixun Lan
commit: cb4e6d962cc0a56baa63717345810a36b7761972
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Mar  1 14:41:36 2018 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Mar  1 14:43:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb4e6d96

net-proxy/shadowsocks-libev: fix missing dep

also drop absolute path for dosym

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3.ebuild | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3.ebuild
index 6357fbf5c24..c0840b78632 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-3.1.3.ebuild
@@ -20,6 +20,9 @@ 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-libs/udns
@@ -58,10 +61,10 @@ src_install() {
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
+   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
 



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2018-03-01 Thread Yixun Lan
commit: 24f4c35765fec042b3cd03b12376d2e1716f081d
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Mar  1 10:40:00 2018 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Mar  1 10:40:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f4c357

net-proxy/shadowsocks-libev: drop old

drop all vulnerable versions

Gentoo-Bug: 634422
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-proxy/shadowsocks-libev/Manifest   |  3 -
 net-proxy/shadowsocks-libev/metadata.xml   |  5 --
 .../shadowsocks-libev-2.5.6.ebuild | 76 --
 .../shadowsocks-libev-2.6.2.ebuild | 76 --
 .../shadowsocks-libev-3.0.6.ebuild | 74 -
 5 files changed, 234 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index fa622a116dd..bda045a84a1 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,4 +1 @@
-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/metadata.xml 
b/net-proxy/shadowsocks-libev/metadata.xml
index 8771f7c6a92..694ba4f7271 100644
--- a/net-proxy/shadowsocks-libev/metadata.xml
+++ b/net-proxy/shadowsocks-libev/metadata.xml
@@ -5,11 +5,6 @@
d...@gentoo.org
Yixun Lan

-   
-   Use dev-libs/openssl as crypto 
backend
-   Use net-libs/mbedtls as crypto 
backend
-   Use system libraries instead of the 
ones included in the upstream distribution
-   

shadowsocks/shadowsocks-libev


diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.6.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.6.ebuild
deleted file mode 100644
index bf924f51eec..000
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.6.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2018-03-01 Thread Yixun Lan
commit: 94bb74930c19a774aa2eac2b0131ff3c36b11d20
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Mar  1 10:34:41 2018 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Mar  1 10:34:41 2018 +
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 000..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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2017-11-26 Thread David Seifert
commit: e090dc53d78aec5e55cfd0ec1832ebb3c3b7ab2a
Author: David Seifert  gentoo  org>
AuthorDate: Sun Nov 26 12:51:16 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Nov 26 23:23:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e090dc53

net-proxy/shadowsocks-libev: [QA] Consistent whitespace in metadata.xml

 net-proxy/shadowsocks-libev/metadata.xml | 24 
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/metadata.xml 
b/net-proxy/shadowsocks-libev/metadata.xml
index cb44189bcda..8771f7c6a92 100644
--- a/net-proxy/shadowsocks-libev/metadata.xml
+++ b/net-proxy/shadowsocks-libev/metadata.xml
@@ -1,16 +1,16 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-d...@gentoo.org
-Yixun Lan
-  
-  
-Use dev-libs/openssl as crypto 
backend
-Use net-libs/mbedtls as crypto 
backend
-   Use system libraries instead of the ones 
included in the upstream distribution
-  
-  
-shadowsocks/shadowsocks-libev
-  
+   
+   d...@gentoo.org
+   Yixun Lan
+   
+   
+   Use dev-libs/openssl as crypto 
backend
+   Use net-libs/mbedtls as crypto 
backend
+   Use system libraries instead of the 
ones included in the upstream distribution
+   
+   
+   shadowsocks/shadowsocks-libev
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2017-10-04 Thread Michał Górny
commit: d24914211b5f16940c67e55b0004c976a4eafe46
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 07:30:48 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 09:14:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2491421

net-proxy/shadowsocks-libev: Strip empty metadata.xml elements

 net-proxy/shadowsocks-libev/metadata.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/metadata.xml 
b/net-proxy/shadowsocks-libev/metadata.xml
index 230c53879e8..cb44189bcda 100644
--- a/net-proxy/shadowsocks-libev/metadata.xml
+++ b/net-proxy/shadowsocks-libev/metadata.xml
@@ -5,8 +5,6 @@
 d...@gentoo.org
 Yixun Lan
   
-  
-
   
 Use dev-libs/openssl as crypto 
backend
 Use net-libs/mbedtls as crypto 
backend



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2017-06-06 Thread Yixun Lan
commit: 03b80f298609e2db3f5a32ef0c391ab4378b4567
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Jun  6 14:50:42 2017 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Jun  6 14:53:23 2017 +
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 000..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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2017-01-19 Thread Yixun Lan
commit: c278490f9528ea948e2e8fad7c8d01ea3c37a508
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Jan 19 09:46:34 2017 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jan 19 09:49:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c278490f

net-proxy/shadowsocks-libev: version bump, 2.6.2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

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

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index ace42ab..2be142c 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,3 +1,4 @@
 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
+DIST shadowsocks-libev-2.6.2.tar.gz 1566835 SHA256 
1fa5b70177f7c125cd10b46d590274c22b4bded26bf3d2372ab73829dc4b7c97 SHA512 
29093b25a24d64e01877d1d9ac7d4b2966c4f9934b58a8fca45235248c3b1fb625faf083f28089a03122c2f8d1a20a59d7608ff0487c684e36cadf2f736cddfd
 WHIRLPOOL 
d1366d9fa9e24a2b749f74740b120bf5ad6817a5874532180e9c76bf8a10f41248e462e70aeebbc97090af04d412d04a4eda95ed9f7295049c70d9b400b45ba5

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.6.2.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.6.2.ebuild
new file mode 100644
index ..b066293
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.6.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 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 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2017-01-19 Thread Yixun Lan
commit: 66a97e27b99c4795a7c86457a7f9ec5df22f53d8
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Jan 19 09:47:44 2017 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jan 19 09:49:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66a97e27

net-proxy/shadowsocks-libev: drop old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-proxy/shadowsocks-libev/Manifest   |  2 -
 .../shadowsocks-libev-2.5.4.ebuild | 73 --
 .../shadowsocks-libev-2.5.5.ebuild | 73 --
 3 files changed, 148 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 2be142c..52c8c9b 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,4 +1,2 @@
-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
 DIST shadowsocks-libev-2.6.2.tar.gz 1566835 SHA256 
1fa5b70177f7c125cd10b46d590274c22b4bded26bf3d2372ab73829dc4b7c97 SHA512 
29093b25a24d64e01877d1d9ac7d4b2966c4f9934b58a8fca45235248c3b1fb625faf083f28089a03122c2f8d1a20a59d7608ff0487c684e36cadf2f736cddfd
 WHIRLPOOL 
d1366d9fa9e24a2b749f74740b120bf5ad6817a5874532180e9c76bf8a10f41248e462e70aeebbc97090af04d412d04a4eda95ed9f7295049c70d9b400b45ba5

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.4.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.4.ebuild
deleted file mode 100644
index 8bfccfe..
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.4.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# 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() {
-   econf \
-   $(use_enable debug assert) \
-   $(use_enable doc documentation) \
-   $(use_enable system-libs system-shared-lib) \
-   --with-crypto-library=$(usex openssl openssl mbedtls)
-}
-
-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 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-11-23 Thread Yixun Lan
commit: 932f1b328b17a73c95d1edb1b94f8bfb78ce1489
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Nov 24 02:38:47 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Nov 24 02:40:35 2016 +
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 ..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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-10-14 Thread Yixun Lan
commit: 41399965c48d628e5acc9f4ef5a4fca3e22dd96d
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Oct 14 21:31:01 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Oct 14 21:31:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41399965

net-proxy/shadowsocks-libev: remove old

Package-Manager: portage-2.3.2

 net-proxy/shadowsocks-libev/Manifest   |  2 -
 net-proxy/shadowsocks-libev/metadata.xml   |  1 -
 .../shadowsocks-libev-2.4.7-r1.ebuild  | 66 
 .../shadowsocks-libev-2.5.0-r1.ebuild  | 72 --
 4 files changed, 141 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index dfd8ab8..b4e09b9 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,4 +1,2 @@
-DIST shadowsocks-libev-2.4.7.tar.gz 1485472 SHA256 
957265cc5339e020d8c8bb7414ab14936e3939dc7355f334aec896ec9b03c6ed SHA512 
d89d4b12de9c70b5450c75ed005e590cf93e13a1e16e3e084dea378b99b0e4e7e3fa8f3339718fba14a39089e5e8a8f5f4d1ae9c8165dbe69fc9bb54d12b3964
 WHIRLPOOL 
2c5df635ec18040b70c0e4746d059d8fb59ec561d2640f62c987172dea95505a282dc7dcad8a88cfd8ce03a3635e3072dcab1893849353f040dc9518948d5321
-DIST shadowsocks-libev-2.5.0.tar.gz 1497070 SHA256 
6841e0efa1c01caef5a827f463ee304dc9e48fb4751cc9256316df5ab4490ae0 SHA512 
860db03630a927c4c5e3d1e0525a9209d1d5e7fc43f5260559f90aa5919b99a34eb16736534cd4b308b00c87805ddfbbc7e12d0561deb6ddc60b775f4d8f842a
 WHIRLPOOL 
abc5822395612326be7ad1453576a10373894d6d81391b61fc83e9ef50290d47f7e829d48158a07952face327bd8276ca1615a1d069fc6aff96a95d1766210e4
 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

diff --git a/net-proxy/shadowsocks-libev/metadata.xml 
b/net-proxy/shadowsocks-libev/metadata.xml
index 3c59764..230c538 100644
--- a/net-proxy/shadowsocks-libev/metadata.xml
+++ b/net-proxy/shadowsocks-libev/metadata.xml
@@ -9,7 +9,6 @@
 
   
 Use dev-libs/openssl as crypto 
backend
-   Use net-libs/polarssl as crypto 
backend
 Use net-libs/mbedtls as crypto 
backend
Use system libraries instead of the ones 
included in the upstream distribution
   

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild
deleted file mode 100644
index 34e8971..
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# 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 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 +openssl polarssl +system-libs"
-
-DEPEND="openssl? ( dev-libs/openssl:= )
-   polarssl? ( net-libs/polarssl )
-   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
-   )
-   "
-DEPEND="${RDEPEND}
-   sys-kernel/linux-headers
-   doc? (
-   app-text/asciidoc
-   app-text/xmlto
-   )
-   "
-
-REQUIRED_USE=" ^^ ( openssl mbedtls )"
-
-src_configure() {
-   econf \
-   $(use_enable debug assert) \
-   $(use_enable doc documentation) \
-   $(use_enable system-libs system-shared-lib) \
-   --with-crypto-library=$(usex openssl openssl mbedtls)
-}
-
-src_install() {
-   default
-   prune_libtool_files --all
-
-   dodir "/etc/${PN}"
-   insinto "/etc/${PN}"
-   newins "${FILESDIR}/shadowsocks.json" shadowsocks.json
-
-   

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-10-14 Thread Yixun Lan
commit: 6cd840859dc39a1e230eb03914bfdad8b4afb6d7
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Oct 14 06:18:46 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Oct 14 21:31:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cd84085

net-proxy/shadowsocks-libev: version bump

Package-Manager: portage-2.3.2

 net-proxy/shadowsocks-libev/Manifest   |  1 +
 .../shadowsocks-libev-2.5.5.ebuild | 73 ++
 2 files changed, 74 insertions(+)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index a565bb1..dfd8ab8 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,3 +1,4 @@
 DIST shadowsocks-libev-2.4.7.tar.gz 1485472 SHA256 
957265cc5339e020d8c8bb7414ab14936e3939dc7355f334aec896ec9b03c6ed SHA512 
d89d4b12de9c70b5450c75ed005e590cf93e13a1e16e3e084dea378b99b0e4e7e3fa8f3339718fba14a39089e5e8a8f5f4d1ae9c8165dbe69fc9bb54d12b3964
 WHIRLPOOL 
2c5df635ec18040b70c0e4746d059d8fb59ec561d2640f62c987172dea95505a282dc7dcad8a88cfd8ce03a3635e3072dcab1893849353f040dc9518948d5321
 DIST shadowsocks-libev-2.5.0.tar.gz 1497070 SHA256 
6841e0efa1c01caef5a827f463ee304dc9e48fb4751cc9256316df5ab4490ae0 SHA512 
860db03630a927c4c5e3d1e0525a9209d1d5e7fc43f5260559f90aa5919b99a34eb16736534cd4b308b00c87805ddfbbc7e12d0561deb6ddc60b775f4d8f842a
 WHIRLPOOL 
abc5822395612326be7ad1453576a10373894d6d81391b61fc83e9ef50290d47f7e829d48158a07952face327bd8276ca1615a1d069fc6aff96a95d1766210e4
 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

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.5.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.5.ebuild
new file mode 100644
index ..8bfccfe
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.5.ebuild
@@ -0,0 +1,73 @@
+# 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() {
+   econf \
+   $(use_enable debug assert) \
+   $(use_enable doc documentation) \
+   $(use_enable system-libs system-shared-lib) \
+   --with-crypto-library=$(usex openssl openssl mbedtls)
+}
+
+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 "  

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-10-11 Thread Yixun Lan
commit: 2cb59199339273889f0ac62ba28f806349c877bc
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Oct 11 06:24:45 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Oct 11 06:34:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cb59199

net-proxy/shadowsocks-libev: version bump

Package-Manager: portage-2.3.1

 net-proxy/shadowsocks-libev/Manifest   |  1 +
 .../shadowsocks-libev-2.5.4.ebuild | 73 ++
 2 files changed, 74 insertions(+)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 7b4140a..a565bb1 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,2 +1,3 @@
 DIST shadowsocks-libev-2.4.7.tar.gz 1485472 SHA256 
957265cc5339e020d8c8bb7414ab14936e3939dc7355f334aec896ec9b03c6ed SHA512 
d89d4b12de9c70b5450c75ed005e590cf93e13a1e16e3e084dea378b99b0e4e7e3fa8f3339718fba14a39089e5e8a8f5f4d1ae9c8165dbe69fc9bb54d12b3964
 WHIRLPOOL 
2c5df635ec18040b70c0e4746d059d8fb59ec561d2640f62c987172dea95505a282dc7dcad8a88cfd8ce03a3635e3072dcab1893849353f040dc9518948d5321
 DIST shadowsocks-libev-2.5.0.tar.gz 1497070 SHA256 
6841e0efa1c01caef5a827f463ee304dc9e48fb4751cc9256316df5ab4490ae0 SHA512 
860db03630a927c4c5e3d1e0525a9209d1d5e7fc43f5260559f90aa5919b99a34eb16736534cd4b308b00c87805ddfbbc7e12d0561deb6ddc60b775f4d8f842a
 WHIRLPOOL 
abc5822395612326be7ad1453576a10373894d6d81391b61fc83e9ef50290d47f7e829d48158a07952face327bd8276ca1615a1d069fc6aff96a95d1766210e4
+DIST shadowsocks-libev-2.5.4.tar.gz 1538962 SHA256 
06cb4e8c42d9f2876def93255753f72757e07118968498057e124937705d46c2 SHA512 
126ae569f7a9204ae4f2fb52f2a00f06971eeebf75ee81b8f38dd784ddb79aaa71621c9882e1c6c7ada243bed3535753caa3f5e68365bc1752c657c97cc1e2fb
 WHIRLPOOL 
723154a9fef417281903e1ab3c1a74cb2aa939acd1f286f0cda16c520c5bf2ee7f164701ece4aed803199a62dfad9184ac774e237e05d9e97a19b9d9fc2d8e74

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.4.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.4.ebuild
new file mode 100644
index ..8bfccfe
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.4.ebuild
@@ -0,0 +1,73 @@
+# 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() {
+   econf \
+   $(use_enable debug assert) \
+   $(use_enable doc documentation) \
+   $(use_enable system-libs system-shared-lib) \
+   --with-crypto-library=$(usex openssl openssl mbedtls)
+}
+
+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"
+}



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-09-06 Thread Yixun Lan
commit: 3c354bc282a1081ae4eef5cb6872f620cf8fbb98
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Sep  7 01:47:02 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Sep  7 01:48:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c354bc2

net-proxy/shadowsocks-libev: fix libsodium dep

thanks aihuxiaoxiongmao at gmail dot com for reporting

Package-Manager: portage-2.3.0

 ...shadowsocks-libev-2.5.0.ebuild => shadowsocks-libev-2.5.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.0.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.0-r1.ebuild
similarity index 98%
rename from net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.0.ebuild
rename to net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.0-r1.ebuild
index 051af43..06e70f0 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.0.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.0-r1.ebuild
@@ -20,7 +20,7 @@ IUSE="debug doc +openssl mbedtls +system-libs"
 RDEPEND="openssl? ( dev-libs/openssl:= )
mbedtls? ( net-libs/mbedtls )
system-libs? (
-   dev-libs/libsodium
+   >=dev-libs/libsodium-1.0.8
dev-libs/libev
net-libs/udns
)



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-09-05 Thread Yixun Lan
commit: b91e587fdc516b3f4115c3a78b221b8e301989fa
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Sep  5 07:45:44 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Sep  5 07:45:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b91e587f

net-proxy/shadowsocks-libev: drop old

Package-Manager: portage-2.3.0

 net-proxy/shadowsocks-libev/Manifest   |  2 -
 .../shadowsocks-libev-2.4.3-r2.ebuild  | 60 --
 .../shadowsocks-libev-2.4.5.ebuild | 60 --
 3 files changed, 122 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 0d5de30..7b4140a 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,4 +1,2 @@
-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
 DIST shadowsocks-libev-2.4.7.tar.gz 1485472 SHA256 
957265cc5339e020d8c8bb7414ab14936e3939dc7355f334aec896ec9b03c6ed SHA512 
d89d4b12de9c70b5450c75ed005e590cf93e13a1e16e3e084dea378b99b0e4e7e3fa8f3339718fba14a39089e5e8a8f5f4d1ae9c8165dbe69fc9bb54d12b3964
 WHIRLPOOL 
2c5df635ec18040b70c0e4746d059d8fb59ec561d2640f62c987172dea95505a282dc7dcad8a88cfd8ce03a3635e3072dcab1893849353f040dc9518948d5321
 DIST shadowsocks-libev-2.5.0.tar.gz 1497070 SHA256 
6841e0efa1c01caef5a827f463ee304dc9e48fb4751cc9256316df5ab4490ae0 SHA512 
860db03630a927c4c5e3d1e0525a9209d1d5e7fc43f5260559f90aa5919b99a34eb16736534cd4b308b00c87805ddfbbc7e12d0561deb6ddc60b775f4d8f842a
 WHIRLPOOL 
abc5822395612326be7ad1453576a10373894d6d81391b61fc83e9ef50290d47f7e829d48158a07952face327bd8276ca1615a1d069fc6aff96a95d1766210e4

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r2.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r2.ebuild
deleted file mode 100644
index 12554fd..
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# 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 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 +openssl polarssl"
-
-DEPEND="openssl? ( dev-libs/openssl:= )
-   polarssl? ( net-libs/polarssl )
-   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 )
-   

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-09-05 Thread Yixun Lan
commit: fdd013bd721d8997ea9dabe24d376f3417b805a4
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Sep  5 07:32:32 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Sep  5 07:44:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdd013bd

net-proxy/shadowsocks-libev: version bump

Gentoo-Bug: 592652

Package-Manager: portage-2.3.0

 net-proxy/shadowsocks-libev/Manifest   |  1 +
 net-proxy/shadowsocks-libev/metadata.xml   |  3 +-
 .../shadowsocks-libev-2.5.0.ebuild | 72 ++
 3 files changed, 75 insertions(+), 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 1166b72..0d5de30 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,3 +1,4 @@
 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
 DIST shadowsocks-libev-2.4.7.tar.gz 1485472 SHA256 
957265cc5339e020d8c8bb7414ab14936e3939dc7355f334aec896ec9b03c6ed SHA512 
d89d4b12de9c70b5450c75ed005e590cf93e13a1e16e3e084dea378b99b0e4e7e3fa8f3339718fba14a39089e5e8a8f5f4d1ae9c8165dbe69fc9bb54d12b3964
 WHIRLPOOL 
2c5df635ec18040b70c0e4746d059d8fb59ec561d2640f62c987172dea95505a282dc7dcad8a88cfd8ce03a3635e3072dcab1893849353f040dc9518948d5321
+DIST shadowsocks-libev-2.5.0.tar.gz 1497070 SHA256 
6841e0efa1c01caef5a827f463ee304dc9e48fb4751cc9256316df5ab4490ae0 SHA512 
860db03630a927c4c5e3d1e0525a9209d1d5e7fc43f5260559f90aa5919b99a34eb16736534cd4b308b00c87805ddfbbc7e12d0561deb6ddc60b775f4d8f842a
 WHIRLPOOL 
abc5822395612326be7ad1453576a10373894d6d81391b61fc83e9ef50290d47f7e829d48158a07952face327bd8276ca1615a1d069fc6aff96a95d1766210e4

diff --git a/net-proxy/shadowsocks-libev/metadata.xml 
b/net-proxy/shadowsocks-libev/metadata.xml
index bb9595d..3c59764 100644
--- a/net-proxy/shadowsocks-libev/metadata.xml
+++ b/net-proxy/shadowsocks-libev/metadata.xml
@@ -9,7 +9,8 @@
 
   
 Use dev-libs/openssl as crypto 
backend
-Use net-libs/polarssl as crypto 
backend
+   Use net-libs/polarssl as crypto 
backend
+Use net-libs/mbedtls as crypto 
backend
Use system libraries instead of the ones 
included in the upstream distribution
   
   

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.0.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.0.ebuild
new file mode 100644
index ..051af43
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.5.0.ebuild
@@ -0,0 +1,72 @@
+# 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
+   dev-libs/libev
+   net-libs/udns
+   )
+   "
+DEPEND="${RDEPEND}
+   sys-kernel/linux-headers
+   doc? (
+   app-text/asciidoc
+   app-text/xmlto
+   )
+   "
+
+REQUIRED_USE=" ^^ ( openssl mbedtls )"
+
+src_configure() {
+   econf \
+   $(use_enable debug assert) \
+   $(use_enable doc documentation) \
+   $(use_enable system-libs system-shared-lib) \
+   --with-crypto-library=$(usex openssl openssl mbedtls)
+}
+
+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 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-09-01 Thread Jeroen Roovers
commit: d5a36c2d8bb6101a7c2c24e36bf4d73870c3f4b9
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Sep  1 10:23:24 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Sep  1 10:23:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5a36c2d

net-proxy/shadowsocks-libev: Typo.

Package-Manager: portage-2.3.0

 net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r2.ebuild | 2 +-
 net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.5.ebuild| 2 +-
 net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r2.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r2.ebuild
index c761cba..12554fd 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r2.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r2.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 inherit eutils systemd
 
-DESCRIPTION="A lightweight secured scoks5 proxy for embedded devices and low 
end boxes"
+DESCRIPTION="A lightweight secured SOCKS5 proxy for embedded devices and low 
end boxes"
 HOMEPAGE="https://github.com/shadowsocks/shadowsocks-libev;
 
 MY_PV="v${PV}"

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.5.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.5.ebuild
index c761cba..12554fd 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.5.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.5.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 inherit eutils systemd
 
-DESCRIPTION="A lightweight secured scoks5 proxy for embedded devices and low 
end boxes"
+DESCRIPTION="A lightweight secured SOCKS5 proxy for embedded devices and low 
end boxes"
 HOMEPAGE="https://github.com/shadowsocks/shadowsocks-libev;
 
 MY_PV="v${PV}"

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild
index d551ba9..34e8971 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 inherit eutils systemd
 
-DESCRIPTION="A lightweight secured scoks5 proxy for embedded devices and low 
end boxes"
+DESCRIPTION="A lightweight secured SOCKS5 proxy for embedded devices and low 
end boxes"
 HOMEPAGE="https://github.com/shadowsocks/shadowsocks-libev;
 
 MY_PV="v${PV}"



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-07-09 Thread Patrick Lauer
commit: 2c5f7660b1ba473169a2741023dc78cdab79dce9
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sat Jul  9 13:00:22 2016 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Sat Jul  9 13:00:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c5f7660

net-proxy/shadowsocks-libev: Whitespace

Package-Manager: portage-2.3.0

 net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild
index 398664d..d551ba9 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild
@@ -20,7 +20,7 @@ IUSE="debug +openssl polarssl +system-libs"
 DEPEND="openssl? ( dev-libs/openssl:= )
polarssl? ( net-libs/polarssl )


[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-06-30 Thread Yixun Lan
commit: 4a468d37d7246cb5ee68be3430bf25ab19192feb
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Jun 30 22:00:56 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jun 30 22:00:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a468d37

net-proxy/shadowsocks-libev: introduce USE=system-libs, unbundle libs

Package-Manager: portage-2.3.0_rc1

 net-proxy/shadowsocks-libev/metadata.xml  | 1 +
 ...socks-libev-2.4.7.ebuild => shadowsocks-libev-2.4.7-r1.ebuild} | 8 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/metadata.xml 
b/net-proxy/shadowsocks-libev/metadata.xml
index 7baa3e5..bb9595d 100644
--- a/net-proxy/shadowsocks-libev/metadata.xml
+++ b/net-proxy/shadowsocks-libev/metadata.xml
@@ -10,6 +10,7 @@
   
 Use dev-libs/openssl as crypto 
backend
 Use net-libs/polarssl as crypto 
backend
+   Use system libraries instead of the ones 
included in the upstream distribution
   
   
 shadowsocks/shadowsocks-libev

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild
similarity index 91%
rename from net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7.ebuild
rename to net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild
index c761cba..398664d 100644
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7.ebuild
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7-r1.ebuild
@@ -15,11 +15,16 @@ 
SRC_URI="https://github.com/shadowsocks/${PN}/archive/${MY_PV}.tar.gz -> ${P}.ta
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="debug +openssl polarssl"
+IUSE="debug +openssl polarssl +system-libs"
 
 DEPEND="openssl? ( dev-libs/openssl:= )
polarssl? ( net-libs/polarssl )


[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-06-30 Thread Yixun Lan
commit: d8db20046053c383798037acd670262c3168d46c
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Jun 30 21:37:56 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jun 30 21:39:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8db2004

net-proxy/shadowsocks-libev: version bump 2.4.7

Package-Manager: portage-2.3.0_rc1

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

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 093683f..1166b72 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,2 +1,3 @@
 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
+DIST shadowsocks-libev-2.4.7.tar.gz 1485472 SHA256 
957265cc5339e020d8c8bb7414ab14936e3939dc7355f334aec896ec9b03c6ed SHA512 
d89d4b12de9c70b5450c75ed005e590cf93e13a1e16e3e084dea378b99b0e4e7e3fa8f3339718fba14a39089e5e8a8f5f4d1ae9c8165dbe69fc9bb54d12b3964
 WHIRLPOOL 
2c5df635ec18040b70c0e4746d059d8fb59ec561d2640f62c987172dea95505a282dc7dcad8a88cfd8ce03a3635e3072dcab1893849353f040dc9518948d5321

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7.ebuild
new file mode 100644
index 000..c761cba
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.7.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 )
+   

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-03-27 Thread Yixun Lan
commit: a7a8f2f423e5acd284e75c2c454ec538b2e40b82
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Mar 27 17:46:45 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Mar 27 17:47:41 2016 +
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 000..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 )
+   

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-03-27 Thread Yixun Lan
commit: ad3ac8504b379da2424851b06e3e168b5a69c38a
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Mar 27 17:43:16 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Mar 27 17:47:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad3ac850

net-proxy/shadowsocks-libev: mask >=sys-kernel/linux-headers-4.5

due to a conflict between linux/if.h and net/if.h
this is a temporarily solution, wait real fix at glibc & kernel

Gentoo-Bug: 578206, also 577660

Package-Manager: portage-2.2.28

 .../shadowsocks-libev-2.4.3-r2.ebuild  | 60 ++
 1 file changed, 60 insertions(+)

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r2.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r2.ebuild
new file mode 100644
index 000..c761cba
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r2.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 )
+   

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2016-03-27 Thread Yixun Lan
commit: 5007e251cfeff923448b1b7f844db9dd20cb30df
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Mar 27 17:47:27 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Mar 27 17:47:41 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5007e251

net-proxy/shadowsocks-libev: drop old

Package-Manager: portage-2.2.28

 net-proxy/shadowsocks-libev/Manifest   |  1 -
 .../shadowsocks-libev-2.2.3.ebuild | 49 --
 .../shadowsocks-libev-2.4.3-r1.ebuild  | 59 --
 .../shadowsocks-libev-2.4.3.ebuild | 49 --
 4 files changed, 158 deletions(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 64b8f94..093683f 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,3 +1,2 @@
-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.2.3.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.2.3.ebuild
deleted file mode 100644
index d871ca0..000
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.2.3.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils
-
-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 )
-   "
-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
-
-   insinto "/etc/"
-   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
-}
-
-pkg_setup() {
-   elog "You need to choose to run as server or client mode"
-   elog "  server: rc-update add shadowsocks.server default"
-   elog "  client: rc-update add shadowsocks.client default"
-}

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r1.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r1.ebuild
deleted file mode 100644
index eba9c37..000
--- a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# 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 )
-   "
-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 

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/files/, net-proxy/shadowsocks-libev/

2016-01-07 Thread Yixun Lan
commit: 3f35a7ae49c6d6e95b64ed4e5f585e8f200b6448
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Jan  8 02:47:00 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Jan  8 02:47:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f35a7ae

net-proxy/shadowsocks-libev: systemd support added

thanks 'Jiajun Wang' for contribution

Package-Manager: portage-2.2.26

 .../files/shadowsocks-libev-local_at.service   | 11 
 .../files/shadowsocks-libev-redir_at.service   | 11 
 .../files/shadowsocks-libev-server_at.service  | 11 
 .../files/shadowsocks-libev-tunnel_at.service  | 11 
 .../shadowsocks-libev/files/shadowsocks.initd  | 12 -
 .../shadowsocks-libev-2.4.3-r1.ebuild  | 59 ++
 6 files changed, 114 insertions(+), 1 deletion(-)

diff --git 
a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-local_at.service 
b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-local_at.service
new file mode 100644
index 000..af13717
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-local_at.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Shadowsocks-Libev Client Service for %I
+After=network.target
+
+[Service]
+Type=simple
+CapabilityBoundingSet=CAP_NET_BIND_SERVICE
+ExecStart=/usr/bin/ss-local -c /etc/shadowsocks-libev/%i.json
+
+[Install]
+WantedBy=multi-user.target

diff --git 
a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-redir_at.service 
b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-redir_at.service
new file mode 100644
index 000..1ced8f4
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-redir_at.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Shadowsocks-Libev Client Service Redir Mode for %I
+After=network.target
+
+[Service]
+Type=simple
+CapabilityBoundingSet=CAP_NET_BIND_SERVICE
+ExecStart=/usr/bin/ss-redir -c /etc/shadowsocks-libev/%i.json
+
+[Install]
+WantedBy=multi-user.target

diff --git 
a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-server_at.service 
b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-server_at.service
new file mode 100644
index 000..58d934b
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-server_at.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Shadowsocks-Libev Server Service for %I
+After=network.target
+
+[Service]
+Type=simple
+CapabilityBoundingSet=CAP_NET_BIND_SERVICE
+ExecStart=/usr/bin/ss-server -c /etc/shadowsocks-libev/%i.json
+
+[Install]
+WantedBy=multi-user.target

diff --git 
a/net-proxy/shadowsocks-libev/files/shadowsocks-libev-tunnel_at.service 
b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-tunnel_at.service
new file mode 100644
index 000..24b31d5
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/files/shadowsocks-libev-tunnel_at.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Shadowsocks-Libev Client Service Tunnel Mode for %I
+After=network.target
+
+[Service]
+Type=simple
+CapabilityBoundingSet=CAP_NET_BIND_SERVICE
+ExecStart=/usr/bin/ss-tunnel -c /etc/shadowsocks-libev/%i.json
+
+[Install]
+WantedBy=multi-user.target

diff --git a/net-proxy/shadowsocks-libev/files/shadowsocks.initd 
b/net-proxy/shadowsocks-libev/files/shadowsocks.initd
index d32e6df..f6a8067 100644
--- a/net-proxy/shadowsocks-libev/files/shadowsocks.initd
+++ b/net-proxy/shadowsocks-libev/files/shadowsocks.initd
@@ -3,7 +3,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-SS_CONFIG="/etc/shadowsocks.json"
+SS_CONFIG="/etc/shadowsocks-libev/shadowsocks.json"
 
 SS_PIDFILE="/run/shadowsocks.pid"
 
@@ -26,10 +26,20 @@ checkconfig() {
 SS_COMMAND="/usr/bin/ss-server"
return 0
;;
+redir)
+SS_COMMAND="/usr/bin/ss-redir"
+   return 0
+   ;;
+tunnel)
+SS_COMMAND="/usr/bin/ss-tunnel"
+   return 0
+   ;;
 *)
eerror "please choose to run as server or client mode"
eerror "  server: rc-update add shadowsocks.server default"
eerror "  client: rc-update add shadowsocks.client default"
+   eerror "  client: rc-update add shadowsocks.redir default"
+   eerror "  client: rc-update add shadowsocks.tunnel default"
 return 1
;;
 esac

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r1.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r1.ebuild
new file mode 100644
index 000..eba9c37
--- /dev/null
+++ b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3-r1.ebuild
@@ -0,0 +1,59 @@
+# 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"

[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2015-12-20 Thread Yixun Lan
commit: 860627e99079602f2fb395dacfd5572c6e33c9fb
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Dec 21 06:24:16 2015 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Dec 21 07:45:45 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=860627e9

net-proxy/shadowsocks-libev: version bump, thanks @jiajunw

Package-Manager: portage-2.2.26

 net-proxy/shadowsocks-libev/Manifest| 2 +-
 .../{shadowsocks-libev-2.2.2.ebuild => shadowsocks-libev-2.4.3.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index 3641624..93bb668 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,2 +1,2 @@
-DIST shadowsocks-libev-2.2.2.tar.gz 2492615 SHA256 
9919d041a6ee4f7b7de2ea7209533b0b9d5fd5732eaa430a6f4055f6e7f1c23f SHA512 
0d83a506e2ab95aa8ba1d1815d2e0a8213b96a901cf5e8939c00900167af96ae6045071f39fc07ac7daba328bc2eb1e89b0286e1e98744a8750916ec81b47f27
 WHIRLPOOL 
281ec6e2cc264c265c7a5b7de733e6cc71151a6d05c2fbf6f43b5cc8bea970229f74d04ec0633cd46d7fb49187d0fa834fcc0a0b039e078230168d89d0344432
 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

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.2.2.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3.ebuild
similarity index 100%
rename from net-proxy/shadowsocks-libev/shadowsocks-libev-2.2.2.ebuild
rename to net-proxy/shadowsocks-libev/shadowsocks-libev-2.4.3.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/

2015-08-11 Thread Yixun Lan
commit: 8dbccf0042d086da6171ae546a5ea64ac2a28410
Author: Yixun Lan dlan AT gentoo DOT org
AuthorDate: Tue Aug 11 23:03:23 2015 +
Commit: Yixun Lan dlan AT gentoo DOT org
CommitDate: Tue Aug 11 23:03:23 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dbccf00

net-proxy/shadowsocks-libev: drop old, bump 2.2.3

Package-Manager: portage-2.2.20

 net-proxy/shadowsocks-libev/Manifest| 2 +-
 .../{shadowsocks-libev-2.2.1.ebuild = shadowsocks-libev-2.2.3.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-proxy/shadowsocks-libev/Manifest 
b/net-proxy/shadowsocks-libev/Manifest
index dcfea53..3641624 100644
--- a/net-proxy/shadowsocks-libev/Manifest
+++ b/net-proxy/shadowsocks-libev/Manifest
@@ -1,2 +1,2 @@
-DIST shadowsocks-libev-2.2.1.tar.gz 2492392 SHA256 
c8013bc56e507855913dd8972f3c629c1b0c58a7012c4c459186d7f6a0cfe953 SHA512 
34209a0b86cf261bc544d2622015662918dc51f4e2bea115644653b20cede7b87360111b10d5dc194a3115099ae4256bf455472e0ed3da9af316a23d304c9bfc
 WHIRLPOOL 
b4bcc80edb33816ace40455670b5b243ec8d7d9018a11675a152767069b70aad2150260753e5e305e3921730c4d4b1c49f216f4f1179c682a8b18018bac11740
 DIST shadowsocks-libev-2.2.2.tar.gz 2492615 SHA256 
9919d041a6ee4f7b7de2ea7209533b0b9d5fd5732eaa430a6f4055f6e7f1c23f SHA512 
0d83a506e2ab95aa8ba1d1815d2e0a8213b96a901cf5e8939c00900167af96ae6045071f39fc07ac7daba328bc2eb1e89b0286e1e98744a8750916ec81b47f27
 WHIRLPOOL 
281ec6e2cc264c265c7a5b7de733e6cc71151a6d05c2fbf6f43b5cc8bea970229f74d04ec0633cd46d7fb49187d0fa834fcc0a0b039e078230168d89d0344432
+DIST shadowsocks-libev-2.2.3.tar.gz 2493211 SHA256 
41a4746190698fc78b8e06c0f0e3638ca0bb1180a8cb77246736d88553b277f7 SHA512 
28e20ce069b456cfc3d52437ded739d2995de7883fcb9b4c3cfde5bc78f33419cb75fa67812660d7456084e5a97e6a6531223486259a650988552494f02ebe9f
 WHIRLPOOL 
f20090a4366788315e0f442987cb20b79aca61a3424f7570bf5961f29c5634bcbf01df6a8ee012c7b38135f50ae1af940fecec8917bee1056d2c4ce6eca4b6b5

diff --git a/net-proxy/shadowsocks-libev/shadowsocks-libev-2.2.1.ebuild 
b/net-proxy/shadowsocks-libev/shadowsocks-libev-2.2.3.ebuild
similarity index 100%
rename from net-proxy/shadowsocks-libev/shadowsocks-libev-2.2.1.ebuild
rename to net-proxy/shadowsocks-libev/shadowsocks-libev-2.2.3.ebuild