summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-10-08 03:05:01 -0500
committerCrucible <crucible@localhost>2026-10-08 03:05:01 -0500
commitac0126af4bbed1cc9dd34c9d8394875eb06f1ad9 (patch)
treec8fc2b7a985f8e35ead87530c62bfeb3edb46472 /dev-libs
parent4f8f07779b4dd78123821b104e43fd1eb15281dd (diff)
downloadsrcux-ac0126af4bbed1cc9dd34c9d8394875eb06f1ad9.tar.gz
srcux-ac0126af4bbed1cc9dd34c9d8394875eb06f1ad9.tar.xz
srcux-ac0126af4bbed1cc9dd34c9d8394875eb06f1ad9.zip
Publish srcux candidate 0000000587-20261008-030306
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/aws-c-common/Manifest1
-rw-r--r--dev-libs/aws-c-common/aws-c-common-1.0.3.ebuild28
-rw-r--r--dev-libs/elfutils/elfutils-0.196-r2.ebuild180
-rw-r--r--dev-libs/iniparser/Manifest1
-rw-r--r--dev-libs/iniparser/iniparser-4.3.2.ebuild39
-rw-r--r--dev-libs/kirigami-app-components/Manifest2
-rw-r--r--dev-libs/kirigami-app-components/kirigami-app-components-1.1.1.ebuild (renamed from dev-libs/kirigami-app-components/kirigami-app-components-1.0.2.ebuild)4
-rw-r--r--dev-libs/libgudev/libgudev-238-r2.ebuild8
-rw-r--r--dev-libs/libksba/libksba-1.8.1.ebuild2
-rw-r--r--dev-libs/libxml2/libxml2-2.15.4.ebuild2
-rw-r--r--dev-libs/libzia/Manifest2
-rw-r--r--dev-libs/libzia/libzia-4.72.ebuild56
-rw-r--r--dev-libs/libzia/libzia-4.74.ebuild (renamed from dev-libs/libzia/libzia-4.72-r1.ebuild)4
-rw-r--r--dev-libs/log4cxx/Manifest1
-rw-r--r--dev-libs/log4cxx/log4cxx-1.2.0.ebuild45
-rw-r--r--dev-libs/log4cxx/log4cxx-1.8.0.ebuild2
-rw-r--r--dev-libs/nss/Manifest1
-rw-r--r--dev-libs/nss/nss-3.131.ebuild437
-rw-r--r--dev-libs/tre/tre-0.8.0_p20210321-r4.ebuild15
-rw-r--r--dev-libs/tre/tre-0.9.0-r1.ebuild13
20 files changed, 713 insertions, 130 deletions
diff --git a/dev-libs/aws-c-common/Manifest b/dev-libs/aws-c-common/Manifest
index 9cf7489cc9ba..f2303de6331c 100644
--- a/dev-libs/aws-c-common/Manifest
+++ b/dev-libs/aws-c-common/Manifest
@@ -3,3 +3,4 @@ DIST aws-c-common-0.14.2.tar.gz 642107 BLAKE2B bdd0d652bd506ee79704c86129460437e
DIST aws-c-common-1.0.0.tar.gz 647961 BLAKE2B 8d4d23c918ca60fa41720fa665c9a15d7b71b5be18d55eb21efcd5b379be66139c62fac48622a37780cd482f86408e911e33fec2dc8681dd242535f2db9573b8 SHA512 f9cd67637383d86353cef7d230051aad67574f9b5c72d6260713f9d8b1139d730ce56d3cc8b646bc0344d99c8cae79d3cfca86c1994207c1b74b9bb814645f4b
DIST aws-c-common-1.0.1.tar.gz 654484 BLAKE2B 7aac6581fd831bf1205e4135168abedd0f1417c0e4dc1348516e3023aabc41f5b06a52779365d9ad84179ad9e547d12d80ea3b48b78fb6627305b42159e01553 SHA512 6c6fc420e5bcdd9b40ea05af1314b46e6186063a00e4f1b8c134099dfc34c990cd790070dec101924c9d7d42469bfe1c4a86eef90747d642d1ef0e8378e3aaf3
DIST aws-c-common-1.0.2.tar.gz 656107 BLAKE2B d5b626e0d9f8ad1ea9a950e42581d753c79280d1f1000d37da730cfbed1f73e5f065825598c82685dee149b35f6ce482a2fea66543d8a40ed0c40f9543155fb1 SHA512 30bd2eae4cf72c3526381c780e99070e95b94669c06d16e72c82805b7732851fccefe9b5d941bd045d2e8b352446df9e19480497942e141ccdffb58ab1a0c1bd
+DIST aws-c-common-1.0.3.tar.gz 656266 BLAKE2B a01bfe4e19ecc98d7c2dbee4d0b299c1e0b3080e77b566a02a6d70091b845efad5d416648acd6b62db854e386ed1382ca3d4ef753a208785ece510ddcb26308d SHA512 05cd13aa8c55762345fd7754c1c393b6db48918cb4b4335ade9a75dfbcf20802fa00f8d2e25fa2826b054ffdfe98c60bc50f6c7bb686c1d7df790741bbf8244a
diff --git a/dev-libs/aws-c-common/aws-c-common-1.0.3.ebuild b/dev-libs/aws-c-common/aws-c-common-1.0.3.ebuild
new file mode 100644
index 000000000000..4ec20c47596d
--- /dev/null
+++ b/dev-libs/aws-c-common/aws-c-common-1.0.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2025-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Core c99 package for AWS SDK for C"
+HOMEPAGE="https://github.com/awslabs/aws-c-common"
+SRC_URI="https://github.com/awslabs/aws-c-common/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+CMAKE_SKIP_TESTS=(
+ # https://github.com/awslabs/aws-c-common/issues/1274
+ test_file_path_read_from_offset_direct_io
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=$(usex test)
+ )
+ cmake_src_configure
+}
diff --git a/dev-libs/elfutils/elfutils-0.196-r2.ebuild b/dev-libs/elfutils/elfutils-0.196-r2.ebuild
new file mode 100644
index 000000000000..45c5c2a45456
--- /dev/null
+++ b/dev-libs/elfutils/elfutils-0.196-r2.ebuild
@@ -0,0 +1,180 @@
+# Copyright 2003-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/elfutils.gpg
+inherit autotools flag-o-matic multilib-minimal
+
+DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)"
+HOMEPAGE="https://sourceware.org/elfutils/"
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://sourceware.org/git/elfutils.git"
+ inherit git-r3
+
+ BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ "
+else
+ inherit verify-sig
+ SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2"
+ SRC_URI+=" verify-sig? ( https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2.sig )"
+
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+ BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-elfutils-20240301 )"
+fi
+
+LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )"
+SLOT="0"
+IUSE="bzip2 +debuginfod +libarchive libpfm +lzma nls stackprof static-libs threads test +utils valgrind zstd"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="debuginfod? ( libarchive )"
+
+RDEPEND="
+ !dev-libs/libelf
+ >=virtual/zlib-1.2.8-r1:=[static-libs?,${MULTILIB_USEDEP}]
+ bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] )
+ debuginfod? (
+ dev-db/sqlite:3=
+ >=dev-libs/json-c-0.11:=
+ >=net-libs/libmicrohttpd-0.9.33:=
+ >=net-misc/curl-7.29.0[static-libs?]
+ )
+ libarchive? ( >=app-arch/libarchive-3.1.2:= )
+ lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] )
+ stackprof? (
+ >=dev-libs/json-c-0.11:=
+ libpfm? ( dev-libs/libpfm:= )
+ )
+ zstd? ( app-arch/zstd:=[static-libs?,${MULTILIB_USEDEP}] )
+ elibc_musl? (
+ dev-libs/libbsd
+ sys-libs/argp-standalone
+ sys-libs/fts-standalone
+ sys-libs/obstack-standalone
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ valgrind? ( dev-debug/valgrind )
+"
+BDEPEND+="
+ sys-devel/m4
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.189-musl-aarch64-regs.patch
+ "${FILESDIR}"/${PN}-0.191-musl-macros.patch
+ "${FILESDIR}"/${PN}-0.196-skip-static-test.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+
+ if ! use static-libs; then
+ sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die
+ fi
+
+ # Fails with some CFLAGS
+ # " __divhc3: /var/tmp/portage/dev-libs/elfutils-0.193/work/elfutils-0.193-abi_x86_32.x86/tests/funcretval:
+ # dwfl_module_return_value_location: cannot handle DWARF type description"
+ printf "#!/bin/sh\nexit 77" > tests/run-native-test.sh || die
+ # Fails for abi_x86_32 w/ DT_RELR
+ # "section [14] '.rel.plt': relocation 55: relocation type invalid for the file type"
+ printf "#!/bin/sh\nexit 77" > tests/run-elflint-self.sh || die
+ printf "#!/bin/sh\nexit 77" > tests/run-reverse-sections-self.sh || die
+ # Fails with SFrames
+ printf "#!/bin/sh\nexit 77" > tests/run-strip-strmerge.sh || die
+ # Fails under sandbox
+ cat <<-EOF > tests/dwfl-proc-attach.c || die
+ int main() {
+ return 77;
+ }
+ EOF
+ # Requires static-libs
+ cat <<-EOF > tests/elf-from-memory.c || die
+ int main() {
+ return 77;
+ }
+ EOF
+
+ # https://sourceware.org/PR23914
+ sed -i 's:-Werror::' */Makefile.in || die
+}
+
+src_configure() {
+ # bug #407135
+ use test && append-flags -g
+
+ # bug 660738
+ filter-flags -fno-asynchronous-unwind-tables
+
+ use debuginfod && MULTILIB_WRAPPED_HEADERS+=( /usr/include/elfutils/debuginfod.h )
+
+ multilib-minimal_src_configure
+}
+
+multilib_src_configure() {
+ unset LEX YACC
+
+ export ac_cv_header_perfmon_pfmlib_perf_event_h=$(multilib_native_usex libpfm)
+ export ac_cv_lib_pfm_pfm_get_os_event_encoding=$(multilib_native_usex libpfm)
+ # Only for IMA verification of RPMs
+ export ac_cv_lib_rpm_headerGet=no
+
+ local myeconfargs=(
+ $(use_enable nls)
+ $(multilib_native_use_enable debuginfod)
+ # Could do dummy if needed? We could also split libdebuginfod
+ # (client support) into its own USE if required.
+ $(multilib_native_use_enable debuginfod libdebuginfod)
+ $(multilib_native_use_enable stackprof)
+ $(use_enable valgrind valgrind-annotations)
+
+ # TODO: This can become unconditional in a release after
+ # 0.196 depending on upstream progress.
+ $(use_enable threads thread-safety)
+
+ # Valgrind option is just for running tests under it; dodgy under sandbox
+ # and indeed even w/ glibc with newer instructions.
+ --disable-valgrind
+ --program-prefix="eu-"
+ --with-zlib
+ $(use_with bzip2 bzlib)
+ $(multilib_native_use_with libarchive)
+ $(use_with lzma)
+ $(use_with zstd)
+ )
+
+ [[ ${PV} == 9999 ]] && myeconfargs+=( --enable-maintainer-mode )
+
+ # Needed because sets alignment macro
+ is-flagq -fsanitize=address && myeconfargs+=( --enable-sanitize-address )
+ is-flagq -fsanitize=undefined && myeconfargs+=( --enable-sanitize-undefined )
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_test() {
+ env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \
+ LC_ALL="C.UTF-8" \
+ emake check VERBOSE=1
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ dodoc NOTES
+
+ # These build quick, and are needed for most tests, so we don't
+ # disable building them when the USE flag is disabled.
+ if ! use utils; then
+ rm -rf "${ED}"/usr/bin || die
+ fi
+}
diff --git a/dev-libs/iniparser/Manifest b/dev-libs/iniparser/Manifest
index 3760c78ee1b0..358d25d70d29 100644
--- a/dev-libs/iniparser/Manifest
+++ b/dev-libs/iniparser/Manifest
@@ -1,2 +1,3 @@
DIST iniparser-v4.2.6.tar.bz2 34731 BLAKE2B ce63256b8a6640e188184f7d1d7de40690ca612938d6d06cb97d012fe40e05e647510d97221bc61fa25db47a96565b21e7fd346f370afde7d3c461f93c3e2fc0 SHA512 6a37c0bad24093c5852d232e13e1c2182ab97508be3b03a44ea5510a70884cb7ac1fa8a9e8415ece2d2a13c9b38efabc1d37d920d894a198b89cd04731f32392
DIST iniparser-v4.3.0.tar.bz2 306990 BLAKE2B 32c35ced168511f2a72366dd5a47339d430830602d8aed6b3ca1b408ddcb7f2396ae418ada61d19eade7938e5002d9a70ac077428e7ca4f184aa29451a770f87 SHA512 351f0bbdecb147058cc234f1ab6b49579f93d5754b9c636336eb5fc069c8a141e6c6bb1d6f6a7640d60fc68c2617f4ed193cf534685c6706efa68dac0fb2357c
+DIST iniparser-v4.3.2.tar.bz2 307161 BLAKE2B 185fa8ff8669549db75e25c6acf67e5e99ff3a24ec23dd435ab3a9a690561475ae78aa0cc39f6f3f05ad3985bbffa49d8a5fb107f81bcef447777e6a2ce6650c SHA512 d2b61bc51488782bbb0027eea9a1ee0f7ef7964849890423e6a6066a37a4dbacb0afa0bc4bf11702edf15538e1ecb964092b95c887bfbe91942a30b5f9645aed
diff --git a/dev-libs/iniparser/iniparser-4.3.2.ebuild b/dev-libs/iniparser/iniparser-4.3.2.ebuild
new file mode 100644
index 000000000000..c55f13e2f22f
--- /dev/null
+++ b/dev-libs/iniparser/iniparser-4.3.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Free stand-alone ini file parsing library"
+HOMEPAGE="https://gitlab.com/iniparser/iniparser/"
+SRC_URI="https://gitlab.com/iniparser/iniparser/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
+S=${WORKDIR}/${PN}-v${PV}
+
+LICENSE="MIT"
+SLOT="0/4"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x64-solaris"
+IUSE="doc examples"
+# tests need work, uses ruby + fetchcontent
+RESTRICT="test"
+
+BDEPEND="doc? ( app-text/doxygen )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DOCS=$(usex doc)
+ -DBUILD_STATIC_LIBS=no
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ local DOCS=( AUTHORS README.md FAQ* )
+ cmake_src_install
+
+ if use examples; then
+ docinto examples
+ dodoc -r example/.
+ fi
+}
diff --git a/dev-libs/kirigami-app-components/Manifest b/dev-libs/kirigami-app-components/Manifest
index ac5772e7a78b..91a65d46e9cd 100644
--- a/dev-libs/kirigami-app-components/Manifest
+++ b/dev-libs/kirigami-app-components/Manifest
@@ -1 +1 @@
-DIST kirigami-app-components-1.0.2.tar.xz 49192 BLAKE2B 3c7607312f749ddc71a14df57fca67248019601bd35f583bd393130000961899afec04c216e1c9ed95e04ec6a446672c8d962e35a56299c81ab619d90b58e18d SHA512 fb34191b213ceb25c5ef2924010a4fd4bacffffa6b3fd4b8ebadaed0d7397ab813d349daf1f819f5f5a129f549902ad970cf60d1d837e95ad67d7857d0f454f4
+DIST kirigami-app-components-1.1.1.tar.xz 52084 BLAKE2B 3102dd641d077ed9c7044d9bded6fac639b8ec56770b6179d65206601db81fb2c4a80bed9b75add0d2aa156aa728efe01b2026218c133016750472df76897744 SHA512 0b788043c9234c94ce5c0c2eefd07693f9eaa3d53f81404155affbc2aa4742a1835a253fb839834286ba699a37aad10efd7c9247e98c5f090d5ea6e06b8b956f
diff --git a/dev-libs/kirigami-app-components/kirigami-app-components-1.0.2.ebuild b/dev-libs/kirigami-app-components/kirigami-app-components-1.1.1.ebuild
index 713c4e982e9c..2e21cc002776 100644
--- a/dev-libs/kirigami-app-components/kirigami-app-components-1.0.2.ebuild
+++ b/dev-libs/kirigami-app-components/kirigami-app-components-1.1.1.ebuild
@@ -4,8 +4,8 @@
EAPI=8
ECM_TEST="true"
-KFMIN=6.27.0
-QTMIN=6.10.1
+KFMIN=6.29.0
+QTMIN=6.11.2
inherit ecm kde.org
if [[ ${KDE_BUILD_TYPE} = release ]]; then
diff --git a/dev-libs/libgudev/libgudev-238-r2.ebuild b/dev-libs/libgudev/libgudev-238-r2.ebuild
index 1118b7adb3cf..9c1e3ab22ad5 100644
--- a/dev-libs/libgudev/libgudev-238-r2.ebuild
+++ b/dev-libs/libgudev/libgudev-238-r2.ebuild
@@ -1,9 +1,9 @@
# Copyright 2015-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit meson-multilib
+inherit locale-utils meson-multilib
DESCRIPTION="GObject bindings for libudev"
HOMEPAGE="https://wiki.gnome.org/Projects/libgudev"
@@ -44,6 +44,10 @@ multilib_src_configure() {
}
src_test() {
+ # test-double is skipped without this locale, bug #809359
+ local -x LOCPATH
+ elocale_gen fr_FR.UTF-8
+
# libsandbox interferes somehow.
# There are no access violations, but tests fail.
# https://bugs.gentoo.org/805449
diff --git a/dev-libs/libksba/libksba-1.8.1.ebuild b/dev-libs/libksba/libksba-1.8.1.ebuild
index 954b1167a311..b2f1cf5bec7d 100644
--- a/dev-libs/libksba/libksba-1.8.1.ebuild
+++ b/dev-libs/libksba/libksba-1.8.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )"
LICENSE="LGPL-3+ GPL-2+ GPL-3"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
IUSE="static-libs"
RDEPEND=">=dev-libs/libgpg-error-1.33"
diff --git a/dev-libs/libxml2/libxml2-2.15.4.ebuild b/dev-libs/libxml2/libxml2-2.15.4.ebuild
index 9d1ab3cfa67c..26f95d9bd992 100644
--- a/dev-libs/libxml2/libxml2-2.15.4.ebuild
+++ b/dev-libs/libxml2/libxml2-2.15.4.ebuild
@@ -16,7 +16,7 @@ if [[ ${PV} == 9999 ]] ; then
inherit git-r3
else
inherit gnome.org
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
fi
S="${WORKDIR}/${PN}-${PV%_rc*}"
diff --git a/dev-libs/libzia/Manifest b/dev-libs/libzia/Manifest
index ff086f870600..74e76127279e 100644
--- a/dev-libs/libzia/Manifest
+++ b/dev-libs/libzia/Manifest
@@ -1,2 +1,2 @@
-DIST libzia-4.72.tar.gz 657728 BLAKE2B 55f33c424c98604b51e7f81a485af26af7331cde8b77aa52589f51c608308f6f242f8e4e012ebf7a27a37dc0ede25726359daae2b49ad01c831c24350d224da3 SHA512 5d13e7d73d62907210def3f8b799c1650892d5640d2308f90d8c7067f15a886822fae9affe64e54a25c1198fda335f6d3f515de10758798f611005a94f6c0caf
DIST libzia-4.73.tar.gz 661169 BLAKE2B 0115b1d3429d60c16d79896faf686bbfbf52108f6f9aa9ce88e49ab0b9f721b6bf2c55c93075aa72abea218345333a64ba086ee8d1a7783abb64104e06ccc1c4 SHA512 d69039dfc02c3503f695e830ce26ff1097110f7960b7d084db422390b0d70bf9af12bc923ace9357466ea6b8921a102361bf608efce14dbdf7fc4bd0337ac47b
+DIST libzia-4.74.tar.gz 658076 BLAKE2B 6c688eb65f13e1dd91c984577d76f4f4c10c3a49e9d40bd65ee10391476d2d4ac1db76f33e1f34839e0c338dfbb94b182b69fae1e87680c15bed4d2c53f0c57c SHA512 6f462ef1f5996fa88b557b49d6110226e27abb3c0a98f6e79d7edbc6e4aabc72853f9f0dabeef0f5da7e1743225572e67c8693a1e794042abe751e756676e398
diff --git a/dev-libs/libzia/libzia-4.72.ebuild b/dev-libs/libzia/libzia-4.72.ebuild
deleted file mode 100644
index 2963357297f3..000000000000
--- a/dev-libs/libzia/libzia-4.72.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="Platform abstraction code for tucnak package"
-HOMEPAGE="http://tucnak.nagano.cz"
-SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="ftdi"
-
-RDEPEND="dev-libs/glib:2
- x11-libs/gtk+:3
- media-libs/libsdl2
- media-libs/sdl2-ttf
- media-libs/libpng:=
- net-libs/gnutls:=
- ftdi? ( dev-embedded/libftdi:1 )
- elibc_musl? ( sys-libs/libunwind )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-MAKEOPTS+=" -j1"
-
-src_prepare() {
- eapply_user
- sed -i -e "s/docsdir/#docsdir/g" \
- -e "s/docs_/#docs_/g" Makefile.am || die
-
- # fix build for MUSL (bugs #832235, 935544, 942789)
- if use elibc_musl ; then
- sed -i -e "s/zstr.h>/zstr.h>\\n#include <libunwind.h>/" src/zbfd.c || die
- sed -i -e "s/ backtrace(/ unw_backtrace(/" src/zbfd.c || die
- eapply "${FILESDIR}/${PN}-4.64-musl-strerror_r.patch"
- fi
-
- eautoreconf
-}
-
-src_configure() {
- use elibc_musl && append-libs -lunwind
- econf \
- $(use_with ftdi) --with-sdl \
- --with-png --without-bfd \
- --disable-static
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- find "${D}" -name '*.la' -type f -delete || die
-}
diff --git a/dev-libs/libzia/libzia-4.72-r1.ebuild b/dev-libs/libzia/libzia-4.74.ebuild
index 30323628b938..ac3397eb2bda 100644
--- a/dev-libs/libzia/libzia-4.72-r1.ebuild
+++ b/dev-libs/libzia/libzia-4.74.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=8
+EAPI=9
inherit autotools flag-o-matic
@@ -11,7 +11,7 @@ SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE="ftdi"
RDEPEND="dev-libs/glib:2
diff --git a/dev-libs/log4cxx/Manifest b/dev-libs/log4cxx/Manifest
index 2b5d160c2a2b..e9061cf9c234 100644
--- a/dev-libs/log4cxx/Manifest
+++ b/dev-libs/log4cxx/Manifest
@@ -1,3 +1,2 @@
-DIST apache-log4cxx-1.2.0.tar.gz 652992 BLAKE2B b20211dfc0fc722e5b34adea9b4f6009f827f5fae467d8e0ec097c9b8915b8413494232704eb49e062b7c18f53fc9240b244c093a3d54c1964a7f7b4ba41fe00 SHA512 377234407c5f1128fbff6e5d2fcda3f53aae275962cd9207257674fa016095f4bc4ac0c318c1ba2a75f3252402cce0776c1211ffa917a60f8a89a12f01d45efb
DIST apache-log4cxx-1.8.0.tar.gz 934518 BLAKE2B d9c8fad1e02fcbcf376e4b15b21f25e4e63c8bbf6f77662d0a41e149e606429e8910f52bac67bb23895c481515f2e0e098b8e7670da064a65934a6f3225054cf SHA512 2647b930c3d8d3f55b586943d691f0b40ef1c96276a95bbcb72a49db4130d690703d4f755faee2f5835684587a66ab04a0f715d1e4bfb1ae43da466804e7a879
DIST apache-log4cxx-1.8.0.tar.gz.asc 833 BLAKE2B 6d1ed114c2daba2bc76378a541bf49f82586035bd4c3c0d9655be0b3549808203edcb5ead619fb30de57407c5b1773be71d861ef78f1e57caf505833b19d71ec SHA512 b3c5aa884cb6b935edd2ad69565959deec0748d116956c2facf310c15a76f169507215d55f2f2a7658208314b43a28e85ded10f100bd5de1eb4cb01773122e47
diff --git a/dev-libs/log4cxx/log4cxx-1.2.0.ebuild b/dev-libs/log4cxx/log4cxx-1.2.0.ebuild
deleted file mode 100644
index 18080e69797f..000000000000
--- a/dev-libs/log4cxx/log4cxx-1.2.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-MY_P=apache-${P}
-DESCRIPTION="Library of C++ classes for logging to files, syslog and other destinations"
-HOMEPAGE="https://logging.apache.org/log4cxx/"
-SRC_URI="mirror://apache/logging/${PN}/${PV}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="Apache-2.0"
-SLOT="0/15"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
-IUSE="odbc smtp test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/apr:1=
- dev-libs/apr-util:1=
- dev-libs/libfmt:=
- odbc? ( dev-db/unixODBC )
- smtp? ( net-libs/libesmtp )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- app-arch/zip
- test? (
- app-alternatives/gzip
- app-arch/zip
- )
-"
-
-src_configure() {
- local mycmakeargs=(
- -DENABLE_FMT_LAYOUT=ON
- -DLOG4CXX_QT_SUPPORT=OFF
- -DLOG4CXX_ENABLE_ODBC=$(usex odbc ON OFF)
- -DLOG4CXX_ENABLE_ESMTP=$(usex smtp ON OFF)
- )
-
- cmake_src_configure
-}
diff --git a/dev-libs/log4cxx/log4cxx-1.8.0.ebuild b/dev-libs/log4cxx/log4cxx-1.8.0.ebuild
index aed62d35e77f..a4279a97ad74 100644
--- a/dev-libs/log4cxx/log4cxx-1.8.0.ebuild
+++ b/dev-libs/log4cxx/log4cxx-1.8.0.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="Apache-2.0"
SLOT="0/15.8"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
IUSE="odbc smtp test"
RESTRICT="!test? ( test )"
diff --git a/dev-libs/nss/Manifest b/dev-libs/nss/Manifest
index 04dade86e645..c7c575282f0e 100644
--- a/dev-libs/nss/Manifest
+++ b/dev-libs/nss/Manifest
@@ -3,3 +3,4 @@ DIST nss-3.112.5.tar.gz 76633068 BLAKE2B 389b2c98c8e99a951f1dc496107e72d87e11cbf
DIST nss-3.125.tar.gz 78567913 BLAKE2B 14d4a710464f9889a29441fba61556aab1b4074c284e21312272db6c43649398269235e9a3398b17052344dc535f36477d090a41bbb803de50052817471a2444 SHA512 8051cd13a1963d1a1b019e8aef6255fa6780170ea9d435b13ce81224c6e646968608dea7426c0903a4b83090acc25c06eba021b908981b65dca9748afc5471c6
DIST nss-3.129.tar.gz 87255363 BLAKE2B 54b7ff270850a8ebe21f370312c7a7283753acc368bbd7c6d1bc038c5d976ba7a7594060e7a2e2b483f2de305917890502b0d377fe09cc30361b88cb8354212d SHA512 ffad7bd7dbbd388c88072b21553f533ed721575b1a4dabbbd65a5f62c2f9e4b0e33e45c02d5f3a68b19b364e73f4880ab82924a673bdc2d1754237cde47b6b37
DIST nss-3.130.tar.gz 87281666 BLAKE2B 7de6e126a97b600fd7618c4e098a25afdf12ceb6b2ff2e9458cc752edfdbd26f009396601d8e9a110882f8cd23d4f340911a854413881bbb593809c6f8ae2b48 SHA512 e52d5d970acec1f88435140c119e36ba77644e95738bf90edb7b1f9cf9e5ae18466691913984b6546143aee8ab381f2588eca5c244b8e36ba2bc7c643ae1fe97
+DIST nss-3.131.tar.gz 88059889 BLAKE2B 407691e4e1d67dac04f9093618f9c1029aa6c7c38d55d24e7436428598598e2bd4578c657ae8981aabfadfa221e95b5216dff42a3d3292ba9cb270b11669c567 SHA512 acbc09c7fb127c74df5eb34cd0c3f65d19493d1e28baa6152333b0254261a77aef39ce151159b07e0e6bf0695423144d67b387b2a3afdc3ed785eb1cf904a4c5
diff --git a/dev-libs/nss/nss-3.131.ebuild b/dev-libs/nss/nss-3.131.ebuild
new file mode 100644
index 000000000000..74ec85d4e9c5
--- /dev/null
+++ b/dev-libs/nss/nss-3.131.ebuild
@@ -0,0 +1,437 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dot-a flag-o-matic multilib toolchain-funcs multilib-minimal
+
+NSPR_VER="4.39"
+RTM_NAME="NSS_${PV//./_}_RTM"
+
+# If the release is made in Github only, not released at the official archive.mozilla.org. These
+# Github-only tarballs have a different directory structure. Leave the variable empty for
+# archive.mozilla.org release:
+# GH_ONLY_REL=
+GH_ONLY_REL=
+
+DESCRIPTION="Mozilla's Network Security Services library that implements PKI support"
+HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
+
+if [[ -n ${GH_ONLY_REL} ]] ; then
+ SRC_URI="https://github.com/nss-dev/nss/archive/refs/tags/${RTM_NAME}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${RTM_NAME}"
+else
+ SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz"
+ S="${WORKDIR}/${P}/${PN}"
+fi
+SRC_URI+=" cacert? ( https://dev.gentoo.org/~juippis/mozilla/patchsets/nss-3.104-cacert-class1-class3.patch )"
+
+LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-solaris"
+IUSE="cacert test test-full +utils cpu_flags_ppc_altivec cpu_flags_x86_avx2 cpu_flags_x86_sse3 cpu_flags_ppc_vsx"
+
+REQUIRED_USE="test-full? ( test )"
+
+PROPERTIES="test_network"
+RESTRICT="test"
+
+# pkg-config called by nss-config -> virtual/pkgconfig in RDEPEND
+RDEPEND="
+ >=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}]
+ >=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
+ >=virtual/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}]
+ virtual/pkgconfig
+"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl"
+
+MULTILIB_CHOST_TOOLS=(
+ /usr/bin/nss-config
+)
+
+PATCHES=(
+ "${FILESDIR}"/nss-3.103-gentoo-fixes-add-pkgconfig-files.patch
+ "${FILESDIR}"/nss-3.21-gentoo-fixup-warnings.patch
+)
+
+src_prepare() {
+ default
+
+ if use cacert ; then
+ eapply -p2 "${DISTDIR}"/nss-3.104-cacert-class1-class3.patch
+ fi
+
+ pushd coreconf >/dev/null || die
+ # hack nspr paths
+ echo 'INCLUDES += -I$(DIST)/include/dbm' \
+ >> headers.mk || die "failed to append include"
+
+ # modify install path
+ sed -e '/CORE_DEPTH/s:SOURCE_PREFIX.*$:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
+ -i source.mk || die
+
+ # Respect LDFLAGS
+ sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk
+
+ # Workaround make-4.4's change to sub-make, bmo#1800237, bgo#882069
+ sed -i -e "s/^CPU_TAG = _.*/CPU_TAG = _$(nssarch)/" Linux.mk || die
+
+ popd >/dev/null || die
+
+ # Fix pkgconfig file for Prefix
+ sed -i -e "/^PREFIX =/s:= /usr:= ${EPREFIX}/usr:" \
+ config/Makefile || die
+
+ # use host shlibsign if need be #436216
+ if tc-is-cross-compiler ; then
+ sed -i \
+ -e 's:"${2}"/shlibsign:shlibsign:' \
+ cmd/shlibsign/sign.sh || die
+ fi
+
+ # dirty hack
+ sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../freebl/\$(OBJDIR):" \
+ lib/ssl/config.mk || die
+ sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../../lib/freebl/\$(OBJDIR):" \
+ cmd/platlibs.mk || die
+
+ multilib_copy_sources
+ lto-guarantee-fat
+
+ strip-flags
+}
+
+multilib_src_configure() {
+ # Ensure we stay multilib aware
+ sed -i -e "/@libdir@/ s:lib64:$(get_libdir):" config/Makefile || die
+}
+
+nssarch() {
+ # Most of the arches are the same as $ARCH
+ local t=${1:-${CHOST}}
+ case ${t} in
+ *86*-pc-solaris2*) echo "i86pc" ;;
+ aarch64*) echo "aarch64" ;;
+ hppa*) echo "parisc" ;;
+ i?86*) echo "i686" ;;
+ x86_64*) echo "x86_64" ;;
+ *) tc-arch ${t} ;;
+ esac
+}
+
+# @USAGE: <pointer bytes> <tuple>
+nssbits() {
+ case $1 in
+ 4) [[ $2 == x86_64* ]] && echo USE_X32=1 ;;
+ 8) echo USE_64=1 ;;
+ esac
+}
+
+multilib_src_compile() {
+ tc-export_build_env
+
+ local makeargs=(
+ CC="$(tc-getCC)"
+ CCC="$(tc-getCXX)"
+ AR="$(tc-getAR) rc \$@"
+ RANLIB="$(tc-getRANLIB)"
+ OPTIMIZER=
+ disable_ckbi=0
+ $(nssbits "$(tc-get-ptr-size)" "${CHOST}")
+ )
+
+ # Take care of nspr settings #436216
+ local myCPPFLAGS="${CPPFLAGS} $($(tc-getPKG_CONFIG) nspr --cflags) -D_FILE_OFFSET_BITS=64"
+ unset NSPR_INCLUDE_DIR
+
+ export NSS_ALLOW_SSLKEYLOGFILE=1
+ export NSS_ENABLE_WERROR=0 #567158
+ export BUILD_OPT=1
+ export NSS_USE_SYSTEM_SQLITE=1
+ export NSDISTMODE=copy
+ export FREEBL_NO_DEPEND=1
+ export FREEBL_LOWHASH=1
+ export NSS_SEED_ONLY_DEV_URANDOM=1
+ export USE_SYSTEM_ZLIB=1
+ export ZLIB_LIBS=-lz
+ export ASFLAGS=""
+ # Fix build failure on arm64
+ export NS_USE_GCC=1
+ # Detect compiler type and set proper environment value
+ if tc-is-gcc; then
+ export CC_IS_GCC=1
+ elif tc-is-clang; then
+ export CC_IS_CLANG=1
+
+ # bgo#927839
+ export NSS_DISABLE_UNLOAD=1
+ fi
+
+ export NSS_DISABLE_GTESTS=$(usex !test 1 0)
+
+ # Include exportable custom settings defined by users, #900915
+ # Two examples uses:
+ # EXTRA_NSSCONF="MYONESWITCH=1"
+ # EXTRA_NSSCONF="MYVALUE=0 MYOTHERVALUE=1 MYTHIRDVALUE=1"
+ # e.g.
+ # EXTRA_NSSCONF="NSS_ALLOW_SSLKEYLOGFILE=0"
+ # or
+ # EXTRA_NSSCONF="NSS_ALLOW_SSLKEYLOGFILE=0 NSS_ENABLE_WERROR=1"
+ # etc.
+ if [[ -n "${EXTRA_NSSCONF}" ]]; then
+ ewarn "EXTRA_NSSCONF applied, please disable custom settings before reporting bugs."
+ read -a myextranssconf <<< "${EXTRA_NSSCONF}"
+
+ for (( i=0; i<${#myextranssconf[@]}; i++ )); do
+ export "${myextranssconf[$i]}"
+ echo "exported ${myextranssconf[$i]}"
+ done
+ fi
+
+ # explicitly disable altivec/vsx if not requested
+ # https://bugs.gentoo.org/789114
+ case ${ARCH} in
+ ppc*)
+ use cpu_flags_ppc_altivec || export NSS_DISABLE_ALTIVEC=1
+ use cpu_flags_ppc_vsx || export NSS_DISABLE_CRYPTO_VSX=1
+ ;;
+ esac
+
+ use cpu_flags_x86_avx2 || export NSS_DISABLE_AVX2=1
+ use cpu_flags_x86_sse3 || export NSS_DISABLE_SSE3=1
+
+ local d
+
+ # Disables calling shlibsign during the build #956431 and #436216
+ tc-is-cross-compiler && makeargs+=( CROSS_COMPILE=1 )
+
+ # Build the host tools first.
+ LDFLAGS="${BUILD_LDFLAGS}" \
+ XCFLAGS="${BUILD_CFLAGS} -D_FILE_OFFSET_BITS=64" \
+ NSPR_LIB_DIR="${T}/fakedir" \
+ emake -C coreconf \
+ CC="$(tc-getBUILD_CC)" \
+ $(nssbits "$(tc-get-build-ptr-size)" "${CBUILD}")
+ makeargs+=( NSINSTALL="${PWD}/$(find -type f -name nsinstall)" )
+
+ # Then build the target tools.
+ for d in . lib/dbm ; do
+ CPPFLAGS="${myCPPFLAGS}" \
+ XCFLAGS="${CFLAGS} ${CPPFLAGS} -D_FILE_OFFSET_BITS=64" \
+ NSPR_LIB_DIR="${T}/fakedir" \
+ emake "${makeargs[@]}" -C ${d} OS_TEST="$(nssarch)"
+ done
+}
+
+multilib_src_test() {
+ einfo "Tests can take a *long* time, especially on a multilib system."
+ einfo "~10 minutes per lib configuration with only 'standard' tests,"
+ einfo "~40 minutes per lib configuration with 'full' tests. Bug #852755"
+
+ # https://www.linuxfromscratch.org/blfs/view/svn/postlfs/nss.html
+ # https://firefox-source-docs.mozilla.org/security/nss/legacy/nss_sources_building_testing/index.html#running_the_nss_test_suite
+ # https://www-archive.mozilla.org/projects/security/pki/nss/testnss_32.html (older)
+ export BUILD_OPT=1
+ export HOST="localhost"
+ export DOMSUF="localdomain"
+ export USE_IP=TRUE
+ export IP_ADDRESS="127.0.0.1"
+
+ # Only run the standard cycle instead of full, reducing testing time from 45 minutes to 15
+ # per lib implementation.
+ if use test-full ; then
+ # export NSS_CYCLES="standard pkix sharedb"
+ :;
+ else
+ export NSS_CYCLES="standard"
+ fi
+
+ NSINSTALL="${PWD}/$(find -type f -name nsinstall)"
+
+ cd "${BUILD_DIR}"/tests || die
+ # Hack to get current objdir (prefixed dir where built binaries are)
+ # Without this, at least multilib tests go wrong when building the amd64 variant
+ # after x86.
+ local objdir=$(find "${BUILD_DIR}"/dist -maxdepth 1 -iname Linux* | rev | cut -d/ -f1 | rev)
+
+ # Can tweak to a subset of tests in future if we need to, but would prefer not
+ OBJDIR="${objdir}" DIST="${BUILD_DIR}/dist" MOZILLA_ROOT="${BUILD_DIR}" ./all.sh || die
+}
+
+# Altering these 3 libraries breaks the CHK verification.
+# All of the following cause it to break:
+# - stripping
+# - prelink
+# - ELF signing
+# http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn6.html
+# Either we have to NOT strip them, or we have to forcibly resign after
+# stripping.
+#local_libdir="$(get_libdir)"
+#export STRIP_MASK="
+# */${local_libdir}/libfreebl3.so*
+# */${local_libdir}/libnssdbm3.so*
+# */${local_libdir}/libsoftokn3.so*"
+
+export NSS_CHK_SIGN_LIBS="freebl3 nssdbm3 softokn3"
+
+generate_chk() {
+ local shlibsign="$1"
+ local libdir="$2"
+ einfo "Resigning core NSS libraries for FIPS validation"
+ shift 2
+ local i
+ for i in ${NSS_CHK_SIGN_LIBS} ; do
+ local libname=lib${i}.so
+ local chkname=lib${i}.chk
+ "${shlibsign}" \
+ -i "${libdir}"/${libname} \
+ -o "${libdir}"/${chkname}.tmp \
+ && mv -f \
+ "${libdir}"/${chkname}.tmp \
+ "${libdir}"/${chkname} \
+ || die "Failed to sign ${libname}"
+ done
+}
+
+cleanup_chk() {
+ local libdir="$1"
+ shift 1
+ local i
+ for i in ${NSS_CHK_SIGN_LIBS} ; do
+ local libfname="${libdir}/lib${i}.so"
+ # If the major version has changed, then we have old chk files.
+ [ ! -f "${libfname}" -a -f "${libfname}.chk" ] \
+ && rm -f "${libfname}.chk"
+ done
+}
+
+multilib_src_install() {
+ pushd dist >/dev/null || die
+
+ dodir /usr/$(get_libdir)
+ dolib.so */lib/*$(get_libname)
+ local i
+ for i in freebl nssb nssckfw ; do
+ dolib.a */lib/lib${i}.a
+ done
+
+ # Install nss-config and pkgconfig file
+ dodir /usr/bin
+ cp -L */bin/nss-config "${ED}"/usr/bin || die
+ dodir /usr/$(get_libdir)/pkgconfig
+ cp -L */lib/pkgconfig/nss.pc "${ED}"/usr/$(get_libdir)/pkgconfig || die
+
+ # create an nss-softokn.pc from nss.pc for libfreebl and some private headers
+ # bug 517266
+ sed -e 's#Libs:#Libs: -lfreebl#' \
+ -e 's#Cflags:#Cflags: -I${includedir}/private#' \
+ */lib/pkgconfig/nss.pc >"${ED}"/usr/$(get_libdir)/pkgconfig/nss-softokn.pc \
+ || die "could not create nss-softokn.pc"
+
+ # all the include files
+ insinto /usr/include/nss
+ doins public/nss/*.{h,api}
+ insinto /usr/include/nss/private
+ doins private/nss/{blapi,alghmac,cmac}.h
+
+ popd >/dev/null || die
+
+ local f nssutils
+ # Always enabled because we need it for chk generation.
+ nssutils=( shlibsign )
+
+ if multilib_is_native_abi ; then
+ if use utils; then
+ # The tests we do not need to install.
+ #nssutils_test="bltest crmftest dbtest dertimetest
+ #fipstest remtest sdrtest"
+ # checkcert utils has been removed in nss-3.22:
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1187545
+ # https://hg.mozilla.org/projects/nss/rev/df1729d37870
+ # certcgi has been removed in nss-3.36:
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1426602
+ # conflict removed in 3.122.
+ nssutils+=(
+ addbuiltin
+ atob
+ baddbdir
+ btoa
+ certutil
+ cmsutil
+ crlutil
+ derdump
+ digest
+ makepqg
+ mangle
+ modutil
+ multinit
+ nonspr10
+ ocspclnt
+ oidcalc
+ p7content
+ p7env
+ p7sign
+ p7verify
+ pk11mode
+ pk12util
+ pp
+ rsaperf
+ selfserv
+ signtool
+ signver
+ ssltap
+ strsclnt
+ symkeyutil
+ tstclnt
+ vfychain
+ vfyserv
+ )
+ # install man-pages for utils (bug #516810)
+ doman doc/nroff/*.1
+ fi
+ pushd dist/*/bin >/dev/null || die
+ for f in ${nssutils[@]}; do
+ dobin ${f}
+ done
+ popd >/dev/null || die
+ fi
+ strip-lto-bytecode
+}
+
+pkg_postinst() {
+ if [[ -n "${ROOT}" ]]; then
+ elog "You appear to to be installing in a seperate \$ROOT"
+ elog "to complete the setup and re-sign libraries please run:"
+ elog "emerge --config '=${CATEGORY}/${PF}'"
+ else
+ sign_libraries
+ fi
+}
+
+pkg_config() {
+ sign_libraries
+}
+
+sign_libraries() {
+ multilib_pkg_postinst() {
+ # We must re-sign the libraries AFTER they are stripped.
+ local shlibsign="${EROOT}/usr/bin/shlibsign"
+ # See if we can execute it (cross-compiling & such). #436216
+ "${shlibsign}" -h >&/dev/null
+ if [[ $? -gt 1 ]] ; then
+ shlibsign="shlibsign"
+ fi
+ generate_chk "${shlibsign}" "${EROOT}"/usr/$(get_libdir)
+ }
+
+ multilib_foreach_abi multilib_pkg_postinst
+}
+
+pkg_postrm() {
+ multilib_pkg_postrm() {
+ cleanup_chk "${EROOT}"/usr/$(get_libdir)
+ }
+
+ multilib_foreach_abi multilib_pkg_postrm
+}
diff --git a/dev-libs/tre/tre-0.8.0_p20210321-r4.ebuild b/dev-libs/tre/tre-0.8.0_p20210321-r4.ebuild
index 9bc5ed71fd48..5bd177dacecc 100644
--- a/dev-libs/tre/tre-0.8.0_p20210321-r4.ebuild
+++ b/dev-libs/tre/tre-0.8.0_p20210321-r4.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
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python3_{13..14} )
DISTUTILS_EXT=1
DISTUTILS_OPTIONAL=1
-inherit autotools distutils-r1
+inherit autotools distutils-r1 locale-utils
DESCRIPTION="Lightweight, robust, and efficient POSIX compliant regexp matching library"
HOMEPAGE="
@@ -79,13 +79,10 @@ src_configure() {
}
src_test() {
- if locale -a | grep -iq en_US.iso88591; then
- emake -j1 check
- else
- ewarn "If you like to run the test,"
- ewarn "please make sure en_US.ISO-8859-1 is installed."
- die "en_US.ISO-8859-1 locale is missing"
- fi
+ # bug #728900
+ local -x LOCPATH
+ elocale_gen en_US.ISO-8859-1
+ emake -j1 check
}
src_compile() {
diff --git a/dev-libs/tre/tre-0.9.0-r1.ebuild b/dev-libs/tre/tre-0.9.0-r1.ebuild
index 22e83d6b51ea..8258abfd7296 100644
--- a/dev-libs/tre/tre-0.9.0-r1.ebuild
+++ b/dev-libs/tre/tre-0.9.0-r1.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{13..14} )
DISTUTILS_EXT=1
DISTUTILS_OPTIONAL=1
-inherit autotools distutils-r1
+inherit autotools distutils-r1 locale-utils
DESCRIPTION="Lightweight, robust, and efficient POSIX compliant regexp matching library"
HOMEPAGE="
@@ -74,13 +74,10 @@ src_configure() {
}
src_test() {
- if locale -a | grep -iq en_US.iso88591; then
- emake -j1 check
- else
- ewarn "If you like to run the test,"
- ewarn "please make sure en_US.ISO-8859-1 is installed."
- die "en_US.ISO-8859-1 locale is missing"
- fi
+ # bug #728900
+ local -x LOCPATH
+ elocale_gen en_US.ISO-8859-1
+ emake -j1 check
}
src_compile() {