Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 956335 - hardened profile does not enable the tor-hardening use flag for net-vpn/tor package
Summary: hardened profile does not enable the tor-hardening use flag for net-vpn/tor p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: John Helmert III
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-05-20 02:32 UTC by Lemon Lime
Modified: 2025-05-21 16:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lemon Lime 2025-05-20 02:32:49 UTC
The hardened profile does not set the tor-hardening use flag for net-vpn/tor package.

I am assuming this is a bug since the use flag reads very similar to other hardened use flags.
Comment 1 Larry the Git Cow gentoo-dev 2025-05-21 16:51:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12eb1c1a5bee081e00f9fcd7b96804c7e717368f

commit 12eb1c1a5bee081e00f9fcd7b96804c7e717368f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-05-21 16:50:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-21 16:50:46 +0000

    profiles: drop obsolete tor-hardening masks
    
    It's been renamed to USE=hardened but the powerpc mask shouldn't be
    needed these days anyway.
    
    Bug: https://bugs.gentoo.org/956335
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/powerpc/package.use.mask | 4 ----
 profiles/features/hardened/package.use | 3 +--
 2 files changed, 1 insertion(+), 6 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7553a8eb68d0acc7e7efe965bf800c11df5b89ce

commit 7553a8eb68d0acc7e7efe965bf800c11df5b89ce
Author:     Filip Kobierski <fkobi@pm.me>
AuthorDate: 2025-04-23 12:08:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-21 16:48:21 +0000

    net-vpn/tor: rename USE=tor-hardening to hardened
    
    Generic description fits here well
    
    Bug: https://bugs.gentoo.org/956335
    Signed-off-by: Filip Kobierski <fkobi@pm.me>
    Part-of: https://github.com/gentoo/gentoo/pull/41713
    Signed-off-by: Sam James <sam@gentoo.org>

 net-vpn/tor/metadata.xml        | 1 -
 net-vpn/tor/tor-0.4.8.14.ebuild | 6 +++---
 net-vpn/tor/tor-0.4.8.16.ebuild | 6 +++---
 net-vpn/tor/tor-9999.ebuild     | 6 +++---
 4 files changed, 9 insertions(+), 10 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=234ac1df24520cb6b2c5e011cea78cb1d6e18783

commit 234ac1df24520cb6b2c5e011cea78cb1d6e18783
Author:     Tomas Fabrizio Orsi <torsi@fi.uba.ar>
AuthorDate: 2025-05-20 02:31:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-21 16:47:55 +0000

    profiles/features/hardened: enable tor-hardening for net-vpn/tor
    
    Bug: https://bugs.gentoo.org/956335
    Signed-off-by: Tomas Fabrizio Orsi <torsi@fi.uba.ar>
    Part-of: https://github.com/gentoo/gentoo/pull/42166
    Closes: https://github.com/gentoo/gentoo/pull/42166
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/features/hardened/package.use | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)