Lines 17-23
Link Here
|
17 |
LICENSE="BSD GPL-2" |
17 |
LICENSE="BSD GPL-2" |
18 |
SLOT="0" |
18 |
SLOT="0" |
19 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
19 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
20 |
IUSE="-bufferevents +ecc nat-pmp selinux stats tor-hardening transparent-proxy threads test upnp web" |
20 |
IUSE="-bufferevents +ecc nat-pmp seccomp selinux stats tor-hardening transparent-proxy threads test upnp web" |
21 |
|
21 |
|
22 |
DEPEND="dev-libs/openssl |
22 |
DEPEND="dev-libs/openssl |
23 |
sys-libs/zlib |
23 |
sys-libs/zlib |
Lines 25-30
Link Here
|
25 |
bufferevents? ( dev-libs/libevent[ssl] ) |
25 |
bufferevents? ( dev-libs/libevent[ssl] ) |
26 |
nat-pmp? ( net-libs/libnatpmp ) |
26 |
nat-pmp? ( net-libs/libnatpmp ) |
27 |
upnp? ( net-libs/miniupnpc ) |
27 |
upnp? ( net-libs/miniupnpc ) |
|
|
28 |
seccomp? ( sys-libs/libseccomp ) |
28 |
selinux? ( sec-policy/selinux-tor )" |
29 |
selinux? ( sec-policy/selinux-tor )" |
29 |
RDEPEND="${DEPEND}" |
30 |
RDEPEND="${DEPEND}" |
30 |
|
31 |
|
Lines 50-55
Link Here
|
50 |
$(use_enable bufferevents) \ |
51 |
$(use_enable bufferevents) \ |
51 |
$(use_enable ecc curve25519) \ |
52 |
$(use_enable ecc curve25519) \ |
52 |
$(use_enable nat-pmp) \ |
53 |
$(use_enable nat-pmp) \ |
|
|
54 |
$(use_enable seccomp) \ |
53 |
$(use_enable tor-hardening gcc-hardening) \ |
55 |
$(use_enable tor-hardening gcc-hardening) \ |
54 |
$(use_enable tor-hardening linker-hardening) \ |
56 |
$(use_enable tor-hardening linker-hardening) \ |
55 |
$(use_enable transparent-proxy transparent) \ |
57 |
$(use_enable transparent-proxy transparent) \ |
Lines 96-99
Link Here
|
96 |
ewarn " http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59358" |
98 |
ewarn " http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59358" |
97 |
ewarn |
99 |
ewarn |
98 |
fi |
100 |
fi |
|
|
101 |
|
102 |
if use seccomp; then |
103 |
elog "You may need to enable \"Sandbox\" option at your torrc config for use of seccomp syscall feature" |
104 |
fi |
99 |
} |
105 |
} |