diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 97667 -> 97682 bytes | |||
-rw-r--r-- | dev-libs/girara/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/girara/girara-0.4.0-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/girara/girara-0.4.2.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/girara/girara-9999.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/libuv/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libuv/libuv-1.47.0-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/nss/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/nss/nss-3.97.ebuild | 418 | ||||
-rw-r--r-- | dev-libs/spdlog/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/spdlog/spdlog-1.12.0-r2.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/vectorscan/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/vectorscan/vectorscan-5.4.11.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/zziplib/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/zziplib/zziplib-0.13.72-r4.ebuild | 4 |
15 files changed, 436 insertions, 16 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 20007b42147d..96e1be26f369 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/girara/Manifest b/dev-libs/girara/Manifest index cb1f3f1a62c9..34a1e53a0665 100644 --- a/dev-libs/girara/Manifest +++ b/dev-libs/girara/Manifest @@ -2,8 +2,8 @@ DIST girara-0.3.9.tar.xz 60832 BLAKE2B e577c4273c2d8f4d51e0ee283184ecd2b5b488779 DIST girara-0.4.0.tar.xz 60804 BLAKE2B 4653986945b89c87c597f20425c0009473679578b9a92fd3f4480aa2decc5dcbb2c1a2b0db07bef67c818c2e2940b6c363da0020fa24e7001be13cb68e2ba945 SHA512 a8753231cb9de7d60ddaf6e7b19537f23ce447be5885725c982e395068466089fca46980d413cc4ea8e4a8059ccd4615366297600bcf7ef5bddf02d649703dec DIST girara-0.4.2.tar.xz 61468 BLAKE2B 7be287045c269c8a1f2b51b14f0b7f840d7d5929f81c27410a86653943f73b07a1ce16c5a5fe420e7df6f02d4f426b48a622d4cf483dc5065cd8551e273d8fcf SHA512 70dddf8998e37acce25325ddeb5a9b5c5844669b51320733d9d7a572831f28c72207aa6d608b7a856969d7fd0785cbab076596b814eb2e9ef37bf49bb5d476ae EBUILD girara-0.3.9.ebuild 968 BLAKE2B 3b55d67d7e484e3c6a7ea9e0c5c24d11b317a9f0b9da739984ed3dbe9f7e5ef7ef32ac320c3960e48da9e242549b1cb83fe1e420068baa890dae323f20be3e1a SHA512 13644cd0cb77eeaf5fbcc64e5ec4a011215c64ef48a882d504d4f9a56928a04fd9bddc41f31fd48ed34d0b00c794e002ed5919b47ffa0405b7abbd1f1edd420b -EBUILD girara-0.4.0-r1.ebuild 1177 BLAKE2B 792648de0ee581cbc76d8295c951da50d4f00e71c0ce17750ec32f951bab6535fe93ca4558f5c7302ea35f3f4482810451d55d98b2ed32f2fdf1f1f5aa511376 SHA512 1cea215bbe328aac108e013306eaafa430f49f1f6a115531144b519bebf87721c10a07d55ef774e9d75ad9fef620c6463e5e04a563dec7846a98059e0b1f5e03 +EBUILD girara-0.4.0-r1.ebuild 1187 BLAKE2B 857f22512034a4011c61eb12613d75c99ece895734f9e0a009808645dc57f22210ff6a71a871202856bd39fd8c0b24ab95ffa7641c54badac1ae582da3c2f58b SHA512 871e383e3164809bd4dcb8a1c4927be370c3268469d6a2ea72a3c3ec6d078e984bd969ed381e9b801d2bb76024ad02d35a343f5c7f06d5bb6ee2aada16fdb46a EBUILD girara-0.4.0.ebuild 968 BLAKE2B 3b55d67d7e484e3c6a7ea9e0c5c24d11b317a9f0b9da739984ed3dbe9f7e5ef7ef32ac320c3960e48da9e242549b1cb83fe1e420068baa890dae323f20be3e1a SHA512 13644cd0cb77eeaf5fbcc64e5ec4a011215c64ef48a882d504d4f9a56928a04fd9bddc41f31fd48ed34d0b00c794e002ed5919b47ffa0405b7abbd1f1edd420b -EBUILD girara-0.4.2.ebuild 1181 BLAKE2B f6d85ff5e70e6c4d0c11b15be7ff8bedaa9ee8fa3c5c590a79690e9970afc78cde261ca7401b7d42242fd397af3e5526c44b592ad266764f489e01bdebe1539b SHA512 5ece9727f76025ba1d54ba7ff7ec48cf2bc39d55e8e5656341328843fd8e5f96093677d43a5f053b8643243280d10324a6566406d6b13a69022aac254be8774a -EBUILD girara-9999.ebuild 1181 BLAKE2B f6d85ff5e70e6c4d0c11b15be7ff8bedaa9ee8fa3c5c590a79690e9970afc78cde261ca7401b7d42242fd397af3e5526c44b592ad266764f489e01bdebe1539b SHA512 5ece9727f76025ba1d54ba7ff7ec48cf2bc39d55e8e5656341328843fd8e5f96093677d43a5f053b8643243280d10324a6566406d6b13a69022aac254be8774a +EBUILD girara-0.4.2.ebuild 1182 BLAKE2B e31d42b5cc3ae0e2e1010b0f812f637bf721be69fe339cc8e117ec898525d7b43e8f049b98fc36fb518c9ed657858b9774db3f70a05cb70f55a2805b1a2cbd6f SHA512 ed6bf9c41ca08ec5b453a78289543d886cb2dc324838221516841622f9b98042ef4f3bb298c6d9910b8464f14f3da39d85bbf92af4fbf1f768aef1a533580800 +EBUILD girara-9999.ebuild 1182 BLAKE2B e31d42b5cc3ae0e2e1010b0f812f637bf721be69fe339cc8e117ec898525d7b43e8f049b98fc36fb518c9ed657858b9774db3f70a05cb70f55a2805b1a2cbd6f SHA512 ed6bf9c41ca08ec5b453a78289543d886cb2dc324838221516841622f9b98042ef4f3bb298c6d9910b8464f14f3da39d85bbf92af4fbf1f768aef1a533580800 MISC metadata.xml 837 BLAKE2B ba99a1b35f30b8a4dd19fe21793ada95566bd3066410da554fa8370df42089f7d6c7cf1bfda737033c816b7183b1a91c0f63d879baf8cbaf6a45cdd9fa22ee15 SHA512 9223a09747ba4e7ffea7254300147a9e09fd4a54c897120388512fa1e4d14364573f33db92eecce0434185091535edc4f2cb72af30a8f8ef9a2b6d0dc0651e35 diff --git a/dev-libs/girara/girara-0.4.0-r1.ebuild b/dev-libs/girara/girara-0.4.0-r1.ebuild index 890f1ea9b389..cd469d5dc7e7 100644 --- a/dev-libs/girara/girara-0.4.0-r1.ebuild +++ b/dev-libs/girara/girara-0.4.0-r1.ebuild @@ -35,7 +35,7 @@ RDEPEND=" " DEPEND=" ${RDEPEND} - x11-base/xorg-proto + test? ( x11-base/xorg-proto ) " # Tests are run under virtx BDEPEND=" diff --git a/dev-libs/girara/girara-0.4.2.ebuild b/dev-libs/girara/girara-0.4.2.ebuild index 769478d9f724..6b506349dbaa 100644 --- a/dev-libs/girara/girara-0.4.2.ebuild +++ b/dev-libs/girara/girara-0.4.2.ebuild @@ -37,9 +37,9 @@ RDEPEND=" # Tests are run under virtx DEPEND=" ${RDEPEND} - x11-base/xorg-proto test? ( dev-libs/check + x11-base/xorg-proto x11-libs/gtk+:3[X] ) " diff --git a/dev-libs/girara/girara-9999.ebuild b/dev-libs/girara/girara-9999.ebuild index 769478d9f724..6b506349dbaa 100644 --- a/dev-libs/girara/girara-9999.ebuild +++ b/dev-libs/girara/girara-9999.ebuild @@ -37,9 +37,9 @@ RDEPEND=" # Tests are run under virtx DEPEND=" ${RDEPEND} - x11-base/xorg-proto test? ( dev-libs/check + x11-base/xorg-proto x11-libs/gtk+:3[X] ) " diff --git a/dev-libs/libuv/Manifest b/dev-libs/libuv/Manifest index 65b1de6e1f88..8193d65c9526 100644 --- a/dev-libs/libuv/Manifest +++ b/dev-libs/libuv/Manifest @@ -7,6 +7,6 @@ DIST libuv-1.46.0.tar.gz 1311065 BLAKE2B fd492b6ca873a08ad4df7561b9d83a09d9bd2cb DIST libuv-1.47.0.tar.gz 1316016 BLAKE2B 6c530f8625366a9bf3f99ac4eb6b3bf3d4f6a05f98848e08cdab884934d79862cf8e79dd2d506ec734d701faab517eba2215063dce4b4216add5cfd6bfebd82e SHA512 3d0e76c4e29c5de14fddda07409f8db30dc64261d1c0bdfce7f70eb8f5ac911707fe662e81c4f117e4068cb0728158fc2b8255f8aa497c0f688e46c7fb93a5b3 EBUILD libuv-1.44.2-r1.ebuild 1132 BLAKE2B 7c4ca7b9cc0e4f11dee243b02487e2bc259ad7b96738d720ec105830d2ca4a0f841a4ee2a57fbadcb5a92ac74e130cd4a64617e6e928464272ac0390c3b5ff41 SHA512 1bdd78c8221d84daa1d5469d21d33a754e7913e975f2042a0250fe74f7d537029cd266e04107f187bd4d5e1824898933708bf6e04d2deb636dee0319e968f849 EBUILD libuv-1.46.0.ebuild 1146 BLAKE2B 961653458dd2f4b30f99636ffdf2c1ca7cb8c884337b7998938409452bfcff0b75a2f6c4817ddb917c8b1ae0390e345cc329214e61ca948e87f22c850636cd34 SHA512 b049f877e89e06860de8fb1cddae449463e51974be456666044641620a3af9bdcc4145cce9fca8147d355dae12e2519b477f83b72ded2ba02026a6000917f92d -EBUILD libuv-1.47.0-r1.ebuild 1282 BLAKE2B 6435968ec0f55e9ef7eec86f55fb7a197eee38b96592e63c0464c502fa49969f0a4b5ad8aab9b6976e7963fcdea8e5798516cdac9a8f7fd9a0bbc92cf6416ea9 SHA512 9f8240a61616e32d915aa6659e1a02abd68a3a5f8683e25b839dc7946b4912f9982da95081f36cd7ec117220abb5c66edba87c948d14278c77cba3af410e65ff +EBUILD libuv-1.47.0-r1.ebuild 1281 BLAKE2B 7c543d2bb3e8394984984d94ea0c995eaf598706f55186d6e665125738ddf5da45a79853324536965893c7df41950b67c601737acb1c9e5a9f6be37bb39dfe36 SHA512 dbdfe34ded63a551fa1b9056f1a052ff9e80f5337fafaaf122a798b967a00ff66269de752155911d436ecb9d071b09447e6be2f0b743021582a01cf32ac849f5 EBUILD libuv-9999.ebuild 1153 BLAKE2B c752178cdbe7155cd8975f305d370ce1223f5f1d53506d0821906f560b0d0a7edc270aae281c76e048b41c54cfad078c47e07ada2cfa8015286310128f0a82f8 SHA512 083e68fe7873199339e3367fa3d0100d23ee079a4f6f58d82331fd97f25445b58226dd2d4f80f7110a7d1c8ba9eaae72bf68bcc873bb1e913c12c350588bfaee MISC metadata.xml 1426 BLAKE2B 79a040706bd2e88560fdf7cdd75226c51384f1b27f8f86798f3a694d1d4b02ce309edef4f1921f73e498533e37deff9051ebdaa6ae565defabe9d4546aa33bd4 SHA512 a6fa2c3217de06d7d324b37b00e0cb19e8d0b192cd10736d32f5d459c701c14a6aa296d7d4d292f7c56120953423df0068f3f71495941295c97e86c283b084d3 diff --git a/dev-libs/libuv/libuv-1.47.0-r1.ebuild b/dev-libs/libuv/libuv-1.47.0-r1.ebuild index 78833d42b343..81bf82c103ea 100644 --- a/dev-libs/libuv/libuv-1.47.0-r1.ebuild +++ b/dev-libs/libuv/libuv-1.47.0-r1.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} = 9999* ]]; then inherit git-r3 else SRC_URI="https://github.com/libuv/libuv/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" fi LICENSE="BSD BSD-2 ISC MIT" diff --git a/dev-libs/nss/Manifest b/dev-libs/nss/Manifest index e03c7eaba6ec..495bb314b1bd 100644 --- a/dev-libs/nss/Manifest +++ b/dev-libs/nss/Manifest @@ -6,8 +6,10 @@ DIST nss-3.91-fixed-certs.tar.xz 11300 BLAKE2B 85f191b85c7caf1ee24f92a2ff76f7660 DIST nss-3.91.tar.gz 72267945 BLAKE2B 7dcd680311a5503007c0bb738ec24b50e40841470592c2d8dd542b3bdf085a6e4816f1fab4cb6b86220ff3e39a828f57a0a9172e3d1c2c82537eab6558a50226 SHA512 65258a4ea0b8c06ec49dd411eabe860ad5d7c3873beb27f8f43e10ef6be020b1522112df9deaeed27f23fd72f13cc7554e9c1854cd97e4716de419f722aff020 DIST nss-3.92.tar.gz 72133646 BLAKE2B 251daae56ccf8b8f4fd0b4287fea2049b6e72d1fc57fe02fb3d4f0b8a083aaf00046844145721a1e7620ecfbdbbb93206591e47386c12662765c09cf99db42bc SHA512 dc317ec909433c9026f108b466bc436110b3c77edc3f73aef3d6dc6782f584c205053a368e4a134715bfdf63d2c1ae2185fc23238e5c2dca8f88ec185b1fec2a DIST nss-3.96.1.tar.gz 76715092 BLAKE2B 2a9ea65dd89cba82ea10a57887b10109369af81d4c2911c54cfd081a661498ad7f56ad419092539caaa16341045edcc50f5a3c74d87d66094dacbc91226a9d1c SHA512 fe8baefa767b711a108aafdb496a45d15d2296c3bdd0b1e4389c49197d1cf5365872ee41c23b6823285803887c74538d13347af87d64750551e9cbc87a9cb338 +DIST nss-3.97.tar.gz 76664827 BLAKE2B ede68cf0269edd8ffbe1e90682fb51c202d6298f8bfa5ebbd81e12785e29e6a6611ef3f0feceee73bea4d25ae12f251225649a73d249fdd90af179e07e39f3f6 SHA512 1ad6ac6ff626dc187f42b313c1088ef4b4ac0ee3e156d37824c36e778faa977e8f132302ac00d74aa8f9903e791a0fee6cecb5244d2601e0825cc125b6f33d6a DIST nss-cacert-class1-class3-r2.patch 21925 BLAKE2B 7627ff9a09f084c19d72d0490676865e3cab3ca7c920ae1ce4bea2db664f37fd0aa84fcda919809a516891ab2a62e2e7a43a9d6ada4c231adfe4c216525fac7d SHA512 1ce6ff9ab310aaca9005eafb461338b291df8523cc7044e096cd75774ce746c26eed19ec6bb2643c6c67f94650f2f309463492d80a90568f38ce2557f8ada2f4 EBUILD nss-3.91.ebuild 11762 BLAKE2B 04104e5221a437db7a8e056b6940bb4b1b3d49ed790c72da8de1244debff478f683186816d2b608a54718407ed6b621f4df0d6e511b2b928aa90142a53c630fa SHA512 f60cda155bf7825d102b75f1924429c90e7e7039cfe3449baa9b5a577839543cdd51dda1d707b4c82ed908eb9680365359095f5617d2672addc6b05e97849c96 EBUILD nss-3.92.ebuild 11335 BLAKE2B 5f94b4d9687ab37207861670a97d856f91e30f0ea57f0f67c4e3c18066939db2dc3c79cbbddacca53515fd49f3211fda4c84be2cf37e16967e7fd1e7c9d56344 SHA512 313d21c4ea9f4c009b828ee2c3bea5a9b5999822e0a7890950f0952a3c95f59313dba9bff7c18926539b8c2673b295de1dda3f4f678efbe83403180e65454c92 EBUILD nss-3.96.1.ebuild 11571 BLAKE2B 0cda30f165213942fc117ca1dbf589bff0db5347707f7828f263f2d388e9af4a9797f1470fb59d761c68b14ea4209124b6f68b3ce800d2091825297b37ca314c SHA512 cfbe7cc8dc0bd846f8bf221e17b029ca52282e9f758b56c3990a7ebf35c75a6323600a8ccb486965e9e8180f4b3dca61fb4dcfc2148095a9984ccf4b28b27ddb +EBUILD nss-3.97.ebuild 11571 BLAKE2B e37869cece7d551303ca4ba14392eee4f4d48b49225d2658590e7c11f705ff061ef1c76312a50edf480d586f3ab6c429c8693536c6c946f11b15404c81032e6a SHA512 a95608d5046cbdb462faf421f7f9d3a84ec0fe18dbb429a3db66a327bf2e0cad300bf840e4fe5ec967869c0b2cd83a939c0641e4a6d533cbaf340e086e611e0f MISC metadata.xml 603 BLAKE2B 74c5a84f8a860b6a43731ed83cd40373187236de7add14ca33f3417eb0cfc165aa5df5308dca14b4664bcfe453e0f328988df4459af5781da4cbcb7bfc00e93d SHA512 9d7fb0be71d18ad1da440de047f4430bd3b50a8584d8dccd43e5e4cdf050f5c5cfeb34cd82ea617f2419ff092908becd1508eb7efcf54f3cca8c7f36af9517bb diff --git a/dev-libs/nss/nss-3.97.ebuild b/dev-libs/nss/nss-3.97.ebuild new file mode 100644 index 000000000000..0977ca4223fb --- /dev/null +++ b/dev-libs/nss/nss-3.97.ebuild @@ -0,0 +1,418 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic multilib toolchain-funcs multilib-minimal + +NSPR_VER="4.35" +RTM_NAME="NSS_${PV//./_}_RTM" + +DESCRIPTION="Mozilla's Network Security Services library that implements PKI support" +HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS" +SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz + cacert? ( https://dev.gentoo.org/~whissi/dist/ca-certificates/nss-cacert-class1-class3-r2.patch )" + +LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris" +IUSE="cacert test +utils cpu_flags_ppc_altivec cpu_flags_x86_avx2 cpu_flags_x86_sse3 cpu_flags_ppc_vsx" +RESTRICT="!test? ( 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}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + virtual/pkgconfig +" +DEPEND="${RDEPEND}" +BDEPEND="dev-lang/perl" + +S="${WORKDIR}/${P}/${PN}" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/nss-config +) + +PATCHES=( + "${FILESDIR}/${PN}-3.53-gentoo-fixups.patch" + "${FILESDIR}/${PN}-3.21-gentoo-fixup-warnings.patch" + "${FILESDIR}"/nss-3.87-use-clang-as-bgo892686.patch +) + +src_prepare() { + default + + if use cacert ; then + eapply -p2 "${DISTDIR}"/nss-cacert-class1-class3-r2.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 + + 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 +} + +nssbits() { + local cc cppflags="${1}CPPFLAGS" cflags="${1}CFLAGS" + if [[ ${1} == BUILD_ ]]; then + cc=$(tc-getBUILD_CC) + else + cc=$(tc-getCC) + fi + # TODO: Port this to toolchain-funcs tc-get-ptr-size/tc-get-build-ptr-size + echo > "${T}"/test.c || die + ${cc} ${!cppflags} ${!cflags} -fno-lto -c "${T}"/test.c -o "${T}/${1}test.o" || die + case $(file -S "${T}/${1}test.o") in + *32-bit*x86-64*) echo USE_X32=1;; + *64-bit*|*ppc64*|*x86_64*) echo USE_64=1;; + *32-bit*|*ppc*|*i386*) ;; + *) die "Failed to detect whether ${cc} builds 64bits or 32bits, disable distcc if you're using it, please";; + esac +} + +multilib_src_compile() { + # use ABI to determine bit'ness, or fallback if unset + local buildbits mybits + case "${ABI}" in + n32) mybits="USE_N32=1";; + x32) mybits="USE_X32=1";; + s390x|*64) mybits="USE_64=1";; + ${DEFAULT_ABI}) + einfo "Running compilation test to determine bit'ness" + mybits=$(nssbits) + ;; + esac + # bitness of host may differ from target + if tc-is-cross-compiler; then + buildbits=$(nssbits BUILD_) + fi + + local makeargs=( + CC="$(tc-getCC)" + CCC="$(tc-getCXX)" + AR="$(tc-getAR) rc \$@" + RANLIB="$(tc-getRANLIB)" + OPTIMIZER= + ${mybits} + disable_ckbi=0 + ) + + # Take care of nspr settings #436216 + local myCPPFLAGS="${CPPFLAGS} $($(tc-getPKG_CONFIG) nspr --cflags)" + 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 + 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 + + # Build the host tools first. + LDFLAGS="${BUILD_LDFLAGS}" \ + XCFLAGS="${BUILD_CFLAGS}" \ + NSPR_LIB_DIR="${T}/fakedir" \ + emake -C coreconf \ + CC="$(tc-getBUILD_CC)" \ + ${buildbits-${mybits}} + makeargs+=( NSINSTALL="${PWD}/$(find -type f -name nsinstall)" ) + + # Then build the target tools. + for d in . lib/dbm ; do + CPPFLAGS="${myCPPFLAGS}" \ + XCFLAGS="${CFLAGS} ${CPPFLAGS}" \ + 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 "30-45+ minutes per lib configuration. 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. + export NSS_CYCLES=standard + + 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) + cp -L */lib/*$(get_libname) "${ED}"/usr/$(get_libdir) || die "copying shared libs failed" + local i + for i in crmf freebl nssb nssckfw ; do + cp -L */lib/lib${i}.a "${ED}"/usr/$(get_libdir) || die "copying libs failed" + 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 + nssutils+=( + addbuiltin + atob + baddbdir + btoa + certutil + cmsutil + conflict + 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 +} + +pkg_postinst() { + 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/spdlog/Manifest b/dev-libs/spdlog/Manifest index a1fd7dbdbd1c..47ada09d09f9 100644 --- a/dev-libs/spdlog/Manifest +++ b/dev-libs/spdlog/Manifest @@ -6,7 +6,7 @@ DIST spdlog-1.11.0.tar.gz 373033 BLAKE2B a05a535ba55641ecb3bf484eeff902f266bf396 DIST spdlog-1.12.0.tar.gz 251037 BLAKE2B 3170f1e680fc4652ed8ddc0f74627aec22149f028def599fc5ed4db3a942d840006963789577f2e3df0e2b8ca1d98a881f3b96be5e1174fdf0acea15b3676d6e SHA512 db9a4f13b6c39ffde759db99bcdfe5e2dbe4231e73b29eb906a3fa78d6b8ec66920b8bd4371df17ae21b7b562472a236bc4435678f3af92b6496be090074181d DIST spdlog-1.13.0.tar.gz 264003 BLAKE2B 8ffeec847f082a0932f406ab44b4653661fdbe95a15f7b736367ee6d8f45ab36ca2182a9e9c6fba5c0688ab5436c16932b130541a8532cc2e5f4980e6340b929 SHA512 44fcb414ad9fbbe2a6d72c29143eeeae477b687ed30ae870d661b032a029ad4214ef43e7ef6350d02791d05504492978ade2d6733fab12ce4884d8f0bc4c6340 EBUILD spdlog-1.11.0-r3.ebuild 1066 BLAKE2B 2f9e5013ded134257381f8be7a545677ff1950018cbee2d6e56a1c668890c0d5c2a1f606473cfed9858155ee1e7ba15fc147bd0c0a2f54480be35d58525989ab SHA512 07fa9eb7b51213654f012761aa0d3c107499bcf9f07371b5fdfcccfefba5d378cb825bea61c618c8284759091030cd995fc454e132b541c8bf95cad043d78689 -EBUILD spdlog-1.12.0-r2.ebuild 1109 BLAKE2B 072bf95186a95a2c60401634d7408198c591c8e57863aa6fadb290f861da2253c64c39bc30e08a6f875b8ff8cc2049a323e511b5a5d271151d33b7ad895879da SHA512 70e1f219b6b88c9b162c59ae63b1acf60bcbdcb97288dfc1f1663916e3c337cb05b455e48386ef41c106063130f7cfb15bf193f24b4784ef2b84303a394482a5 +EBUILD spdlog-1.12.0-r2.ebuild 1107 BLAKE2B a8aff8275e5d6459a013b61fd6d1511959c59c8441516c1e64344a73618e4719b79a69c4d5c5847b9e83d488016cc8b45822fdb9717c5f3d1bf50b03f0477455 SHA512 7c61083f9deb5fc28818ca30d1d5adea0ad43c6c5456fca262e76a14de0e16f0aeb8f620784411fa6d8a05a7942d626efcab9e135a81ea2661b75ba24a0dfe58 EBUILD spdlog-1.13.0.ebuild 1078 BLAKE2B 0ea422619dfe01a0aa8229eca9789e6d90837b2841dd65e9c1c5df19cf2837c10d26eff6ee05ef194a27176294c7446bc24845714ecccf62701c024d58e93816 SHA512 56b9588fbbaca09c64da1bbda9b5ddab76acb2811b0ec705b61b8ed336bafb49686e3f2450c5219e39f594b4fec39d02f9ff1fc782ae7e42b6026df6cc52ae20 EBUILD spdlog-9999.ebuild 1037 BLAKE2B dc327846fe1bb2ed5199ba13f53ba24b2040af8df5e6e094059d96436b1e882cf1fee83f92da10812ac738a4c50e8eaae3d0c7b1fe5fca72ca1e17831b647364 SHA512 fe9ec2e627e4dc8195bfee5892e966ee119bd6149e9002d5a8469f981d20e980fccb6bbeaf9eb90b564982ab479efe9f4cf2235a3db60cf4807b89e8296b9943 MISC metadata.xml 475 BLAKE2B cd5f474d10b31fb435f603c876f20d7a13c892eb6b10b4f135855fcd3c2da9ee5d9679ccf384de61472f36df06af8f49ac19c302a27fd0112b07a7da2dba1504 SHA512 89ddbd67b6fd5a54f035d068d71eac904b677d2370f9e15842eb442bc7e4ec9f579df8db2090480c3673d558371c6d7ca3a8f7b36c316ac54d47e4baa018381c diff --git a/dev-libs/spdlog/spdlog-1.12.0-r2.ebuild b/dev-libs/spdlog/spdlog-1.12.0-r2.ebuild index 3e92d724e638..1e0912482d76 100644 --- a/dev-libs/spdlog/spdlog-1.12.0-r2.ebuild +++ b/dev-libs/spdlog/spdlog-1.12.0-r2.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/gabime/${PN}" else SRC_URI="https://github.com/gabime/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" fi LICENSE="MIT" diff --git a/dev-libs/vectorscan/Manifest b/dev-libs/vectorscan/Manifest index f884cd4d0257..f28dee57a7d1 100644 --- a/dev-libs/vectorscan/Manifest +++ b/dev-libs/vectorscan/Manifest @@ -1,3 +1,3 @@ DIST vectorscan-5.4.11.tar.gz 1895332 BLAKE2B a8f5a1230af0ddf7d9fb9299769ec1736d37ac3284f6a98b1e650af461206cf459eac35d13a47beb6683786c6529539b2d082edf426e7d4890ed11804c76268b SHA512 ed74e441c1106a90b344898320d20b74726db86af338dee8c908db941a88e73355ca87c6d64e212eb860bf76a96121021ebaabd48ce359b47634caaee9df3e5e -EBUILD vectorscan-5.4.11.ebuild 1503 BLAKE2B 97269033fddf822725689b96e6dada2e4ef1272ab1a03b12f3cd4d28e22d1e6d5f26fda9b4168bb7238384e89a640b63aba336380d7b76f428a82753eb6e751d SHA512 aec3518eaf45e5b1d74390682650d979a823a5dee72ce5045b62e98a4ca24d1264e22a96bfb0610364de4da5eff9251fe0e4b51b52d1097f5432a6309c1966e8 +EBUILD vectorscan-5.4.11.ebuild 1513 BLAKE2B 16297e3836f8634c34a13a08545858dac51965d2b5190d559e55ab040540c809b10f2c1535d3f1ec2b992f298d8ffb086f52aa905a0db815904021818cb3dfbf SHA512 857041f94cc921c68efcdaa6e58d75481f4f4a2265a7d017ce08923e7460b07e219c46bd0d175740bf3ba73320e3106dc49b3f93346b96cc3f60def070732cb1 MISC metadata.xml 880 BLAKE2B 65aa39b8d66af4673461921cea8749918b0239d41984035e65c7f45d6caa3ed9f31b5ccabd5cf78db2926431f707334068be4c7ff9535cad4977d818b473afbe SHA512 889bf54d032723022c484019502a2f93c5bd55b52ef8399bb7ad8cafe842de42871994b446982c9f098f7955df43f094ad7700aee557132ac250a4af4ad95ec9 diff --git a/dev-libs/vectorscan/vectorscan-5.4.11.ebuild b/dev-libs/vectorscan/vectorscan-5.4.11.ebuild index b047e39dd69f..54061fe588fc 100644 --- a/dev-libs/vectorscan/vectorscan-5.4.11.ebuild +++ b/dev-libs/vectorscan/vectorscan-5.4.11.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,7 @@ S="${WORKDIR}/${PN}-${P}" LICENSE="BSD" SLOT="0/5" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" IUSE="cpu_flags_x86_avx2 cpu_flags_x86_sse4_2" DEPEND=" diff --git a/dev-libs/zziplib/Manifest b/dev-libs/zziplib/Manifest index 358f3f892eb3..da852b70046d 100644 --- a/dev-libs/zziplib/Manifest +++ b/dev-libs/zziplib/Manifest @@ -2,5 +2,5 @@ AUX zziplib-0.13.72-Wint-conversion.patch 1043 BLAKE2B 6ff6a4079cd6fba6f67649eb4 AUX zziplib-0.13.72-incompatible-pointer-types.patch 1838 BLAKE2B 4211b5cb8f6ae4531ffb8463714f96ed9850a2a61e41449923519c99ac218fe54872363ade9238f52071b05b92e0f7660800300bbb4047865004e694cfb20429 SHA512 09a4af9a2880fe410fcbbbf3f6ba0af329f781e8a5078a634851298f27bb13eba83f010c0e3ff7c6e9d4a699b60935737d23383efc577401e3436cba502f0cf2 DIST zziplib-0.13.72.tar.gz 1162175 BLAKE2B ff5617645e25040e4666e5440651fbb2b04c0505c7bda08b158f44c63c5dd53ec97a9942908314c3b103a4685be49368e964d249fcf9b9d685e328f0ebabdedd SHA512 4bb089e74813c6fac9657cd96e44e4a6469bf86aba3980d885c4573e8db45e74fd07bbdfcec9f36297c72227c8c0b2c37dab1bc4326cef8529960e482fe501c8 EBUILD zziplib-0.13.72-r3.ebuild 1515 BLAKE2B 11c9a3507e5bd65c4d94b2e293e705abdda30377daf6dc9c0ced41194463fd77b46ee95e11c6493f14968da8206a5727322569460c615ebd806e2e03fa5c6890 SHA512 7dccdcdfed66231264e38ab697db070f133d6e70ca6fd4ca4b0358f4bf19927b367d7196957ca951a039a028de1ace0035e96c48e6bac0c0cedeb804b5d0c4d6 -EBUILD zziplib-0.13.72-r4.ebuild 1585 BLAKE2B 687ec28d53bae62360b4c5d6d7bffeabe4a4af1a02f61b89ee46e9983f600f8b00cc01eb1507d90207d32b599829e034d1051a4bca359593e165da3f13de8552 SHA512 dbb9146384ad4952711d41c14eb23ba957b7224767c9b2e36e00543b8cce0a1b33b3d05901b3b8ca200da20ac8eb72b06478966f29f56bf346cfcd47e995ce0c +EBUILD zziplib-0.13.72-r4.ebuild 1580 BLAKE2B 82d2d95a3100e427d45c1275865ed57afaca137bf8aa58615acb486104b72fcbf33da1a21390370bdd7ba845b0bb6fe7142be9bec388ebd2376bcb2b61d75cb9 SHA512 87f280a4d45bff9fbc29828538ce9b0835c1d2b2e47495d80728e2c454283e5cbfb67c4b9080772eebb9891c242ddfe036ae00040bf835b3b95c85b607170080 MISC metadata.xml 300 BLAKE2B 5bd0efee346b2d954d36b1dd83e1d8ef54944ec7f7fb3a88bdcba73b2f85d0236cd638f763388ed43a30c44f9db5b83223310d66232731e6d37ef57315c04129 SHA512 0a233cbfe081cd55c76d8229261f1d8d8a8bf1435886c36e938a3a059a2db9b44bed165b7aeddbe568756a3e19e3cbd12dbee659a5a8eb2feea21c5f2ab35d22 diff --git a/dev-libs/zziplib/zziplib-0.13.72-r4.ebuild b/dev-libs/zziplib/zziplib-0.13.72-r4.ebuild index b0fb082aea2a..028e88abb869 100644 --- a/dev-libs/zziplib/zziplib-0.13.72-r4.ebuild +++ b/dev-libs/zziplib/zziplib-0.13.72-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,7 +14,7 @@ SRC_URI="https://github.com/gdraheim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="|| ( LGPL-2.1 MPL-1.1 )" SLOT="0/13" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="sdl static-libs" # Tests require internet access |