1 |
commit: e9792ec8be96c5838dcd37fbf739a612c3ee5137 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 16 20:07:41 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 16 20:07:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9792ec8 |
7 |
|
8 |
net-vpn/tor: migrate fix for bug #653226 to RC branch |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
net-vpn/tor/{tor-0.3.4.5_rc.ebuild => tor-0.3.4.5_rc-r1.ebuild} | 4 +++- |
13 |
1 file changed, 3 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/net-vpn/tor/tor-0.3.4.5_rc.ebuild b/net-vpn/tor/tor-0.3.4.5_rc-r1.ebuild |
16 |
similarity index 93% |
17 |
rename from net-vpn/tor/tor-0.3.4.5_rc.ebuild |
18 |
rename to net-vpn/tor/tor-0.3.4.5_rc-r1.ebuild |
19 |
index 542a15cd4b9..03ddb1da891 100644 |
20 |
--- a/net-vpn/tor/tor-0.3.4.5_rc.ebuild |
21 |
+++ b/net-vpn/tor/tor-0.3.4.5_rc-r1.ebuild |
22 |
@@ -18,12 +18,13 @@ SLOT="0" |
23 |
# We need to keyword app-arch/zstd |
24 |
#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" |
25 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" |
26 |
-IUSE="libressl lzma scrypt seccomp selinux systemd tor-hardening test web zstd" |
27 |
+IUSE="caps libressl lzma scrypt seccomp selinux systemd tor-hardening test web zstd" |
28 |
|
29 |
DEPEND=" |
30 |
app-text/asciidoc |
31 |
dev-libs/libevent[ssl] |
32 |
sys-libs/zlib |
33 |
+ caps? ( sys-libs/libcap ) |
34 |
!libressl? ( dev-libs/openssl:0=[-bindist] ) |
35 |
libressl? ( dev-libs/libressl:0= ) |
36 |
lzma? ( app-arch/xz-utils ) |
37 |
@@ -49,6 +50,7 @@ pkg_setup() { |
38 |
src_configure() { |
39 |
# We have to enable unit tests since they break the build. |
40 |
# See: https://trac.torproject.org/projects/tor/ticket/26792 |
41 |
+ export ac_cv_lib_cap_cap_init=$(usex caps) |
42 |
econf \ |
43 |
--localstatedir="${EPREFIX}/var" \ |
44 |
--enable-system-torrc \ |