commit:     51070d72a8ee0edadd1eebc977f99bbd38aa8509
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Thu May 22 18:36:09 2025 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Thu May 22 18:36:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=51070d72

net-vpn/tor: sync ::gentoo

Signed-off-by: orbea <orbea <AT> riseup.net>

 net-vpn/tor/metadata.xml        | 5 ++++-
 net-vpn/tor/tor-0.4.8.16.ebuild | 6 +++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/net-vpn/tor/metadata.xml b/net-vpn/tor/metadata.xml
index fcc4644..c5805ac 100644
--- a/net-vpn/tor/metadata.xml
+++ b/net-vpn/tor/metadata.xml
@@ -12,6 +12,9 @@
        <use>
                <flag name="scrypt">Use <pkg>app-crypt/libscrypt</pkg> for the 
scrypt algorithm</flag>
                <flag name="server">Enable tor's relay module so it can operate 
as a relay/bridge/authority</flag>
-               <flag name="tor-hardening">Compile tor with hardening on 
vanilla compilers/linkers</flag>
        </use>
+       <upstream>
+               
<bugs-to>https://support.torproject.org/misc/bug-or-feedback/</bugs-to>
+               
<changelog>https://gitlab.torproject.org/tpo/core/tor/-/raw/main/ChangeLog</changelog>
+       </upstream>
 </pkgmetadata>

diff --git a/net-vpn/tor/tor-0.4.8.16.ebuild b/net-vpn/tor/tor-0.4.8.16.ebuild
index ded9abd..9de7688 100644
--- a/net-vpn/tor/tor-0.4.8.16.ebuild
+++ b/net-vpn/tor/tor-0.4.8.16.ebuild
@@ -39,7 +39,7 @@ fi
 # that's different from the actual binary.
 LICENSE="BSD GPL-2 GPL-3"
 SLOT="0"
-IUSE="caps doc lzma +man scrypt seccomp selinux +server systemd tor-hardening 
test zstd"
+IUSE="caps doc hardened lzma +man scrypt seccomp selinux +server systemd test 
zstd"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -141,6 +141,8 @@ src_configure() {
                --enable-gpl
                --enable-module-pow
 
+               $(use_enable hardened gcc-hardening)
+               $(use_enable hardened linker-hardening)
                $(use_enable man asciidoc)
                $(use_enable man manpage)
                $(use_enable lzma)
@@ -148,8 +150,6 @@ src_configure() {
                $(use_enable seccomp)
                $(use_enable server module-relay)
                $(use_enable systemd)
-               $(use_enable tor-hardening gcc-hardening)
-               $(use_enable tor-hardening linker-hardening)
                $(use_enable test unittests)
                $(use_enable zstd)
        )

Reply via email to