public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/shadowsocks-libev/
Date: Thu, 30 Jun 2016 22:03:01 +0000 (UTC)	[thread overview]
Message-ID: <1467324056.4a468d37d7246cb5ee68be3430bf25ab19192feb.dlan@gentoo> (raw)

commit:     4a468d37d7246cb5ee68be3430bf25ab19192feb
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 30 22:00:56 2016 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 22:00:56 2016 +0000
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>
     <flag name="openssl">Use <pkg>dev-libs/openssl</pkg> as crypto backend</flag>
     <flag name="polarssl">Use <pkg>net-libs/polarssl</pkg> as crypto backend</flag>
+	<flag name="system-libs">Use system libraries instead of the ones included in the upstream distribution</flag>
   </use>
   <upstream>
     <remote-id type="github">shadowsocks/shadowsocks-libev</remote-id>

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 )
 	<sys-kernel/linux-headers-4.5
+	system-libs? ( 
+		dev-libs/libev
+		dev-libs/libsodium
+		net-libs/udns
+	)
 	"
 RDEPEND="${DEPEND}"
 
@@ -28,6 +33,7 @@ REQUIRED_USE=" ^^ ( openssl polarssl )"
 src_configure() {
 	econf \
 		$(use_enable debug assert) \
+		$(use_enable system-libs system-shared-lib) \
 		--with-crypto-library=$(usex openssl openssl polarssl)
 }
 


             reply	other threads:[~2016-06-30 22:03 UTC|newest]

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

Reply instructions:

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

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

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

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

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

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

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