diff options
author | Sam James <sam@gentoo.org> | 2023-05-05 08:28:40 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-05 08:29:40 +0100 |
commit | 23026087ef73829b1554ce1a8ac35e3652df870f (patch) | |
tree | b00c43545cb70bd9c7262dfe73875041cb8182e2 /net-vpn | |
parent | net-vpn/tor: add 9999 (diff) | |
download | gentoo-23026087ef73829b1554ce1a8ac35e3652df870f.tar.gz gentoo-23026087ef73829b1554ce1a8ac35e3652df870f.tar.bz2 gentoo-23026087ef73829b1554ce1a8ac35e3652df870f.zip |
net-vpn/tor: add commentary wrt --disable-zstd-advanced-apis
Bug: https://bugs.gentoo.org/727406
Bug: https://bugs.gentoo.org/905708
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r-- | net-vpn/tor/tor-0.4.7.13-r1.ebuild | 8 | ||||
-rw-r--r-- | net-vpn/tor/tor-9999.ebuild | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/net-vpn/tor/tor-0.4.7.13-r1.ebuild b/net-vpn/tor/tor-0.4.7.13-r1.ebuild index c0799853f0f6..2efaf6e602af 100644 --- a/net-vpn/tor/tor-0.4.7.13-r1.ebuild +++ b/net-vpn/tor/tor-0.4.7.13-r1.ebuild @@ -106,7 +106,15 @@ src_configure() { --disable-module-dirauth --enable-pic --disable-restart-debugging + + # This option is enabled by default upstream w/ zstd, surprisingly. + # zstd upstream says this shouldn't be relied upon and it may + # break API & ABI at any point, so Tor tries to fake static-linking + # to make it work, but then requires a rebuild on any new zstd version + # even when its standard ABI hasn't changed. + # See bug #727406 and bug #905708. --disable-zstd-advanced-apis + $(use_enable man asciidoc) $(use_enable man manpage) $(use_enable lzma) diff --git a/net-vpn/tor/tor-9999.ebuild b/net-vpn/tor/tor-9999.ebuild index 9ea49a861452..0e36a664f706 100644 --- a/net-vpn/tor/tor-9999.ebuild +++ b/net-vpn/tor/tor-9999.ebuild @@ -119,7 +119,15 @@ src_configure() { --disable-module-dirauth --enable-pic --disable-restart-debugging + + # This option is enabled by default upstream w/ zstd, surprisingly. + # zstd upstream says this shouldn't be relied upon and it may + # break API & ABI at any point, so Tor tries to fake static-linking + # to make it work, but then requires a rebuild on any new zstd version + # even when its standard ABI hasn't changed. + # See bug #727406 and bug #905708. --disable-zstd-advanced-apis + $(use_enable man asciidoc) $(use_enable man manpage) $(use_enable lzma) |