commit: be6c20a1e512633027782eaa59aa3df66c0ef58f Author: zyxhere💠<zyx <AT> envs <DOT> net> AuthorDate: Tue Jan 13 14:03:18 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 11 03:32:16 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be6c20a1
net-misc/curl: Use dot-a eclass Signed-off-by: zyxhere💠<zyx <AT> envs.net> Part-of: https://github.com/gentoo/gentoo/pull/45358 Closes: https://github.com/gentoo/gentoo/pull/45358 Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/curl/curl-8.16.0-r1.ebuild | 8 ++++++-- net-misc/curl/curl-8.17.0-r1.ebuild | 9 +++++++-- net-misc/curl/curl-8.18.0.ebuild | 6 +++++- net-misc/curl/curl-9999.ebuild | 6 +++++- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/net-misc/curl/curl-8.16.0-r1.ebuild b/net-misc/curl/curl-8.16.0-r1.ebuild index 08ff73b2477d..e598370a739f 100644 --- a/net-misc/curl/curl-8.16.0-r1.ebuild +++ b/net-misc/curl/curl-8.16.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ EAPI=8 # https://lists.haxx.se/listinfo/curl-distros VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/danielstenberg.asc -inherit autotools multilib-minimal multiprocessing prefix toolchain-funcs verify-sig +inherit dot-a autotools multilib-minimal multiprocessing prefix toolchain-funcs verify-sig DESCRIPTION="A Client that groks URLs" HOMEPAGE="https://curl.se/" @@ -237,6 +237,7 @@ _get_curl_tls_configure_opts() { } multilib_src_configure() { + use static-libs && lto-guarantee-fat # We make use of the fact that later flags override earlier ones # So start with all ssl providers off until proven otherwise # TODO: in the future, we may want to add wolfssl (https://www.wolfssl.com/) @@ -429,6 +430,9 @@ multilib_src_install() { multilib_src_install_all() { einstalldocs find "${ED}" -type f -name '*.la' -delete || die + + use static-libs && strip-lto-bytecode + rm -rf "${ED}"/etc/ || die } diff --git a/net-misc/curl/curl-8.17.0-r1.ebuild b/net-misc/curl/curl-8.17.0-r1.ebuild index b3c358322107..5a11fa5389ce 100644 --- a/net-misc/curl/curl-8.17.0-r1.ebuild +++ b/net-misc/curl/curl-8.17.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ EAPI=8 # https://lists.haxx.se/listinfo/curl-distros VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/danielstenberg.asc -inherit autotools multilib-minimal multiprocessing prefix toolchain-funcs verify-sig +inherit dot-a autotools multilib-minimal multiprocessing prefix toolchain-funcs verify-sig DESCRIPTION="A Client that groks URLs" HOMEPAGE="https://curl.se/" @@ -241,6 +241,8 @@ _get_curl_tls_configure_opts() { } multilib_src_configure() { + use static-libs && lto-guarantee-fat + # We make use of the fact that later flags override earlier ones # So start with all ssl providers off until proven otherwise # TODO: in the future, we may want to add wolfssl (https://www.wolfssl.com/) @@ -433,6 +435,9 @@ multilib_src_install() { multilib_src_install_all() { einstalldocs find "${ED}" -type f -name '*.la' -delete || die + + use static-libs && strip-lto-bytecode + rm -rf "${ED}"/etc/ || die } diff --git a/net-misc/curl/curl-8.18.0.ebuild b/net-misc/curl/curl-8.18.0.ebuild index 740bb4d55abd..95d0552fd34f 100644 --- a/net-misc/curl/curl-8.18.0.ebuild +++ b/net-misc/curl/curl-8.18.0.ebuild @@ -8,7 +8,7 @@ EAPI=8 # https://lists.haxx.se/listinfo/curl-distros VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/danielstenberg.asc -inherit autotools multilib-minimal multiprocessing prefix toolchain-funcs verify-sig +inherit dot-a autotools multilib-minimal multiprocessing prefix toolchain-funcs verify-sig DESCRIPTION="A Client that groks URLs" HOMEPAGE="https://curl.se/" @@ -238,6 +238,7 @@ _get_curl_tls_configure_opts() { } multilib_src_configure() { + use static-libs && lto-guarantee-fat # We make use of the fact that later flags override earlier ones # So start with all ssl providers off until proven otherwise # TODO: in the future, we may want to add wolfssl (https://www.wolfssl.com/) @@ -430,6 +431,9 @@ multilib_src_install() { multilib_src_install_all() { einstalldocs find "${ED}" -type f -name '*.la' -delete || die + + use static-libs && strip-lto-bytecode + rm -rf "${ED}"/etc/ || die } diff --git a/net-misc/curl/curl-9999.ebuild b/net-misc/curl/curl-9999.ebuild index fd5bbc4b51e6..ef136f2ef641 100644 --- a/net-misc/curl/curl-9999.ebuild +++ b/net-misc/curl/curl-9999.ebuild @@ -8,7 +8,7 @@ EAPI=8 # https://lists.haxx.se/listinfo/curl-distros VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/danielstenberg.asc -inherit autotools multilib-minimal multiprocessing prefix toolchain-funcs verify-sig +inherit dot-a autotools multilib-minimal multiprocessing prefix toolchain-funcs verify-sig DESCRIPTION="A Client that groks URLs" HOMEPAGE="https://curl.se/" @@ -238,6 +238,7 @@ _get_curl_tls_configure_opts() { } multilib_src_configure() { + use static-libs && lto-guarantee-fat # We make use of the fact that later flags override earlier ones # So start with all ssl providers off until proven otherwise # TODO: in the future, we may want to add wolfssl (https://www.wolfssl.com/) @@ -430,6 +431,9 @@ multilib_src_install() { multilib_src_install_all() { einstalldocs find "${ED}" -type f -name '*.la' -delete || die + + use static-libs && strip-lto-bytecode + rm -rf "${ED}"/etc/ || die }
