diff options
Diffstat (limited to 'dev-libs')
50 files changed, 1143 insertions, 2526 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 963c5a442844..127af649a7df 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/check/Manifest b/dev-libs/check/Manifest index 48eed5d8c997..1330d7c5b696 100644 --- a/dev-libs/check/Manifest +++ b/dev-libs/check/Manifest @@ -2,5 +2,5 @@ AUX check-0.14.0-r2-disable-automagic-dep.patch 769 BLAKE2B 286eeaa0e45e524c400f AUX check-0.15.2-Fix-pkgconfig-file-s-libdir-value.patch 887 BLAKE2B 7e3828af77a430ef366b2d7855c1fb5f909c9e8b13273e2d89b34711c95e5b930f95d39b21438e115b208f8eb1f4637aec0eb4ab0e6efb293174d9ddbd2946a2 SHA512 eae3e3b2d3f7f59c94af3c39797490247df827450999edadd363d99c373a465aeec913e90656e94d04215268742fb79d049a32bb3910b16b64175f1177de43f8 DIST check-0.15.2.tar.gz 306136 BLAKE2B e93755b58ddfea7ecc013e5449806611baedb91b362e573d4e3b6f716feeb0012cceec80f7109e44b2808deb980300c4f7825919b97878b160a1bf884357bde3 SHA512 cf81ca63142f33779df2e3542e049b9034d30bc502a663a4379bbfe85c7ee8fd80ce382583e781651d99fe830895122dab5b6793f87425b571c3927f0ba3b60e EBUILD check-0.15.2-r1.ebuild 1471 BLAKE2B d836ad8736b8bb3822f69333ea69d31ac597549b4ba65c3177e4565cba0c60ddeb30e8b1d328809421cc979ace8f5659fab744307e1781a4e0b7f34de0890658 SHA512 efc0fe690a27dafddd114a948d82506f4ac0fb33eb5fd109de4f6f044f6c9bbafa67ca563fefc8275901fadad6261b2d2498bbbe1c089c2845bb33293bd2456d -EBUILD check-0.15.2-r2.ebuild 1367 BLAKE2B 01eb21f443802b1c8b2dd67548295fcd3f1cd47eabbaf51dca5de29ee9f3c23710a4ff09e748edb9d4d475e11d56891677ba1ab775de73301e293fc59255cc19 SHA512 a314d47e9b3bff467cee4ebd654e94ac7ae6ffebe6fcf7c18a7e69acccee9ddba168cd45a679d87c3e8529d1c226b5879b81583589ffc35d1bbbf7d9ecf9b20d +EBUILD check-0.15.2-r2.ebuild 1366 BLAKE2B 97325aaf2fc262b0034dd8f99b5d26b5498af141c6bf6190c75dbfd7c493ee64b75ad2e25449555c52fb28c701bb5bd807c2bc4beca3cfd86beb7f06bc2ff5a5 SHA512 6c19bc4a093d16da456043a171a5b982b227154c8e1b9b2d0550288338f4b6202c47b10c5ecafb263a94372658e26c16408bfa8086a9362e5bf2bfa6823edf24 MISC metadata.xml 489 BLAKE2B f5dbc4485b84b992c52f782c4bfd273ca189d1287c1930d228ca05c2094426f1837cedd0cc871098b3b46321237a1d9d6e09f90da37782727346848f7c4e314e SHA512 0e9877c532a01511532a00399f2dd4a1c310410f57155e4a9a4cfe9a9369c6789cc14cb991370beda468394a40599004cb28f832761b4a8e7cccf7c8f083febd diff --git a/dev-libs/check/check-0.15.2-r2.ebuild b/dev-libs/check/check-0.15.2-r2.ebuild index 60d617368ba4..892919795257 100644 --- a/dev-libs/check/check-0.15.2-r2.ebuild +++ b/dev-libs/check/check-0.15.2-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libcheck/check/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc subunit test" # Tests seem to timeout on ppc* systems, #736661 diff --git a/dev-libs/double-conversion/Manifest b/dev-libs/double-conversion/Manifest index bc166b7ea67c..3d56a006cdaa 100644 --- a/dev-libs/double-conversion/Manifest +++ b/dev-libs/double-conversion/Manifest @@ -1,5 +1,6 @@ +AUX double-conversion-3.3.1-cmake4.patch 212 BLAKE2B 5140408c366426cc8c5fa66b7ba490d6c140f0ecfcf46342d10352296d36d4f907566b17b0e7a4ae4b225e7714776ef91ff2df117f5b7e1e10bba5a3167854d3 SHA512 ef21293c170ee51c06b671832f1d30bfed6cbee4b393020a734c749f9f86d327b252f596f9a8c39b1c8c27e5394d7450d35de75fdeca3b0f636a569361dd82e6 DIST double-conversion-3.3.0.tar.gz 7033266 BLAKE2B 6eebc85f257ff0bd403ecc32f4ee8d297e3883e0d66f28e004fb71d6d2cfff313e0eeef661896e0985d574e354ad45a293238533116b7d78caafd64ae63de9cd SHA512 51e84eb7a5c407f7bc8f8b8ca19932ece5c9d8ac18aedff7b7620fc67369d9b2aa8c5a6b133e7f8633d7cc5e3788bad6e60b0e48ac08d0a4bc5e4abe7cee1334 DIST double-conversion-3.3.1.tar.gz 7035094 BLAKE2B faf010305f98af29d63bc0006bb99b34a6bd943309ebb121ce6b0de1921770dc9e17bbc8654ce26b533a642f10cd042bd318aa847be8246a6e4cc668a4cb9fa0 SHA512 60cab2fe623204cfa8737150e6ffcae091266180461dba377231e4fe8dccf712e74c643cd317b62266240ab82f1c0f820cf825038d627934d2dd0af1426f0cca EBUILD double-conversion-3.3.0.ebuild 653 BLAKE2B e7cc9929cba9af150857a33da313bc230198142778172542d3d2a818b1c842dbfebf70faa0d4c25168e74be1557aec6ac47dcd4310b0c9a73047e659c24ca73e SHA512 3387cf51ef4d9494dc7bd76fff9648301aa35e2e21d4735343828361f676265bb5286bf71fc46e078627e08b037bb6d02f3b88597ce6b9959947d2d763f5d48e -EBUILD double-conversion-3.3.1.ebuild 654 BLAKE2B 1efec32d82e6cd7c17f04090c3412b23734cabc16ec0f33743b2cb05020495c1207f364eca453a7aa1260dfbfaeb9e41205d63dd9d999790a8381f7a5e35751e SHA512 ac778dca80f29da75a3b1d38b750861568aa6dde62803a01ec86641141c8ebc3d9466a74359b243eb202f6291ba3b30683ffc46ac542632ad10de21fdaa80527 +EBUILD double-conversion-3.3.1.ebuild 700 BLAKE2B c1349e6782a7f86f47d9caac2a715603906f54b3e383b95bafd7b3b0d00820dbf8ece4b0dd0d4762b1e40607ea45c312fc9b1a6befbec71836a119d6f9df34d0 SHA512 849f4c19f5a5c84998fb47666cbeb2598f7d5c60dc4460fdb5629fc521d376a103060d4a1d2a024d73fc56799e2c63ac44252fe3cb886ab4a3678411b8334179 MISC metadata.xml 715 BLAKE2B 365aa7bae6203303a9c912fa839534455cf68def48c9f75207e2017d2142c804573ad0a041484cd7f5db3847d865649038163da402cf8c59fa14935d96a226df SHA512 639d60b0f2bc3146915ea6b092986165383dfd6292d50b1632f71fa5543bd9400c3c655701274064f2c9ca1d34c3dae26ebba749d48e999b104de8bce0b8973d diff --git a/dev-libs/double-conversion/double-conversion-3.3.1.ebuild b/dev-libs/double-conversion/double-conversion-3.3.1.ebuild index 11849679145b..ccc31bab67e3 100644 --- a/dev-libs/double-conversion/double-conversion-3.3.1.ebuild +++ b/dev-libs/double-conversion/double-conversion-3.3.1.ebuild @@ -18,6 +18,10 @@ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 IUSE="test" RESTRICT="!test? ( test )" +PATCHES=( + "${FILESDIR}"/${P}-cmake4.patch +) + src_configure() { local mycmakeargs=( -DBUILD_TESTING=$(usex test) diff --git a/dev-libs/double-conversion/files/double-conversion-3.3.1-cmake4.patch b/dev-libs/double-conversion/files/double-conversion-3.3.1-cmake4.patch new file mode 100644 index 000000000000..2925e18bb2e7 --- /dev/null +++ b/dev-libs/double-conversion/files/double-conversion-3.3.1-cmake4.patch @@ -0,0 +1,7 @@ +https://bugs.gentoo.org/951349 +https://github.com/google/double-conversion/pull/240 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1 +1 @@ +-cmake_minimum_required(VERSION 3.0) ++cmake_minimum_required(VERSION 3.5) diff --git a/dev-libs/expat/Manifest b/dev-libs/expat/Manifest index c41e040fb52d..57e648369a78 100644 --- a/dev-libs/expat/Manifest +++ b/dev-libs/expat/Manifest @@ -3,5 +3,5 @@ DIST expat-2.6.4.tar.xz 486732 BLAKE2B 70d716722358db8d0acb2c74dbbc9d2362d04a0b8 DIST expat-2.7.0.tar.xz 493060 BLAKE2B 44567e955b8cf2053665140b3557897c6e0e66c7e2ba5919970d91d55a05bb8db604afa37a441ff0a7abf4472b24b0e1e6c3964c56b4bb55358c000ccdc1459d SHA512 69fb19c2634821b657f550f609d0bcc6e45e9d903072bbc63e9a0bfc92ef7d04c6e1408dd39eb43eaa2951f28ae93dce4f796c9769253f440905db2d5606a4c7 EBUILD expat-2.6.3.ebuild 2293 BLAKE2B f3c776b179688b40656661ba65c409dda78b13583aede7148996eb7a11f9213c99bdbed077a221ffa21ba77d802b3e5f9c490cde3e8e17e70cfcbfae3afaa87d SHA512 49a64e8f1f90c9b327c6b0cba447349dcbc3e3290e610c036a9be7dae9f997c56a7739d5525dabebc56c756c4a178a1286bacc972963a8e24e881892450f8a9f EBUILD expat-2.6.4.ebuild 2293 BLAKE2B f3c776b179688b40656661ba65c409dda78b13583aede7148996eb7a11f9213c99bdbed077a221ffa21ba77d802b3e5f9c490cde3e8e17e70cfcbfae3afaa87d SHA512 49a64e8f1f90c9b327c6b0cba447349dcbc3e3290e610c036a9be7dae9f997c56a7739d5525dabebc56c756c4a178a1286bacc972963a8e24e881892450f8a9f -EBUILD expat-2.7.0.ebuild 2301 BLAKE2B 69e77cbf2bbf3a3fbfa2e406ae2cca73297f516fc479c8dfc7c97be71ce55869f2f278d14b2ba6e8bd9bf6afe67e54d3775d2fc12dfb6391870f05fb30ef9659 SHA512 a4fff8fd642d0ed22ab7a43ee1ff870c19c03b7c8d04408c4747c0a5ba78bdb6f7a8fd36fd38f621f96fc0ce13a4af289b5340450a8367a390649d01ed8030d4 +EBUILD expat-2.7.0.ebuild 2295 BLAKE2B 59d4621c6c6e81fa2aad7109071dc0670d15c1c2d6fb654550caf2cf83dcbeae4c2a1c90d39f98fa327a16e221b8a1b18a49371ceedf4ad65b811a4cd24a2f26 SHA512 30ae2983c8010818b93ba21ada8faab5f10bde441775dfd90338e86eac87581a7e8f572279f2c1d7ae372401e2458d369818a34cf6db5bc368b6dd749d8c4463 MISC metadata.xml 571 BLAKE2B ebefe11eb4a54dda87048089930a051a629fd99a6983b3c804dfd033eee4017c3b1871cbdff56c8659cdf74b19651cd7f2134721a9bab3e8a752d4a1694c6266 SHA512 8d726b1dee71528e43c8693bd4b08cf33a94f43470126aa18a51ed248b032c5e8b9d801c5b2d5f58c2fd7896b32ee9e6eb3953395e5a6004cdf00569d114ad1d diff --git a/dev-libs/expat/expat-2.7.0.ebuild b/dev-libs/expat/expat-2.7.0.ebuild index b1f4eada1914..63c8b1030ee1 100644 --- a/dev-libs/expat/expat-2.7.0.ebuild +++ b/dev-libs/expat/expat-2.7.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/ex LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~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 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="examples static-libs test unicode" RESTRICT="!test? ( test )" BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )" diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest index eb7b0a0e68ff..fb40bd119340 100644 --- a/dev-libs/glib/Manifest +++ b/dev-libs/glib/Manifest @@ -12,8 +12,8 @@ DIST gobject-introspection-1.80.1.tar.xz 1040228 BLAKE2B 7a8c1da9bc8aef293deedde DIST gobject-introspection-1.82.0.tar.xz 1052872 BLAKE2B 8336ae26d48a71a203655d9d268076f603055ceabb55dbfa676f2c67b4096b83afc106d485dc45d02b3a8be806f9ef50d54806a82e61f2a252ae59543c61e934 SHA512 e139fadb4174c72b648914f3774d89fc0e5eaee45bba0c13edf05de883664dad8276dbc34006217bb09871ed4bad23adab51ff232a17b9eb131329b2926cafb7 EBUILD glib-2.76.4.ebuild 11145 BLAKE2B 9500014a458c528207d29e2ac5915803203456a5c7d9c2480cef6d960601bbc6b5fe66ea019c3613e1e5c718b3eac1d1d8903bd24b555624bb1ec71e956d8f65 SHA512 c8100dd38f030caca84a54cd51cdd11646614efed488baff3695b33e0cef7bd3ab7490966011a72e87187bbc80e58349a20c544e67c9c675430405e3a876ca12 EBUILD glib-2.78.6.ebuild 11340 BLAKE2B c53403ccbcbd18e678f8e2c6e53b39ccc6cb558be4e7f96df26f986a4c51ea86cf601bf0a122c2530dfc762af2a1cbe6e85f524687c738a8eb3940afeb6541a9 SHA512 7c1b4e8e69ca36d6b52855c7edbe4b584d549025d88783010359b96469c98b217dd50819ae971c7bfee637a30bd864b991c3a16cc538492b4c7075d719e30f4c -EBUILD glib-2.80.5-r1.ebuild 16080 BLAKE2B a2db74f758c7f7c1e33642ad1bb98cda4deedb2d1d2876f4b87be8fcb200ba13ceefce070816e527c2a7821f78421feb8eec19c9a60b6a8001e62f5917c42adf SHA512 cd4ad7fe88920612581fea0a0765dc631f29f5cf0f15a942b6b9692f7042d3996029c8529866bbfdc9cbe4bbe2e86178d93bee20b86087e2390cafebd69c8127 +EBUILD glib-2.80.5-r1.ebuild 16079 BLAKE2B a7e621a8a61467e7ec25ebeff6e8201a15fda7923ebb8a963271201e9ae25324cd2b43d218d7bd48a9ef10faf0bc4765bb385c3655b47fecf3f7c51651b0d7d0 SHA512 dbece75ccceef8f1e0be82f4fb6d4ad13f74d219b075ad19b3485ba59873248868fbe78e3c44fb6373c10d838e4694b920cd54ba79422e2754f3dd756c380c85 EBUILD glib-2.82.4-r1.ebuild 15659 BLAKE2B 5d2c9fa1f3c9d2e71052616c7b83bd6dc05b6c75913a70af78fb85df26568f2be363aa3473fb7fead253a4077ba40dfe7227e90bd6a31c2171dac5b5331f4160 SHA512 323ec99295a7bb87a48fdff855ce360733c949eb1f828e84f7e34c0019b55b0c7b5e6db0919729e2f91ede97015de194db8c52241cd4ac9e065612c133e20254 -EBUILD glib-2.82.5.ebuild 15657 BLAKE2B 7bb9f05fcf68a131e96cc4d1d7069a49e9b11b7d509f787667d6dc6ef7bcb5c312d6ef021993985ce5de572da42f5005cc014af60ecfeae7d5cfea3afb84fe7a SHA512 9b28a6cb374c04f49c6ef19b8407fcab093732cec5df6c542d3e7a5fdcee44332f7f0050d75266431b42cd18631ba4709e1758cbbe4dbb85c26e8c2bba9f4e21 +EBUILD glib-2.82.5.ebuild 15651 BLAKE2B b60642fd55f82976582cc4f9b5f2a761b00b2fa11174714a9a832b23f6eb84c8c6229d63f9bf01667eaaa369c2c0226973fc7015879668cce1545072c8488d4c SHA512 4c3608d89b6ea07957157e8b76c346345df0671e8033ee56b654db981d95d6fc4c75123e329ff72d4615248aa3b7b44231607042116817ae677a351f9f2c1d1a EBUILD glib-2.84.0.ebuild 15853 BLAKE2B c9ba8906b0df381cc89eb43e7e88a07d63952f43130fb0a903989bdfc77ae73d03914f3fef593ddcbe0b8265da6c5202c6063aab8556871b4814b1d4be6c4653 SHA512 111ab55d45600df3f7a08c6d1ce79a510c309c3ed4029a2368b5f53cd68779114d1c568c8868fa7d6617ddc846eaac80c7804c3a01eed867c81bd5a96988480d MISC metadata.xml 1499 BLAKE2B 5a75e3b360e4656fe9127f2dc3ba7e90df3eae0586a025b4eefc2317398e53815c98a8014ea6f0dd69ae8afdafa066eec61c18e9fa86d24c78a3f11404c2a7a8 SHA512 2b12c409bf16cf9e01e80c30a6707aac5b48ca4cdeac3852028c003c6cb2d50b5e82be73adeefb8341fd4f157e0f7d22505cebfc2ee0f6d64ca77a7d3cfa8271 diff --git a/dev-libs/glib/glib-2.80.5-r1.ebuild b/dev-libs/glib/glib-2.80.5-r1.ebuild index 5cd0b2716ca0..fb26093bb425 100644 --- a/dev-libs/glib/glib-2.80.5-r1.ebuild +++ b/dev-libs/glib/glib-2.80.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ INTROSPECTION_BUILD_DIR="${WORKDIR}/${INTROSPECTION_P}-build" LICENSE="LGPL-2.1+" SLOT="2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="dbus debug +elf doc +introspection +mime selinux static-libs sysprof systemtap test utils xattr" RESTRICT="!test? ( test )" diff --git a/dev-libs/glib/glib-2.82.5.ebuild b/dev-libs/glib/glib-2.82.5.ebuild index e73a69c46ff3..dc96f6b064ae 100644 --- a/dev-libs/glib/glib-2.82.5.ebuild +++ b/dev-libs/glib/glib-2.82.5.ebuild @@ -22,7 +22,7 @@ INTROSPECTION_BUILD_DIR="${WORKDIR}/${INTROSPECTION_P}-build" LICENSE="LGPL-2.1+" SLOT="2" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="dbus debug +elf doc +introspection +mime selinux static-libs sysprof systemtap test utils xattr" RESTRICT="!test? ( test )" diff --git a/dev-libs/gobject-introspection-common/Manifest b/dev-libs/gobject-introspection-common/Manifest index 35babb1c42b2..8b9db97ce249 100644 --- a/dev-libs/gobject-introspection-common/Manifest +++ b/dev-libs/gobject-introspection-common/Manifest @@ -4,6 +4,6 @@ DIST gobject-introspection-1.80.1.tar.xz 1040228 BLAKE2B 7a8c1da9bc8aef293deedde DIST gobject-introspection-1.82.0.tar.xz 1052872 BLAKE2B 8336ae26d48a71a203655d9d268076f603055ceabb55dbfa676f2c67b4096b83afc106d485dc45d02b3a8be806f9ef50d54806a82e61f2a252ae59543c61e934 SHA512 e139fadb4174c72b648914f3774d89fc0e5eaee45bba0c13edf05de883664dad8276dbc34006217bb09871ed4bad23adab51ff232a17b9eb131329b2926cafb7 EBUILD gobject-introspection-common-1.76.1.ebuild 895 BLAKE2B f9ad5b702f500fecf87e8b6f68d7788ec8b888ab4dcc3ccde4915da541138cb8b74cbf2ac557298d6efef507c14a2abfe59b398891d54f949ccdacf04a8adac2 SHA512 c2775c4a2d5c2d1f636086fb2cfbc4bc5fed14b5f765f9a5840199c04d5ca0fa30f228375be6b3f5353b2cefd8f693ccda7755f055f9e2cb3507f79682d3911a EBUILD gobject-introspection-common-1.78.1.ebuild 895 BLAKE2B 1d9838e4c18872d1aac733a8daa2c0706719355028912bfb2c9de76a6781ce4949b23a732af3160b082dfd653b0ffd08225007e8e175dc3be25ea20d42a0a9ab SHA512 f4bb38c7240a3a9d75c5be7092879a5f2c1fd22ad23879ad4bf55401c3f065ca9e058d173cc6d6214c4d52ad3541d2cb38054a559ff36a1a2e5517212fb95083 -EBUILD gobject-introspection-common-1.80.1.ebuild 870 BLAKE2B b04c1fed5ab4ed021d53f2469d0885d9a6aaabe3f5c7422c2d093277942d0806baa122772822bbd4dc9f3a503c84179fa6cc5432b5d90137a2bef14d128373ab SHA512 370d8026e4f1933256f3324636b4b2827bd909d252210ed6005548075a77ecf943f8e6f408c12c9529bfcb4cf5c2d570b3637a1ac5fe54fce04756cb63719bb8 -EBUILD gobject-introspection-common-1.82.0.ebuild 875 BLAKE2B fbc2b2b261d09c007e7d7ed3c5747dd1fd968720dae14443dea93fce9074d9e90c3be0e7846f3034c7098d5edc54993af1d8d6cc3014f5a8993e98eaa5a21156 SHA512 efae7f8a37852fa01ba1a54a59d1992000c2bca64694fa4f505c645e4996384f530979ed9b76ff41152fd1a26f6ebe7f4009881f46634ac8375dd74f2a92cf65 +EBUILD gobject-introspection-common-1.80.1.ebuild 869 BLAKE2B 4877be9a14490d01f33de32747ec784027235100e40af7f2d6e3b49ec12b7f583e2a9bd09bec225e3eab51d55cec56059a1a5ca8190d689d3431b89ac03ed1f3 SHA512 3aca666ea2d31cedd74714b54ae86a2b93bbec64293ae9ef1ee23d087dd9f9c71cc9cdcafe2526039be9f66f186eb51e62418db09c60184f9e7db5ff6d1a7753 +EBUILD gobject-introspection-common-1.82.0.ebuild 869 BLAKE2B 4877be9a14490d01f33de32747ec784027235100e40af7f2d6e3b49ec12b7f583e2a9bd09bec225e3eab51d55cec56059a1a5ca8190d689d3431b89ac03ed1f3 SHA512 3aca666ea2d31cedd74714b54ae86a2b93bbec64293ae9ef1ee23d087dd9f9c71cc9cdcafe2526039be9f66f186eb51e62418db09c60184f9e7db5ff6d1a7753 MISC metadata.xml 387 BLAKE2B 53c8885e0d64951fab2ea24063b41dd75c1c2f1e2a8038ff760175126c3597dcfc8ed8e7ca98bcfd47c6e303b68cc7473f283193cdce010292e4a4c9d0f60bb8 SHA512 57c817a11ca62240745f69a12685d0ab11ceaa960acf2e6cdf7b47361239a3b29c23b696a24f4314eae80fc7dd9974860d5c422e9f6fd31ea54476fe74f0ebd4 diff --git a/dev-libs/gobject-introspection-common/gobject-introspection-common-1.80.1.ebuild b/dev-libs/gobject-introspection-common/gobject-introspection-common-1.80.1.ebuild index 04c04e48d684..084a4c9ebdf3 100644 --- a/dev-libs/gobject-introspection-common/gobject-introspection-common-1.80.1.ebuild +++ b/dev-libs/gobject-introspection-common/gobject-introspection-common-1.80.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ HOMEPAGE="https://gi.readthedocs.io/" LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND="!<${CATEGORY}/${GNOME_ORG_MODULE}-${PV}" # Use !<${PV} because mixing gobject-introspection with different version of -common can cause issues like: diff --git a/dev-libs/gobject-introspection-common/gobject-introspection-common-1.82.0.ebuild b/dev-libs/gobject-introspection-common/gobject-introspection-common-1.82.0.ebuild index 37ebecbd7076..084a4c9ebdf3 100644 --- a/dev-libs/gobject-introspection-common/gobject-introspection-common-1.82.0.ebuild +++ b/dev-libs/gobject-introspection-common/gobject-introspection-common-1.82.0.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://gi.readthedocs.io/" LICENSE="HPND" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" RDEPEND="!<${CATEGORY}/${GNOME_ORG_MODULE}-${PV}" # Use !<${PV} because mixing gobject-introspection with different version of -common can cause issues like: diff --git a/dev-libs/gobject-introspection/Manifest b/dev-libs/gobject-introspection/Manifest index b39908c65177..b3af61f03b8f 100644 --- a/dev-libs/gobject-introspection/Manifest +++ b/dev-libs/gobject-introspection/Manifest @@ -7,7 +7,7 @@ DIST gobject-introspection-1.80.1.tar.xz 1040228 BLAKE2B 7a8c1da9bc8aef293deedde DIST gobject-introspection-1.82.0.tar.xz 1052872 BLAKE2B 8336ae26d48a71a203655d9d268076f603055ceabb55dbfa676f2c67b4096b83afc106d485dc45d02b3a8be806f9ef50d54806a82e61f2a252ae59543c61e934 SHA512 e139fadb4174c72b648914f3774d89fc0e5eaee45bba0c13edf05de883664dad8276dbc34006217bb09871ed4bad23adab51ff232a17b9eb131329b2926cafb7 EBUILD gobject-introspection-1.76.1-r2.ebuild 2093 BLAKE2B b4a15b784d04d99d81153a32426d0b84335aa36236cbbc9184d0fa9277d092dfbed6438e35430c46967893aac5837cee9eacf19382fd638a63bd80b4b0fdaaf6 SHA512 5aaaedfd7e96798f024c354bddf613f2ee3d4af5cf00e6ff329dce84db6a995da511ccfc763f0af510e061fe19914f7d84ffd59cfcaefde0198b4cc00e787e60 EBUILD gobject-introspection-1.78.1-r2.ebuild 2194 BLAKE2B f73406d3e64bfbc228d2b6c2be102c7d06441e4c0baddc4a3b3fc9fbbc9f4924c3b0d6f901919b47393caabdbe9a89aa20c72b0336060c8c881ac0ff93e6f0fc SHA512 64fe0f31821eeef21eb4a245c3e146c5f3917689a3274121b235352816f6c401a821142ef0c2e4ce067ce5b8e162b1c36d6caf0f1b121bc18dd7cf131f8d53c9 -EBUILD gobject-introspection-1.80.1-r3.ebuild 2190 BLAKE2B b6bc3ecd9c46c20baba9f0edb8242614f7f1aa8d3a7c7ef9672abd33e59c76eaccf7e6467473c2be1a38dc8c3147e97465e7ef48425ba2ebbdf3e4b7a0b87412 SHA512 9fd74e04fa796675230ec7633392704a6cf3168601ac3077f2afa4b2a53e7a3270bf7b787a4a4dc42a4a7931b0d0507498129cd1fc3c0c30540cc5f26cc6533b +EBUILD gobject-introspection-1.80.1-r3.ebuild 2189 BLAKE2B 13d81fb2a75998e83069cbdae1569ad5c51ce1d26adbe36a411b023b0e9f97bdc12f589b76865c3f864e1cbba01599b353546dd68b5b87c92895b10ebc4849c9 SHA512 7fa0d4f89bd758c6923e2d6aeb4680371fb84c9fdace6044a2925b09d9404864967fc9f4771bca6dea9f031949d6bcd2f53a9a70369e2e850d2042d36a9dfe3d EBUILD gobject-introspection-1.82.0-r1.ebuild 2059 BLAKE2B f1bb22b50a4cffd86c33119fbd179d77542fbd68cc25c40d8bad6d101c8b9b4e5ba5014209891d454471e801821bba407ff0ba385f143f927e9a11b4a55f13a1 SHA512 7ce8f3cd307223564621767de9c19042d31bc192a466cb6f1ab88ba11f2b8e0bbe390d9af397f5b71044250d2dfe210749d7f04df800591803c8ab5203e84625 -EBUILD gobject-introspection-1.82.0-r2.ebuild 2113 BLAKE2B 96d44205648a8747c1d3e2428d4fcef926b82f69ca0a6c5aa7403b695ed1cea7e8589452cd2a19d677b7c78861641e6c00293976f235789f3913da86abb03af2 SHA512 7a7920f81f95cdf66c7adae1b39ddb08b4639fb23f1d42e177cdda2f86c0a7e17afafdf244019a1eaf3a16864905b4354ec9897d3c003b0556e2838c75cb3930 +EBUILD gobject-introspection-1.82.0-r2.ebuild 2107 BLAKE2B a1adb8cc74f2418c9942305dce45eb8d0588fe703826a5168975fc70f818d0cb0d934bb0d304aec79f1c5eb77f9c68f4029ea0d1ed6d1990b94da2f95dc4766f SHA512 3b8336a535cff134e98b614d114bb9dc220d15fadc1c3fb1bf74f122c03eea9411a81d346d366cb1474d6a41b8d30846987e8052fdfdbda041c3b22e049c2277 MISC metadata.xml 485 BLAKE2B 6ecc9396bcb29a8365be4058592c307ddcb0cc16ab56723ca32a378b5608b86378ab291345a6a3ccbe8225c6ffc91b6ba1e2996b5b0d1f4271d0757bf376ef8e SHA512 43a479854b1d5783c028ecfd8357a632db089f95de9e703608de7f229a37beee5e43781ff3f68b2dfa9bceac1355597373d31d209fdea0301917be5fbe7e7fbe diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.80.1-r3.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.80.1-r3.ebuild index 0daf6e5c22b8..7bf62ce534e0 100644 --- a/dev-libs/gobject-introspection/gobject-introspection-1.80.1-r3.ebuild +++ b/dev-libs/gobject-introspection/gobject-introspection-1.80.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ HOMEPAGE="https://gi.readthedocs.io/" LICENSE="LGPL-2+ GPL-2+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doctool gtk-doc test" RESTRICT="!test? ( test )" diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.82.0-r2.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.82.0-r2.ebuild index 709ded656bb2..5b472fc68663 100644 --- a/dev-libs/gobject-introspection/gobject-introspection-1.82.0-r2.ebuild +++ b/dev-libs/gobject-introspection/gobject-introspection-1.82.0-r2.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="https://gi.readthedocs.io/" LICENSE="LGPL-2+ GPL-2+" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doctool gtk-doc test" RESTRICT="!test? ( test )" diff --git a/dev-libs/json-glib/Manifest b/dev-libs/json-glib/Manifest index b802b168d41e..feefbb6ccd94 100644 --- a/dev-libs/json-glib/Manifest +++ b/dev-libs/json-glib/Manifest @@ -3,6 +3,6 @@ DIST json-glib-1.10.0.tar.xz 252652 BLAKE2B 83f0707c18806c90640fa36208d8aeb46c99 DIST json-glib-1.10.6.tar.xz 253324 BLAKE2B 125ba305d5d33ecb1a1fbe46322c5035c7f97bd49e8eeef26e3c9c5d829693978fdc10bbe3d926cd4d07f8fd80c9df282d5ff7fe80ab4a6ab8e17c93e9d362d4 SHA512 e1c0e33b17333cf94beb381f505c1819090a11b616dcc23a883f231029dff277c2482823278cbf7b8a07e237d45cbfc7b05f132e1234beff609a739fd5704c6e DIST json-glib-1.8.0.tar.xz 157300 BLAKE2B eef0344c353bb9288efb700a6041342379627b924a042263e011f21140166b57b108f6816e80ac692159b49943f9c1afeb722efafa34e8c60f2fcdf53a0dc034 SHA512 e4fe16bb7c5b72fcf9c0966ac1903ff0cd74ec8eab891db4b94e92353bdcb57b24613b6c2cce7bfa1996603c367d1b4939c12209369dfb915aac0f3804a3a900 EBUILD json-glib-1.10.0.ebuild 1438 BLAKE2B 13b9efd5cbdaa9c1bed503c6c503b6cf18a94bedd675f427b5a2f833cc658a4853d47574fc26dae12e6cb5d72064bc46340f4b880c6704926281d335f72d9ab8 SHA512 874e0048c3d5b74a965ba96c72ada92a470aa29c3e9a302c2f41f0d8461a00a3d205c9261d836d51974485bce7d15008620719accb58b8dabb2fa575b3e69dd9 -EBUILD json-glib-1.10.6.ebuild 1431 BLAKE2B 3c7a591db90436623084d5836d4007c35ada63b339a0cdce5d9ddb5fc758016b8db23c107bd9c15013abf08a69a74837b8d8022a4b26c03d0ba2403d33aa5752 SHA512 16542cb8bf864ffc2deb8513c47fefef31d905aafff7aaf9006dbddc4d2d07b3599f81a96b4533b35512ddebfa1e3c2d6cdc21137ec944014e862a3e719f863a +EBUILD json-glib-1.10.6.ebuild 1430 BLAKE2B e77d09c50bdf31cb9ed2ba37ba6c9ea53d381b4e5374438d3320211615ebf6eb581e5c368391c8cc97e43f302b6bd0c9d2e464d0249311e2a060b551046f3a28 SHA512 1248966e4a85f9467e85b4cc46024309b352f167141584035c31a674e39b96551be743d4babb3e2e11abfad9f75c1b00841d79d8ce2f5fb5d0b0bd45b68de993 EBUILD json-glib-1.8.0.ebuild 1866 BLAKE2B df1ce48fc6a1831d0c4f81a4dce2024c283b2796698d5d2819a1440b9a5346e15fffc2d1d269019a68cd5c72a65c57fefdef54be76d08eed16e0fe9abce0607a SHA512 f44e1e3647415bf990145f031259b5e5c46060a4344955b280ee4f95f4a7b5c87689bc6605781029ec8e4331c48886cab837ee3012fac1d0193f87b173221501 MISC metadata.xml 1419 BLAKE2B ac1a9777c70b0d1421de223be8ccc1600192979826eb3cebf80dda2f494a2a97c07746b09a5c91181e18d2d8d51ba4f50952414f9a41c5dad16c63f53aac9517 SHA512 bd248bf651553b0c3d41948826ca0022cfd273b18d8cf61820637b127f4c37a8f883d3d71f9bddf3dc78317540442ef8132e7d67b0a35a6d4da0661b8e86ddbe diff --git a/dev-libs/json-glib/json-glib-1.10.6.ebuild b/dev-libs/json-glib/json-glib-1.10.6.ebuild index ce3124854c94..e416c89d99da 100644 --- a/dev-libs/json-glib/json-glib-1.10.6.ebuild +++ b/dev-libs/json-glib/json-glib-1.10.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/JsonGlib" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="gtk-doc +introspection nls test" RESTRICT="!test? ( test )" REQUIRED_USE="gtk-doc? ( introspection )" diff --git a/dev-libs/libdnsres/Manifest b/dev-libs/libdnsres/Manifest index ba6a96565504..6053faa16835 100644 --- a/dev-libs/libdnsres/Manifest +++ b/dev-libs/libdnsres/Manifest @@ -1,4 +1,9 @@ +AUX libdnsres-0.1a-C99.patch 6797 BLAKE2B 7d30d5d12c6684c715ca02eeff12c1a947d2d5745f889993203739cd5619bef19e3d26aa0fe67b167edc9fe8858758575ea12bf2900fe6157edd57dd383a4206 SHA512 ed944fe19177315bf2f3eac91a591bdb7463ca6b6598727b28d53f1f0e2cc102a45c138b2eaceeb6e987451dfe4244dfb2dea1429fea506a4bb857dfba450b0b +AUX libdnsres-0.1a-autotools-fix-path.patch 1301 BLAKE2B 0cfbe3239b23f2848581891a1d3a36df6f6f881b784482bd02789699c72fde530c9ca21f48d80357105622bf97dd16ccdbfead135a642ac49c5d7f3c68838cac SHA512 f6530e3c9e2f810db7bc463d6fc073ba1a4871179c59011688e37121eb9b4bb064f1298a828e3a0a37986b5f8ad1eb0707265d2d206f4554390e26b6bc0be438 AUX libdnsres-0.1a-autotools.patch 887 BLAKE2B 5141d50a6e55f1ed49471dab5ab328352731e271514e37a40d65cffd0e7f1b9024155ff5be1e181950a2b355e618645e041c7c84fd7f574c96d0565f22d101db SHA512 f482017f43bb7bd7050c6246d7d48e4126f33c63fd7b0bf83ba12f9ddbfbdfbdf67d7ac5b6e55668edb462c8af8d5402f4b57cfc1a2aa8e4bb75440d2c02b11d +AUX libdnsres-0.1a-modern-types.patch 14946 BLAKE2B dd87b5ed0bce7a0b3c8745e3104985decae96495a81777136ea38c958299093a91282d2b3b9089164cd1ae0f35f34ea87a68e3a059aa6749886862759d1d20f3 SHA512 69984346715ed670d34affb7ee8553fe41ab9f067da125682501cbf714be184f491eeaf27cb6b27805a593f30f8d28d485a6c02153868df2d2139870918f485c +AUX libdnsres-0.1a-musl.patch 2317 BLAKE2B b4875c2391b8759fc7f6651c0ad65521039f6d63d3511d2bff100fdaf4fe2e6eee52bd487acd839c9a0718c6248591abf44f771ffafca791aa6e2a65c4a2e6c9 SHA512 2fcbad53c04b7ffb1b9f78e994166523d57bc1a437c84b3fdcb15bb69ad51fa496339894ce8b5a86d71a75dbf52ac3634994644023f4f8aa2a48ab7fa40c0bf5 DIST libdnsres-0.1a.tar.gz 360583 BLAKE2B b2b3befaf3910b46e826c17ec36bb90271b334a58ef5d02bd69ad0aa8643e2fe8ab4a1f86b59e4fbd1d41ef2c01ea01995b07b68922740fc86bee3d207bcc65d SHA512 d6b1c248a99eeaea3524ee8af01dd31ba507179a69ffb313a167611792084d5efc99fe6462a63480932faa3493b01c3c43fc7575dab6aaade885583bee006f67 EBUILD libdnsres-0.1a-r4.ebuild 777 BLAKE2B 0a330f2c6ebb0f74b1278abf4cff6459c64ef055da35ce4a751058438dd17ba0f3445eccee3eb5d5fa7e12ce69917c5ba7bf888f6ee810face0404893dead9a4 SHA512 312071503381b8ad3bbc8a8e6403387da2553502e55b89b056daa91c91474c5fd9495199effdc0015629cbfdc8a93702c3871386fcaa6b072c55c4d45cca21c9 +EBUILD libdnsres-0.1a-r5.ebuild 798 BLAKE2B 1dfd3bd4e836a4036e4e01e6a91b85d518b17b1d8a80288bd6bc34744a54b27d20590f7d5e49755c10e84a0440d0afdfb0e9d52318d8b2d76d079ddd8440ca90 SHA512 06c371ada2d1d1620001d816a256b069173fda793e4dcbebc278bb82f20a21bc8a07ab7cd592679d00b5cb3969eef820797d4fd619a69556bbe8a17c06a0711f MISC metadata.xml 822 BLAKE2B d315c00a9d282568044d47afa7ebc25c8b4af474c0ed34ec238d1a39936edb473e370db7149b3ef17acfd3de03af786be5ae8a0b0265a3ba3502530afc8a55f0 SHA512 f7c9c207496867c4f3f4a50d4d9148e7e611279a0c9063afa43fddad1ac4d0c2dba2d923548c7c985450d5aed06747adf20b1538bc885cbbf4972be6c03784d0 diff --git a/dev-libs/libdnsres/files/libdnsres-0.1a-C99.patch b/dev-libs/libdnsres/files/libdnsres-0.1a-C99.patch new file mode 100644 index 000000000000..a2def1a58478 --- /dev/null +++ b/dev-libs/libdnsres/files/libdnsres-0.1a-C99.patch @@ -0,0 +1,317 @@ +Port to C99, fix glibc-specific defines, missing or bad includes +https://bugs.gentoo.org/880341 +--- a/arc4random.c ++++ b/arc4random.c +@@ -1,5 +1,6 @@ + #include <sys/types.h> + #include <stdlib.h> ++#include <time.h> + + #include "config.h" + +@@ -9,8 +10,8 @@ + * application anyway. Screw you, hippy! + */ + +-u_int32_t +-arc4random(void) ++u_int32_t arc4random(void); ++u_int32_t arc4random(void) + { + static int init; + +--- a/dnsres.h ++++ b/dnsres.h +@@ -118,10 +118,7 @@ + #define _DNSRES_H_ + + #include <sys/param.h> +-#if (!defined(BSD)) || (BSD < 199306) +-# include <sys/bitypes.h> +-#endif +-#include <sys/cdefs.h> ++#include <sys/types.h> + + /* + * Type values for resources and queries +@@ -373,7 +370,10 @@ + }; + #endif + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif ++ + struct addrinfo; + struct dnsres; + struct dnsres_cbstate; +@@ -431,7 +431,10 @@ + int dnsres_net_addrcmp(struct sockaddr *, struct sockaddr *); + int dnsres_getrrsetbyname(const char *, unsigned int, unsigned int, unsigned int, struct dnsres_rrsetinfo **); + void dnsres_freerrset(struct dnsres_rrsetinfo *); +-__END_DECLS ++ ++#ifdef __cplusplus ++} ++#endif + + /* + * Global defines and variables for resolver stub. +--- a/resolv.h ++++ b/resolv.h +@@ -119,12 +119,7 @@ + #define _RESOLV_H_ + + #include <sys/param.h> +-#if (!defined(BSD)) || (BSD < 199306) +-# include <sys/bitypes.h> +-#else + # include <sys/types.h> +-#endif +-#include <sys/cdefs.h> + #include <sys/socket.h> + #include <stdio.h> + +@@ -275,7 +270,10 @@ + struct dnsres_target; + struct res_search_state; + +-__BEGIN_DECLS ++#ifdef __cplusplus ++extern "C" { ++#endif ++ + int res_hnok(const char *); + int res_ownok(const char *); + int res_mailok(const char *); +@@ -353,7 +351,10 @@ + void res_close(struct dnsres_socket *); + unsigned short getshort(const unsigned char *); + unsigned int getlong(const unsigned char *); +-__END_DECLS ++ ++#ifdef __cplusplus ++} ++#endif + + #ifndef HAVE_FGETLN + char *fgetln(FILE *, size_t *); +--- a/res_debug.c ++++ b/res_debug.c +@@ -109,8 +109,7 @@ + + /* XXX: we should use getservbyport() instead. */ + static const char * +-dewks(wks) +- int wks; ++dewks(int wks) + { + static char nbuf[20]; + +@@ -169,8 +168,7 @@ + + /* XXX: we should use getprotobynumber() instead. */ + static const char * +-deproto(protonum) +- int protonum; ++deproto(int protonum) + { + static char nbuf[20]; + +@@ -390,10 +388,7 @@ + } + + const u_char * +-__dnsres_p_cdnname(cp, msg, len, file) +- const u_char *cp, *msg; +- int len; +- FILE *file; ++__dnsres_p_cdnname(const u_char *cp, const u_char *msg, int len, FILE *file) + { + char name[DNSRES_MAXDNAME]; + int n; +@@ -420,11 +415,7 @@ + length supplied). */ + + const u_char * +-__dnsres_p_fqnname(cp, msg, msglen, name, namelen) +- const u_char *cp, *msg; +- int msglen; +- char *name; +- int namelen; ++__dnsres_p_fqnname(const u_char *cp, const u_char *msg, int msglen, char *name, int namelen) + { + int n, newlen; + +@@ -444,9 +435,7 @@ + */ + + const u_char * +-__dnsres_p_fqname(cp, msg, file) +- const u_char *cp, *msg; +- FILE *file; ++__dnsres_p_fqname(const u_char *cp, const u_char *msg, FILE *file) + { + char name[DNSRES_MAXDNAME]; + const u_char *n; +@@ -918,10 +907,7 @@ + }; + + int +-__dnsres_sym_ston(syms, name, success) +- const struct res_sym *syms; +- char *name; +- int *success; ++__dnsres_sym_ston(const struct res_sym *syms, char *name, int *success) + { + for (; syms->name != 0; syms++) { + if (strcasecmp (name, syms->name) == 0) { +@@ -936,10 +922,7 @@ + } + + const char * +-__dnsres_sym_ntos(syms, number, success) +- const struct res_sym *syms; +- int number; +- int *success; ++__dnsres_sym_ntos(const struct res_sym *syms, int number, int *success) + { + static char unname[20]; + +@@ -959,10 +942,7 @@ + + + const char * +-__dnsres_sym_ntop(syms, number, success) +- const struct res_sym *syms; +- int number; +- int *success; ++__dnsres_sym_ntop(const struct res_sym *syms, int number, int *success) + { + static char unname[20]; + +@@ -983,8 +963,7 @@ + * Return a string for the type + */ + const char * +-__dnsres_p_type(type) +- int type; ++__dnsres_p_type(int type) + { + return (__dnsres_sym_ntos (__dnsres_p_type_syms, type, (int *)0)); + } +@@ -993,8 +972,7 @@ + * Return a mnemonic for class + */ + const char * +-__dnsres_p_class(class) +- int class; ++__dnsres_p_class(int class) + { + return (__dnsres_sym_ntos (__dnsres_p_class_syms, class, (int *)0)); + } +@@ -1003,8 +981,7 @@ + * Return a mnemonic for an option + */ + const char * +-__dnsres_p_option(option) +- u_long option; ++__dnsres_p_option(u_long option) + { + static char nbuf[40]; + +@@ -1033,8 +1010,7 @@ + * Return a mnemonic for a time to live + */ + const char * +-p_time(value) +- u_int32_t value; ++p_time(u_int32_t value) + { + static char nbuf[40]; + char *ebuf; +@@ -1115,8 +1091,7 @@ + + /* takes an XeY precision/size value, returns a string representation. */ + static const char * +-precsize_ntoa(prec) +- u_int8_t prec; ++precsize_ntoa(u_int8_t prec) + { + static char retbuf[sizeof "90000000.00"]; + unsigned long val; +@@ -1133,8 +1108,7 @@ + + /* converts ascii size/precision X * 10**Y(cm) to 0xXY. moves pointer. */ + static u_int8_t +-precsize_aton(strptr) +- char **strptr; ++precsize_aton(unsigned char **strptr) + { + unsigned int mval = 0, cmval = 0; + u_int8_t retval = 0; +@@ -1175,9 +1149,7 @@ + + /* converts ascii lat/lon to unsigned encoded 32-bit number. moves pointer. */ + static u_int32_t +-latlon2ul(latlonstrptr,which) +- char **latlonstrptr; +- int *which; ++latlon2ul(unsigned char **latlonstrptr, int *which) + { + unsigned char *cp; + u_int32_t retval; +@@ -1274,9 +1246,7 @@ + /* converts a zone file representation in a string to an RDATA on-the-wire + * representation. */ + int +-loc_aton(ascii, binary) +- const char *ascii; +- u_char *binary; ++loc_aton(const char *ascii, u_char *binary) + { + const unsigned char *maxcp; + u_char *bcp; +@@ -1385,19 +1355,14 @@ + } + + const char * +-loc_ntoa(binary, ascii) +- const u_char *binary; +- char *ascii; ++loc_ntoa(const u_char *binary, char *ascii) + { + return loc_ntoal(binary, ascii, 255); + } + + /* takes an on-the-wire LOC RR and formats it in a human readable format. */ + static const char * +-loc_ntoal(binary, ascii, ascii_len) +- const u_char *binary; +- char *ascii; +- int ascii_len; ++loc_ntoal(const u_char *binary, char *ascii, int ascii_len) + { + static char *error = "?"; + register const u_char *cp = binary; +@@ -1499,8 +1464,7 @@ + + /* Return the number of DNS hierarchy levels in the name. */ + int +-__dnsres_dn_count_labels(name) +- char *name; ++__dnsres_dn_count_labels(char *name) + { + int i, len, count; + +@@ -1530,8 +1494,7 @@ + * SIG records are required to be printed like this, by the Secure DNS RFC. + */ + char * +-__dnsres_p_secstodate (secs) +- unsigned long secs; ++__dnsres_p_secstodate (unsigned long secs) + { + static char output[15]; /* YYYYMMDDHHMMSS and null */ + time_t clock = secs; diff --git a/dev-libs/libdnsres/files/libdnsres-0.1a-autotools-fix-path.patch b/dev-libs/libdnsres/files/libdnsres-0.1a-autotools-fix-path.patch new file mode 100644 index 000000000000..af14727edee9 --- /dev/null +++ b/dev-libs/libdnsres/files/libdnsres-0.1a-autotools-fix-path.patch @@ -0,0 +1,39 @@ +To fix hardcoded library path so stuff works both on 64 and 32 bit systems +https://bugs.gentoo.org/713630 +--- a/configure.in ++++ b/configure.in +@@ -43,11 +43,11 @@ + if cd $withval; then withval=`pwd`; cd $owd; fi + EVENTINC="-I$withval" + EVENTLIB="-L$withval -levent" +- elif test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then ++ elif test -f $withval/include/event.h -a -f ${libdir}/libevent.a; then + owd=`pwd` + if cd $withval; then withval=`pwd`; cd $owd; fi + EVENTINC="-I$withval/include" +- EVENTLIB="-L$withval/lib -levent" ++ EVENTLIB="-L${libdir} -levent" + else + AC_ERROR(event.h or libevent.a not found in $withval) + fi +@@ -55,7 +55,7 @@ + esac ], + [ if test -f ${prefix}/include/event.h; then + EVENTINC="-I${prefix}/include" +- EVENTLIB="-L${prefix}/lib -levent" ++ EVENTLIB="-L${libdir} -levent" + elif test -f /usr/include/event/event.h; then + EVENTINC="-I/usr/include/event" + EVENTLIB="-levent" +was sed -i configure.in -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' || die +--- a/configure.in ++++ b/configure.in +@@ -2,7 +2,7 @@ + AC_INIT(res_init.c) + + AM_INIT_AUTOMAKE(libdnsres,0.1a) +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS([config.h]) + AM_MAINTAINER_MODE + + dnl Initialize prefix. diff --git a/dev-libs/libdnsres/files/libdnsres-0.1a-modern-types.patch b/dev-libs/libdnsres/files/libdnsres-0.1a-modern-types.patch new file mode 100644 index 000000000000..503602d507fb --- /dev/null +++ b/dev-libs/libdnsres/files/libdnsres-0.1a-modern-types.patch @@ -0,0 +1,619 @@ +Per discussion in https://github.com/gentoo/gentoo/pull/36138#discussion_r1594836910 +transformed u_intX_t to uintX_t, changed relevant includes and trimmed +really redundant checks, includes, undefines +https://bugs.gentoo.org/880341 +--- a/acconfig.h ++++ b/acconfig.h +@@ -1,18 +1,6 @@ + /* Define if kqueue works correctly with pipes */ + #undef HAVE_WORKING_KQUEUE + +-/* Define to `unsigned long long' if <sys/types.h> doesn't define. */ +-#undef u_int64_t +- +-/* Define to `unsigned int' if <sys/types.h> doesn't define. */ +-#undef u_int32_t +- +-/* Define to `unsigned short' if <sys/types.h> doesn't define. */ +-#undef u_int16_t +- +-/* Define to `unsigned char' if <sys/types.h> doesn't define. */ +-#undef u_int8_t +- + /* Define if timeradd is defined in <sys/time.h> */ + #undef HAVE_TIMERADD + #ifndef HAVE_TIMERADD +--- a/arc4random.c ++++ b/arc4random.c +@@ -1,4 +1,4 @@ +-#include <sys/types.h> ++#include <stdint.h> + #include <stdlib.h> + #include <time.h> + +@@ -10,8 +10,8 @@ + * application anyway. Screw you, hippy! + */ + +-u_int32_t arc4random(void); +-u_int32_t arc4random(void) ++uint32_t arc4random(void); ++uint32_t arc4random(void) + { + static int init; + +--- a/base64.c ++++ b/base64.c +@@ -42,7 +42,6 @@ + * IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES. + */ + +-#include <sys/types.h> + #include <sys/param.h> + #include <sys/socket.h> + #include <netinet/in.h> +@@ -52,6 +51,7 @@ + #include <ctype.h> + #include <stdio.h> + ++#include <stdint.h> + #include <stdlib.h> + #include <string.h> + +--- a/config.h.in ++++ b/config.h.in +@@ -2,18 +2,6 @@ + /* Define if kqueue works correctly with pipes */ + #undef HAVE_WORKING_KQUEUE + +-/* Define to `unsigned long long' if <sys/types.h> doesn't define. */ +-#undef u_int64_t +- +-/* Define to `unsigned int' if <sys/types.h> doesn't define. */ +-#undef u_int32_t +- +-/* Define to `unsigned short' if <sys/types.h> doesn't define. */ +-#undef u_int16_t +- +-/* Define to `unsigned char' if <sys/types.h> doesn't define. */ +-#undef u_int8_t +- + /* Define if timeradd is defined in <sys/time.h> */ + #undef HAVE_TIMERADD + #ifndef HAVE_TIMERADD +@@ -250,14 +238,3 @@ + /* Define to unsigned int if you dont have it */ + #undef socklen_t + +-/* Define to `unsigned short' if <sys/types.h> does not define. */ +-#undef u_int16_t +- +-/* Define to `unsigned int' if <sys/types.h> does not define. */ +-#undef u_int32_t +- +-/* Define to `unsigned long long' if <sys/types.h> does not define. */ +-#undef u_int64_t +- +-/* Define to `unsigned char' if <sys/types.h> does not define. */ +-#undef u_int8_t +--- a/configure.in ++++ b/configure.in +@@ -167,10 +167,6 @@ + + AC_TYPE_PID_T + AC_TYPE_SIZE_T +-AC_CHECK_TYPE(u_int64_t, unsigned long long) +-AC_CHECK_TYPE(u_int32_t, unsigned int) +-AC_CHECK_TYPE(u_int16_t, unsigned short) +-AC_CHECK_TYPE(u_int8_t, unsigned char) + + AC_MSG_CHECKING([for sin_len]) + AC_TRY_COMPILE([ +--- a/dnsres-internal.h ++++ b/dnsres-internal.h +@@ -101,6 +101,9 @@ + * --Copyright-- + */ + ++ ++#include <stdint.h> ++ + #ifndef _DNSRES_INTERNAL_H_ + #define _DNSRES_INTERNAL_H_ + +@@ -305,24 +308,24 @@ + */ + #define DNSRES_GETSHORT(s, cp) { \ + unsigned char *t_cp = (unsigned char *)(cp); \ +- (s) = ((u_int16_t)t_cp[0] << 8) \ +- | ((u_int16_t)t_cp[1]) \ ++ (s) = ((uint16_t)t_cp[0] << 8) \ ++ | ((uint16_t)t_cp[1]) \ + ; \ + (cp) += INT16SZ; \ + } + + #define DNSRES_GETLONG(l, cp) { \ + unsigned char *t_cp = (unsigned char *)(cp); \ +- (l) = ((u_int32_t)t_cp[0] << 24) \ +- | ((u_int32_t)t_cp[1] << 16) \ +- | ((u_int32_t)t_cp[2] << 8) \ +- | ((u_int32_t)t_cp[3]) \ ++ (l) = ((uint32_t)t_cp[0] << 24) \ ++ | ((uint32_t)t_cp[1] << 16) \ ++ | ((uint32_t)t_cp[2] << 8) \ ++ | ((uint32_t)t_cp[3]) \ + ; \ + (cp) += INT32SZ; \ + } + + #define DNSRES_PUTSHORT(s, cp) { \ +- u_int16_t t_s = (u_int16_t)(s); \ ++ uint16_t t_s = (uint16_t)(s); \ + unsigned char *t_cp = (unsigned char *)(cp); \ + *t_cp++ = t_s >> 8; \ + *t_cp = t_s; \ +@@ -330,7 +333,7 @@ + } + + #define DNSRES_PUTLONG(l, cp) { \ +- u_int32_t t_l = (u_int32_t)(l); \ ++ uint32_t t_l = (uint32_t)(l); \ + unsigned char *t_cp = (unsigned char *)(cp); \ + *t_cp++ = t_l >> 24; \ + *t_cp++ = t_l >> 16; \ +--- a/dnsres.h ++++ b/dnsres.h +@@ -118,7 +118,7 @@ + #define _DNSRES_H_ + + #include <sys/param.h> +-#include <sys/types.h> ++#include <stdint.h> + + /* + * Type values for resources and queries +@@ -482,7 +482,7 @@ + char unused[3]; + struct { + struct in_addr addr; +- u_int32_t mask; ++ uint32_t mask; + } sort_list[MAXRESOLVSORT]; + char lookups[MAXDNSLUS]; + +--- a/getaddrinfo.c ++++ b/getaddrinfo.c +@@ -110,7 +110,7 @@ + #include "config.h" + #endif + +-#include <sys/types.h> ++#include <stdint.h> + #include <sys/param.h> + #include <sys/socket.h> + #include <net/if.h> +@@ -221,7 +221,7 @@ + static int get_port(struct dnsres_servent_state *, + struct addrinfo *, const char *, int); + static const struct afd *find_afd(int); +-static int ip6_str2scopeid(char *, struct sockaddr_in6 *, u_int32_t *); ++static int ip6_str2scopeid(char *, struct sockaddr_in6 *, uint32_t *); + + static void _sethtent(struct dnsres_hostent_state *); + static void _endhtent(struct dnsres_hostent_state *); +@@ -969,7 +969,7 @@ + + error = explore_numeric(state, pai, addr, servname, res, hostname); + if (error == 0) { +- u_int32_t scopeid; ++ uint32_t scopeid; + + for (cur = *res; cur; cur = cur->ai_next) { + if (cur->ai_family != AF_INET6) +@@ -1148,10 +1148,7 @@ + + /* convert a string to a scope identifier. XXX: IPv6 specific */ + static int +-ip6_str2scopeid(scope, sin6, scopeid) +- char *scope; +- struct sockaddr_in6 *sin6; +- u_int32_t *scopeid; ++ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, uint32_t *scopeid) + { + u_long lscopeid; + struct in6_addr *a6 = &sin6->sin6_addr; +@@ -1185,7 +1182,7 @@ + trynumeric: + errno = 0; + lscopeid = strtoul(scope, &ep, 10); +- *scopeid = (u_int32_t)(lscopeid & 0xffffffffUL); ++ *scopeid = (uint32_t)(lscopeid & 0xffffffffUL); + if (errno == 0 && ep && *ep == '\0' && *scopeid == lscopeid) + return 0; + else +--- a/res_comp.c ++++ b/res_comp.c +@@ -64,6 +64,7 @@ + #include <stdio.h> + #include <ctype.h> + ++#include <stdint.h> + #include <unistd.h> + #include <string.h> + #include <event.h> +@@ -81,10 +82,7 @@ + * Return size of compressed name or -1 if there was an error. + */ + int +-dn_expand(msg, eomorig, comp_dn, exp_dn, length) +- const u_char *msg, *eomorig, *comp_dn; +- char *exp_dn; +- int length; ++dn_expand(const u_char *msg, const u_char *eomorig, const u_char *comp_dn, char *exp_dn, int length) + { + const u_char *cp; + char *dn; +@@ -165,10 +163,7 @@ + * is NULL, we don't update the list. + */ + int +-dn_comp(exp_dn, comp_dn, length, dnptrs, lastdnptr) +- const char *exp_dn; +- u_char *comp_dn, **dnptrs, **lastdnptr; +- int length; ++dn_comp(const char *exp_dn, u_char *comp_dn, int length, u_char **dnptrs, u_char **lastdnptr) + { + register u_char *cp, *dn; + register int c, l; +@@ -245,8 +240,7 @@ + * Skip over a compressed domain name. Return the size or -1. + */ + int +-__dnsres_dn_skipname(comp_dn, eom) +- const u_char *comp_dn, *eom; ++__dnsres_dn_skipname(const u_char *comp_dn, const u_char *eom) + { + register const u_char *cp; + register int n; +@@ -289,9 +283,7 @@ + * not the pointer to the start of the message. + */ + static int +-dn_find(exp_dn, msg, dnptrs, lastdnptr) +- u_char *exp_dn, *msg; +- u_char **dnptrs, **lastdnptr; ++dn_find(u_char *exp_dn, u_char *msg, u_char **dnptrs, u_char **lastdnptr) + { + register u_char *dn, *cp, **cpp; + register int n; +@@ -389,8 +381,7 @@ + * but must otherwise be as a host name. + */ + int +-res_ownok(dn) +- const char *dn; ++res_ownok(const char *dn) + { + if (asterchar(dn[0])) { + if (periodchar(dn[1])) +@@ -406,8 +397,7 @@ + * label, but the rest of the name has to look like a host name. + */ + int +-res_mailok(dn) +- const char *dn; ++res_mailok(const char *dn) + { + int ch, escaped = 0; + +@@ -436,8 +426,7 @@ + * recommendations. + */ + int +-res_dnok(dn) +- const char *dn; ++res_dnok(const char *dn) + { + int ch; + +@@ -451,36 +440,32 @@ + * Routines to insert/extract short/long's. + */ + +-u_int16_t +-__dnsres_getshort(msgp) +- register const u_char *msgp; ++uint16_t ++__dnsres_getshort(register const u_char *msgp) + { +- register u_int16_t u; ++ register uint16_t u; + + DNSRES_GETSHORT(u, msgp); + return (u); + } + +-u_int32_t +-__dnsres_getlong(msgp) +- register const u_char *msgp; ++uint32_t ++__dnsres_getlong(register const u_char *msgp) + { +- register u_int32_t u; ++ register uint32_t u; + + DNSRES_GETLONG(u, msgp); + return (u); + } + + void +-__dnsres_putshort(register u_int16_t s, register u_char *msgp) ++__dnsres_putshort(register uint16_t s, register u_char *msgp) + { + DNSRES_PUTSHORT(s, msgp); + } + + void +-__dnsres_putlong(l, msgp) +- register u_int32_t l; +- register u_char *msgp; ++__dnsres_putlong(register uint32_t l, register u_char *msgp) + { + DNSRES_PUTLONG(l, msgp); + } +--- a/res_debug.c ++++ b/res_debug.c +@@ -73,8 +73,9 @@ + * --Copyright-- + */ + ++#include <stdint.h> + #include <sys/param.h> +-#include <sys/types.h> ++#include <stdint.h> + #include <sys/time.h> + #include <sys/socket.h> + #include <netinet/in.h> +@@ -457,9 +458,9 @@ + int type, class, dlen, n, c; + struct in_addr inaddr; + const u_char *cp1, *cp2; +- u_int32_t tmpttl, t; ++ uint32_t tmpttl, t; + int lcnt; +- u_int16_t keyflags; ++ uint16_t keyflags; + char rrname[DNSRES_MAXDNAME]; /* The fqdn of this RR */ + char base64_key[MAX_KEY_BASE64]; + +@@ -1010,7 +1011,7 @@ + * Return a mnemonic for a time to live + */ + const char * +-p_time(u_int32_t value) ++p_time(uint32_t value) + { + static char nbuf[40]; + char *ebuf; +@@ -1091,7 +1092,7 @@ + + /* takes an XeY precision/size value, returns a string representation. */ + static const char * +-precsize_ntoa(u_int8_t prec) ++precsize_ntoa(uint8_t prec) + { + static char retbuf[sizeof "90000000.00"]; + unsigned long val; +@@ -1107,11 +1108,11 @@ + } + + /* converts ascii size/precision X * 10**Y(cm) to 0xXY. moves pointer. */ +-static u_int8_t ++static uint8_t + precsize_aton(unsigned char **strptr) + { + unsigned int mval = 0, cmval = 0; +- u_int8_t retval = 0; ++ uint8_t retval = 0; + unsigned char *cp; + int exponent; + int mantissa; +@@ -1148,11 +1149,11 @@ + } + + /* converts ascii lat/lon to unsigned encoded 32-bit number. moves pointer. */ +-static u_int32_t ++static uint32_t + latlon2ul(unsigned char **latlonstrptr, int *which) + { + unsigned char *cp; +- u_int32_t retval; ++ uint32_t retval; + int deg = 0, min = 0, secs = 0, secsfrac = 0; + + cp = *latlonstrptr; +@@ -1252,12 +1253,12 @@ + u_char *bcp; + unsigned char *cp; + +- u_int32_t latit = 0, longit = 0, alt = 0; +- u_int32_t lltemp1 = 0, lltemp2 = 0; ++ uint32_t latit = 0, longit = 0, alt = 0; ++ uint32_t lltemp1 = 0, lltemp2 = 0; + int altmeters = 0, altfrac = 0, altsign = 1; +- u_int8_t hp = 0x16; /* default = 1e6 cm = 10000.00m = 10km */ +- u_int8_t vp = 0x13; /* default = 1e3 cm = 10.00m */ +- u_int8_t siz = 0x12; /* default = 1e2 cm = 1.00m */ ++ uint8_t hp = 0x16; /* default = 1e6 cm = 10000.00m = 10km */ ++ uint8_t vp = 0x13; /* default = 1e3 cm = 10.00m */ ++ uint8_t siz = 0x12; /* default = 1e2 cm = 1.00m */ + int which1 = 0, which2 = 0; + + cp = (unsigned char *)ascii; +@@ -1343,7 +1344,7 @@ + defaults: + + bcp = binary; +- *bcp++ = (u_int8_t) 0; /* version byte */ ++ *bcp++ = (uint8_t) 0; /* version byte */ + *bcp++ = siz; + *bcp++ = hp; + *bcp++ = vp; +@@ -1375,8 +1376,8 @@ + const int referencealt = 100000 * 100; + + int32_t latval, longval, altval; +- u_int32_t templ; +- u_int8_t sizeval, hpval, vpval, versionval; ++ uint32_t templ; ++ uint8_t sizeval, hpval, vpval, versionval; + + char *sizestr, *hpstr, *vpstr; + +--- a/res_init.c ++++ b/res_init.c +@@ -85,7 +85,7 @@ + #include "config.h" + #endif + +-#include <sys/types.h> ++#include <stdint.h> + #include <sys/param.h> + #include <sys/socket.h> + #include <sys/time.h> +@@ -137,7 +137,7 @@ + #ifdef RESOLVSORT + static const char sort_mask[] = "/&"; + #define ISSORTMASK(ch) (strchr(sort_mask, ch) != NULL) +-static u_int32_t net_mask(struct in_addr); ++static uint32_t net_mask(struct in_addr); + #endif + + /* +@@ -603,11 +603,10 @@ + + #ifdef RESOLVSORT + /* XXX - should really support CIDR which means explicit masks always. */ +-static u_int32_t +-net_mask(in) /* XXX - should really use system's version of this */ +- struct in_addr in; ++static uint32_t ++net_mask(struct in_addr in) /* XXX - should really use system's version of this */ + { +- register u_int32_t i = ntohl(in.s_addr); ++ register uint32_t i = ntohl(in.s_addr); + + if (IN_CLASSA(i)) + return (htonl(IN_CLASSA_NET)); +--- a/res_random.c ++++ b/res_random.c +@@ -54,7 +54,7 @@ + * so that an attacker will not get sequential ids. + */ + +-#include <sys/types.h> ++#include <stdint.h> + #include <netinet/in.h> + #include <sys/time.h> + +@@ -72,23 +72,23 @@ + #define RU_M 31104 /* RU_M = 2^7*3^5 - don't change */ + + #define PFAC_N 3 +-const static u_int16_t pfacts[PFAC_N] = { ++const static uint16_t pfacts[PFAC_N] = { + 2, + 3, + 2729 + }; + +-static u_int16_t ru_x; +-static u_int16_t ru_seed, ru_seed2; +-static u_int16_t ru_a, ru_b; +-static u_int16_t ru_g; +-static u_int16_t ru_counter = 0; +-static u_int16_t ru_msb = 0; ++static uint16_t ru_x; ++static uint16_t ru_seed, ru_seed2; ++static uint16_t ru_a, ru_b; ++static uint16_t ru_g; ++static uint16_t ru_counter = 0; ++static uint16_t ru_msb = 0; + static long ru_reseed; +-static u_int32_t tmp; /* Storage for unused random */ ++static uint32_t tmp; /* Storage for unused random */ + static struct timeval tv; + +-static u_int16_t pmod(u_int16_t, u_int16_t, u_int16_t); ++static uint16_t pmod(uint16_t, uint16_t, uint16_t); + static void res_initid(void); + + /* +@@ -96,10 +96,10 @@ + * of 0 - (mod-1) + */ + +-static u_int16_t +-pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod) ++static uint16_t ++pmod(uint16_t gen, uint16_t exp, uint16_t mod) + { +- u_int16_t s, t, u; ++ uint16_t s, t, u; + + s = 1; + t = gen; +@@ -125,7 +125,7 @@ + static void + res_initid() + { +- u_int16_t j, i; ++ uint16_t j, i; + int noprime = 1; + + tmp = arc4random(); +@@ -208,7 +208,7 @@ + main(int argc, char **argv) + { + int i, n; +- u_int16_t wert; ++ uint16_t wert; + + res_initid(); + +--- a/resolv.h ++++ b/resolv.h +@@ -119,7 +119,8 @@ + #define _RESOLV_H_ + + #include <sys/param.h> +-# include <sys/types.h> ++#include <sys/types.h> ++#include <stdint.h> + #include <sys/socket.h> + #include <stdio.h> + +@@ -293,10 +294,10 @@ + void fp_nquery(struct dnsres *, + const unsigned char *msg, int len, FILE *file); + const char * hostalias(struct dnsres *, const char *); +-void putlong(u_int32_t, unsigned char *); +-void putshort(u_int16_t, unsigned char *); ++void putlong(uint32_t, unsigned char *); ++void putshort(uint16_t, unsigned char *); + const char * p_class(int); +-const char * p_time(u_int32_t); ++const char * p_time(uint32_t); + const char * p_type(int); + void p_query(struct dnsres *, + const unsigned char *); +@@ -365,7 +366,7 @@ + #endif + + #ifndef ARC4RANDOM +-u_int32_t arc4random(void); ++uint32_t arc4random(void); + #endif + + #endif /* !_RESOLV_H_ */ diff --git a/dev-libs/libdnsres/files/libdnsres-0.1a-musl.patch b/dev-libs/libdnsres/files/libdnsres-0.1a-musl.patch new file mode 100644 index 000000000000..2a1ed0b78679 --- /dev/null +++ b/dev-libs/libdnsres/files/libdnsres-0.1a-musl.patch @@ -0,0 +1,80 @@ +Add a function that's missing from musl, use autotools machinery to +use it when needed +https://bugs.gentoo.org/880341 +--- a/configure.in ++++ b/configure.in +@@ -191,6 +191,8 @@ + [Define to unsigned int if you dont have it])] + ) + ++AC_REPLACE_FUNCS([inet_nsap_ntoa]) ++ + AC_MSG_CHECKING([whether our compiler supports __func__]) + AC_TRY_COMPILE([], + [void foo() { const char *cp = __func__; }], +--- a/inet_nsap_ntoa.c ++++ b/inet_nsap_ntoa.c +@@ -0,0 +1,50 @@ ++/* taken from glibc source */ ++/* ++ * Copyright (c) 1996-1999 by Internet Software Consortium. ++ * ++ * Permission to use, copy, modify, and distribute this software for any ++ * purpose with or without fee is hereby granted, provided that the above ++ * copyright notice and this permission notice appear in all copies. ++ * ++ * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS ++ * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES ++ * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE ++ * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL ++ * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR ++ * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ++ * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS ++ * SOFTWARE. ++ */ ++ ++#if !defined(HAVE_INET_NSAP_NTOA) ++#include <sys/types.h> ++ ++char * ++inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) { ++ int nib; ++ int i; ++ static char tmpbuf[255*2 + 128]; ++ char *start; ++ ++ if (ascii) ++ start = ascii; ++ else { ++ ascii = tmpbuf; ++ start = tmpbuf; ++ } ++ ++ if (binlen > 255) ++ binlen = 255; ++ ++ for (i = 0; i < binlen; i++) { ++ nib = *binary >> 4; ++ *ascii++ = nib + (nib < 10 ? '0' : '7'); ++ nib = *binary++ & 0x0f; ++ *ascii++ = nib + (nib < 10 ? '0' : '7'); ++ if (((i % 2) == 0 && (i + 1) < binlen)) ++ *ascii++ = '.'; ++ } ++ *ascii = '\0'; ++ return (start); ++} ++#endif +--- a/res_debug.c ++++ b/res_debug.c +@@ -94,6 +94,10 @@ + #include "dnsres-internal.h" + #include "resolv.h" + ++#if !defined(HAVE_INET_NSAP_NTOA) ++char *inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii); ++#endif ++ + /* Signatures */ + /* Size of a mod or exp in bits */ + #define MIN_MD5RSA_KEY_PART_BITS 512 diff --git a/dev-libs/libdnsres/libdnsres-0.1a-r5.ebuild b/dev-libs/libdnsres/libdnsres-0.1a-r5.ebuild new file mode 100644 index 000000000000..c9b4172f79df --- /dev/null +++ b/dev-libs/libdnsres/libdnsres-0.1a-r5.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A non-blocking DNS resolver library" +HOMEPAGE="https://www.monkey.org/~provos/libdnsres/" +SRC_URI="https://www.monkey.org/~provos/${P}.tar.gz" + +LICENSE="BSD-4" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="static-libs" + +DEPEND="dev-libs/libevent" +RDEPEND="${DEPEND}" + +DOCS=( README ) +PATCHES=( + "${FILESDIR}"/${P}-autotools.patch + "${FILESDIR}"/${P}-autotools-fix-path.patch + "${FILESDIR}"/${P}-C99.patch + "${FILESDIR}"/${P}-modern-types.patch + "${FILESDIR}"/${P}-musl.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/libintl/Manifest b/dev-libs/libintl/Manifest index 393121f775c9..8e0d7b915c84 100644 --- a/dev-libs/libintl/Manifest +++ b/dev-libs/libintl/Manifest @@ -1,14 +1,11 @@ AUX libintl-0.21.1-java-autoconf.patch 2280 BLAKE2B 79605c0ea6c5a56be1a6d586210ed40d913e30fd56c955c49a796a78e2f7d068ccdfdeb2b13ee68458612a40e6a7130e4e8d30661136cee888e7319cecce6899 SHA512 60948e0e45ea8628d6041448d4152696e3026e9d8d7dd4441977a0f8496976fb16cb8578d549287ab9d1a783cc764c9d7c3041d1e47bf1c789b5ff9a34a66dc1 DIST gettext-0.21.1.tar.xz 10054564 BLAKE2B e994924284b3fd5b3e3bf59d4bf43eb30c9b21cc213dc3b98616b4a9fc321c90911d94d314f323cfffd0d2c3e9371b5b8f7985b9a785adc61617dd042b6f4df5 SHA512 61e93bc9876effd3ca1c4e64ff6ba5bd84b24951ec2cc6f40a0e3248410e60f887552f29ca1f70541fb5524f6a4e8191fed288713c3e280e18922dd5bff1a2c9 DIST gettext-0.21.1.tar.xz.sig 833 BLAKE2B f673436d315e972f9e110a1b5c8d1b2f20a32fc1b7ce027fcd3bc2fe7a81af183fb8db744cbed1a8c3a6ce1a13d55e19a8e8829fc944960fbfc7efcd9aaed91c SHA512 fba912830c57d0616fb66cf81da0cb7a3ab1e27497c45daa63249d3c9f85182a4f42dfeb1591d8f31c2a340ba0c519f04fd2f05429d1cf26a3ea316d047993d0 -DIST gettext-0.22.4.tar.xz 10255384 BLAKE2B 3f93aa5aef8e40d2e01acaa5aeed11efefd0de43ea26d084a0b9e743019685f7584d8e1bf05c1fd5772a5576d21ee1f052b81366f52c7827b6d14bd4d9890edc SHA512 0f3620b1621b85b3df9e372885c2f040c8a91ec0b2d4e16978459a8a2a152318a0e6f5fefb8d971bad80c437e7ee8ac8c24edc4de0ab86e729528b8a2ac62c51 -DIST gettext-0.22.4.tar.xz.sig 833 BLAKE2B fbb00b53c807934a11263c120861971fffebbd39689eda1fae0fb956476e69c3fb6799440cbf3acfcf43ecea2c134ea4dadb95becbac98badb43e546f3c8e9fb SHA512 a774c98de643b1ea3df645e451878652c2baa5cd786642aa457e6d5f5c44787cb1231eb15ad4390acdf314822633acaffffaa853eb69cbbc72c3b79b547a8854 DIST gettext-0.22.5.tar.xz 10270724 BLAKE2B 18c383518f5a78b5c04cf76de976524da2a87a892a30d6386778bb4c7dd526ffc3f14f484906c5d3a513b7caf76ea560e53962b325e552182d6940055d798f24 SHA512 a60999bb9d09441f138214d87acb7e59aab81e765bb9253a77c54902681c5de164a5a04de2a9778dfb479dbdefaab2d5de1fbaf6095c555c43e7e9fd7a1c09bd DIST gettext-0.22.5.tar.xz.sig 833 BLAKE2B bb3e5ced34ab109f498347a3567103fe3491f69addb4a5ce25bf854fae1a11340eef1a9826b369d2416b53e5f7065aeebdb1609615f064cf7fb4151e82a5b4e5 SHA512 87f1df69206702be928b09a59a19ae4c23072cbc78ea16e76bfc4c929de76a3c0bb8e4eb2c3100c6e7b3b51d23e3b0e484c7e1d576ba7e25fd887934dc9ed8f7 DIST gettext-0.23.1.tar.xz 11038556 BLAKE2B 08d10340f3d855a87a96594c6f2dcf72925394f02e86235090f8d272e0a27ce32e57a0fbaed61aaf61d7328ff30be076dccaecaa13832d8db3ec0a51786780b9 SHA512 d75908f73eabe36c01d72d342ca694dbefad5f43da54f0ccb43bfd0518baff5becc8f50e787f21fadb7c29b3123638e4559334ea4f8e48a97107e8c5e22453b6 DIST gettext-0.23.1.tar.xz.sig 833 BLAKE2B 7ab3c5b76825fcd71371f25f0cc3d79704c5ae405f153917901f583f5780f3707f622522b2bac89dbf32a7bf281216ad7469608af490ad6072f12c81e472200a SHA512 8aa2ba38d863d15a91b526b8b22d5aa54e07bc9cf716a551338d4f7f4230288bfa1234d4628e28fcdb4dc4050786a233a194197ca247d98c939e4d06bca4c230 EBUILD libintl-0.21.1.ebuild 2709 BLAKE2B fbc0d73f6eb03a0cbca621c0f0fb8dd0e9f0768f05adb75c76eb46aaab69e202e3e7c1086cd1700a3b68b13549c5a22052cd330d07a8999383de7ae9020a786c SHA512 c607553c1bbc59cb767935c79c3dd9ce7b76abeb23d1e14b61d526295c98be17f47a8923148184f1035315cf4358ae6e86717c0bbfee603204180d623edf1b27 -EBUILD libintl-0.22.4.ebuild 2659 BLAKE2B e5e3d3a828d20a8a008411a9f9f087d6a09aedbd7034acc4eb1d391128052320752eca2f6ccaff0323474168233c6a58905a352d3abc14973787023340d66439 SHA512 9911b2ae8634523ac1b129c9c215e92c22a71bc0d13de4d51292c0b3d1187d377d204016254ba29b5ea72d385e3febcde5bee79aaa4373e5b372a04f206a7ebc EBUILD libintl-0.22.5.ebuild 2746 BLAKE2B df42662396e4b6aeb39a523616c882f29900a239fd3f75f6d75951f3ac6f1d1c2367440619c878556d09521850c0761578f7f638444f8edf0c88577f004ce7a7 SHA512 f94891db7862731e4b71bd22e8acdbc3e6eabada6cc87ce770f2b80df7e2c8e427624969349b9625daa30b423a8f51a1c7fde07e28f473d59f0ee17fd66381ea EBUILD libintl-0.23.1.ebuild 2713 BLAKE2B 0a0717ccb01d9e5ac00d8640c87bce4fc4f6ec574226be8426fcfbf25eaf305b101e8ecfc10ddda4068e61bcec7e9074b899340ca2d04fae5c1b5084edb9cb08 SHA512 a90ab01a06c7aaa79cf29d15a5c0098af3915c720a14a333d87ddc316f5d05d1ba6ebd8ad3a902b32c0d3a224475b7475163a3e59df10dd7dd3bded3aac5382e MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c diff --git a/dev-libs/libintl/libintl-0.22.4.ebuild b/dev-libs/libintl/libintl-0.22.4.ebuild deleted file mode 100644 index 577ae180cb73..000000000000 --- a/dev-libs/libintl/libintl-0.22.4.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Note: Keep version bumps in sync with sys-devel/gettext. - -EAPI=8 - -MY_P="gettext-${PV}" -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gettext.asc -inherit multilib-minimal libtool usr-ldscript verify-sig - -DESCRIPTION="the GNU international library (split out of gettext)" -HOMEPAGE="https://www.gnu.org/software/gettext/" -SRC_URI=" - mirror://gnu/gettext/${MY_P}.tar.xz - verify-sig? ( mirror://gnu/gettext/${MY_P}.tar.xz.sig ) -" -S="${WORKDIR}/${MY_P}/gettext-runtime" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="static-libs +threads" - -DEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]" -# Block C libraries known to provide libintl. -RDEPEND=" - ${DEPEND} - !sys-libs/glibc - !sys-libs/musl - !<sys-devel/gettext-0.19.6-r1 -" -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-gettext )" - -src_prepare() { - default - - cd "${WORKDIR}/${MY_P}" || die - - # gettext-0.21.1-java-autoconf.patch changes - # gettext-{runtime,tools}/configure.ac and the corresponding - # configure scripts. Avoid regenerating other autotools output. - #touch -c gettext-{runtime,tools}/{aclocal.m4,Makefile.in,config.h.in,configure} || die - # Makefile.am adds a dependency on gettext-{runtime,tools}/configure.ac - #touch -c configure || die - - cd "${S}" || die - - # The libtool files are stored higher up, so make sure we run in the - # whole tree and not just the subdir we build. - elibtoolize "${WORKDIR}" -} - -multilib_src_configure() { - local myconf=( - --cache-file="${BUILD_DIR}"/config.cache - - # Emacs support is now in a separate package. - --without-emacs - --without-lispdir - # Normally this controls nls behavior in general, but the libintl - # subdir is skipped unless this is explicitly set. ugh. - --enable-nls - # This magic flag enables libintl. - --with-included-gettext - # The gettext package provides this library. - --disable-c++ - --disable-libasprintf - # No Java until someone cares. - --disable-java - - $(use_enable static-libs static) - $(use_enable threads) - ) - - ECONF_SOURCE="${S}" econf "${myconf[@]}" -} - -multilib_src_compile() { - # We only need things in the intl/ subdir. - emake -C intl -} - -multilib_src_install() { - # We only need things in the intl/ subdir. - emake DESTDIR="${D}" install -C intl - - gen_usr_ldscript -a intl -} - -multilib_src_install_all() { - if ! use static-libs ; then - find "${ED}" -type f -name "*.la" -delete || die - fi - - rm -r "${ED}"/usr/share/locale || die - - dodoc AUTHORS ChangeLog NEWS README -} diff --git a/dev-libs/libpipeline/Manifest b/dev-libs/libpipeline/Manifest index fc2ef05e9067..152ef70f2ea1 100644 --- a/dev-libs/libpipeline/Manifest +++ b/dev-libs/libpipeline/Manifest @@ -1,5 +1,3 @@ -DIST libpipeline-1.5.7.tar.gz 977735 BLAKE2B b8f9ff6886f8df12e3fefbfaa0cbcb1e07d7baaa8a1dfcf4bc01c17c6632b8c6a40e55395f1e4870ca391eefb1535ebbc3931fcdee51cf5f4293741e437a2f25 SHA512 bb3be954f5d826cef805f85d65759fb197c31adf80d92360c7d0caa486e0d4877510681390ca01c028b6e805f968f14e8bf4b3eca02e429529031787e7f14d84 DIST libpipeline-1.5.8.tar.gz 1070254 BLAKE2B 1feb1a9493fd0850b4e3e446619e7e042bd97d8c0bbb3e13a91d90d6cde3ca2c17fb8a3ca256f65291dadc4d8703ad5d3a795839bf8280adc4547b3ec3d2da7d SHA512 0ae94df4bd508f0e664fa5430687d64904c60d69d9565c18cacb70251f8653cb7c571325d1406c859fdd149048adce8c4b3bf028573064496d7da3436e27b9b0 -EBUILD libpipeline-1.5.7.ebuild 616 BLAKE2B fb64feaeb5ce610df293daf7eda4d88e5e54bb43ad17cad45bb85aed18b7fd8310cd4003f47d84bef366c8cef34103ab73830beeb97b16c6cca26f852eac02e3 SHA512 2f67127264f7f2a7f41cc148b2d27ce724491d238a9952addda04379a3036c787cb3e7498e804d14b1fc2211a53cf896688909cd5817f058185df99262cd042a EBUILD libpipeline-1.5.8.ebuild 674 BLAKE2B 07543ab3e0f489754a5a34028b3b327d7aa6d10f981cdbea1b0930813ce1e25c493eeed5bdfa2b1fc969401480a58e14e3cd3e46d97bb97e03f67bb2808dfd5e SHA512 f4465d47fa0ec95fa32d3ceaf90129dedcc88b74a77cb86a0e0567b9b39af09f18bc5d67e288499ae0891da463bae827acabb7365267d4cb2fe675728b287931 MISC metadata.xml 346 BLAKE2B 4d9a2da649bd11799ca9979ac16e9019969e144505569d19f74a635570b02fc10b76b9b7e72fcd1f839cd5af0c09664830dd04793611859b6a27ac8adea200fc SHA512 519217cee8afaf715c65e1e91da36943539e91cdb83a71f5023be00caee984ade4b296a0cf894afca69806f6024d78c1349507ccdd822580ddce734936244d56 diff --git a/dev-libs/libpipeline/libpipeline-1.5.7.ebuild b/dev-libs/libpipeline/libpipeline-1.5.7.ebuild deleted file mode 100644 index d1b84cfaf687..000000000000 --- a/dev-libs/libpipeline/libpipeline-1.5.7.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="A pipeline manipulation library" -HOMEPAGE="https://libpipeline.nongnu.org/" -SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND="test? ( dev-libs/check )" -BDEPEND="virtual/pkgconfig" - -src_install() { - default - - find "${ED}" -type f -name "*.la" -delete || die -} diff --git a/dev-libs/libsodium/Manifest b/dev-libs/libsodium/Manifest index dbeb277c7160..5876836a82ea 100644 --- a/dev-libs/libsodium/Manifest +++ b/dev-libs/libsodium/Manifest @@ -1,8 +1,5 @@ AUX libsodium-1.0.19-cpuflags.patch 1448 BLAKE2B 36a54f26c3e8522109e39e08908291d461de8fe25c554c34d87b0487f07f25cb74f1ef93d567da0cc5695868c1bb83ee073f28956292aa467ce95d48bb5fde02 SHA512 8fcf8b59ca151eb8604ae4ea5ab55f9005a125eb4eb7e0493e01862ddbcbfc2eb3a17e4d4c043a311af84b90717bd979019d380de045bf7829a92f94d7b63f95 -DIST libsodium-1.0.19_p20240117.tar.gz 1946650 BLAKE2B 6faa56733ed28f34d58b41a71a41d6ba6369e2f5686e01169f83d5fe955523825bd250cfd59e15515b24f67cef1610af41749b6f56bc370e7f77708a86bd7684 SHA512 2cefd883b60fba5522bf4a6f3c73f9bc54164340400377089eea8fbb01447f1137fcb7f6183845a6c5e2aad51982122a356272b4eda5452d7b550a65aa576140 -DIST libsodium-1.0.19_p20240117.tar.gz.minisig 318 BLAKE2B f951b547f53b2569ed1493dcdbff1cc93519437f56cdf97a764d61a7e1fa98b383b49d4f4a9c4b7b199e2060037971f293796e641bd689c9cd6c7ae2c90b7a20 SHA512 202f9686fabcb7b362923b7f1eeac8544c5f21e7eaa0b4cdd7329733a62a5ec9efd18713bc63187055149525a066540a6904776870d718fd3b238b71ba4b9a35 DIST libsodium-1.0.20.tar.gz 1925167 BLAKE2B 2f1d8b2dc8a65f95433132b12bdccb7e0e4750326b05c4f42ddd3a74bf568faa2515384bfe94bba2ef420aff35c515d3d44945ea5a68f72e6a73b3a9b5bb234c SHA512 7ea165f3c1b1609790e30a16348b9dfdc5731302da00c07c65e125c8ab115c75419a5631876973600f8a4b560ca2c8267001770b68f2eb3eebc9ba095d312702 DIST libsodium-1.0.20.tar.gz.minisig 318 BLAKE2B b5939a9ca9b25332c39484b3ef02ced54aa75b2dc732d384d4f42daa0b6bd276f0c3359a8cbe8c97d8ab76b8c49e9f66959dcf350e3cf00fae10a279826109ae SHA512 fc5a4282093d58eb42559f88ccf75ea3788449afda9d882d313714e448e78ef11c22ff1e52091af026f6bf3ba01917d606040b1dca240dd1a32278c901b4affb -EBUILD libsodium-1.0.19_p20240117.ebuild 2039 BLAKE2B 12b07d8d872dedd000f855f753011ce21d03ace320da7fd78c02b94c67866f77f706d369f2d23183de478c39a088d386d441b2644afb203393bb0c6e24d65c09 SHA512 f8a6257de4d1864c8052c6c90940354806b17b0bc95c62f1b00ab1d13f6df2ba2e59960787ffcf6787d73fbd1fd68f5600176784d2730794b6fc7353f12e993b EBUILD libsodium-1.0.20.ebuild 2039 BLAKE2B 14236d762567fd159003e88e70d180c34875e374e1a01550cb571f244ecb9fc12a2ac0ad9ec77744fa61e1a0e68506ecc79e7af7700461341ccc12d841788166 SHA512 ac4505e1da97864b78b5f676f2f827d12ad836c7b46ccf307d9cf3b8ecf1eabc1ff99e1b294b6b9384785f6f6f89cdf3a9cbba0a19e6014a5b03207e42f1f8a6 MISC metadata.xml 806 BLAKE2B 069f36bae588b263d664f00b50c9a0f4c2348b1a1f0ff2e5c5902217ccf14a81e648997fae2f789220d5b9fa5aef440a7c0526918a7d7f402870dd80067e3744 SHA512 1902268ec9dbb312b9740f9bc9b2df5e66f50dc066ba281b438fbf6d2b5317c589c587305c400c929c068af95c30918fde7a6324ab53b76503ef183aab034886 diff --git a/dev-libs/libsodium/libsodium-1.0.19_p20240117.ebuild b/dev-libs/libsodium/libsodium-1.0.19_p20240117.ebuild deleted file mode 100644 index d358144b1698..000000000000 --- a/dev-libs/libsodium/libsodium-1.0.19_p20240117.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libsodium.minisig -VERIFY_SIG_METHOD=minisig -inherit autotools multilib-minimal verify-sig - -DESCRIPTION="Portable fork of NaCl, a higher-level cryptographic library" -HOMEPAGE="https://libsodium.org" - -if [[ ${PV} == *_p* ]] ; then - MY_P=${PN}-$(ver_cut 1-3)-stable-$(ver_cut 5-) - - # We use _pN to represent 'stable releases' - # These are backports from upstream to the last release branch - # See https://download.libsodium.org/libsodium/releases/README.html - SRC_URI=" - https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_P}.tar.gz -> ${P}.tar.gz - verify-sig? ( https://dev.gentoo.org/~sam/distfiles/dev-libs/libsodium/${MY_P}.tar.gz.minisig -> ${P}.tar.gz.minisig ) - " -else - SRC_URI=" - https://download.libsodium.org/${PN}/releases/${P}.tar.gz - verify-sig? ( https://download.libsodium.org/${PN}/releases/${P}.tar.gz.minisig ) - " -fi - -S="${WORKDIR}"/${PN}-stable - -LICENSE="ISC" -SLOT="0/26" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos" -IUSE="+asm static-libs +urandom" - -CPU_USE=( cpu_flags_x86_{aes,sse4_1} ) -IUSE+=" ${CPU_USE[@]}" - -BDEPEND=" verify-sig? ( sec-keys/minisig-keys-libsodium )" - -QA_CONFIG_IMPL_DECL_SKIP=( - _rdrand64_step # depends on target, bug #924154 -) - -PATCHES=( - "${FILESDIR}"/${PN}-1.0.19-cpuflags.patch -) - -src_prepare() { - default - - eautoreconf -} - -multilib_src_configure() { - local myeconfargs=( - $(use_enable asm) - $(use_enable cpu_flags_x86_aes aesni) - $(use_enable cpu_flags_x86_sse4_1 sse4_1) - $(use_enable static-libs static) - $(use_enable !urandom blocking-random) - ) - - # --disable-pie is needed on x86, see bug #512734 - # TODO: Check if still needed? - if [[ ${ABI} == x86 ]] ; then - myeconfargs+=( --disable-pie ) - fi - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install_all() { - default - find "${ED}" -type f -name "*.la" -delete || die -} diff --git a/dev-libs/libxml2/Manifest b/dev-libs/libxml2/Manifest index cfd39a462ae3..062e0f8bc39e 100644 --- a/dev-libs/libxml2/Manifest +++ b/dev-libs/libxml2/Manifest @@ -4,7 +4,6 @@ AUX libxml2-2.12.9-icu-pkgconfig.patch 1074 BLAKE2B a676f25de6c96ec5056b472a4819 DIST libxml2-2.11.9.tar.xz 2627500 BLAKE2B 3ecab5df9017673f31e8bbf737273d72cb4475c3a6f0d0669e7f074b0e4d378460df2e175fe4991c675d8462a2e4d4607c151ed11937a0c8a3a4e81107102f67 SHA512 d5c34ed56525f4c6b61d7055fe4219d7a3337077b4fb27081682e9f8350f1542b4476ac42f2754e590b371a4d9a00921cebf20c10b299371b05b8391e7fa7c33 DIST libxml2-2.12.10.tar.xz 2483708 BLAKE2B b0e68457650665967936799c5b8f550a74534a820ffa1ebcf580c025681ab7f0a0941aea8e3cec93dc056e9cbe53266864635d991f8ce7662cf7b66b2c49abbd SHA512 7bd04375321a99c9b7a82d6a72d9412ab45f958b923f1e2f75d9dfbb1a053eba3e0fd067a53753f9a343b4dcb2d9ab5cba894d4194a5f9fb7108f7c545224791 DIST libxml2-2.12.9.tar.xz 2643456 BLAKE2B 769ff564e62c1c0167e5334879ac9e912491c651b6d48a9d21db569002ae86bc4e4490098710a614bc90bbefc44a9dd0af6b02958041dd3bffccf8b5ddc0f7ca SHA512 6e4544ed3ab36d6cb7481d465ceabf223444739d7f41de3e1927309b8716a5eac85520b9bbaf69913f53e052fbfaf68bf27372074daaa24dca9463ce728b4173 -DIST libxml2-2.13.5.tar.xz 2586872 BLAKE2B 46c280630638e2c8009c593bbbcf90ccbfffe9ddcc99987c4d91c2223043759f2b4d6511b31b2357c5250ac3b40d96ef05c17b4d2adc61972665f8a0d899dfe8 SHA512 acaecd4e3e95136d1c621f9e5f33976ebca87dfbf83859459e339597c3c57fbc47508a7de16af7fbf0e7e7c59fd6f9a82b2e732e1dd12efd79d666bac64ecf4e DIST libxml2-2.13.6.tar.xz 2423476 BLAKE2B b21f2946dd6945de4a47c993e93bfbbc785b51a501782bf44c234ad69675a58ccdbf6a255301c4d69e92ba9a9ed6670156e55b4d8100215f2dea015c943931ff SHA512 1d4fc3c58df28834ceeeefd49ab90b263b62823d2f0870ae38d11320da93cfa2a18d979c605293c91ad985cb702e7395ddc0ec00b4785dab35ba6d8c33d5f6a7 DIST xmlts20130923.tar.gz 641522 BLAKE2B 63a47bc69278ef510cd0b3779aed729e1b309e30efa0015d28ed051cc03f9dfddb447ab57b07b3393e8f47393d15473b0e199c34cb1f5f746b15ddfaa55670be SHA512 d5c4d26b324ed21f4e0641cd7f8b76dbf9de80df8b519982e44d41c960df29fd03618e02e9693b2d11ad06d19c4a965274c95a048ec3b9653eacb919a7f8b733 DIST xsts-2002-01-16.tar.gz 6894439 BLAKE2B 1e9ec63d2c104655e64249e07440a04d862fcbcd4d4e19745d81b34994319b510a531c9d6df1491fae1e90b5d0764f0f1a827251ca8df5d613178b0eab01ef25 SHA512 43300af6d39c1e2221b0ed7318fe14c7464eeb6eb030ed1e22eb29b4ab17f014e2a4c8887c3a46ae5d243e3072da27f00f4e285498ae6f1288177d38d1108288 @@ -12,7 +11,6 @@ DIST xsts-2004-01-14.tar.gz 2761085 BLAKE2B 41545995fb3a65d053257c376c07d45ffd10 EBUILD libxml2-2.11.9.ebuild 5320 BLAKE2B 677e7ebb285ae739f8759520d01c7ec6c1148f1257dca62e3d9f7209eca0643ffa9c0fbc91764d99483f22814a5f5e89bcf49da0a3f25892afeffef2b2407bf2 SHA512 04049159608bb632bc93214b6b064e1ad05b3be8178268f7913739d63ccdaac4bae1a90468be099024874e173ffba341d32695b6f0f9d399faba2bda08ca7593 EBUILD libxml2-2.12.10.ebuild 5260 BLAKE2B e21936494a522b582ea6b45e0ae901733b07e3a1f6bc95bc87855cdcebd8bfce1e73eb99203a04241b0ffbc9751c60ac8dafff0f2c5545ddfeb1ee6c9121ee9c SHA512 8883d4314b045b0051d4e633328b83b17a1ba3aad53c827e128ee42a7e37d118ce82a875e24324670dcf8b047551ec5b82247a71dc3a24b79623c8c687853f21 EBUILD libxml2-2.12.9.ebuild 5252 BLAKE2B bea5a28bf64b15b8fde7d5ecdceb941887c2523698400e18bf24f43a8ead46eac7d69e652bd12e1ca17fea0a07008dd37e5c3826843c141393e0f1edb84ccc98 SHA512 8deeee835aa558693fe92a9dbeb3e76a82ecc19462d1b1737296a5442eaeaf9bf39f0b1d1360249cd9b4c9a21791bdd802978e11bb30fbf0f89f1358bcfaf788 -EBUILD libxml2-2.13.5.ebuild 4929 BLAKE2B 0e75032d107098974e34c27db656ddfad94adf50dc8c439196958ae5df0011d8e7499ed9e222b0ba4dd1c5848805ab81639a26a63c4ff5cfb4ea650ee5648357 SHA512 fcb2596dbada2f58aaa143100acb0bddc463892ac429efadeb447dc840cfa8f109c72fe7f26724f0cc52327addce47bd2e6017a746c13bfb18ee43d16c81b967 EBUILD libxml2-2.13.6.ebuild 4929 BLAKE2B 1e98eb39829d6ed01c92f9b75aad1cef911ed4859d54e51cb8d3e844dfb4428259b29ae28c8745341f36c3857801a8795512c0679823d63ee54e8103135367bf SHA512 d5e27d276bc6ba5eebf8400eaf5b58dc0a236055dbab358172bf34be105f74bdd463b59fc0dd362f7f50499ae6a764d485e94ac55f619e764c449f4900d37f69 EBUILD libxml2-9999.ebuild 4919 BLAKE2B 3e0f278498216f9318528bb2ed2b522309acf5c67e34e36725defe944b09aab9660a6284f948b1e45dee1af588512e605c5dc1e2eb84e6bebead6d857c0795c1 SHA512 47689ae3e3b5d3bd2e5fb92f4ffd20b8fdd5a2550fafe2cd88a1fff7f2946b970b99e379e44ff3f72e4423f62c4b2a5a3ea5b480dca8e431c2177ef69d779b6c MISC metadata.xml 519 BLAKE2B 528be4ec79b54eaed229c84c96656266acffaa2ab68c7b1e6daecdee77bb1109ea56babceff0459125e04326425be28f436a78f697c363920102b94aca25179d SHA512 85804c662dd019e6c4cad05bb691b2058c9b93c190c57a7b4cc2674bee71a805da41159184c1bae9954700e52b41bb104a2d1e66ea4d1799463626befb691d11 diff --git a/dev-libs/libxml2/libxml2-2.13.5.ebuild b/dev-libs/libxml2/libxml2-2.13.5.ebuild deleted file mode 100644 index e27b1966092f..000000000000 --- a/dev-libs/libxml2/libxml2-2.13.5.ebuild +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Note: Please bump in sync with dev-libs/libxslt - -PYTHON_COMPAT=( python3_{10..13} ) -PYTHON_REQ_USE="xml(+)" -inherit autotools python-r1 multilib-minimal - -XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite" -XSTS_NAME_1="xmlschema2002-01-16" -XSTS_NAME_2="xmlschema2004-01-14" -XSTS_TARBALL_1="xsts-2002-01-16.tar.gz" -XSTS_TARBALL_2="xsts-2004-01-14.tar.gz" -XMLCONF_TARBALL="xmlts20130923.tar.gz" - -DESCRIPTION="XML C parser and toolkit" -HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home" -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2" - inherit git-r3 -else - inherit gnome.org - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -fi - -SRC_URI+=" - test? ( - ${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1} - ${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2} - https://www.w3.org/XML/Test/${XMLCONF_TARBALL} - ) -" -S="${WORKDIR}/${PN}-${PV%_rc*}" - -LICENSE="MIT" -SLOT="2" -IUSE="examples icu lzma +python readline static-libs test" -RESTRICT="!test? ( test )" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - virtual/libiconv - >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] - icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) - lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] ) - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:= ) -" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -if [[ ${PV} == 9999 ]] ; then - BDEPEND+=" dev-build/gtk-doc-am" -fi - -MULTILIB_CHOST_TOOLS=( - /usr/bin/xml2-config -) - -PATCHES=( - "${FILESDIR}"/${PN}-2.12.9-icu-pkgconfig.patch -) - -src_unpack() { - if [[ ${PV} == 9999 ]] ; then - git-r3_src_unpack - else - local tarname=${P/_rc/-rc}.tar.xz - - # ${A} isn't used to avoid unpacking of test tarballs into ${WORKDIR}, - # as they are needed as tarballs in ${S}/xstc instead and not unpacked - unpack ${tarname} - - if [[ -n ${PATCHSET_VERSION} ]] ; then - unpack ${PN}-${PATCHSET_VERSION}.tar.xz - fi - fi - - cd "${S}" || die - - if use test ; then - cp "${DISTDIR}/${XSTS_TARBALL_1}" \ - "${DISTDIR}/${XSTS_TARBALL_2}" \ - "${S}"/xstc/ \ - || die "Failed to install test tarballs" - unpack ${XMLCONF_TARBALL} - fi -} - -src_prepare() { - default - - # Please do not remove, as else we get references to PORTAGE_TMPDIR - # in /usr/lib/python?.?/site-packages/libxml2mod.la among things. - #elibtoolize - - eautoreconf -} - -multilib_src_configure() { - libxml2_configure() { - ECONF_SOURCE="${S}" econf \ - $(use_with icu) \ - $(use_with lzma) \ - $(use_enable static-libs static) \ - $(multilib_native_use_with readline) \ - $(multilib_native_use_with readline history) \ - --with-legacy \ - "$@" - } - - # Build python bindings separately - libxml2_configure --without-python - - multilib_is_native_abi && use python && - python_foreach_impl run_in_build_dir libxml2_configure --with-python -} - -libxml2_py_emake() { - pushd "${BUILD_DIR}"/python >/dev/null || die - - emake top_builddir="${NATIVE_BUILD_DIR}" "$@" - - popd >/dev/null || die -} - -multilib_src_compile() { - default - - if multilib_is_native_abi && use python ; then - NATIVE_BUILD_DIR="${BUILD_DIR}" - python_foreach_impl run_in_build_dir libxml2_py_emake all - fi -} - -multilib_src_test() { - ln -s "${S}"/xmlconf || die - - emake check - - multilib_is_native_abi && use python && - python_foreach_impl run_in_build_dir libxml2_py_emake check -} - -multilib_src_install() { - emake DESTDIR="${D}" install - - multilib_is_native_abi && use python && - python_foreach_impl run_in_build_dir libxml2_py_emake DESTDIR="${D}" install - - # Hack until automake release is made for the optimise fix - # https://git.savannah.gnu.org/cgit/automake.git/commit/?id=bde43d0481ff540418271ac37012a574a4fcf097 - multilib_is_native_abi && use python && python_foreach_impl python_optimize -} - -multilib_src_install_all() { - einstalldocs - - if ! use examples ; then - rm -rf "${ED}"/usr/share/doc/${PF}/examples || die - rm -rf "${ED}"/usr/share/doc/${PF}/python/examples || die - fi - - rm -rf "${ED}"/usr/share/doc/${PN}-python-${PVR} || die - - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not - # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. - if [[ -n "${ROOT}" ]]; then - elog "Skipping XML catalog creation for stage building (bug #208887)." - else - # Need an XML catalog, so no-one writes to a non-existent one - CATALOG="${EROOT}/etc/xml/catalog" - - # We don't want to clobber an existing catalog though, - # only ensure that one is there - # <obz@gentoo.org> - if [[ ! -e "${CATALOG}" ]]; then - [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml" - "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}" - einfo "Created XML catalog in ${CATALOG}" - fi - fi -} diff --git a/dev-libs/miniz/Manifest b/dev-libs/miniz/Manifest index c9e74f9666f8..4e2b4088060b 100644 --- a/dev-libs/miniz/Manifest +++ b/dev-libs/miniz/Manifest @@ -1,3 +1,3 @@ DIST miniz-3.0.2.tar.gz 115766 BLAKE2B 57260dc5d2f382f85fb7648d4e9fb9fcca63689cdd75f27b3cf84266b112e04031cc6b5f298e3155d4b8fd635704c713572c8ed76b5a8a2f0adb737c63051f1d SHA512 426054403121f84a2ac365f7545b35fb217b41061aebaffce483568d3d374d453ab87987c599a85f1f745e0ec7144a3181ed9b100f354e2823f165ba286b0611 -EBUILD miniz-3.0.2.ebuild 463 BLAKE2B dda623e810ba67b885a0b036c271a55a020d0b0aed9c7dfecdeec61555b5063e4ec3a4e2cb27a236688cf061c02e46bcbaf0a0fda413665607cd5eba3f365b50 SHA512 50d7db4d85366ddf104fda6fdcf26bb6746cec8e96c321d4cf866f3979b93d525ea7c1e11dfc7a654f3058338f96485e7d2f011240c79049e6237532e1eac8c9 +EBUILD miniz-3.0.2.ebuild 469 BLAKE2B e5920098e6ec33ef4ce7a955985f354b4a87ceddceceb9e70720369b9ce6660f4176cccebe2369f36a56276092bfac60d205c7f813480992744cc313ee8c4808 SHA512 2941c929659aef342b4649bed30f389ef080fc59652f91900d6fdf8f6b37b3565100d7fa244dc6526e26f90dd8ff5c5ce53da6bf69cb6550dffaddd5a20e0421 MISC metadata.xml 1039 BLAKE2B abcf47a1154eada5c2f5fbe0629f1f065db0f81db5202e58aac598b8b88237bf953eb4aa5c973e70e8371fc7ef4a033a4a7f8c1da83507c477509440f737ad2c SHA512 48f92a799a49ae6dd6ed589a50f746cccd9ab87e2e5370dc63c98c6ac663037a0d1d57f04a8170bd319bb5d17bfa16b4451b71a0df38233fc5a47c902927c690 diff --git a/dev-libs/miniz/miniz-3.0.2.ebuild b/dev-libs/miniz/miniz-3.0.2.ebuild index 3a6d0698c592..ca5c03b2b302 100644 --- a/dev-libs/miniz/miniz-3.0.2.ebuild +++ b/dev-libs/miniz/miniz-3.0.2.ebuild @@ -11,6 +11,6 @@ SRC_URI="https://github.com/richgel999/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" DOCS=( ChangeLog.md readme.md ) diff --git a/dev-libs/nettle/Manifest b/dev-libs/nettle/Manifest index 731b027e2b48..228d2bc8360c 100644 --- a/dev-libs/nettle/Manifest +++ b/dev-libs/nettle/Manifest @@ -1,13 +1,4 @@ DIST nettle-3.10.1.tar.gz 2643267 BLAKE2B da2e82e647904e855a0e0bd1efee3b610b33de1a722f5d652deeca083d1983c5ee66754233a0917d3bb91bb5a527a3e80cd5fe18f7c25986076b2388910995b5 SHA512 e8673bbcde9cde859ccae75ed6c9c30591e68a995a7c6d724106cfd67a5a5bd45b3468d742443b6565628849d0fd29505a28ca5ee4e89dd13197cdb51429f96c DIST nettle-3.10.1.tar.gz.sig 374 BLAKE2B 1264636002893e80e3001035ce2f17a3e0077405b74050752f1901abc44c882d2be643823d3476282a8dc78bfe3f19cda75d86e00f58dbb546e4347c59cc0963 SHA512 d074a921df31070a6e6562a9f7e213e67b8e6ce331e2683e8180f387aca92058a5fe8610800817a0aa5098b47176dfcb42b52d617648c84cc6262a09ef557eb8 -DIST nettle-3.10.tar.gz 2640485 BLAKE2B edf0ba6375f06e2dd4b1e3ed4bab5f592ac04a36f748ce0461bbec32622eb3d5f96f89350926c24b5bbbf37dbe14a1ad64bba5df7cb7ad5987ec634573aabbb5 SHA512 18d5b904ce60514aa81b57bff2945e5f7f4366d4775e6a5ffc227b85be2def72b3d2159b983b75ac95a56d3167a2ef1a25b5dfc2fb6193f16a012935c36a7b34 -DIST nettle-3.10.tar.gz.sig 374 BLAKE2B 9edebae1bc1941dfc19c3c3653f80ebf66e8aed974c99673a294ff6835145ca8265f5466829e27c5d0352e88a73e9a58fb017cdbad678705ae29cd27dd80fefe SHA512 a56d46bfd545b0dff47ee6426e019afea024ebf40698018b8a4b7a25168ce615bbfe773894dc01ab246f7010ef6a7f1c248cf1f9c693f0f0dbaf27c33c7d216f -DIST nettle-3.8.1.tar.gz 2406251 BLAKE2B 22b4ec81645b579504356597ba87b637e46285682020c90e03ecaea386ac9b48eaf91ee76ae3b86b6060be355de20c320ab3b74958074ad23fc08ad9ab6a4cbb SHA512 a405da3438d185d96917b03b00abb9ab43e04f58f770f657f716c25d64bb258ee170a71328e74736caa7121f50c0c89d3cc840c1201d2a92cfaf1357d24bdc6a -DIST nettle-3.8.1.tar.gz.sig 374 BLAKE2B e2bfce4aaa1be114fb9bf8724f25db75c69c3b98538df46e9b1428ce615f7db3b9e9f9240d232fddac195db4568439b3f58989c20beca82aa6db79f4956db547 SHA512 978304b1faa5adc3b0d6ea7e9597af6154ad5d6e328913ac19184ece94771fdb2a7d5ce0af535ae8d28cb6ccd94fb3d4ef2613c0356df9e08b5d4c26ea646e09 -DIST nettle-3.9.1.tar.gz 2396741 BLAKE2B e3ceaefa19491e58f26b900beaf8b4e746feb2357c7677f5c050f257f4a23c304773446b6283a42a82cf9640e16522b8a71c47f137759f1df23cdeee4625d142 SHA512 5939c4b43cf9ff6c6272245b85f123c81f8f4e37089fa4f39a00a570016d837f6e706a33226e4bbfc531b02a55b2756ff312461225ed88de338a73069e031ced -DIST nettle-3.9.1.tar.gz.sig 374 BLAKE2B 41c37cc0ea649445c7e4bbe2d0e9ab1c6f7bb50000adef2c2ee4828e7efdd2d7c6d823d64209f251cb7d82ce85e73768430a435ee7f1d5a3732e744987918d0c SHA512 fe6f4c9746e7dbc10f61843673de95d2faea209b1caea5c7bf69b81d3f6b2248a4907012b2baf0d65e54682f835cff465482db37615b789017ce0a9e7e267d7d EBUILD nettle-3.10.1.ebuild 3277 BLAKE2B 3072b010e0631e5239d29719b58cce24a7bba3c5de157fec2e30bc20fc053593e7dcf7616b2f601f16a6557504fcf601223858d05fe7b881cec61f8ae18a347c SHA512 b1afe9cc0fbc4bccb4bdb6fb30f9fa884287af9eaa512304a390ee67dfe83918af2c3b982c397b5920c6aa95c1c8bc3b37ecffd0475fe66aab7cb75a84220ddc -EBUILD nettle-3.10.ebuild 3277 BLAKE2B 2f2c2dcbcc1bb6187a2f213644b0732a35fc16e3dd51b2759394cc398f797132bc2fa9055f0ab76dd6ed0d8be14f200272b1f0d92494f784aa65309c843a56e6 SHA512 01537ec6c164a83d9903ae907ba1f2474f141cb2b9faefa9bd29df083ff19fee4afb3e75473fa9936f4944b14ec43d3bdd092705416b8d8ec4a5971d14fafe91 -EBUILD nettle-3.8.1.ebuild 2617 BLAKE2B 1200a36eff892bbd644ec5828906487d972df46eb398b74f6aaa72bc3d926a657e78bfc8b99c0199e27ac0b9066763486cab3baa09ca4c211edfd0842b666941 SHA512 37e4b9fc9f0043d273a71dc13db14c20426d0376e1b33d8937ab796a350ff90b69064c2635aa5933b22517fe464e0f4d379f48d452fd8317932541ae5d483c53 -EBUILD nettle-3.9.1-r1.ebuild 3103 BLAKE2B 51483db5d9c48b0deec2808d9056e4d8cbc7b5f1ef4b0b31b58b8a46f7e39b272e4a0ed23e68ea352320a1e937170e44d691edac51dc9048d2ed09cca15f7365 SHA512 5a90d4857e86d149ce72b8af5c3d6a405e8e72a9fe75d555a0883935a21f88c66d03dbd0178c899e28abc99148614bebe5665bf4079d16c79275d49fbe69ad7f MISC metadata.xml 401 BLAKE2B 8840ace8e513d9ee82322e82f348b15c94ed9ece2b102bc2bb977041e518f56f5f6b068318771759b1895d47db084026ae443841a9f305cf965c37121ef0100b SHA512 b2c4a89887b5882fc8e04a83e047d2f9bdc60e2f1799fd724c83275acd1f7b9b4c1c08c4c3ada810f5d30cf3c6048cd8043c7792dd909969b7e4bf4da66b42c8 diff --git a/dev-libs/nettle/nettle-3.10.ebuild b/dev-libs/nettle/nettle-3.10.ebuild deleted file mode 100644 index 4e64fde80d47..000000000000 --- a/dev-libs/nettle/nettle-3.10.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nettle.asc -inherit multilib-build multilib-minimal toolchain-funcs verify-sig - -DESCRIPTION="Low-level cryptographic library" -HOMEPAGE="https://www.lysator.liu.se/~nisse/nettle/ https://git.lysator.liu.se/nettle/nettle" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" -SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.gz.sig )" - -LICENSE="|| ( LGPL-3 LGPL-2.1 )" -# Subslot = libnettle - libhogweed soname version -SLOT="0/8-6" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="+asm doc +gmp static-libs cpu_flags_arm_neon cpu_flags_arm_aes cpu_flags_arm_sha1 cpu_flags_arm_sha2 cpu_flags_ppc_altivec cpu_flags_ppc_vsx2 cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_sha cpu_flags_x86_pclmul" -# The arm64 crypto option controls AES, SHA1, and SHA2 usage. -REQUIRED_USE=" - cpu_flags_arm_aes? ( cpu_flags_arm_sha1 cpu_flags_arm_sha2 ) - cpu_flags_arm_sha1? ( cpu_flags_arm_aes cpu_flags_arm_sha2 ) - cpu_flags_arm_sha2? ( cpu_flags_arm_aes cpu_flags_arm_sha1 ) -" - -DEPEND="gmp? ( >=dev-libs/gmp-6.1:=[static-libs?,${MULTILIB_USEDEP}] )" -RDEPEND="${DEPEND}" -BDEPEND=" - sys-devel/m4 - doc? ( sys-apps/texinfo ) - verify-sig? ( sec-keys/openpgp-keys-nettle ) -" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/nettle/version.h -) - -DOCS=() -HTML_DOCS=() - -src_prepare() { - default - - # I do not see in config.sub reference to sunldsolaris. - # if someone complains readd - # -e 's/solaris\*)/sunldsolaris*)/' \ - sed -e '/CFLAGS=/s: -ggdb3::' \ - -i configure.ac configure || die - - if use doc ; then - DOCS+=( nettle.pdf ) - HTML_DOCS+=( nettle.html ) - fi -} - -multilib_src_configure() { - # We don't want to run Valgrind within ebuilds, it often gets - # confused by sandbox, etc. - export nettle_cv_prog_valgrind=no - - # TODO: USE=debug w/ --enable-extra-asserts? - local myeconfargs=( - CC_FOR_BUILD="$(tc-getBUILD_CC)" - - $(tc-is-static-only && echo --disable-shared) - - # Intrinsics - $(use_enable cpu_flags_arm_neon arm-neon) - $(use_enable cpu_flags_arm_aes arm64-crypto) - $(use_enable cpu_flags_ppc_altivec power-altivec) - $(use_enable cpu_flags_ppc_vsx2 power-crypto-ext) - $(use_enable cpu_flags_ppc_vsx3 power9) - $(use_enable cpu_flags_x86_aes x86-aesni) - $(use_enable cpu_flags_x86_sha x86-sha-ni) - $(use_enable cpu_flags_x86_pclmul x86-pclmul) - $([[ ${CHOST} == *-solaris* ]] && echo '--disable-symbol-versions') - # TODO: cpu_flags_s390? - --disable-s390x-vf - --disable-s390x-msa - - $(use_enable asm assembler) - $(multilib_native_use_enable doc documentation) - $(use_enable gmp public-key) - $(use_enable static-libs static) - --disable-fat - - # openssl is just used for benchmarks (bug #427526) - --disable-openssl - ) - - # https://git.lysator.liu.se/nettle/nettle/-/issues/7 - if use cpu_flags_ppc_altivec && ! tc-cpp-is-true "defined(__VSX__) && __VSX__ == 1" ${CPPFLAGS} ${CFLAGS} ; then - ewarn "cpu_flags_ppc_altivec is enabled, but nettle's asm requires >=P7." - ewarn "Disabling, sorry! See bug #920234." - myeconfargs+=( --disable-power-altivec ) - fi - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} diff --git a/dev-libs/nettle/nettle-3.8.1.ebuild b/dev-libs/nettle/nettle-3.8.1.ebuild deleted file mode 100644 index 168327d96330..000000000000 --- a/dev-libs/nettle/nettle-3.8.1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nettle.asc -inherit multilib-build multilib-minimal toolchain-funcs verify-sig - -DESCRIPTION="Low-level cryptographic library" -HOMEPAGE="https://www.lysator.liu.se/~nisse/nettle/ https://git.lysator.liu.se/nettle/nettle" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" -SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.gz.sig )" - -LICENSE="|| ( LGPL-3 LGPL-2.1 )" -# Subslot = libnettle - libhogweed soname version -SLOT="0/8-6" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="+asm doc +gmp static-libs cpu_flags_arm_neon cpu_flags_arm_aes cpu_flags_arm_sha1 cpu_flags_arm_sha2 cpu_flags_ppc_altivec cpu_flags_x86_aes cpu_flags_x86_sha cpu_flags_x86_pclmul" -# The arm64 crypto option controls AES, SHA1, and SHA2 usage. -REQUIRED_USE="cpu_flags_arm_aes? ( cpu_flags_arm_sha1 cpu_flags_arm_sha2 ) - cpu_flags_arm_sha1? ( cpu_flags_arm_aes cpu_flags_arm_sha2 ) - cpu_flags_arm_sha2? ( cpu_flags_arm_aes cpu_flags_arm_sha1 )" - -DEPEND="gmp? ( >=dev-libs/gmp-6.1:0=[static-libs?,${MULTILIB_USEDEP}] )" -RDEPEND="${DEPEND}" -BDEPEND=" - sys-devel/m4 - doc? ( sys-apps/texinfo ) - verify-sig? ( sec-keys/openpgp-keys-nettle ) -" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/nettle/version.h -) - -DOCS=() -HTML_DOCS=() - -src_prepare() { - default - - # I do not see in config.sub reference to sunldsolaris. - # if someone complains readd - # -e 's/solaris\*)/sunldsolaris*)/' \ - sed -e '/CFLAGS=/s: -ggdb3::' \ - -i configure.ac configure || die - - if use doc ; then - DOCS+=( nettle.pdf ) - HTML_DOCS+=( nettle.html ) - fi -} - -multilib_src_configure() { - local myeconfargs=( - CC_FOR_BUILD="$(tc-getBUILD_CC)" - - $(tc-is-static-only && echo --disable-shared) - - # Intrinsics - $(use_enable cpu_flags_arm_neon arm-neon) - $(use_enable cpu_flags_arm_aes arm64-crypto) - $(use_enable cpu_flags_ppc_altivec power-altivec) - $(use_enable cpu_flags_x86_aes x86-aesni) - $(use_enable cpu_flags_x86_sha x86-sha-ni) - $(use_enable cpu_flags_x86_pclmul x86-pclmul) - # TODO: PPC crypto flag? - --disable-power-crypto-ext - # TODO: cpu_flags_s390? - --disable-s390x-vf - --disable-s390x-msa - - $(use_enable asm assembler) - $(multilib_native_use_enable doc documentation) - $(use_enable gmp public-key) - $(use_enable static-libs static) - --disable-fat - - # openssl is just used for benchmarks (bug #427526) - --disable-openssl - ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} diff --git a/dev-libs/nettle/nettle-3.9.1-r1.ebuild b/dev-libs/nettle/nettle-3.9.1-r1.ebuild deleted file mode 100644 index 6b40fdffe430..000000000000 --- a/dev-libs/nettle/nettle-3.9.1-r1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nettle.asc -inherit multilib-build multilib-minimal toolchain-funcs verify-sig - -DESCRIPTION="Low-level cryptographic library" -HOMEPAGE="https://www.lysator.liu.se/~nisse/nettle/ https://git.lysator.liu.se/nettle/nettle" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" -SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.gz.sig )" - -LICENSE="|| ( LGPL-3 LGPL-2.1 )" -# Subslot = libnettle - libhogweed soname version -SLOT="0/8-6" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="+asm doc +gmp static-libs cpu_flags_arm_neon cpu_flags_arm_aes cpu_flags_arm_sha1 cpu_flags_arm_sha2 cpu_flags_ppc_altivec cpu_flags_ppc_vsx2 cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_sha cpu_flags_x86_pclmul" -# The arm64 crypto option controls AES, SHA1, and SHA2 usage. -REQUIRED_USE=" - cpu_flags_arm_aes? ( cpu_flags_arm_sha1 cpu_flags_arm_sha2 ) - cpu_flags_arm_sha1? ( cpu_flags_arm_aes cpu_flags_arm_sha2 ) - cpu_flags_arm_sha2? ( cpu_flags_arm_aes cpu_flags_arm_sha1 ) -" - -DEPEND="gmp? ( >=dev-libs/gmp-6.1:=[static-libs?,${MULTILIB_USEDEP}] )" -RDEPEND="${DEPEND}" -BDEPEND=" - sys-devel/m4 - doc? ( sys-apps/texinfo ) - verify-sig? ( sec-keys/openpgp-keys-nettle ) -" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/nettle/version.h -) - -DOCS=() -HTML_DOCS=() - -src_prepare() { - default - - # I do not see in config.sub reference to sunldsolaris. - # if someone complains readd - # -e 's/solaris\*)/sunldsolaris*)/' \ - sed -e '/CFLAGS=/s: -ggdb3::' \ - -i configure.ac configure || die - - if use doc ; then - DOCS+=( nettle.pdf ) - HTML_DOCS+=( nettle.html ) - fi -} - -multilib_src_configure() { - local myeconfargs=( - CC_FOR_BUILD="$(tc-getBUILD_CC)" - - $(tc-is-static-only && echo --disable-shared) - - # Intrinsics - $(use_enable cpu_flags_arm_neon arm-neon) - $(use_enable cpu_flags_arm_aes arm64-crypto) - $(use_enable cpu_flags_ppc_altivec power-altivec) - $(use_enable cpu_flags_ppc_vsx2 power-crypto-ext) - $(use_enable cpu_flags_ppc_vsx3 power9) - $(use_enable cpu_flags_x86_aes x86-aesni) - $(use_enable cpu_flags_x86_sha x86-sha-ni) - $(use_enable cpu_flags_x86_pclmul x86-pclmul) - $([[ ${CHOST} == *-solaris* ]] && echo '--disable-symbol-versions') - # TODO: cpu_flags_s390? - --disable-s390x-vf - --disable-s390x-msa - - $(use_enable asm assembler) - $(multilib_native_use_enable doc documentation) - $(use_enable gmp public-key) - $(use_enable static-libs static) - --disable-fat - - # openssl is just used for benchmarks (bug #427526) - --disable-openssl - ) - - # https://git.lysator.liu.se/nettle/nettle/-/issues/7 - if use cpu_flags_ppc_altivec && ! tc-cpp-is-true "defined(__VSX__) && __VSX__ == 1" ${CPPFLAGS} ${CFLAGS} ; then - ewarn "cpu_flags_ppc_altivec is enabled, but nettle's asm requires >=P7." - ewarn "Disabling, sorry! See bug #920234." - myeconfargs+=( --disable-power-altivec ) - fi - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} diff --git a/dev-libs/openssl/Manifest b/dev-libs/openssl/Manifest index 6dcfe4aa1e8b..35f7c0b64fec 100644 --- a/dev-libs/openssl/Manifest +++ b/dev-libs/openssl/Manifest @@ -13,38 +13,24 @@ DIST openssl-1.0.2t-bindist-1.0.tar.xz 13872 BLAKE2B b2aade96a6e0ca6209a39e205b1 DIST openssl-1.0.2u.tar.gz 5355412 BLAKE2B b2ff2a10e5851af5aca4093422a9a072c794e87b997263826c1c35910c040f695fac63decac5856cb49399ed03d410f97701d9fd4e1ebfbcacd8f3a74ce8bf57 SHA512 c455bb309e20e2c2d47fdc5619c734d107d5c8c38c1409903ce979acc120b0d5fa0312917c0aa0d630e402d092a703d4249643f36078e8528a3cafc9dac6ab32 DIST openssl-1.1.1w.tar.gz 9893384 BLAKE2B 2fdba6ca0188928ab2f74e606136afca66cfa0467170fa6298ef160b64ac6fdcad1e81e5dd14013ce0e9921d0f7417edec531cd0beaf1196fec704c2c6d48395 SHA512 b4c625fe56a4e690b57b6a011a225ad0cb3af54bd8fb67af77b5eceac55cc7191291d96a660c5b568a08a2fbf62b4612818e7cca1bb95b2b6b4fc649b0552b6d DIST openssl-1.1.1w.tar.gz.asc 833 BLAKE2B d990be69ed913509d52b78e7473668429d4485adb29ef03e4612dd0cadbac4f04c7289d8e5baf6f397bcedeaac9f802f18fc719964d882ae0514ed1ca16ae277 SHA512 0f3d7aa48b1cabf8dd43e8108aeed10a4dffb4f5a244d4da9c86ea358b0c8b90c46da561d21e01c567c2f5035d824ed82ec104aad1776b7f33a1be85990e98ef -DIST openssl-3.0.15.tar.gz 15318633 BLAKE2B f2900d0894b97e86c709079ca4336d5dc508d69e91d3a4de4420c8d9344cb54dada6ea2cdd408166e53db0c652b06654e670701166b67a0a40578676e1cea535 SHA512 acd80f2f7924d90c1416946a5c61eff461926ad60f4821bb6b08845ea18f8452fd5e88a2c2c5bd0d7590a792cb8341a3f3be042fd0a5b6c9c1b84a497c347bbf -DIST openssl-3.0.15.tar.gz.asc 833 BLAKE2B 43088d6ae9e95aec8cfa08c0d338d76c2299ee89a1719a39c497b25c83a4c0c2d155fa00a62b47e15a7f2889680197741390c850d62a84ec5ce27ed1bbddcd28 SHA512 8b9471074130fd26b511820a1c2586792fd0105421515734c213ae18de27b5b026261e64d4cb8f5e7b568d1f4193484ebe0e99eda9d99df72474310a568ca3bf DIST openssl-3.0.16.tar.gz 15334967 BLAKE2B a1bcaf17c92beca6ff7f39857788120648904ef1dd25ffa2e43bd5477810e8c18751929d5ed270e7f429c569c5b5fdf069f1280646d8b4d1e879f15dfa03f7d9 SHA512 5eea2b0c60d870549fc2b8755f1220a57f870d95fbc8d5cc5abb9589f212d10945f355c3e88ff48540a7ee1c4db774b936023ca33d7c799ea82d91eef9c1c16d DIST openssl-3.0.16.tar.gz.asc 833 BLAKE2B 5f288f4b1e3a85181a73f288c7cb2d2e6e54e09b3ba032a6074c207f1f53d2920f4cdbbc9143a60063b3426eaa0279af4b1ed59b6b909047051ce73caff03584 SHA512 8b9688ecf84cb61b2718fc898eb748a8eb1ad9125f4742b09552d81bce098753dcbc36cdee9a30adbe4127de30938d955a7af12f8619338bcf2e2e748c8e8c86 -DIST openssl-3.1.7.tar.gz 15684836 BLAKE2B 1332f4b2454b6c9bf3ff2099aa343d6202bec98c6e44fba6377d5bb8efd9bf337df3a95549d874a2908f376056f6f333e6f65cbec7e27377d1ab8cbefddaa241 SHA512 bb4743c1a95148901d2d2bc51460c14cea3387c7dda9323524adbdb11334562f72aa3a873913c51ea1ffce606e675e22a74f78b3119b6a956da3f75c942cd0e2 -DIST openssl-3.1.7.tar.gz.asc 833 BLAKE2B 17220aa3274a5eda3df8c04f60f87a48fcf5c773167e746bf3f9feb6cc3c03b024a2e83b1c93122b6baa073b12417e2910230f270287be7b7f2c5300814b7fda SHA512 89b6f4b913aac8b2519aac586ba0c70a3df331eb70ea79c2aa45355bfd9430ba1af3c8ea0d31b171f55036a8cc332207787cabf58da871f400d666a5ae09ce2a DIST openssl-3.1.8.tar.gz 15706439 BLAKE2B 05d8ac054bc46ac6196470bd388ef8be2d2dd62c14bb22fff668ab8e8914bb8d89eb78119ba49839a364ca4c3683186299a9bfbf6a03d83a8630b54e668e5977 SHA512 faf066b207184a67387d4659b68de0bb89c4ec847b835998c8cc57ee4a8759f3fc3b7fe2db85f394bf8c54720ce044447168e0fa2fda6f0901c4d9a1697d9a6e DIST openssl-3.1.8.tar.gz.asc 833 BLAKE2B b9f1f439ff373d4b3706cfd9d2518d84aca1744ae50a31c50cb7fd4aa9de1d4139fc314390353377391a99b3d6c9ea66b0160d7fed15bdf4c9a255e94654eb80 SHA512 0737d62b6971f311936908d7cf3eb6c01e1ae314709bc80cfdbe885d17c64337fd2378a1e93c932f870681efc992a8d0656625580e30cc9e3d397aa4ebb7c7e6 -DIST openssl-3.2.3.tar.gz 17762604 BLAKE2B 1445336aa92d0fd9df266ad570fe2bf5701279e462dd3fccd4cf662f328bfee923dc6c72c42c1921fd38bce43e1c60cacdec3f1c2963fe0ffda6a0e8e34ac6e4 SHA512 9e9f06ab630914e32e64bfb945dfa375ea3595b3db4eb8ef68288a58909baf753b34998439907c22ff2b8561cfd3f3f6b7fbf22981479e66a98c2e92fda172a2 -DIST openssl-3.2.3.tar.gz.asc 833 BLAKE2B 5a7289ed40534a058b9eb7686ce444b9d453a2973ab7ebda01c99f7245f6ba19197123f8bb3b16940d4bfbc5e313babc0249f280e55911190b47da3a47ed1e6a SHA512 e727adb88f84c48082ef0cae963bf999cce11619f7322014cc7f36c16e8375a60542f518c1b86319208cf8da33044e942b3d65208bc59fd4a5f522ab78ff1c23 DIST openssl-3.2.4.tar.gz 17782746 BLAKE2B 079a0eb15b960a8ec89a2b2ccfa1f5e216dac325cb0857e168119fb240b6cdd78ecf723802a53d1e62e0a534be60e5459f561de764d1987e38eab466e555f994 SHA512 24712cb722ed8daff51db9deec4db982256cccd1a537d3a8690a94a6fd41815fd85cab95e551212938f28a61ed658d285b07734f7b88d8a0b18a318602d424f2 DIST openssl-3.2.4.tar.gz.asc 833 BLAKE2B 27c55522889843a14133535d47ad1fc7b2eba7a6f7fd0f78a8be8f36492ff53932b1a50131e90a37c3c22ba60b188b9dff98717756c4a20f361b22d069482399 SHA512 a381b24bd47a2e00657a29af02aa890b22186de70ba3ac3776ff5d4fb40579e9fd8356aacb6ce230d40adb6765e906b8d9bda54f98cc8887e98069f9bfd10140 -DIST openssl-3.3.2.tar.gz 18076531 BLAKE2B cc53d45418673bc2a406d6697b8bd17ff6c726463c4ccc87bb2fa5a6592d0d178dc8cfeb2fbb980ea354a5dc2c86f31c48453427c6937896c7221273e623c9b5 SHA512 5ae47bf1aed2740a33ba5df7dc7345a6738aa6bfa3c9c4de5e51742485e24b25192988d7a2c1b8201ef70056ad8abd0ca78b3d55abe24c0b0373d83b47ed9b74 -DIST openssl-3.3.2.tar.gz.asc 833 BLAKE2B c318e2dcef085b83ced77048dc136d9bc8438d49a7985f3c6ebd4ffd0e5e290ece47e8fd1074c6cc056e87b2bae2101dd58b8d70dbc0eb99aa134d776125439c SHA512 981f8438bbd541b97e745aca1bb77cde68900ce4b5ffefc9eccc2f18c675292203f6b4c7bffefde2256a442b7310d8438279b52fb21aac65921e9a529bc00067 DIST openssl-3.3.3.tar.gz 18102481 BLAKE2B c2033e357963e339faaf3b35b18c660da48616a6228e802a3ef1c4a6a51a570db42970d973868c4d57afcd3953403c9ff047317cac49a865af628abde99c2ade SHA512 4f53d963c258305f0e926d2e56fc73359c3d62adb25bfce06889eef3278652d073b9e2a4100a884c0d8ee90cb924ba258a5de4e7be6d2c7c49765167e95430d7 DIST openssl-3.3.3.tar.gz.asc 833 BLAKE2B dbb8436f7e8e015eca740ccddcbfc159884089c7540e47d03d65efcc607a28d29889f7eaf53412e50362d201941df3061e7877b6216215d4cab04bdb149d23a7 SHA512 2fde16310fc0a2985ea9df5b8485c17391a589297679687634b833b453e9c5d04ddb3b8b4f117259af9b13813ca0ea9ee6cec2d854dfc7e1add3dbb78962ccd0 DIST openssl-3.4.1.tar.gz 18346056 BLAKE2B 328a2a4f0536b15ffe6421afc99bdb5dcdf3d29f44437fdd80bbf4089f5f2658ca10907e033eda2e04c6b862e49b150ea59d8ab1807d14a3dcf64e10c32e78af SHA512 1de6307c587686711f05d1e96731c43526fa3af51e4cd94c06c880954b67f6eb4c7db3177f0ea5937d41bc1f8cadcf5bce75025b5c1a46a469376960f1001c5f DIST openssl-3.4.1.tar.gz.asc 833 BLAKE2B 321a5593ce5a1ff07553dcca722b0da0e9e9f3ef639176d663b6a92be2a32d3379536a788930f7f78dccc4e4d4922fe696f8d1bd65aa54f51c3c75accad34b1f SHA512 b007d5a35a7904d5d5e053e232a54b2ba75fb43f80bf1fe2175528e86e31cca8161da09d7417b50359008ce1955497e4d11c46794f15cc7c3220aa92eff99ccb EBUILD openssl-1.0.2u-r1.ebuild 9768 BLAKE2B 46d26e3dd92c898c6fe715e5d07b4e2e9c3e3a66d3566798774d1d30ca267c8815beb1a777c75d555060934761c43f7b92d89fca73617262ea33a7cab96d44e6 SHA512 3888a1bc9a604bbbd04dd4bc843ba79dbadc85d8a396dde3d657bc05423478f225896c5274b883c309a9b79da42738342a83bba9f7157cda16e46c6a8b7ba84b EBUILD openssl-1.1.1w.ebuild 8230 BLAKE2B 6f6b6e79512141bac0507e76e61d341ccc4088c6f86a7979c48401d78dec8d6e90b54a73af63a956d1704fdda8ffc9c83f4a06254f6be51b8569f2856dfae2b3 SHA512 81087aa984e4b385da11d8c533a31ddb39c49c96b1e9e281ae57c6901c148cc8e226475b650ea58db8cb629f344c2449cd581aae548f7c30829ceb8b55897fa4 -EBUILD openssl-3.0.15-r1.ebuild 8611 BLAKE2B f2aa72c039df90bac1c866ea9830c99ad87dbc5db279b17977580363a347c8fb739062f170fac50f82e5dd3d8ca113c40386395f09567f4861135a2c8b8970ec SHA512 7822b6a91cc77feb6bf63b12d0ec277076c668924fa48220fe31c39291b75a8d9a634306f51fc4e1c846231262e96f89dac394bf3d2478c63fe355d83f9f5462 EBUILD openssl-3.0.16.ebuild 8692 BLAKE2B 3e851d34dfcb09eb098caf657aab659fcb33dfd1bff7ae4b61afb829b3befdf24d845b90cde05c896793b5b99a029f5db1b4d51233797ba5fe2d0171b783d7f0 SHA512 a8939722fc7066b338d3b70839207a6780ad11fd76b879a8a8453e8bade3faef67f8c5131606e1c599d3b3e76bd9e83ab2456a61c4699ec36cf3df3bd21b6300 EBUILD openssl-3.0.9999.ebuild 8700 BLAKE2B fcbca7c445b385f2ea38f17c312e44d4f6220352ae70d8405fef454fb06a6b69c23b70cfcefee89164edf21f74691fd5d1e9fba15b7a72c28cafae103d74243b SHA512 a0b84f694000e14d7f7ef018ce780622735641929a489232aca45224606dac1f0805f893090810e09120ba162bc505c1426fd61e8aaa207ec2413cf1598f8c05 -EBUILD openssl-3.1.7-r1.ebuild 8646 BLAKE2B b6083db1d29ee53751936273331b87cc69839722e0f89291c57f19ef2c10cd5468742468ba0a06a0fa0782eb758652a0f4103b60781056721028daade46f45c8 SHA512 2a8f99c7398738b46bffcae122a52d25033bd25a7411cb8e4a735a4e54fe8afd1e9d26933036c787d62d4b93b7aa604b2ffd2c0e302b6c4e6ed89aee03e80366 EBUILD openssl-3.1.8.ebuild 8726 BLAKE2B 1ce2199792eb13815e37dc69fd28e18ce404e7ada2fc851e86e610168121a2c044332ef3e1ed34ed1216211664f05baf1c231664c99d3066e3798b48cb30bbad SHA512 2c0cea9824efae4849c5835078acef62c9cea22ac3230eeb1be02369f8c55cbc838d1b865bdd4a5dd17ab5ff87d4f34ed42e2d4f2f5ecae77a70fc146c37a381 EBUILD openssl-3.1.9999.ebuild 8734 BLAKE2B 3d468e940fd13eaddc14cf9758b144d34d781b60cb17a49439d48ce4b444f318d4dc6f6ff02b5124529b20d55bbf3d77b4c18acab48efe9a7b8767c7216557e9 SHA512 6b3d94f0d04c62aa868380dda7bb72dc610ddd81152ec9168ce638a277933b8f2cc45da598eb6a637befbcc84c6de0d48ddce6e27811cea01fa6ff258d44fa62 -EBUILD openssl-3.2.3-r1.ebuild 9289 BLAKE2B 3bb6d1e09f10633340acc1c8eb75b9669f6e1d25c552aecfca8f1d595b77be5727f659ea3d5348d5104e5e12d16deb598c3ddd1dd5c2489964b04be28a1f1d8e SHA512 6e25cbaa45b4a6052700fb06cdc68dac5f4a02b63101877e2570db5d943208f3169423846ddd49996f9aca6c2c43fd5759160f17bf4771346f7b787a56fc8841 EBUILD openssl-3.2.4.ebuild 9151 BLAKE2B 7014a62f1a3e388e25a3fe32a17cbc9fa9dc9926e97fbc8bb81490d29a43d51676fdca74c6f597db0625c6fdae4a4ef1563bf3ef2425747c3b6b895957b4215f SHA512 79f68d91b1e3ba5ccba1379c643740b6a2ee113d5afcd27336ace8136c059ca7bfff1be9c170175e02c05f5fe9ec228c3722000e8f683ba1e61ac458e087198b EBUILD openssl-3.2.9999.ebuild 9079 BLAKE2B 711a1c456e161580e5ceaabb68585ba2f7c6ef7b1d6afb2435647bbbe25d0905019981f0d9517a7078284141f6c15e93d8f2a6077816da9bba57f02e52d8f3e5 SHA512 a444ed5d89f926fc1930621817bfc8c7b445b272dd65551a51b62c46ebd9b374cc686330b87002279f53cd3ffe03e127a2c1833f338ed82334217ca294c4d3d7 -EBUILD openssl-3.3.2-r1.ebuild 9327 BLAKE2B 7fc2ce5c4ecf37f2d0de5e41bae4ad021c1c0f9f8b24fcab20457ee69505b6946e38bd5359414fff38cb9331897e4325923747bc052e38fb5e2423ea2e1554a6 SHA512 1bd1876eadca7aaa521b70cd6b2323dc2114c1de9d1edd86f9434b80d2e36b45ce8aabcdbab00aa610e2116aecc72f142b36fc6e883e4ee2612efa5e848dd186 -EBUILD openssl-3.3.2-r2.ebuild 9376 BLAKE2B debd253964710c5be5604ad2e02716c83deed3b4c5635bef2cb1467e69d024208c68fd3db6da91e7983461dfd3f878e098d1a6302aa9d8e2acde46be2c377141 SHA512 6e2bd5b754a011d17d1e9b0b31d8dc8031742641659ad57aa37e090b32ad812b398b3b517caf13312a7c7140045d3d9a86b00211ee36e1ff94e23ed53c8cd12e -EBUILD openssl-3.3.2-r3.ebuild 9424 BLAKE2B a2a82568781852798c688006c4b13571730e4537eb8f020af42e1c5318475575fc1894013b2696b610667f6018ad8692b169bece838917b853e41400095bc126 SHA512 18586f65286613b3e4d6da331eeaae45e872f4e249344d8c8e5bbdd02d5b093edf12a33d038ec8fdfc70306eb028fc1c0c3f84ed89a9589bdcb5192c723b4c64 EBUILD openssl-3.3.3.ebuild 9171 BLAKE2B 7f3800118aeb6ff72cd9091cc1db40c3f21e0fcc2f88e7bd948cb5da59a0d10d68591b28a923a5f4bd539c9b6f3200a06c568a9dca4d06df51fa4478d7252b4b SHA512 8c0383e9b796dc283b2c50332702f58e17b43d67d539fd1074ff52a1d05ff46ea98642105183116e013108fb9005e67ef03e8a3075aa2ae41be76810077a9c71 EBUILD openssl-3.3.9999.ebuild 9117 BLAKE2B 0ea48090d34a85fd8002dd3a36c533199c3f145ef0d7784468d8ca1aa81b531ac55a63cf9e55a035f2cb15f03baeccfcf96c7de94e45f0d2e35567a35c00e50e SHA512 f09b49a4615f615d0ed4c93b4f84e37ad543764dab9ef9ff20f4561507a3da3b90a0aeb1511fc6773e42b3ff574d1da276b5776bbc924453562e6ce5fa1b6822 EBUILD openssl-3.4.1.ebuild 9117 BLAKE2B 0ea48090d34a85fd8002dd3a36c533199c3f145ef0d7784468d8ca1aa81b531ac55a63cf9e55a035f2cb15f03baeccfcf96c7de94e45f0d2e35567a35c00e50e SHA512 f09b49a4615f615d0ed4c93b4f84e37ad543764dab9ef9ff20f4561507a3da3b90a0aeb1511fc6773e42b3ff574d1da276b5776bbc924453562e6ce5fa1b6822 diff --git a/dev-libs/openssl/openssl-3.0.15-r1.ebuild b/dev-libs/openssl/openssl-3.0.15-r1.ebuild deleted file mode 100644 index 2d404c45bcfe..000000000000 --- a/dev-libs/openssl/openssl-3.0.15-r1.ebuild +++ /dev/null @@ -1,287 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openssl.org.asc -inherit edo flag-o-matic linux-info toolchain-funcs -inherit multilib multilib-minimal multiprocessing preserve-libs verify-sig - -DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)" -HOMEPAGE="https://openssl-library.org/" - -MY_P=${P/_/-} - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/openssl/openssl.git" - - inherit git-r3 -else - SRC_URI=" - https://github.com/openssl/openssl/releases/download/${P}/${P}.tar.gz - verify-sig? ( - https://github.com/openssl/openssl/releases/download/${P}/${P}.tar.gz.asc - ) - " - KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -fi - -S="${WORKDIR}"/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0/3" # .so version of libssl/libcrypto -IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test tls-compression vanilla verify-sig weak-ssl-ciphers" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) -" -BDEPEND=" - >=dev-lang/perl-5 - sctp? ( >=net-misc/lksctp-tools-1.0.12 ) - test? ( - sys-apps/diffutils - app-alternatives/bc - sys-process/procps - ) - verify-sig? ( >=sec-keys/openpgp-keys-openssl-20240920 ) -" - -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" -PDEPEND="app-misc/ca-certificates" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/openssl/configuration.h -) - -PATCHES=( - "${FILESDIR}"/${P}-CVE-2024-9143.patch -) - -pkg_setup() { - if use ktls ; then - if kernel_is -lt 4 18 ; then - ewarn "Kernel implementation of TLS (USE=ktls) requires kernel >=4.18!" - else - CONFIG_CHECK="~TLS ~TLS_DEVICE" - ERROR_TLS="You will be unable to offload TLS to kernel because CONFIG_TLS is not set!" - ERROR_TLS_DEVICE="You will be unable to offload TLS to kernel because CONFIG_TLS_DEVICE is not set!" - use test && CONFIG_CHECK+=" ~CRYPTO_USER_API_SKCIPHER" - - linux-info_pkg_setup - fi - fi - - [[ ${MERGE_TYPE} == binary ]] && return - - # must check in pkg_setup; sysctl doesn't work with userpriv! - if use test && use sctp ; then - # test_ssl_new will fail with "Ensure SCTP AUTH chunks are enabled in kernel" - # if sctp.auth_enable is not enabled. - local sctp_auth_status=$(sysctl -n net.sctp.auth_enable 2>/dev/null) - if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 1 ]] ; then - die "FEATURES=test with USE=sctp requires net.sctp.auth_enable=1!" - fi - fi -} - -src_prepare() { - # Make sure we only ever touch Makefile.org and avoid patching a file - # that gets blown away anyways by the Configure script in src_configure - rm -f Makefile || die - - if ! use vanilla ; then - PATCHES+=( - # Add patches which are Gentoo-specific customisations here - ) - fi - - default - - if use test && use sctp && has network-sandbox ${FEATURES} ; then - einfo "Disabling test '80-test_ssl_new.t' which is known to fail with FEATURES=network-sandbox ..." - rm test/recipes/80-test_ssl_new.t || die - fi - - # Test fails depending on kernel configuration, bug #699134 - rm test/recipes/30-test_afalg.t || die -} - -src_configure() { - # Keep this in sync with app-misc/c_rehash - SSL_CNF_DIR="/etc/ssl" - - # Quiet out unknown driver argument warnings since openssl - # doesn't have well-split CFLAGS and we're making it even worse - # and 'make depend' uses -Werror for added fun (bug #417795 again) - tc-is-clang && append-flags -Qunused-arguments - - # We really, really need to build OpenSSL w/ strict aliasing disabled. - # It's filled with violations and it *will* result in miscompiled - # code. This has been in the ebuild for > 10 years but even in 2022, - # it's still relevant: - # - https://github.com/llvm/llvm-project/issues/55255 - # - https://github.com/openssl/openssl/issues/12247 - # - https://github.com/openssl/openssl/issues/18225 - # - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057 - # Don't remove the no strict aliasing bits below! - filter-flags -fstrict-aliasing - append-flags -fno-strict-aliasing - # The OpenSSL developers don't test with LTO right now, it leads to various - # warnings/errors (which may or may not be false positives), it's considered - # unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663. - filter-lto - - append-flags $(test-flags-CC -Wa,--noexecstack) - - # bug #895308 - append-atomic-flags - # Configure doesn't respect LIBS - export LDLIBS="${LIBS}" - - # bug #197996 - unset APPS - # bug #312551 - unset SCRIPTS - # bug #311473 - unset CROSS_COMPILE - - tc-export AR CC CXX RANLIB RC - - multilib-minimal_src_configure -} - -multilib_src_configure() { - use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; } - - local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal") - - # See if our toolchain supports __uint128_t. If so, it's 64bit - # friendly and can use the nicely optimized code paths, bug #460790. - #local ec_nistp_64_gcc_128 - # - # Disable it for now though (bug #469976) - # Do NOT re-enable without substantial discussion first! - # - #echo "__uint128_t i;" > "${T}"/128.c - #if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then - # ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128" - #fi - - local sslout=$(bash "${FILESDIR}/gentoo.config-1.0.4") - einfo "Using configuration: ${sslout:-(openssl knows best)}" - - # https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-and-disable-features - local myeconfargs=( - ${sslout} - - $(use cpu_flags_x86_sse2 || echo "no-sse2") - enable-camellia - enable-ec - enable-ec2m - enable-sm2 - enable-srp - $(use elibc_musl && echo "no-async") - enable-idea - enable-mdc2 - enable-rc5 - $(use fips && echo "enable-fips") - $(use_ssl asm) - $(use_ssl ktls) - $(use_ssl rfc3779) - $(use_ssl sctp) - $(use test || echo "no-tests") - $(use_ssl tls-compression zlib) - $(use_ssl weak-ssl-ciphers) - - --prefix="${EPREFIX}"/usr - --openssldir="${EPREFIX}"${SSL_CNF_DIR} - --libdir=$(get_libdir) - - shared - threads - ) - - edo perl "${S}/Configure" "${myeconfargs[@]}" -} - -multilib_src_compile() { - emake build_sw - - if multilib_is_native_abi; then - emake build_docs - fi -} - -multilib_src_test() { - # VFP = show subtests verbosely and show failed tests verbosely - # Normal V=1 would show everything verbosely but this slows things down. - emake HARNESS_JOBS="$(makeopts_jobs)" -Onone VFP=1 test -} - -multilib_src_install() { - # Only -j1 is supported for the install targets: - # https://github.com/openssl/openssl/issues/21999#issuecomment-1771150305 - emake DESTDIR="${D}" -j1 install_sw - if use fips; then - emake DESTDIR="${D}" -j1 install_fips - # Regen this in pkg_preinst, bug 900625 - rm "${ED}${SSL_CNF_DIR}"/fipsmodule.cnf || die - fi - - if multilib_is_native_abi; then - emake DESTDIR="${D}" -j1 install_ssldirs - emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} -j1 install_docs - fi - - # This is crappy in that the static archives are still built even - # when USE=static-libs. But this is due to a failing in the openssl - # build system: the static archives are built as PIC all the time. - # Only way around this would be to manually configure+compile openssl - # twice; once with shared lib support enabled and once without. - if ! use static-libs ; then - rm "${ED}"/usr/$(get_libdir)/lib{crypto,ssl}.a || die - fi -} - -multilib_src_install_all() { - # openssl installs perl version of c_rehash by default, but - # we provide a shell version via app-misc/c_rehash - rm "${ED}"/usr/bin/c_rehash || die - - dodoc {AUTHORS,CHANGES,NEWS,README,README-PROVIDERS}.md doc/*.txt doc/${PN}-c-indent.el - - # Create the certs directory - keepdir ${SSL_CNF_DIR}/certs - - # bug #254521 - dodir /etc/sandbox.d - echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl - - diropts -m0700 - keepdir ${SSL_CNF_DIR}/private -} - -pkg_preinst() { - if use fips; then - # Regen fipsmodule.cnf, bug 900625 - ebegin "Running openssl fipsinstall" - "${ED}/usr/bin/openssl" fipsinstall -quiet \ - -out "${ED}${SSL_CNF_DIR}/fipsmodule.cnf" \ - -module "${ED}/usr/$(get_libdir)/ossl-modules/fips.so" - eend $? - fi - - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} - -pkg_postinst() { - ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)" - openssl rehash "${EROOT}${SSL_CNF_DIR}/certs" - eend $? - - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} diff --git a/dev-libs/openssl/openssl-3.1.7-r1.ebuild b/dev-libs/openssl/openssl-3.1.7-r1.ebuild deleted file mode 100644 index aeaa611d6f60..000000000000 --- a/dev-libs/openssl/openssl-3.1.7-r1.ebuild +++ /dev/null @@ -1,289 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openssl.org.asc -inherit edo flag-o-matic linux-info toolchain-funcs -inherit multilib multilib-minimal multiprocessing preserve-libs verify-sig - -DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)" -HOMEPAGE="https://openssl-library.org/" - -MY_P=${P/_/-} - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/openssl/openssl.git" - - inherit git-r3 -else - SRC_URI=" - https://github.com/openssl/openssl/releases/download/${P}/${P}.tar.gz - verify-sig? ( - https://github.com/openssl/openssl/releases/download/${P}/${P}.tar.gz.asc - ) - " - - KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -fi - -S="${WORKDIR}"/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" # .so version of libssl/libcrypto -IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test tls-compression vanilla verify-sig weak-ssl-ciphers" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - !<net-misc/openssh-9.2_p1-r3 - tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) -" -BDEPEND=" - >=dev-lang/perl-5 - sctp? ( >=net-misc/lksctp-tools-1.0.12 ) - test? ( - sys-apps/diffutils - app-alternatives/bc - sys-process/procps - ) - verify-sig? ( >=sec-keys/openpgp-keys-openssl-20240920 ) -" - -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" -PDEPEND="app-misc/ca-certificates" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/openssl/configuration.h -) - -PATCHES=( - "${FILESDIR}"/${P}-CVE-2024-9143.patch -) - -pkg_setup() { - if use ktls ; then - if kernel_is -lt 4 18 ; then - ewarn "Kernel implementation of TLS (USE=ktls) requires kernel >=4.18!" - else - CONFIG_CHECK="~TLS ~TLS_DEVICE" - ERROR_TLS="You will be unable to offload TLS to kernel because CONFIG_TLS is not set!" - ERROR_TLS_DEVICE="You will be unable to offload TLS to kernel because CONFIG_TLS_DEVICE is not set!" - use test && CONFIG_CHECK+=" ~CRYPTO_USER_API_SKCIPHER" - - linux-info_pkg_setup - fi - fi - - [[ ${MERGE_TYPE} == binary ]] && return - - # must check in pkg_setup; sysctl doesn't work with userpriv! - if use test && use sctp ; then - # test_ssl_new will fail with "Ensure SCTP AUTH chunks are enabled in kernel" - # if sctp.auth_enable is not enabled. - local sctp_auth_status=$(sysctl -n net.sctp.auth_enable 2>/dev/null) - if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 1 ]] ; then - die "FEATURES=test with USE=sctp requires net.sctp.auth_enable=1!" - fi - fi -} - -src_prepare() { - # Make sure we only ever touch Makefile.org and avoid patching a file - # that gets blown away anyways by the Configure script in src_configure - rm -f Makefile - - if ! use vanilla ; then - PATCHES+=( - # Add patches which are Gentoo-specific customisations here - ) - fi - - default - - if use test && use sctp && has network-sandbox ${FEATURES} ; then - einfo "Disabling test '80-test_ssl_new.t' which is known to fail with FEATURES=network-sandbox ..." - rm test/recipes/80-test_ssl_new.t || die - fi - - # Test fails depending on kernel configuration, bug #699134 - rm test/recipes/30-test_afalg.t || die -} - -src_configure() { - # Keep this in sync with app-misc/c_rehash - SSL_CNF_DIR="/etc/ssl" - - # Quiet out unknown driver argument warnings since openssl - # doesn't have well-split CFLAGS and we're making it even worse - # and 'make depend' uses -Werror for added fun (bug #417795 again) - tc-is-clang && append-flags -Qunused-arguments - - # We really, really need to build OpenSSL w/ strict aliasing disabled. - # It's filled with violations and it *will* result in miscompiled - # code. This has been in the ebuild for > 10 years but even in 2022, - # it's still relevant: - # - https://github.com/llvm/llvm-project/issues/55255 - # - https://github.com/openssl/openssl/issues/12247 - # - https://github.com/openssl/openssl/issues/18225 - # - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057 - # Don't remove the no strict aliasing bits below! - filter-flags -fstrict-aliasing - append-flags -fno-strict-aliasing - # The OpenSSL developers don't test with LTO right now, it leads to various - # warnings/errors (which may or may not be false positives), it's considered - # unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663. - filter-lto - - append-flags $(test-flags-CC -Wa,--noexecstack) - - # bug #895308 - append-atomic-flags - # Configure doesn't respect LIBS - export LDLIBS="${LIBS}" - - # bug #197996 - unset APPS - # bug #312551 - unset SCRIPTS - # bug #311473 - unset CROSS_COMPILE - - tc-export AR CC CXX RANLIB RC - - multilib-minimal_src_configure -} - -multilib_src_configure() { - use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; } - - local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal") - - # See if our toolchain supports __uint128_t. If so, it's 64bit - # friendly and can use the nicely optimized code paths, bug #460790. - #local ec_nistp_64_gcc_128 - # - # Disable it for now though (bug #469976) - # Do NOT re-enable without substantial discussion first! - # - #echo "__uint128_t i;" > "${T}"/128.c - #if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then - # ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128" - #fi - - local sslout=$(bash "${FILESDIR}/gentoo.config-1.0.4") - einfo "Using configuration: ${sslout:-(openssl knows best)}" - - # https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-and-disable-features - local myeconfargs=( - ${sslout} - - $(use cpu_flags_x86_sse2 || echo "no-sse2") - enable-camellia - enable-ec - enable-ec2m - enable-sm2 - enable-srp - $(use elibc_musl && echo "no-async") - enable-idea - enable-mdc2 - enable-rc5 - $(use fips && echo "enable-fips") - $(use_ssl asm) - $(use_ssl ktls) - $(use_ssl rfc3779) - $(use_ssl sctp) - $(use test || echo "no-tests") - $(use_ssl tls-compression zlib) - $(use_ssl weak-ssl-ciphers) - - --prefix="${EPREFIX}"/usr - --openssldir="${EPREFIX}"${SSL_CNF_DIR} - --libdir=$(get_libdir) - - shared - threads - ) - - edo perl "${S}/Configure" "${myeconfargs[@]}" -} - -multilib_src_compile() { - emake build_sw - - if multilib_is_native_abi; then - emake build_docs - fi -} - -multilib_src_test() { - # VFP = show subtests verbosely and show failed tests verbosely - # Normal V=1 would show everything verbosely but this slows things down. - emake HARNESS_JOBS="$(makeopts_jobs)" -Onone VFP=1 test -} - -multilib_src_install() { - # Only -j1 is supported for the install targets: - # https://github.com/openssl/openssl/issues/21999#issuecomment-1771150305 - emake DESTDIR="${D}" -j1 install_sw - if use fips; then - emake DESTDIR="${D}" -j1 install_fips - # Regen this in pkg_preinst, bug 900625 - rm "${ED}${SSL_CNF_DIR}"/fipsmodule.cnf || die - fi - - if multilib_is_native_abi; then - emake DESTDIR="${D}" -j1 install_ssldirs - emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} -j1 install_docs - fi - - # This is crappy in that the static archives are still built even - # when USE=static-libs. But this is due to a failing in the openssl - # build system: the static archives are built as PIC all the time. - # Only way around this would be to manually configure+compile openssl - # twice; once with shared lib support enabled and once without. - if ! use static-libs ; then - rm "${ED}"/usr/$(get_libdir)/lib{crypto,ssl}.a || die - fi -} - -multilib_src_install_all() { - # openssl installs perl version of c_rehash by default, but - # we provide a shell version via app-misc/c_rehash - rm "${ED}"/usr/bin/c_rehash || die - - dodoc {AUTHORS,CHANGES,NEWS,README,README-PROVIDERS}.md doc/*.txt doc/${PN}-c-indent.el - - # Create the certs directory - keepdir ${SSL_CNF_DIR}/certs - - # bug #254521 - dodir /etc/sandbox.d - echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl - - diropts -m0700 - keepdir ${SSL_CNF_DIR}/private -} - -pkg_preinst() { - if use fips; then - # Regen fipsmodule.cnf, bug 900625 - ebegin "Running openssl fipsinstall" - "${ED}/usr/bin/openssl" fipsinstall -quiet \ - -out "${ED}${SSL_CNF_DIR}/fipsmodule.cnf" \ - -module "${ED}/usr/$(get_libdir)/ossl-modules/fips.so" - eend $? - fi - - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} - -pkg_postinst() { - ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)" - openssl rehash "${EROOT}${SSL_CNF_DIR}/certs" - eend $? - - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} diff --git a/dev-libs/openssl/openssl-3.2.3-r1.ebuild b/dev-libs/openssl/openssl-3.2.3-r1.ebuild deleted file mode 100644 index 15ae0fec7134..000000000000 --- a/dev-libs/openssl/openssl-3.2.3-r1.ebuild +++ /dev/null @@ -1,306 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openssl.org.asc -inherit edo flag-o-matic linux-info toolchain-funcs -inherit multilib multilib-minimal multiprocessing preserve-libs verify-sig - -DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)" -HOMEPAGE="https://openssl-library.org/" - -MY_P=${P/_/-} - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/openssl/openssl.git" - - inherit git-r3 -else - SRC_URI=" - https://github.com/openssl/openssl/releases/download/${P}/${P}.tar.gz - verify-sig? ( - https://github.com/openssl/openssl/releases/download/${P}/${P}.tar.gz.asc - ) - " - - if [[ ${PV} != *_alpha* && ${PV} != *_beta* ]] ; then - KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - fi -fi - -S="${WORKDIR}"/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" # .so version of libssl/libcrypto -IUSE="+asm cpu_flags_x86_sse2 fips ktls rfc3779 sctp static-libs test tls-compression vanilla verify-sig weak-ssl-ciphers" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - !<net-misc/openssh-9.2_p1-r3 - tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) -" -BDEPEND=" - >=dev-lang/perl-5 - sctp? ( >=net-misc/lksctp-tools-1.0.12 ) - test? ( - sys-apps/diffutils - app-alternatives/bc - sys-process/procps - ) - verify-sig? ( >=sec-keys/openpgp-keys-openssl-20240920 ) -" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" -PDEPEND="app-misc/ca-certificates" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/openssl/configuration.h -) - -PATCHES=( - "${FILESDIR}"/${P}-CVE-2024-9143.patch -) - -pkg_setup() { - if use ktls ; then - if kernel_is -lt 4 18 ; then - ewarn "Kernel implementation of TLS (USE=ktls) requires kernel >=4.18!" - else - CONFIG_CHECK="~TLS ~TLS_DEVICE" - ERROR_TLS="You will be unable to offload TLS to kernel because CONFIG_TLS is not set!" - ERROR_TLS_DEVICE="You will be unable to offload TLS to kernel because CONFIG_TLS_DEVICE is not set!" - use test && CONFIG_CHECK+=" ~CRYPTO_USER_API_SKCIPHER" - - linux-info_pkg_setup - fi - fi - - [[ ${MERGE_TYPE} == binary ]] && return - - # must check in pkg_setup; sysctl doesn't work with userpriv! - if use test && use sctp ; then - # test_ssl_new will fail with "Ensure SCTP AUTH chunks are enabled in kernel" - # if sctp.auth_enable is not enabled. - local sctp_auth_status=$(sysctl -n net.sctp.auth_enable 2>/dev/null) - if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 1 ]] ; then - die "FEATURES=test with USE=sctp requires net.sctp.auth_enable=1!" - fi - fi -} - -src_unpack() { - # Can delete this once test fix patch is dropped - if use verify-sig ; then - # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} - fi - - default -} - -src_prepare() { - # Make sure we only ever touch Makefile.org and avoid patching a file - # that gets blown away anyways by the Configure script in src_configure - rm -f Makefile - - if ! use vanilla ; then - PATCHES+=( - # Add patches which are Gentoo-specific customisations here - ) - fi - - default - - if use test && use sctp && has network-sandbox ${FEATURES} ; then - einfo "Disabling test '80-test_ssl_new.t' which is known to fail with FEATURES=network-sandbox ..." - rm test/recipes/80-test_ssl_new.t || die - fi - - # Test fails depending on kernel configuration, bug #699134 - rm test/recipes/30-test_afalg.t || die -} - -src_configure() { - # Keep this in sync with app-misc/c_rehash - SSL_CNF_DIR="/etc/ssl" - - # Quiet out unknown driver argument warnings since openssl - # doesn't have well-split CFLAGS and we're making it even worse - # and 'make depend' uses -Werror for added fun (bug #417795 again) - tc-is-clang && append-flags -Qunused-arguments - - # We really, really need to build OpenSSL w/ strict aliasing disabled. - # It's filled with violations and it *will* result in miscompiled - # code. This has been in the ebuild for > 10 years but even in 2022, - # it's still relevant: - # - https://github.com/llvm/llvm-project/issues/55255 - # - https://github.com/openssl/openssl/issues/12247 - # - https://github.com/openssl/openssl/issues/18225 - # - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057 - # Don't remove the no strict aliasing bits below! - filter-flags -fstrict-aliasing - append-flags -fno-strict-aliasing - # The OpenSSL developers don't test with LTO right now, it leads to various - # warnings/errors (which may or may not be false positives), it's considered - # unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663. - filter-lto - - append-flags $(test-flags-CC -Wa,--noexecstack) - - # bug #895308 -- check inserts GNU ld-compatible arguments - [[ ${CHOST} == *-darwin* ]] || append-atomic-flags - # Configure doesn't respect LIBS - export LDLIBS="${LIBS}" - - # bug #197996 - unset APPS - # bug #312551 - unset SCRIPTS - # bug #311473 - unset CROSS_COMPILE - - tc-export AR CC CXX RANLIB RC - - multilib-minimal_src_configure -} - -multilib_src_configure() { - use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; } - - local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal") - - # See if our toolchain supports __uint128_t. If so, it's 64bit - # friendly and can use the nicely optimized code paths, bug #460790. - #local ec_nistp_64_gcc_128 - # - # Disable it for now though (bug #469976) - # Do NOT re-enable without substantial discussion first! - # - #echo "__uint128_t i;" > "${T}"/128.c - #if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then - # ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128" - #fi - - local sslout=$(bash "${FILESDIR}/gentoo.config-1.0.4") - einfo "Using configuration: ${sslout:-(openssl knows best)}" - - # https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-and-disable-features - local myeconfargs=( - ${sslout} - - $(use cpu_flags_x86_sse2 || echo "no-sse2") - enable-camellia - enable-ec - enable-ec2m - enable-sm2 - enable-srp - $(use elibc_musl && echo "no-async") - enable-idea - enable-mdc2 - enable-rc5 - $(use fips && echo "enable-fips") - $(use_ssl asm) - $(use_ssl ktls) - $(use_ssl rfc3779) - $(use_ssl sctp) - $(use test || echo "no-tests") - $(use_ssl tls-compression zlib) - $(use_ssl weak-ssl-ciphers) - - --prefix="${EPREFIX}"/usr - --openssldir="${EPREFIX}"${SSL_CNF_DIR} - --libdir=$(get_libdir) - - shared - threads - ) - - edo perl "${S}/Configure" "${myeconfargs[@]}" -} - -multilib_src_compile() { - emake build_sw - - if multilib_is_native_abi; then - emake build_docs - fi -} - -multilib_src_test() { - # See https://github.com/openssl/openssl/blob/master/test/README.md for options. - # - # VFP = show subtests verbosely and show failed tests verbosely - # Normal V=1 would show everything verbosely but this slows things down. - # - # -j1 here for https://github.com/openssl/openssl/issues/21999, but it - # shouldn't matter as tests were already built earlier, and HARNESS_JOBS - # controls running the tests. - emake -Onone -j1 HARNESS_JOBS="$(makeopts_jobs)" VFP=1 test -} - -multilib_src_install() { - # Only -j1 is supported for the install targets: - # https://github.com/openssl/openssl/issues/21999#issuecomment-1771150305 - emake DESTDIR="${D}" -j1 install_sw - if use fips; then - emake DESTDIR="${D}" -j1 install_fips - # Regen this in pkg_preinst, bug 900625 - rm "${ED}${SSL_CNF_DIR}"/fipsmodule.cnf || die - fi - - if multilib_is_native_abi; then - emake DESTDIR="${D}" -j1 install_ssldirs - emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} -j1 install_docs - fi - - # This is crappy in that the static archives are still built even - # when USE=static-libs. But this is due to a failing in the openssl - # build system: the static archives are built as PIC all the time. - # Only way around this would be to manually configure+compile openssl - # twice; once with shared lib support enabled and once without. - if ! use static-libs ; then - rm "${ED}"/usr/$(get_libdir)/lib{crypto,ssl}.a || die - fi -} - -multilib_src_install_all() { - # openssl installs perl version of c_rehash by default, but - # we provide a shell version via app-misc/c_rehash - rm "${ED}"/usr/bin/c_rehash || die - - dodoc {AUTHORS,CHANGES,NEWS,README,README-PROVIDERS}.md doc/*.txt doc/${PN}-c-indent.el - - # Create the certs directory - keepdir ${SSL_CNF_DIR}/certs - - # bug #254521 - dodir /etc/sandbox.d - echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl - - diropts -m0700 - keepdir ${SSL_CNF_DIR}/private -} - -pkg_preinst() { - if use fips; then - # Regen fipsmodule.cnf, bug 900625 - ebegin "Running openssl fipsinstall" - "${ED}/usr/bin/openssl" fipsinstall -quiet \ - -out "${ED}${SSL_CNF_DIR}/fipsmodule.cnf" \ - -module "${ED}/usr/$(get_libdir)/ossl-modules/fips.so" - eend $? - fi - - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} - -pkg_postinst() { - ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)" - openssl rehash "${EROOT}${SSL_CNF_DIR}/certs" - eend $? - - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} diff --git a/dev-libs/openssl/openssl-3.3.2-r1.ebuild b/dev-libs/openssl/openssl-3.3.2-r1.ebuild deleted file mode 100644 index 7ea54de6cf61..000000000000 --- a/dev-libs/openssl/openssl-3.3.2-r1.ebuild +++ /dev/null @@ -1,304 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openssl.org.asc -inherit edo flag-o-matic linux-info toolchain-funcs -inherit multilib multilib-minimal multiprocessing preserve-libs verify-sig - -DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)" -HOMEPAGE="https://openssl-library.org/" - -MY_P=${P/_/-} - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/openssl/openssl.git" - - inherit git-r3 -else - SRC_URI=" - https://github.com/openssl/openssl/releases/download/${P}/${P}.tar.gz - verify-sig? ( - https://github.com/openssl/openssl/releases/download/${P}/${P}.tar.gz.asc - ) - " - - if [[ ${PV} != *_alpha* && ${PV} != *_beta* ]] ; then - KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - fi -fi - -S="${WORKDIR}"/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" # .so version of libssl/libcrypto -IUSE="+asm cpu_flags_x86_sse2 fips ktls +quic rfc3779 sctp static-libs test tls-compression vanilla verify-sig weak-ssl-ciphers" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - !<net-misc/openssh-9.2_p1-r3 - tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) -" -BDEPEND=" - >=dev-lang/perl-5 - sctp? ( >=net-misc/lksctp-tools-1.0.12 ) - test? ( - sys-apps/diffutils - app-alternatives/bc - sys-process/procps - ) - verify-sig? ( >=sec-keys/openpgp-keys-openssl-20240920 ) -" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" -PDEPEND="app-misc/ca-certificates" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/openssl/configuration.h -) - -PATCHES=( - "${FILESDIR}"/${P}-CVE-2024-9143.patch -) - -pkg_setup() { - if use ktls ; then - if kernel_is -lt 4 18 ; then - ewarn "Kernel implementation of TLS (USE=ktls) requires kernel >=4.18!" - else - CONFIG_CHECK="~TLS ~TLS_DEVICE" - ERROR_TLS="You will be unable to offload TLS to kernel because CONFIG_TLS is not set!" - ERROR_TLS_DEVICE="You will be unable to offload TLS to kernel because CONFIG_TLS_DEVICE is not set!" - use test && CONFIG_CHECK+=" ~CRYPTO_USER_API_SKCIPHER" - - linux-info_pkg_setup - fi - fi - - [[ ${MERGE_TYPE} == binary ]] && return - - # must check in pkg_setup; sysctl doesn't work with userpriv! - if use test && use sctp ; then - # test_ssl_new will fail with "Ensure SCTP AUTH chunks are enabled in kernel" - # if sctp.auth_enable is not enabled. - local sctp_auth_status=$(sysctl -n net.sctp.auth_enable 2>/dev/null) - if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 1 ]] ; then - die "FEATURES=test with USE=sctp requires net.sctp.auth_enable=1!" - fi - fi -} - -src_unpack() { - # Can delete this once test fix patch is dropped - if use verify-sig ; then - # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} - fi - - default -} - -src_prepare() { - # Make sure we only ever touch Makefile.org and avoid patching a file - # that gets blown away anyways by the Configure script in src_configure - rm -f Makefile || die - - if ! use vanilla ; then - PATCHES+=( - # Add patches which are Gentoo-specific customisations here - ) - fi - - default - - if use test && use sctp && has network-sandbox ${FEATURES} ; then - einfo "Disabling test '80-test_ssl_new.t' which is known to fail with FEATURES=network-sandbox ..." - rm test/recipes/80-test_ssl_new.t || die - fi - - # Test fails depending on kernel configuration, bug #699134 - rm test/recipes/30-test_afalg.t || die -} - -src_configure() { - # Keep this in sync with app-misc/c_rehash - SSL_CNF_DIR="/etc/ssl" - - # Quiet out unknown driver argument warnings since openssl - # doesn't have well-split CFLAGS and we're making it even worse - # and 'make depend' uses -Werror for added fun (bug #417795 again) - tc-is-clang && append-flags -Qunused-arguments - - # We really, really need to build OpenSSL w/ strict aliasing disabled. - # It's filled with violations and it *will* result in miscompiled - # code. This has been in the ebuild for > 10 years but even in 2022, - # it's still relevant: - # - https://github.com/llvm/llvm-project/issues/55255 - # - https://github.com/openssl/openssl/issues/12247 - # - https://github.com/openssl/openssl/issues/18225 - # - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057 - # Don't remove the no strict aliasing bits below! - filter-flags -fstrict-aliasing - append-flags -fno-strict-aliasing - # The OpenSSL developers don't test with LTO right now, it leads to various - # warnings/errors (which may or may not be false positives), it's considered - # unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663. - filter-lto - - append-flags $(test-flags-CC -Wa,--noexecstack) - - # bug #895308 -- check inserts GNU ld-compatible arguments - [[ ${CHOST} == *-darwin* ]] || append-atomic-flags - # Configure doesn't respect LIBS - export LDLIBS="${LIBS}" - - # bug #197996 - unset APPS - # bug #312551 - unset SCRIPTS - # bug #311473 - unset CROSS_COMPILE - - tc-export AR CC CXX RANLIB RC - - multilib-minimal_src_configure -} - -multilib_src_configure() { - use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; } - - local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal") - - # See if our toolchain supports __uint128_t. If so, it's 64bit - # friendly and can use the nicely optimized code paths, bug #460790. - #local ec_nistp_64_gcc_128 - # - # Disable it for now though (bug #469976) - # Do NOT re-enable without substantial discussion first! - # - #echo "__uint128_t i;" > "${T}"/128.c - #if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then - # ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128" - #fi - - local sslout=$(bash "${FILESDIR}/gentoo.config-1.0.4") - einfo "Using configuration: ${sslout:-(openssl knows best)}" - - # https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-and-disable-features - local myeconfargs=( - ${sslout} - - $(multilib_is_native_abi || echo "no-docs") - $(use cpu_flags_x86_sse2 || echo "no-sse2") - enable-camellia - enable-ec - enable-ec2m - enable-sm2 - enable-srp - $(use elibc_musl && echo "no-async") - enable-idea - enable-mdc2 - enable-rc5 - $(use fips && echo "enable-fips") - $(use quic && echo "enable-quic") - $(use_ssl asm) - $(use_ssl ktls) - $(use_ssl rfc3779) - $(use_ssl sctp) - $(use test || echo "no-tests") - $(use_ssl tls-compression zlib) - $(use_ssl weak-ssl-ciphers) - - --prefix="${EPREFIX}"/usr - --openssldir="${EPREFIX}"${SSL_CNF_DIR} - --libdir=$(get_libdir) - - shared - threads - ) - - edo perl "${S}/Configure" "${myeconfargs[@]}" -} - -multilib_src_compile() { - emake build_sw -} - -multilib_src_test() { - # See https://github.com/openssl/openssl/blob/master/test/README.md for options. - # - # VFP = show subtests verbosely and show failed tests verbosely - # Normal V=1 would show everything verbosely but this slows things down. - # - # -j1 here for https://github.com/openssl/openssl/issues/21999, but it - # shouldn't matter as tests were already built earlier, and HARNESS_JOBS - # controls running the tests. - emake -Onone -j1 HARNESS_JOBS="$(makeopts_jobs)" VFP=1 test -} - -multilib_src_install() { - # Only -j1 is supported for the install targets: - # https://github.com/openssl/openssl/issues/21999#issuecomment-1771150305 - emake DESTDIR="${D}" -j1 install_sw - if use fips; then - emake DESTDIR="${D}" -j1 install_fips - # Regen this in pkg_preinst, bug 900625 - rm "${ED}${SSL_CNF_DIR}"/fipsmodule.cnf || die - fi - - if multilib_is_native_abi; then - emake DESTDIR="${D}" -j1 install_ssldirs - emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} -j1 install_docs - fi - - # This is crappy in that the static archives are still built even - # when USE=static-libs. But this is due to a failing in the openssl - # build system: the static archives are built as PIC all the time. - # Only way around this would be to manually configure+compile openssl - # twice; once with shared lib support enabled and once without. - if ! use static-libs ; then - rm "${ED}"/usr/$(get_libdir)/lib{crypto,ssl}.a || die - fi -} - -multilib_src_install_all() { - # openssl installs perl version of c_rehash by default, but - # we provide a shell version via app-misc/c_rehash - rm "${ED}"/usr/bin/c_rehash || die - - dodoc {AUTHORS,CHANGES,NEWS,README,README-PROVIDERS}.md doc/*.txt doc/${PN}-c-indent.el - - # Create the certs directory - keepdir ${SSL_CNF_DIR}/certs - - # bug #254521 - dodir /etc/sandbox.d - echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl - - diropts -m0700 - keepdir ${SSL_CNF_DIR}/private -} - -pkg_preinst() { - if use fips; then - # Regen fipsmodule.cnf, bug 900625 - ebegin "Running openssl fipsinstall" - "${ED}/usr/bin/openssl" fipsinstall -quiet \ - -out "${ED}${SSL_CNF_DIR}/fipsmodule.cnf" \ - -module "${ED}/usr/$(get_libdir)/ossl-modules/fips.so" - eend $? - fi - - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} - -pkg_postinst() { - ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)" - openssl rehash "${EROOT}${SSL_CNF_DIR}/certs" - eend $? - - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} diff --git a/dev-libs/openssl/openssl-3.3.2-r2.ebuild b/dev-libs/openssl/openssl-3.3.2-r2.ebuild deleted file mode 100644 index a141ad50c5fe..000000000000 --- a/dev-libs/openssl/openssl-3.3.2-r2.ebuild +++ /dev/null @@ -1,305 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openssl.org.asc -inherit edo flag-o-matic linux-info toolchain-funcs -inherit multilib multilib-minimal multiprocessing preserve-libs verify-sig - -DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)" -HOMEPAGE="https://openssl-library.org/" - -MY_P=${P/_/-} - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/openssl/openssl.git" - - inherit git-r3 -else - SRC_URI=" - https://github.com/openssl/openssl/releases/download/${P}/${P}.tar.gz - verify-sig? ( - https://github.com/openssl/openssl/releases/download/${P}/${P}.tar.gz.asc - ) - " - - if [[ ${PV} != *_alpha* && ${PV} != *_beta* ]] ; then - KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - fi -fi - -S="${WORKDIR}"/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" # .so version of libssl/libcrypto -IUSE="+asm cpu_flags_x86_sse2 fips ktls +quic rfc3779 sctp static-libs test tls-compression vanilla verify-sig weak-ssl-ciphers" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - !<net-misc/openssh-9.2_p1-r3 - tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) -" -BDEPEND=" - >=dev-lang/perl-5 - sctp? ( >=net-misc/lksctp-tools-1.0.12 ) - test? ( - sys-apps/diffutils - app-alternatives/bc - sys-process/procps - ) - verify-sig? ( >=sec-keys/openpgp-keys-openssl-20240920 ) -" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" -PDEPEND="app-misc/ca-certificates" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/openssl/configuration.h -) - -PATCHES=( - "${FILESDIR}"/${P}-CVE-2024-9143.patch - "${FILESDIR}"/${PN}-3.3.2-silence-warning.patch -) - -pkg_setup() { - if use ktls ; then - if kernel_is -lt 4 18 ; then - ewarn "Kernel implementation of TLS (USE=ktls) requires kernel >=4.18!" - else - CONFIG_CHECK="~TLS ~TLS_DEVICE" - ERROR_TLS="You will be unable to offload TLS to kernel because CONFIG_TLS is not set!" - ERROR_TLS_DEVICE="You will be unable to offload TLS to kernel because CONFIG_TLS_DEVICE is not set!" - use test && CONFIG_CHECK+=" ~CRYPTO_USER_API_SKCIPHER" - - linux-info_pkg_setup - fi - fi - - [[ ${MERGE_TYPE} == binary ]] && return - - # must check in pkg_setup; sysctl doesn't work with userpriv! - if use test && use sctp ; then - # test_ssl_new will fail with "Ensure SCTP AUTH chunks are enabled in kernel" - # if sctp.auth_enable is not enabled. - local sctp_auth_status=$(sysctl -n net.sctp.auth_enable 2>/dev/null) - if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 1 ]] ; then - die "FEATURES=test with USE=sctp requires net.sctp.auth_enable=1!" - fi - fi -} - -src_unpack() { - # Can delete this once test fix patch is dropped - if use verify-sig ; then - # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} - fi - - default -} - -src_prepare() { - # Make sure we only ever touch Makefile.org and avoid patching a file - # that gets blown away anyways by the Configure script in src_configure - rm -f Makefile || die - - if ! use vanilla ; then - PATCHES+=( - # Add patches which are Gentoo-specific customisations here - ) - fi - - default - - if use test && use sctp && has network-sandbox ${FEATURES} ; then - einfo "Disabling test '80-test_ssl_new.t' which is known to fail with FEATURES=network-sandbox ..." - rm test/recipes/80-test_ssl_new.t || die - fi - - # Test fails depending on kernel configuration, bug #699134 - rm test/recipes/30-test_afalg.t || die -} - -src_configure() { - # Keep this in sync with app-misc/c_rehash - SSL_CNF_DIR="/etc/ssl" - - # Quiet out unknown driver argument warnings since openssl - # doesn't have well-split CFLAGS and we're making it even worse - # and 'make depend' uses -Werror for added fun (bug #417795 again) - tc-is-clang && append-flags -Qunused-arguments - - # We really, really need to build OpenSSL w/ strict aliasing disabled. - # It's filled with violations and it *will* result in miscompiled - # code. This has been in the ebuild for > 10 years but even in 2022, - # it's still relevant: - # - https://github.com/llvm/llvm-project/issues/55255 - # - https://github.com/openssl/openssl/issues/12247 - # - https://github.com/openssl/openssl/issues/18225 - # - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057 - # Don't remove the no strict aliasing bits below! - filter-flags -fstrict-aliasing - append-flags -fno-strict-aliasing - # The OpenSSL developers don't test with LTO right now, it leads to various - # warnings/errors (which may or may not be false positives), it's considered - # unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663. - filter-lto - - append-flags $(test-flags-CC -Wa,--noexecstack) - - # bug #895308 -- check inserts GNU ld-compatible arguments - [[ ${CHOST} == *-darwin* ]] || append-atomic-flags - # Configure doesn't respect LIBS - export LDLIBS="${LIBS}" - - # bug #197996 - unset APPS - # bug #312551 - unset SCRIPTS - # bug #311473 - unset CROSS_COMPILE - - tc-export AR CC CXX RANLIB RC - - multilib-minimal_src_configure -} - -multilib_src_configure() { - use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; } - - local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal") - - # See if our toolchain supports __uint128_t. If so, it's 64bit - # friendly and can use the nicely optimized code paths, bug #460790. - #local ec_nistp_64_gcc_128 - # - # Disable it for now though (bug #469976) - # Do NOT re-enable without substantial discussion first! - # - #echo "__uint128_t i;" > "${T}"/128.c - #if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then - # ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128" - #fi - - local sslout=$(bash "${FILESDIR}/gentoo.config-1.0.4") - einfo "Using configuration: ${sslout:-(openssl knows best)}" - - # https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-and-disable-features - local myeconfargs=( - ${sslout} - - $(multilib_is_native_abi || echo "no-docs") - $(use cpu_flags_x86_sse2 || echo "no-sse2") - enable-camellia - enable-ec - enable-ec2m - enable-sm2 - enable-srp - $(use elibc_musl && echo "no-async") - enable-idea - enable-mdc2 - enable-rc5 - $(use fips && echo "enable-fips") - $(use quic && echo "enable-quic") - $(use_ssl asm) - $(use_ssl ktls) - $(use_ssl rfc3779) - $(use_ssl sctp) - $(use test || echo "no-tests") - $(use_ssl tls-compression zlib) - $(use_ssl weak-ssl-ciphers) - - --prefix="${EPREFIX}"/usr - --openssldir="${EPREFIX}"${SSL_CNF_DIR} - --libdir=$(get_libdir) - - shared - threads - ) - - edo perl "${S}/Configure" "${myeconfargs[@]}" -} - -multilib_src_compile() { - emake build_sw -} - -multilib_src_test() { - # See https://github.com/openssl/openssl/blob/master/test/README.md for options. - # - # VFP = show subtests verbosely and show failed tests verbosely - # Normal V=1 would show everything verbosely but this slows things down. - # - # -j1 here for https://github.com/openssl/openssl/issues/21999, but it - # shouldn't matter as tests were already built earlier, and HARNESS_JOBS - # controls running the tests. - emake -Onone -j1 HARNESS_JOBS="$(makeopts_jobs)" VFP=1 test -} - -multilib_src_install() { - # Only -j1 is supported for the install targets: - # https://github.com/openssl/openssl/issues/21999#issuecomment-1771150305 - emake DESTDIR="${D}" -j1 install_sw - if use fips; then - emake DESTDIR="${D}" -j1 install_fips - # Regen this in pkg_preinst, bug 900625 - rm "${ED}${SSL_CNF_DIR}"/fipsmodule.cnf || die - fi - - if multilib_is_native_abi; then - emake DESTDIR="${D}" -j1 install_ssldirs - emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} -j1 install_docs - fi - - # This is crappy in that the static archives are still built even - # when USE=static-libs. But this is due to a failing in the openssl - # build system: the static archives are built as PIC all the time. - # Only way around this would be to manually configure+compile openssl - # twice; once with shared lib support enabled and once without. - if ! use static-libs ; then - rm "${ED}"/usr/$(get_libdir)/lib{crypto,ssl}.a || die - fi -} - -multilib_src_install_all() { - # openssl installs perl version of c_rehash by default, but - # we provide a shell version via app-misc/c_rehash - rm "${ED}"/usr/bin/c_rehash || die - - dodoc {AUTHORS,CHANGES,NEWS,README,README-PROVIDERS}.md doc/*.txt doc/${PN}-c-indent.el - - # Create the certs directory - keepdir ${SSL_CNF_DIR}/certs - - # bug #254521 - dodir /etc/sandbox.d - echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl - - diropts -m0700 - keepdir ${SSL_CNF_DIR}/private -} - -pkg_preinst() { - if use fips; then - # Regen fipsmodule.cnf, bug 900625 - ebegin "Running openssl fipsinstall" - "${ED}/usr/bin/openssl" fipsinstall -quiet \ - -out "${ED}${SSL_CNF_DIR}/fipsmodule.cnf" \ - -module "${ED}/usr/$(get_libdir)/ossl-modules/fips.so" - eend $? - fi - - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} - -pkg_postinst() { - ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)" - openssl rehash "${EROOT}${SSL_CNF_DIR}/certs" - eend $? - - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} diff --git a/dev-libs/openssl/openssl-3.3.2-r3.ebuild b/dev-libs/openssl/openssl-3.3.2-r3.ebuild deleted file mode 100644 index 74109bfb1ff7..000000000000 --- a/dev-libs/openssl/openssl-3.3.2-r3.ebuild +++ /dev/null @@ -1,306 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/openssl.org.asc -inherit edo flag-o-matic linux-info toolchain-funcs -inherit multilib multilib-minimal multiprocessing preserve-libs verify-sig - -DESCRIPTION="Robust, full-featured Open Source Toolkit for the Transport Layer Security (TLS)" -HOMEPAGE="https://openssl-library.org/" - -MY_P=${P/_/-} - -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://github.com/openssl/openssl.git" - - inherit git-r3 -else - SRC_URI=" - https://github.com/openssl/openssl/releases/download/${P}/${P}.tar.gz - verify-sig? ( - https://github.com/openssl/openssl/releases/download/${P}/${P}.tar.gz.asc - ) - " - - if [[ ${PV} != *_alpha* && ${PV} != *_beta* ]] ; then - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" - fi -fi - -S="${WORKDIR}"/${MY_P} - -LICENSE="Apache-2.0" -SLOT="0/$(ver_cut 1)" # .so version of libssl/libcrypto -IUSE="+asm cpu_flags_x86_sse2 fips ktls +quic rfc3779 sctp static-libs test tls-compression vanilla verify-sig weak-ssl-ciphers" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - !<net-misc/openssh-9.2_p1-r3 - tls-compression? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] ) -" -BDEPEND=" - >=dev-lang/perl-5 - sctp? ( >=net-misc/lksctp-tools-1.0.12 ) - test? ( - sys-apps/diffutils - app-alternatives/bc - sys-process/procps - ) - verify-sig? ( >=sec-keys/openpgp-keys-openssl-20240920 ) -" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" -PDEPEND="app-misc/ca-certificates" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/openssl/configuration.h -) - -PATCHES=( - "${FILESDIR}"/${P}-CVE-2024-9143.patch - "${FILESDIR}"/${PN}-3.3.2-silence-warning.patch - "${FILESDIR}"/${P}-arm64-clobber.patch -) - -pkg_setup() { - if use ktls ; then - if kernel_is -lt 4 18 ; then - ewarn "Kernel implementation of TLS (USE=ktls) requires kernel >=4.18!" - else - CONFIG_CHECK="~TLS ~TLS_DEVICE" - ERROR_TLS="You will be unable to offload TLS to kernel because CONFIG_TLS is not set!" - ERROR_TLS_DEVICE="You will be unable to offload TLS to kernel because CONFIG_TLS_DEVICE is not set!" - use test && CONFIG_CHECK+=" ~CRYPTO_USER_API_SKCIPHER" - - linux-info_pkg_setup - fi - fi - - [[ ${MERGE_TYPE} == binary ]] && return - - # must check in pkg_setup; sysctl doesn't work with userpriv! - if use test && use sctp ; then - # test_ssl_new will fail with "Ensure SCTP AUTH chunks are enabled in kernel" - # if sctp.auth_enable is not enabled. - local sctp_auth_status=$(sysctl -n net.sctp.auth_enable 2>/dev/null) - if [[ -z "${sctp_auth_status}" ]] || [[ ${sctp_auth_status} != 1 ]] ; then - die "FEATURES=test with USE=sctp requires net.sctp.auth_enable=1!" - fi - fi -} - -src_unpack() { - # Can delete this once test fix patch is dropped - if use verify-sig ; then - # Needed for downloaded patch (which is unsigned, which is fine) - verify-sig_verify_detached "${DISTDIR}"/${MY_P}.tar.gz{,.asc} - fi - - default -} - -src_prepare() { - # Make sure we only ever touch Makefile.org and avoid patching a file - # that gets blown away anyways by the Configure script in src_configure - rm -f Makefile || die - - if ! use vanilla ; then - PATCHES+=( - # Add patches which are Gentoo-specific customisations here - ) - fi - - default - - if use test && use sctp && has network-sandbox ${FEATURES} ; then - einfo "Disabling test '80-test_ssl_new.t' which is known to fail with FEATURES=network-sandbox ..." - rm test/recipes/80-test_ssl_new.t || die - fi - - # Test fails depending on kernel configuration, bug #699134 - rm test/recipes/30-test_afalg.t || die -} - -src_configure() { - # Keep this in sync with app-misc/c_rehash - SSL_CNF_DIR="/etc/ssl" - - # Quiet out unknown driver argument warnings since openssl - # doesn't have well-split CFLAGS and we're making it even worse - # and 'make depend' uses -Werror for added fun (bug #417795 again) - tc-is-clang && append-flags -Qunused-arguments - - # We really, really need to build OpenSSL w/ strict aliasing disabled. - # It's filled with violations and it *will* result in miscompiled - # code. This has been in the ebuild for > 10 years but even in 2022, - # it's still relevant: - # - https://github.com/llvm/llvm-project/issues/55255 - # - https://github.com/openssl/openssl/issues/12247 - # - https://github.com/openssl/openssl/issues/18225 - # - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057 - # Don't remove the no strict aliasing bits below! - filter-flags -fstrict-aliasing - append-flags -fno-strict-aliasing - # The OpenSSL developers don't test with LTO right now, it leads to various - # warnings/errors (which may or may not be false positives), it's considered - # unsupported, and it's not tested in CI: https://github.com/openssl/openssl/issues/18663. - filter-lto - - append-flags $(test-flags-CC -Wa,--noexecstack) - - # bug #895308 -- check inserts GNU ld-compatible arguments - [[ ${CHOST} == *-darwin* ]] || append-atomic-flags - # Configure doesn't respect LIBS - export LDLIBS="${LIBS}" - - # bug #197996 - unset APPS - # bug #312551 - unset SCRIPTS - # bug #311473 - unset CROSS_COMPILE - - tc-export AR CC CXX RANLIB RC - - multilib-minimal_src_configure -} - -multilib_src_configure() { - use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; } - - local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal") - - # See if our toolchain supports __uint128_t. If so, it's 64bit - # friendly and can use the nicely optimized code paths, bug #460790. - #local ec_nistp_64_gcc_128 - # - # Disable it for now though (bug #469976) - # Do NOT re-enable without substantial discussion first! - # - #echo "__uint128_t i;" > "${T}"/128.c - #if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then - # ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128" - #fi - - local sslout=$(bash "${FILESDIR}/gentoo.config-1.0.4") - einfo "Using configuration: ${sslout:-(openssl knows best)}" - - # https://github.com/openssl/openssl/blob/master/INSTALL.md#enable-and-disable-features - local myeconfargs=( - ${sslout} - - $(multilib_is_native_abi || echo "no-docs") - $(use cpu_flags_x86_sse2 || echo "no-sse2") - enable-camellia - enable-ec - enable-ec2m - enable-sm2 - enable-srp - $(use elibc_musl && echo "no-async") - enable-idea - enable-mdc2 - enable-rc5 - $(use fips && echo "enable-fips") - $(use quic && echo "enable-quic") - $(use_ssl asm) - $(use_ssl ktls) - $(use_ssl rfc3779) - $(use_ssl sctp) - $(use test || echo "no-tests") - $(use_ssl tls-compression zlib) - $(use_ssl weak-ssl-ciphers) - - --prefix="${EPREFIX}"/usr - --openssldir="${EPREFIX}"${SSL_CNF_DIR} - --libdir=$(get_libdir) - - shared - threads - ) - - edo perl "${S}/Configure" "${myeconfargs[@]}" -} - -multilib_src_compile() { - emake build_sw -} - -multilib_src_test() { - # See https://github.com/openssl/openssl/blob/master/test/README.md for options. - # - # VFP = show subtests verbosely and show failed tests verbosely - # Normal V=1 would show everything verbosely but this slows things down. - # - # -j1 here for https://github.com/openssl/openssl/issues/21999, but it - # shouldn't matter as tests were already built earlier, and HARNESS_JOBS - # controls running the tests. - emake -Onone -j1 HARNESS_JOBS="$(makeopts_jobs)" VFP=1 test -} - -multilib_src_install() { - # Only -j1 is supported for the install targets: - # https://github.com/openssl/openssl/issues/21999#issuecomment-1771150305 - emake DESTDIR="${D}" -j1 install_sw - if use fips; then - emake DESTDIR="${D}" -j1 install_fips - # Regen this in pkg_preinst, bug 900625 - rm "${ED}${SSL_CNF_DIR}"/fipsmodule.cnf || die - fi - - if multilib_is_native_abi; then - emake DESTDIR="${D}" -j1 install_ssldirs - emake DESTDIR="${D}" DOCDIR='$(INSTALLTOP)'/share/doc/${PF} -j1 install_docs - fi - - # This is crappy in that the static archives are still built even - # when USE=static-libs. But this is due to a failing in the openssl - # build system: the static archives are built as PIC all the time. - # Only way around this would be to manually configure+compile openssl - # twice; once with shared lib support enabled and once without. - if ! use static-libs ; then - rm "${ED}"/usr/$(get_libdir)/lib{crypto,ssl}.a || die - fi -} - -multilib_src_install_all() { - # openssl installs perl version of c_rehash by default, but - # we provide a shell version via app-misc/c_rehash - rm "${ED}"/usr/bin/c_rehash || die - - dodoc {AUTHORS,CHANGES,NEWS,README,README-PROVIDERS}.md doc/*.txt doc/${PN}-c-indent.el - - # Create the certs directory - keepdir ${SSL_CNF_DIR}/certs - - # bug #254521 - dodir /etc/sandbox.d - echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl - - diropts -m0700 - keepdir ${SSL_CNF_DIR}/private -} - -pkg_preinst() { - if use fips; then - # Regen fipsmodule.cnf, bug 900625 - ebegin "Running openssl fipsinstall" - "${ED}/usr/bin/openssl" fipsinstall -quiet \ - -out "${ED}${SSL_CNF_DIR}/fipsmodule.cnf" \ - -module "${ED}/usr/$(get_libdir)/ossl-modules/fips.so" - eend $? - fi - - preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} - -pkg_postinst() { - ebegin "Running 'openssl rehash ${EROOT}${SSL_CNF_DIR}/certs' to rebuild hashes (bug #333069)" - openssl rehash "${EROOT}${SSL_CNF_DIR}/certs" - eend $? - - preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1) \ - /usr/$(get_libdir)/lib{crypto,ssl}$(get_libname 1.1) -} diff --git a/dev-libs/tree-sitter-bash/Manifest b/dev-libs/tree-sitter-bash/Manifest index 290bbb8dd3d0..b48284b31ac7 100644 --- a/dev-libs/tree-sitter-bash/Manifest +++ b/dev-libs/tree-sitter-bash/Manifest @@ -5,5 +5,5 @@ DIST tree-sitter-bash-0.23.3.tar.gz 544232 BLAKE2B a7f2b8e73fcf99f29771e2952b10c EBUILD tree-sitter-bash-0.21.0-r1.ebuild 388 BLAKE2B 4a5a331b804450eeac880ee7017a1dea881451d8c940b324372b88c6fd7dec593bc0308eb81c9314b032f78f3286ca5ef92e39d9b89e56f2a4ad052fc87b9a64 SHA512 9c0b0b3c14443099f4c21de3c2541891d408b683323c96b696156bf55d288054e33eac247c802191085df33501ed5e763a5fef179a4be17424d167240b783fc0 EBUILD tree-sitter-bash-0.23.1.ebuild 388 BLAKE2B 4a5a331b804450eeac880ee7017a1dea881451d8c940b324372b88c6fd7dec593bc0308eb81c9314b032f78f3286ca5ef92e39d9b89e56f2a4ad052fc87b9a64 SHA512 9c0b0b3c14443099f4c21de3c2541891d408b683323c96b696156bf55d288054e33eac247c802191085df33501ed5e763a5fef179a4be17424d167240b783fc0 EBUILD tree-sitter-bash-0.23.2.ebuild 396 BLAKE2B 8ea6b43a01f09ce1f84ffe2f9ddddbde2c6d65722918b725add5a060626cf50a44ee37cab18a0a57e56aa96aec0dc2ea7a3c3ff4736223e35c2168cf14ef1942 SHA512 f6a6fdb85de538d4371d5138ceb4fc900675acd3641d2b1492b328a6237efcf5d65fcbcc2516383ae004d616c9aadb98258850451fe0b43fd2ef5587c01aa083 -EBUILD tree-sitter-bash-0.23.3.ebuild 389 BLAKE2B cb96a9139411030beb0b48832f4892ab14919625ce825da39e935364498e889ada9b8ac7379586e2bb35e304c0dd093d632e7dfcd956b7552209951f7dd851db SHA512 ad83ac795a819f1b577e163edde419d35fba5a51dc84022c70b6d42ac4c661a2539f1a89b54e0992da91ba135ca1eae89f536c4f7ca52758456e64fba3d9dbc7 +EBUILD tree-sitter-bash-0.23.3.ebuild 388 BLAKE2B 9b045543810f79c81ee43e6418a9a684127ec522cf3731f6f0ee478582828835ed6612513c8aead487702476cd609db8be23bb3451f0657978d250390db60e7d SHA512 1365601209d3ff1337e6167c2f1dc9c6a53bbe51cb8f22ae880cfa3dae15f38eb4d2144508e46a4de266263e43e9267e5a855aa1c6c36451255af3885a630c4c MISC metadata.xml 444 BLAKE2B 5a79ed071d8acb28777a9f255c6d7e3dd8317bb2c2502423925764d0b170aa7b8fdfed40d505986986b3bb5d573efd2a300bf3f76b34fccfd5a8380b03fdd1b6 SHA512 0fcdb129e5f90034a21d041a77f2c1ec480a05401def273c074ed31c078cebdee08eb41282b8bb16bc17d125e610b5c1e3348e219a4c108712b6b015a2649d63 diff --git a/dev-libs/tree-sitter-bash/tree-sitter-bash-0.23.3.ebuild b/dev-libs/tree-sitter-bash/tree-sitter-bash-0.23.3.ebuild index 184a737bbf95..0b2695a34507 100644 --- a/dev-libs/tree-sitter-bash/tree-sitter-bash-0.23.3.ebuild +++ b/dev-libs/tree-sitter-bash/tree-sitter-bash-0.23.3.ebuild @@ -12,4 +12,4 @@ HOMEPAGE="https://github.com/tree-sitter/tree-sitter-bash" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" diff --git a/dev-libs/vala-common/Manifest b/dev-libs/vala-common/Manifest index d31921992758..54b6b3ce7c2b 100644 --- a/dev-libs/vala-common/Manifest +++ b/dev-libs/vala-common/Manifest @@ -1,5 +1,5 @@ DIST vala-0.56.16.tar.xz 4013716 BLAKE2B 509809a93c70fd6a153fc188aaa3d85cbcc8d37649711ea32521505eb0bdc3fe824d90c538aaa7a7caa1c4faaea9053693b28ae54bdd6c212539a70300f2c33e SHA512 99f69c3c7a5ed89923b55cf035c6d9a5867577b2ecff92dddf5f21aaad1281786e5fcd775833b0f251417caf857f5fe7efbf134fbded427a7b29fa3acb00203a DIST vala-0.56.17.tar.xz 4016576 BLAKE2B c4b8d5b7c810893728f82d2cbbf2f0dd70ad17bd4eeb323ab5d31d99f37b5a5508b7d2447f0249f3a925013d7110bb6f145b32c833b990b15f18d9949035293f SHA512 61df98ba6b15d589a1864598a6f69cc3bee9154ba65270fc3a2fb1d0c3a68c32c29b572bcc26d6616d3fa23d53fb41710af3636125507864dd17f47cf27d4723 EBUILD vala-common-0.56.16.ebuild 682 BLAKE2B 2c5eeb0984b254ea0018a885d141334c3e5d8dc5920b919a12f58e42300b43315e3f51a48f004d0a1a560ed3c9701bdcf0bd195b11017e9106764080b444cee4 SHA512 c4a3f81152727c7fea0c7c671a2e1f4b39a021821021d5184b8648d2ffc1a4afa5eec0e7e032cfa4fee2f6fc2e430e77ec88f18d651f03c30fef20068a7993b1 -EBUILD vala-common-0.56.17.ebuild 683 BLAKE2B 99685282cc743d87a6b09cd55719b3a3fffb76d6b15c2e1c84cee4ffadcc03dc2f161303c8924677e95103c327d8e90bb7fe49322f33376ea1218dcb354cfb8c SHA512 6b32fe6fdf235fd8e22f6a2b9cd85f61642e6ce1a5f92c3d9cb13bbb2cdb49b9b57443d7af9b10c0162c9b499b49ef96c0df92d8742202dfb9c4a70b4fe1c846 +EBUILD vala-common-0.56.17.ebuild 682 BLAKE2B 833b7126db98918f9487fb4e0252af5f01ee4d0f47654ae8c1de5049dd568509cf2ba96f09ef3443e6e618da8f1b1c7ded3fda4c89f7f8a559a900bb21fe4843 SHA512 0a54bd011236609dbc2edf1560a0c0e191df37d3ba337f02e53999173a5a7a36381ee840a9b988a68c1fec2f9dc449d578b5eeb415c9d1bbad788bab2e444062 MISC metadata.xml 426 BLAKE2B 5d4ef5f9505178faae0cd5ea94378517ca8fbf2304e3fa77880dceb4194f520bb62ac4c61e5c9b0f2125194fc9470cbe97ecf9708494031ef4d0f222de58c6b1 SHA512 f3fe4cdff9d1ac255e1c4f565edab3b01d569c93b77179bc1efe8de2843bb5e031bc442e76fd1bfe775fbaaadab87b0fec8f1839ade2bdc6c1d2eac08565834e diff --git a/dev-libs/vala-common/vala-common-0.56.17.ebuild b/dev-libs/vala-common/vala-common-0.56.17.ebuild index a18fdc2c5fe1..04f3ae5f66a4 100644 --- a/dev-libs/vala-common/vala-common-0.56.17.ebuild +++ b/dev-libs/vala-common/vala-common-0.56.17.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/Vala https://gitlab.gnome.org/GNOME/va LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" RDEPEND="" DEPEND="" |