summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2018-07-16 16:07:41 -0400
committerAnthony G. Basile <blueness@gentoo.org>2018-07-16 16:07:57 -0400
commite9792ec8be96c5838dcd37fbf739a612c3ee5137 (patch)
treef3a8de7a3a31c90eb6ec6715632767f31f12f3e0 /net-vpn
parentdev-python/pyhamcrest: Enable py3.7 (diff)
downloadgentoo-e9792ec8be96c5838dcd37fbf739a612c3ee5137.tar.gz
gentoo-e9792ec8be96c5838dcd37fbf739a612c3ee5137.tar.bz2
gentoo-e9792ec8be96c5838dcd37fbf739a612c3ee5137.zip
net-vpn/tor: migrate fix for bug #653226 to RC branch
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/tor/tor-0.3.4.5_rc-r1.ebuild (renamed from net-vpn/tor/tor-0.3.4.5_rc.ebuild)4
1 files changed, 3 insertions, 1 deletions
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
index 542a15cd4b99..03ddb1da8917 100644
--- a/net-vpn/tor/tor-0.3.4.5_rc.ebuild
+++ b/net-vpn/tor/tor-0.3.4.5_rc-r1.ebuild
@@ -18,12 +18,13 @@ SLOT="0"
# We need to keyword app-arch/zstd
#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~ppc-macos"
-IUSE="libressl lzma scrypt seccomp selinux systemd tor-hardening test web zstd"
+IUSE="caps libressl lzma scrypt seccomp selinux systemd tor-hardening test web zstd"
DEPEND="
app-text/asciidoc
dev-libs/libevent[ssl]
sys-libs/zlib
+ caps? ( sys-libs/libcap )
!libressl? ( dev-libs/openssl:0=[-bindist] )
libressl? ( dev-libs/libressl:0= )
lzma? ( app-arch/xz-utils )
@@ -49,6 +50,7 @@ pkg_setup() {
src_configure() {
# We have to enable unit tests since they break the build.
# See: https://trac.torproject.org/projects/tor/ticket/26792
+ export ac_cv_lib_cap_cap_init=$(usex caps)
econf \
--localstatedir="${EPREFIX}/var" \
--enable-system-torrc \