diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-03-29 00:32:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-03-29 00:32:16 +0000 |
commit | ad108e7b751d67723534624b94eb0e04250dd1af (patch) | |
tree | b2c2e47b9c23ac5a70d7170b3ba364b32da31944 /dev-libs | |
parent | c44ae5c03130467400468d0e9a7f83e723c99f35 (diff) |
gentoo auto-resync : 29:03:2025 - 00:32:15
Diffstat (limited to 'dev-libs')
63 files changed, 746 insertions, 1412 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 6aa0cab31ea9..8db6699f6cf7 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/capstone/Manifest b/dev-libs/capstone/Manifest index afe990a483f1..c5525c2ef235 100644 --- a/dev-libs/capstone/Manifest +++ b/dev-libs/capstone/Manifest @@ -2,9 +2,11 @@ AUX capstone-5.0.2-tests.patch 625 BLAKE2B 0e5b839d2beef6f9f971a5dbb08071e8398d3 AUX capstone-werror.patch 791 BLAKE2B f8456764a5af797eb0c5ad9460a44c7621e96d0a673450ed7c529b9ba73d90ebd3221aefaee95f210e65c900471aebdc82e6224f9b0ed24d4b855e28b4042ece SHA512 708908bd93f6fad559075414ccd6449fa285afe18d92c377fffaddf475755249fda9cd66e5504379976f350beaf934e5cdd37e8697ff00cc24532372caed15f9 DIST capstone-5.0.3.tar.gz 7650875 BLAKE2B 3750964a95cbaba685dfb5cf511f12d18f2c157fb622a15c4615734987b8a49ffacf021457f36302606ccf9055e45a7fc56af000b8f09df467922896b431537c SHA512 2fd3194dd37065e6091d208c7670b12c0ca6872931eef794bd6b2dd624601c843e8ee6c5714eae0372e394e91a9bc1e4de7dfea6b1087542dd461226569101de DIST capstone-5.0.5.tar.gz 7654484 BLAKE2B 9725340b74a6e1acf54debeecce63c262dddc23e69940b1d2f94ba14562ea5da07d93cb572ce24fc2c087d73eaedef265cdd0341377685082543568d8e61a40e SHA512 36c81fb6f36867b7d43f4e930493cd821cb5f233a56dbe504c6244569f154f462db565181aa2fe7df8f194a7225f56d42f941ff82e2ee16e44d5fb74ff27c818 +DIST capstone-5.0.6.tar.gz 7653660 BLAKE2B edb9336944d92c153951dede212ffac955321f9a31c622b30461a130b2715716988a9379be5e15fc70827043fe67136e2e470f0956666988fc8d01a068d86af3 SHA512 d4ed08a2ab4ed8ede51a163e98542129d6441889cf6936ac9e3f8027fb2dfcbb04a7aacba14c2a007e788790bb3939c173b47db3d95f5dd9eafce2f30ff493e1 DIST capstone-6.0.0_alpha3.tar.gz 10282208 BLAKE2B ff7ffb3bbd6c138a644ebbc9dec1bd7e86b8d7dfcd0d1646cf35a560303a5759cdd587e5b78596e2a82bd1327796e1312e3d88efadd0f542c4a39d3eb57d9825 SHA512 45611f95f2e889feb688cb58fb2819737747e7d3f94f1f60e6517359bba21cd2bfda72527b0f19053c260e898861aee4753a5f5823f6c1e1a690cf4914dc3d62 EBUILD capstone-5.0.3.ebuild 1856 BLAKE2B 350d9907b403dfeb2ae80e63dbd32e7cbb5fd4aa2b45489df6537ba2e62c55ecf92028fe17061e08d5b1184ff84dd4fba190f6a05cff5a7caa7d1582a26bfced SHA512 9b1261badeae3965d3061e1f7e9ac019a087bb53afacf7a27e029526b9b1008c5fab04cff8f76555f64fba58890babd2f72597c11505c4b1de6a34978d7d7352 EBUILD capstone-5.0.5.ebuild 2003 BLAKE2B 1196245b5ca193ee8451a1c819c01ce896be1ef351f829f60d48243e27d3889fc7b16768bc07da5199ecfe0f8c2b993c909556d613faa9cca5b71734499c89ff SHA512 55bc48b63cb4c55e6ad2007a6f4668bdaf77b9170f2ca14aa3e75d555281ee0319be06972283d1d5675e6c88a9860ffe6ef434cd6b8d130c344b0fb541fce465 +EBUILD capstone-5.0.6.ebuild 2005 BLAKE2B 84081b583c973fba749defa8528549a43a59fcb9a26396deff36d1b016923ec8821e960def4cef72e33b176ceab100a6355d40d7eeb66b0cb012d7a0fcf91360 SHA512 97e9f5794eb1ad6502f8f732b213c8c1070524dce61ff1cf629a6937825c3332204e69b73527635ad6ec4f4c4528aaa5ba75b3119448c5b26418cc78f4f1c89a EBUILD capstone-6.0.0_alpha3.ebuild 2184 BLAKE2B 2b308285aa8cc84d1b4559f689d57b4e538e7e1172f78e3183b34e6cab2224a70b6ad7d908cac506f043a25103cc2b50b860776441264f474d6f9146c8a5d703 SHA512 e1a112bea55363d45866360ca403ad8fe3e64728e004159fbf66babb17201daee45acea9ca9cb6e4eecd803910a34e669a3edca322b99adb1a1129379e567187 EBUILD capstone-9999.ebuild 2184 BLAKE2B 3d92af5e2e0824206632ba3f3db40659247c47fea3e767e1dd6bade10a9b0d258bc452209c1d925639e60b808244fef2dad21d139e29821b3c49991612a64852 SHA512 645f9685f2d456f38882f33e349acd4d396bf3e321130d546417096b9418996b4b2f5e88143bde8996a223e58b3912200184a981a8801b0081177ec657f3be6d MISC metadata.xml 484 BLAKE2B 32c39bf06443ce4ca18191a4c9626cf517d5bd4f837c179e6186a68a0053217bf41d61d2c4d46c9792b1974879d22b36e4a02fa461a1b085acf5c4406bde4891 SHA512 f06dcd3133982f72cf21c5bb3d9a34207d7083233b5e70856f6a1dab60ef361cf1432659af30ea6b90fcb38cfdaec49f0792623ef841e136bc33cb5e1c40d1cf diff --git a/dev-libs/capstone/capstone-5.0.6.ebuild b/dev-libs/capstone/capstone-5.0.6.ebuild new file mode 100644 index 000000000000..0b74af2e59fb --- /dev/null +++ b/dev-libs/capstone/capstone-5.0.6.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_EXT=1 +DISTUTILS_OPTIONAL=1 +DISTUTILS_USE_PEP517=setuptools + +inherit cmake distutils-r1 toolchain-funcs + +DESCRIPTION="disassembly/disassembler framework + bindings" +HOMEPAGE="https://www.capstone-engine.org/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/capstone-engine/capstone.git" + EGIT_REPO_BRANCH="next" +else + MY_PV="${PV}" + MY_PV="${MY_PV/_alpha/-Alpha}" + MY_PV="${MY_PV/_beta/-Beta}" + MY_PV="${MY_PV/_rc/-rc}" + SRC_URI="https://github.com/capstone-engine/capstone/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${MY_PV}" + if [[ ${PV} != *_alpha* && ${PV} != *_beta* && ${PV} != *_rc* ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + fi +fi + +LICENSE="BSD" +SLOT="0/5" # libcapstone.so.5 + +IUSE="python static-libs test" +RDEPEND="python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + python? ( dev-python/setuptools[${PYTHON_USEDEP}] ) +" +BDEPEND="${DISTUTILS_DEPS}" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}/${PN}-5.0.2-tests.patch" +) + +if [[ ${PV} == *_rc* ]]; then + # Upstream doesn't flag release candidates (bug 858350) + QA_PKGCONFIG_VERSION="" +fi + +wrap_python() { + local phase=$1 + shift + + if use python; then + pushd "${S}/bindings/python" >/dev/null || die + distutils-r1_${phase} "$@" + popd >/dev/null || die + fi +} + +src_prepare() { + tc-export RANLIB + cmake_src_prepare + + wrap_python ${FUNCNAME} +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=true + -DBUILD_STATIC_LIBS=false + -DCAPSTONE_BUILD_TESTS="$(usex test)" + ) + cmake_src_configure + + wrap_python ${FUNCNAME} +} + +src_compile() { + cmake_src_compile + + wrap_python ${FUNCNAME} +} + +src_test() { + cmake_src_test + + wrap_python ${FUNCNAME} +} + +src_install() { + cmake_src_install + + wrap_python ${FUNCNAME} +} + +python_test() { + emake check +} diff --git a/dev-libs/cglm/Manifest b/dev-libs/cglm/Manifest index f12a38ae1333..35b874179484 100644 --- a/dev-libs/cglm/Manifest +++ b/dev-libs/cglm/Manifest @@ -1,5 +1,3 @@ -DIST cglm-0.9.4.tar.gz 690840 BLAKE2B 407373eba01fc6867d5fa8ec418eff0f3636d919dfcedf686f29b149c0bc4c1ed8cce5b3c7a1847f9cfab35612f19709d25febad09aaa4ed9ea05e462a97d2a0 SHA512 cfa836d5100912866d0678babca51e0ca818c1424ac8320c49ee55e5f9091403947a0d7b5c633bb0fb5df594d2b4fb01c2f634cc20cbe6266db5f7879488b02f DIST cglm-0.9.6.tar.gz 707102 BLAKE2B a51bfb6d9198f4ecf6b1bcc56b346df963e56d5229c226bfa6d3bdccfbb3e25c30e33eccfc3614402a61286e9e87dc1e63e2b8f22e4d0fd640232f40b5a4db70 SHA512 5493b9c19a9aae556e579f41687d8e7184aa0b03d4c5358975521102fe8dbb456493f858512564b2c30093bbd2ea801f0280592a54cc5454045fcac762e71eaf -EBUILD cglm-0.9.4.ebuild 877 BLAKE2B 08beb19c675991c6101ff9b9600bc6e20de63e82f91e04d4bbb7f41d17308e30df022084cb56d109516eac15f067f85dc9ca7a8fce47645123e71569268b471b SHA512 3f7b4d6554e68bccf1daef4a00e035a5d63d6f732708004dfd2018b2683876dd63c62f62955aa2350fa2cfc750407d907cb9fc966909f5a81749dd6cd94f9104 -EBUILD cglm-0.9.6.ebuild 877 BLAKE2B 295153d5211d84a769acafe7e011d6f1ce395c99dbce2f7ebcad59ba57e67e2e6cc236a65189c97d4ecb29b4c3b7a3d5624eb360eeaa26382df2b04e1a8db90c SHA512 aca4891bf5e77ef69061932a95840c55903b08f05d9f1b371e3fb5c4fc070938eaf831c2cde7fbadb30d3b9ec3b42146d528734e4cf9c4ca5a4a89be89c311f5 +EBUILD cglm-0.9.6.ebuild 877 BLAKE2B 5b8ed53deaea8091342a2a79ab717f76c4f241d93baf6927e4da932d96217c002092f6dee4a0890475d0db3550b1a3a9ad01229d36c93e94d07c83f07f00eab7 SHA512 0b88075d9c5c1a7232a0a175c36189e8ffa215f305a4a09224a95208350da2e6b6aca709ee7f58988e617826b4e1938687128dc8b126a4389550b44230db793a MISC metadata.xml 327 BLAKE2B 34598a9244fc8a3a0389b3f4576dba9df33e8d1af93ec1a1d7d1c3a4aa5e631b23923ec1b26ad3eb3a95ade3d4edb3a7a8637bae7fc52a63fa7088414d7773e4 SHA512 fede42794fb6257e7533316a38a82ca6566832a03adc6456692021259d1ad2822f8713cafa34db183186c8e475da3835b9ee65f84a7258d72725c9a56d301839 diff --git a/dev-libs/cglm/cglm-0.9.4.ebuild b/dev-libs/cglm/cglm-0.9.4.ebuild deleted file mode 100644 index 4c21cab228fa..000000000000 --- a/dev-libs/cglm/cglm-0.9.4.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2023-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="sphinx" -DOCS_AUTODOC=1 -DOCS_DEPEND="dev-python/sphinx-rtd-theme" -DOCS_DIR="${S}/docs/source" - -PYTHON_COMPAT=( python3_{9..12} ) -inherit python-any-r1 docs meson - -DESCRIPTION="OpenGL Mathematics (glm) for C" -HOMEPAGE="https://github.com/recp/cglm" -SRC_URI="https://github.com/recp/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc64 ~x86" -IUSE="test" - -RESTRICT="!test? ( test )" - -src_prepare() { - default - # DOCS_DEPEND needs DOCS_AUTODOC which needs the extension - sed -i -e "/^extensions/s/$/ 'sphinx.ext.autodoc',/" docs/source/conf.py || die -} -src_configure() { - local emesonargs=( - $(meson_use test build_tests) - ) - meson_src_configure -} - -src_compile() { - meson_src_compile - docs_compile -} diff --git a/dev-libs/cglm/cglm-0.9.6.ebuild b/dev-libs/cglm/cglm-0.9.6.ebuild index 8058d8aa12fc..12d38d130017 100644 --- a/dev-libs/cglm/cglm-0.9.6.ebuild +++ b/dev-libs/cglm/cglm-0.9.6.ebuild @@ -8,7 +8,7 @@ DOCS_AUTODOC=1 DOCS_DEPEND="dev-python/sphinx-rtd-theme" DOCS_DIR="${S}/docs/source" -PYTHON_COMPAT=( python3_{9..12} ) +PYTHON_COMPAT=( python3_{9..13} ) inherit python-any-r1 docs meson DESCRIPTION="OpenGL Mathematics (glm) for C" diff --git a/dev-libs/expat/Manifest b/dev-libs/expat/Manifest index 75c420f2e823..3c0f456347f0 100644 --- a/dev-libs/expat/Manifest +++ b/dev-libs/expat/Manifest @@ -5,5 +5,5 @@ DIST expat-2.7.1.tar.xz 496108 BLAKE2B 243ef1c3578234135018d31b567c88a50cadddac8 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 2294 BLAKE2B 5d809ef3f3d37c10090edd97fa36333b960481e0ba4fde871c0d462735aac1edc1613fe518bcd96be42818fd338ddd88a960fb74588d4b23593921a50c32bf44 SHA512 b5ba4539fab4ebda9f20e56c3fa92e85122a84ecf71e94ceb5fa2be6036811ad6b2bb0529805782cb5af0dece7e417d42b85a64b6b2b3487c9149b1048502c3d -EBUILD expat-2.7.1.ebuild 2301 BLAKE2B 69e77cbf2bbf3a3fbfa2e406ae2cca73297f516fc479c8dfc7c97be71ce55869f2f278d14b2ba6e8bd9bf6afe67e54d3775d2fc12dfb6391870f05fb30ef9659 SHA512 a4fff8fd642d0ed22ab7a43ee1ff870c19c03b7c8d04408c4747c0a5ba78bdb6f7a8fd36fd38f621f96fc0ce13a4af289b5340450a8367a390649d01ed8030d4 +EBUILD expat-2.7.1.ebuild 2294 BLAKE2B 5d809ef3f3d37c10090edd97fa36333b960481e0ba4fde871c0d462735aac1edc1613fe518bcd96be42818fd338ddd88a960fb74588d4b23593921a50c32bf44 SHA512 b5ba4539fab4ebda9f20e56c3fa92e85122a84ecf71e94ceb5fa2be6036811ad6b2bb0529805782cb5af0dece7e417d42b85a64b6b2b3487c9149b1048502c3d MISC metadata.xml 571 BLAKE2B ebefe11eb4a54dda87048089930a051a629fd99a6983b3c804dfd033eee4017c3b1871cbdff56c8659cdf74b19651cd7f2134721a9bab3e8a752d4a1694c6266 SHA512 8d726b1dee71528e43c8693bd4b08cf33a94f43470126aa18a51ed248b032c5e8b9d801c5b2d5f58c2fd7896b32ee9e6eb3953395e5a6004cdf00569d114ad1d diff --git a/dev-libs/expat/expat-2.7.1.ebuild b/dev-libs/expat/expat-2.7.1.ebuild index b1f4eada1914..0f59f82703ae 100644 --- a/dev-libs/expat/expat-2.7.1.ebuild +++ b/dev-libs/expat/expat-2.7.1.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/intel-metrics-discovery/Manifest b/dev-libs/intel-metrics-discovery/Manifest index 1db3138eefb9..f1b5edade06c 100644 --- a/dev-libs/intel-metrics-discovery/Manifest +++ b/dev-libs/intel-metrics-discovery/Manifest @@ -1,6 +1,4 @@ AUX intel-metrics-discovery-1.12.178-revert-definitions.patch 1538 BLAKE2B 66dba96f5b96758bf12ce4643281a77483db955ecebc87689a08e67a0e9e7c4ff12dc3c6aef1a20bb39714b7b38736404e27ccac273be0c3dd22812ce80b8af2 SHA512 d0920c54f2281d25175c8afef0140db8f82cd75a16e309257630ccc7e20f3979da98b24b7fabb4edee32c87f05cbb160dea84128b173e6314caadf79a51a4d77 -DIST metrics-discovery-1.13.179.tar.gz 5630041 BLAKE2B 0a7d44eb70550c0e68b6402e077c3ec3798cd7f50fb894d836d0d361398edc0886ca8114085c76313cfec3c72f041521174291cbe3dcdc42bef8d1001798efd3 SHA512 4e50c0c34f0d0b4470ede001d35ceebd838508e4125dd7e3572ad3d521affa15f20af4551c039f167c79b44a96a4f206aa122c8cbb030377b9584bf8ae9fb737 DIST metrics-discovery-1.14.180.tar.gz 5638383 BLAKE2B 54b3c141f51862575997b392b1cfff50a6fc0f4d62eb7baea2a8b2fc7e213f43d48fbbf4ae4154468afce1a7c0665153fa6b2595c8cbf3e4bfeac2f79bfaf5d8 SHA512 da744fc052e4df14498b7a97465a1afb20156fa8759918212591e6dc74f3367f48d34344d8db272f0d2412e51d19ccca80036346f7a437cfee765201c6427c75 -EBUILD intel-metrics-discovery-1.13.179.ebuild 691 BLAKE2B 0552db2e579d5ced6a059626bcdd621600721fe0226b7d458a349c87f6b7d830b6f50737a1192f6c2e8feee1a5cf7eccc5f4904adb054eed9fc50166067d0487 SHA512 f5ceec441e19cf1a4dd887800c6eb82813f418f0c124cd11a2385eca1106fd299433cc83c7f2243c3d212ea948f659f3daa022f03aa2e778373a9ae344ed8102 -EBUILD intel-metrics-discovery-1.14.180.ebuild 692 BLAKE2B 95e9317579c68c1453e816ba67ff34b4052a7dfc8d43cd3eb61b0ef7a3a6f472f56c21a3e30b4548efdc17de3b7c19e225522be6905b35ea00f809f8eef2a700 SHA512 c6cbcdc7afb46db1c981baa6b7e543df31de323e85eabcafc0401bc2d020e020eea83dbda7a1296051a888f8ee1501f7bf90f6c869505d385d51769f723f9d34 +EBUILD intel-metrics-discovery-1.14.180.ebuild 691 BLAKE2B 0552db2e579d5ced6a059626bcdd621600721fe0226b7d458a349c87f6b7d830b6f50737a1192f6c2e8feee1a5cf7eccc5f4904adb054eed9fc50166067d0487 SHA512 f5ceec441e19cf1a4dd887800c6eb82813f418f0c124cd11a2385eca1106fd299433cc83c7f2243c3d212ea948f659f3daa022f03aa2e778373a9ae344ed8102 MISC metadata.xml 815 BLAKE2B 017d27f513969fab6dd984946f3105d8bf0f2c0f29251976016f3b4aff779a22d66ad876bf00553376314681c2ee33beb53c0537a37a80824692001710164c8f SHA512 76548770278fa9004b250a5e8e6b273e49a0aff112e3e1508653c8b4119ed7ec486191ab39f6d22c425b0b07d77b29fc299d36d8faa7167b8af564bb1418aa6c diff --git a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.13.179.ebuild b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.13.179.ebuild deleted file mode 100644 index f2ea6aaecbd1..000000000000 --- a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.13.179.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_BUILD_TYPE="Release" -MY_PN="${PN/intel-/}" -MY_P="${MY_PN}-${PV}" - -inherit cmake - -DESCRIPTION="A user mode library that provides access to GPU performance data" -HOMEPAGE="https://github.com/intel/metrics-discovery" -SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_PN}-${MY_P}" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="amd64" - -DEPEND="x11-libs/libdrm" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${PN}-1.12.178-revert-definitions.patch" ) - -src_configure() { - local mycmakeargs=( -DLINUX_DISTRO="Gentoo" ) - cmake_src_configure -} diff --git a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.14.180.ebuild b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.14.180.ebuild index 17dbe80af91d..f2ea6aaecbd1 100644 --- a/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.14.180.ebuild +++ b/dev-libs/intel-metrics-discovery/intel-metrics-discovery-1.14.180.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${MY_P}" LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~amd64" +KEYWORDS="amd64" DEPEND="x11-libs/libdrm" RDEPEND="${DEPEND}" diff --git a/dev-libs/intel-metrics-library/Manifest b/dev-libs/intel-metrics-library/Manifest index 2b85c87cf5a4..23564fb62344 100644 --- a/dev-libs/intel-metrics-library/Manifest +++ b/dev-libs/intel-metrics-library/Manifest @@ -1,5 +1,3 @@ -DIST metrics-library-1.0.182.tar.gz 271427 BLAKE2B 16431e1d4010f762a220876bf72b10d87f3c86478ed4f89fad0a56dbd04c2e95da7ef5a89f4f9fe443705d7ca9c8a78891f4eb69046f1e62c8b9dd1fafe18422 SHA512 5632956a5fd541840aa59a88a01a8b498ea94ed27a36f644e65bcfefdfef1e73d36908925d0b00f60bb152953227f1d17e882f554187695944e0b5b09751d3a2 DIST metrics-library-1.0.196.tar.gz 275635 BLAKE2B 8a8ce7fe78b68001509b9e21c59d6f5f885e5b1684da2bc1624fa5bee833730b0605f3d37fae341effb93676e1be5f4032852ac8293d084778d727c9f5e01af4 SHA512 50513b8e7fefcfdd4eeec92c0286de4140799cd3bb2cadc548cfdbfe4e5d17bd2f2c0f92c12d2608aed0f5ea741bfcb8fe1789e839b16b1581e2fdcdda63875f -EBUILD intel-metrics-library-1.0.182.ebuild 633 BLAKE2B 37f8f3b0a1962f1696f9da72c4c4edcdd9015c0dfa423d2f2c30f127b99ac807096795a098568eed8230104e285c1f3a4b270ab7198236d35a0554e6c6f1ab8b SHA512 9bf5067ab8a3cf7b9df67de51ae1b3af469559dfd2245e369199f3414f806bb2bf20162e566d39d15d7fd51946cdf533942d1a3985f3dd7eb32a4ea15c59a20e -EBUILD intel-metrics-library-1.0.196.ebuild 634 BLAKE2B 15f7f7ece9f3501204a172627ddf2e54aca6e828c3f64ef04d9a182042541adf1b15816c5f3fc7aa78eb85b19cf96d58c9aa72873658336a4fb6ae62f71d1ad9 SHA512 8c2f99c0bfb70872be935b6aeb5354263a70bdf7efb1b77b5b9f74b891ee6628edc78da2372f47b5a3b84e71cb1a1b750837f21444e4798f18b187f1708e74f9 +EBUILD intel-metrics-library-1.0.196.ebuild 633 BLAKE2B 37f8f3b0a1962f1696f9da72c4c4edcdd9015c0dfa423d2f2c30f127b99ac807096795a098568eed8230104e285c1f3a4b270ab7198236d35a0554e6c6f1ab8b SHA512 9bf5067ab8a3cf7b9df67de51ae1b3af469559dfd2245e369199f3414f806bb2bf20162e566d39d15d7fd51946cdf533942d1a3985f3dd7eb32a4ea15c59a20e MISC metadata.xml 904 BLAKE2B 9b29e523b88f3d4eef193b4ecd90f03bf74d4e8521d3691bcc3518fc4133e4a97142b2d0f9a1354d86ea913ca79fa74972e99fe63a21eee7bb0fee78dd414e25 SHA512 ea9cd435e8b72549945ca370d318a84d03d8330ea995f726aa29f6c6a8fb1f353c9b5c2eab2fc56a2e89ffa6beb019be2a291f3f64d7a8e5782efc0c3935cebd diff --git a/dev-libs/intel-metrics-library/intel-metrics-library-1.0.182.ebuild b/dev-libs/intel-metrics-library/intel-metrics-library-1.0.182.ebuild deleted file mode 100644 index 94876ae6b3b0..000000000000 --- a/dev-libs/intel-metrics-library/intel-metrics-library-1.0.182.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_BUILD_TYPE="Release" -MY_PN="${PN/intel-/}" -MY_P="${MY_PN}-${PV}" - -inherit cmake - -DESCRIPTION="User mode driver helper library that provides access to GPU performance counters" -HOMEPAGE="https://github.com/intel/metrics-library" -SRC_URI="https://github.com/intel/${MY_PN}/archive/refs/tags/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_PN}-${MY_P}" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="amd64" - -DEPEND="x11-libs/libdrm" -RDEPEND="${DEPEND}" - -src_prepare() { - sed -e '/-Werror/d' -i CMakeLists.txt || die - cmake_src_prepare -} diff --git a/dev-libs/intel-metrics-library/intel-metrics-library-1.0.196.ebuild b/dev-libs/intel-metrics-library/intel-metrics-library-1.0.196.ebuild index b1d5d4e7da34..94876ae6b3b0 100644 --- a/dev-libs/intel-metrics-library/intel-metrics-library-1.0.196.ebuild +++ b/dev-libs/intel-metrics-library/intel-metrics-library-1.0.196.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${MY_P}" LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~amd64" +KEYWORDS="amd64" DEPEND="x11-libs/libdrm" RDEPEND="${DEPEND}" diff --git a/dev-libs/level-zero/Manifest b/dev-libs/level-zero/Manifest index 2f96648920cc..288c6adca86c 100644 --- a/dev-libs/level-zero/Manifest +++ b/dev-libs/level-zero/Manifest @@ -1,13 +1,7 @@ -DIST level-zero-1.20.2.tar.gz 900836 BLAKE2B 9dd22b518b72a08906f4fa4538b7f6642e5627d7659e5e52e3733bfcd9a85cae89874b4b1caf305ce3e5c03b40292fc97d53923cb0f886a1c2b9c3a9f937a652 SHA512 86bd21b034aaa4e0ce8f554a6563f41e622fcf39895c012dcc79d472e35f878dc759b103e9d2b7daac71e4943344a7afddd1f3c7ab889949b09b4cf8e0947589 -DIST level-zero-1.20.3.tar.gz 906836 BLAKE2B 6311430a6517b69a417141e28e6bfb7e7b276fd0110330f647932bc0bdb9dd3229281b973389b07589d2f3d9ee0ff53d2b2bf08be697f63a521df3992be68412 SHA512 51bae0cc2113e9a2d634b9569a4846e5a993dddb101c30284ffba13ab2473bc642efd53c8bdd5df38727a64753e38285ac7cf3f5d109185da5d0e5dafde67222 -DIST level-zero-1.20.4.tar.gz 906450 BLAKE2B 7acaa19280e5b37a81f6e7bda3ed2c3afc66a655141a61107c665dfa0e5cdcdda4103e766b33ea78c93110bb5ad708cb7d70a3a50237bba3ad859c30ea536eb9 SHA512 ebbdd3b849df4d5a5e561ebb4ae4743c777f2ab047e81e31822c0d29e3b5661c56b0dafded0103e31e65bbf98491b856d13b79a79c0fa41b6e5ad7aa7bf7a5e5 DIST level-zero-1.20.6.tar.gz 918321 BLAKE2B 21936943bc3836adbd97bca673c554e49f1209cbb0cfe46672c833a6a4bdbea9e1be82a483bbbb38f6c2212ae79604446656b8c32a98fd472c6327610e84a2fd SHA512 128b5b2eafd28f4d1ebfab26743df3ed433e64f640c682c3a40e3d7f30fd25e5b6c9aa6661207d993d0ab0ece2490342489cf59c32b2eb7ab76d937519c7eed0 DIST level-zero-1.21.1.tar.gz 922104 BLAKE2B 809ed5dbf2f39a57466eaea3fda229a6d2fdd2cd0d6fe83ebef111a7ee17bef15cb3390bac5ff93923b60a673c32ad8a07395c96bd1a78493e4e52b9e5f2f742 SHA512 584eec3601fd1eb826518a29302bcdecdc0ab3bac0d6ecb4bf6654aeec10cef04f4a57113c5734ede828191be956aa316a4e264bb807edd7e97f93b1364c708c DIST level-zero-1.21.2.tar.gz 924737 BLAKE2B cbcd845587035b5df29e8f1f95469ab9fe375470a12977deb554fe20ca7d2a6c65847c3702a1b38d8fe2ca68e694ef24e86808a8ec22071a54ac81a7fb47ad92 SHA512 eb2936cdaf983b8f9f991281e7d2fb8c5644ed131199bb10b4c5ff04ecbcf263473558447985b91df6bf2f847889a2b6555218a5de3e1925d1137508bf212f0b -EBUILD level-zero-1.20.2.ebuild 847 BLAKE2B ac0df5aabfe7bf9254d7b20d010fe55f8e1ed50c95e82f66686e98f2924a61d67456609ac3de91c625c8e18f8c983d59619dbe8a429dcaf5a8e08d534e022f26 SHA512 638f065118c672bc51d5e8ff47808208fef030a79e8d1a8e6e19653740239a91484dbb7d0627328d1a01bb494bbdb1fcabef335fa402cef63b7074176305740c -EBUILD level-zero-1.20.3.ebuild 848 BLAKE2B 50d777352fc6eaf2d223c91e80635ccb411ec45f8e168a939648f995588dfb321ef762028d802416bc8a45498d84bbaaca47e50348a27c23a07fd4cfb59dceed SHA512 427054bd9546a77f059b5c2e51f556dbc3562568958ba4ec824dac903fccd3dd3bcc8549cefb8121827033a28ec9a63e9f870fbca36bb47b773d1f5e5c3e662f -EBUILD level-zero-1.20.4.ebuild 848 BLAKE2B 50d777352fc6eaf2d223c91e80635ccb411ec45f8e168a939648f995588dfb321ef762028d802416bc8a45498d84bbaaca47e50348a27c23a07fd4cfb59dceed SHA512 427054bd9546a77f059b5c2e51f556dbc3562568958ba4ec824dac903fccd3dd3bcc8549cefb8121827033a28ec9a63e9f870fbca36bb47b773d1f5e5c3e662f -EBUILD level-zero-1.20.6.ebuild 848 BLAKE2B 50d777352fc6eaf2d223c91e80635ccb411ec45f8e168a939648f995588dfb321ef762028d802416bc8a45498d84bbaaca47e50348a27c23a07fd4cfb59dceed SHA512 427054bd9546a77f059b5c2e51f556dbc3562568958ba4ec824dac903fccd3dd3bcc8549cefb8121827033a28ec9a63e9f870fbca36bb47b773d1f5e5c3e662f +EBUILD level-zero-1.20.6.ebuild 847 BLAKE2B ac0df5aabfe7bf9254d7b20d010fe55f8e1ed50c95e82f66686e98f2924a61d67456609ac3de91c625c8e18f8c983d59619dbe8a429dcaf5a8e08d534e022f26 SHA512 638f065118c672bc51d5e8ff47808208fef030a79e8d1a8e6e19653740239a91484dbb7d0627328d1a01bb494bbdb1fcabef335fa402cef63b7074176305740c EBUILD level-zero-1.21.1.ebuild 848 BLAKE2B 50d777352fc6eaf2d223c91e80635ccb411ec45f8e168a939648f995588dfb321ef762028d802416bc8a45498d84bbaaca47e50348a27c23a07fd4cfb59dceed SHA512 427054bd9546a77f059b5c2e51f556dbc3562568958ba4ec824dac903fccd3dd3bcc8549cefb8121827033a28ec9a63e9f870fbca36bb47b773d1f5e5c3e662f EBUILD level-zero-1.21.2.ebuild 848 BLAKE2B 50d777352fc6eaf2d223c91e80635ccb411ec45f8e168a939648f995588dfb321ef762028d802416bc8a45498d84bbaaca47e50348a27c23a07fd4cfb59dceed SHA512 427054bd9546a77f059b5c2e51f556dbc3562568958ba4ec824dac903fccd3dd3bcc8549cefb8121827033a28ec9a63e9f870fbca36bb47b773d1f5e5c3e662f MISC metadata.xml 586 BLAKE2B 44eca05640a9276ea9cbddccc0d199dc8c7297a3fbf5ad6b58693c406961efa2aabf99501faaace47ce6bb97736fe371533e89a5a700949b03db66359222b269 SHA512 da9b222b216ed217842f236eeb1991e31ec4f140d86c0a048e9e401a18018d90d6ad8d4f10edec8b71386687bc9481ebf9154a1190bf6969d4fab04bba20100e diff --git a/dev-libs/level-zero/level-zero-1.20.2.ebuild b/dev-libs/level-zero/level-zero-1.20.2.ebuild deleted file mode 100644 index 3d4bf0c57a6f..000000000000 --- a/dev-libs/level-zero/level-zero-1.20.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="oneAPI Level Zero headers, loader and validation layer" -HOMEPAGE="https://github.com/oneapi-src/level-zero" -SRC_URI="https://github.com/oneapi-src/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="amd64" - -RDEPEND="dev-libs/spdlog:=" -DEPEND="${RDEPEND}" - -src_prepare() { - # Don't hardcore -Werror - sed -e 's/-Werror//g' -i CMakeLists.txt || die - - cmake_src_prepare - - # According to upstream, release tarballs should contain this file but at least - # some of them do not. Fortunately it is trivial to make one ourselves. - echo "$(ver_cut 3)" > "${S}"/VERSION_PATCH || die -} - -src_configure() { - local mycmakeargs=( - -DSYSTEM_SPDLOG="ON" - ) - - cmake_src_configure -} diff --git a/dev-libs/level-zero/level-zero-1.20.3.ebuild b/dev-libs/level-zero/level-zero-1.20.3.ebuild deleted file mode 100644 index 7855ea438290..000000000000 --- a/dev-libs/level-zero/level-zero-1.20.3.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="oneAPI Level Zero headers, loader and validation layer" -HOMEPAGE="https://github.com/oneapi-src/level-zero" -SRC_URI="https://github.com/oneapi-src/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~amd64" - -RDEPEND="dev-libs/spdlog:=" -DEPEND="${RDEPEND}" - -src_prepare() { - # Don't hardcore -Werror - sed -e 's/-Werror//g' -i CMakeLists.txt || die - - cmake_src_prepare - - # According to upstream, release tarballs should contain this file but at least - # some of them do not. Fortunately it is trivial to make one ourselves. - echo "$(ver_cut 3)" > "${S}"/VERSION_PATCH || die -} - -src_configure() { - local mycmakeargs=( - -DSYSTEM_SPDLOG="ON" - ) - - cmake_src_configure -} diff --git a/dev-libs/level-zero/level-zero-1.20.4.ebuild b/dev-libs/level-zero/level-zero-1.20.4.ebuild deleted file mode 100644 index 7855ea438290..000000000000 --- a/dev-libs/level-zero/level-zero-1.20.4.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="oneAPI Level Zero headers, loader and validation layer" -HOMEPAGE="https://github.com/oneapi-src/level-zero" -SRC_URI="https://github.com/oneapi-src/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~amd64" - -RDEPEND="dev-libs/spdlog:=" -DEPEND="${RDEPEND}" - -src_prepare() { - # Don't hardcore -Werror - sed -e 's/-Werror//g' -i CMakeLists.txt || die - - cmake_src_prepare - - # According to upstream, release tarballs should contain this file but at least - # some of them do not. Fortunately it is trivial to make one ourselves. - echo "$(ver_cut 3)" > "${S}"/VERSION_PATCH || die -} - -src_configure() { - local mycmakeargs=( - -DSYSTEM_SPDLOG="ON" - ) - - cmake_src_configure -} diff --git a/dev-libs/level-zero/level-zero-1.20.6.ebuild b/dev-libs/level-zero/level-zero-1.20.6.ebuild index 7855ea438290..3d4bf0c57a6f 100644 --- a/dev-libs/level-zero/level-zero-1.20.6.ebuild +++ b/dev-libs/level-zero/level-zero-1.20.6.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/oneapi-src/${PN}/archive/refs/tags/v${PV}.tar.gz -> LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~amd64" +KEYWORDS="amd64" RDEPEND="dev-libs/spdlog:=" DEPEND="${RDEPEND}" diff --git a/dev-libs/libburn/Manifest b/dev-libs/libburn/Manifest index f329e06581f7..557dc4deca3d 100644 --- a/dev-libs/libburn/Manifest +++ b/dev-libs/libburn/Manifest @@ -1,4 +1,6 @@ AUX libburn-1.5.6-c23.patch 719 BLAKE2B ec36199721d463e36342cfc621f0f26e20e84cb6a7af65fa6a00f254f2a8f173bcfd03b3038071429d75f25da230e014a041f265589b3b03ce7a4300665f9dbc SHA512 c2e9f8d6d59ab720c6aad986b09eca3e391824745af4398b39811f65fbe62ce9b34413face61f7644ab6cacf8dc3b7107b1d29ca7c08f1ec98860eed97eb5fea +AUX libburn-1.5.6_slibtool.patch 831 BLAKE2B 417efbb3f1e50990d6914dc708bddcfcd8aaadf57b47315719901caaf0bb0a26869e32e804ca53f98d4824d80bb11fe8db6dd63bcd1e99a6339c6f0fb4e57970 SHA512 e970cc220c9dcbe80344afe3d93d74daaa5a5a77fa0313d9d83daa2e5d19ae7b918f9c48bd3c319cbb84a7cc771f241a180c58ea617c4ca21d276278d003a2ac DIST libburn-1.5.6.tar.gz 995353 BLAKE2B 2c4b2e0a191c2a02327177bc5acd418d14a0c6eb9de065de171b0c4240a8bd7746ab2fd775fa1f0433bc1fe98dd47620524ec2954f4aa0f2015557cf881a5d3f SHA512 549cb25310aac5ce445639374d84f0c09fb1fdd70be97479588775e5afcc12dd0655c5bf51bd3f1bf8c06a66b318fd1e709dcfd72845e795ffaf353ea621accd EBUILD libburn-1.5.6-r1.ebuild 1032 BLAKE2B c44f294bc962fcbd9bf93877b6b4d803f77200f014b3564ab35bceaea66ec74468eb875afa93d35762fef6d63ed533acfec272d3c46b5b2cee527952af467f5a SHA512 db75df6ca9730ec74ad31b193643ff6904742db4e15f8ac0158acdaa202d244294ef502d0a46b0dcd7112520f558a2a91a293551445f858faabe27b6865a02de -MISC metadata.xml 244 BLAKE2B 81e7bffb2ab3a3015b9a90bb48d0f62a65b55840b50a77f41b24961c3d9f682405c866b25a88c900785d60f669e60791607921808b988ab3ae525e31933e6067 SHA512 d4a328a1ed124445554a4a6f16cd5d9021314f6f4634c9e2866a68ca318220889554603e405c7aba69e9135cb5848de9bbf361f923fd3c0a5a6c803345351b93 +EBUILD libburn-1.5.6-r2.ebuild 1074 BLAKE2B 77e307722e4fecb5b8064800fa52ccc0acaee1cfc0fdfc277b94fc423ce6910fe15e53cd1540c647cec8bd8681a09335fd6316363c44e1051d9e481be1a06782 SHA512 f26c6652c83e06d7af860c583d5cd503e391a795829dcbbf7bd522699d3b214ae7c9535fcd92165e0bb4015370fd33652e84e130cd5039c0a60c522102792dba +MISC metadata.xml 438 BLAKE2B a0d7d53cf8ae0e58f584b70a09d4bb335909272bbea0dba6f39fc8a20d28f55d2b577b629b836f5bcee6f09ff3d8d4910feee9519eaedc9c59f813667c1ebfc7 SHA512 bca9c9a03cf0222a085560d01c1a26aaaf145b94f1796923cc88eaff05f1ec4b849c655b77b35032b26fe937faa7467155f9db08322de3a2c3c5c4ff34503c57 diff --git a/dev-libs/libburn/files/libburn-1.5.6_slibtool.patch b/dev-libs/libburn/files/libburn-1.5.6_slibtool.patch new file mode 100644 index 000000000000..d4c8df2cf262 --- /dev/null +++ b/dev-libs/libburn/files/libburn-1.5.6_slibtool.patch @@ -0,0 +1,26 @@ +From 10814feab217da4bcfaea45ff9cd48252e26b3e1 Mon Sep 17 00:00:00 2001 +From: Thomas Schmitt <scdbackup@gmx.net> +Date: Mon, 24 Mar 2025 08:49:31 +0100 +Subject: [PATCH] Added to configure.ac explicit checks for stdint.h, + inttypes.h, stdlib.h because slibtool does not put them into ./configure by + default + +--- + configure.ac | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 2681362..9fec1ce 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -197,7 +197,9 @@ AC_SUBST(LIBTOOL_DEPS) + + AC_PROG_INSTALL + +-AC_CHECK_HEADERS() ++dnl GNU libtool checks them by default/unconditionally, but slibtool does not. ++dnl So accept the ugly double check and -DHAVE_*_H arguments with GNU libtool. ++AC_CHECK_HEADERS(stdint.h inttypes.h stdlib.h) + + THREAD_LIBS=-lpthread + AC_SUBST(THREAD_LIBS) diff --git a/dev-libs/libburn/libburn-1.5.6-r2.ebuild b/dev-libs/libburn/libburn-1.5.6-r2.ebuild new file mode 100644 index 000000000000..af70555c941d --- /dev/null +++ b/dev-libs/libburn/libburn-1.5.6-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Open-source library for reading, mastering and writing optical discs" +HOMEPAGE="https://dev.lovelyhq.com/libburnia/web/wiki/Libburn" +SRC_URI="https://files.libburnia-project.org/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="debug static-libs" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + ${RDEPEND} +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.6-c23.patch + "${FILESDIR}"/${PN}-1.5.6_slibtool.patch +) + +src_prepare() { + default + + # Ancient libtool version in 1.5.6 at least (debian's 2.4.2-1.11) + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + --disable-ldconfig-at-install \ + $(use_enable debug) +} + +src_install() { + default + + dodoc CONTRIBUTORS doc/{comments,*.txt} + + docinto cdrskin + dodoc cdrskin/{*.txt,README} + docinto cdrskin/html + dodoc cdrskin/cdrskin_eng.html + + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libburn/metadata.xml b/dev-libs/libburn/metadata.xml index 4b673d074f3e..5176dabdde70 100644 --- a/dev-libs/libburn/metadata.xml +++ b/dev-libs/libburn/metadata.xml @@ -5,4 +5,9 @@ <email>billie@gentoo.org</email> <name>Daniel Pielmeier</name> </maintainer> +<maintainer type="person" proxied="yes"> +<email>scdbackup@gmx.net</email> +<name>Thomas Schmitt</name> +<description>Upstream - please CC on bugs that concern upstream</description> +</maintainer> </pkgmetadata> diff --git a/dev-libs/libevdev/Manifest b/dev-libs/libevdev/Manifest index c32499ed1818..61409df28df4 100644 --- a/dev-libs/libevdev/Manifest +++ b/dev-libs/libevdev/Manifest @@ -1,4 +1,6 @@ DIST libevdev-1.13.3.tar.xz 460660 BLAKE2B d4a808ad13e7e5b818bde0b885eb53e109afb0d0ec9b72a80a05a36135c3db955efd092b8f91f0f2393a1f717e2517ed916326dbb32eae13275b89ee0f40003a SHA512 24330c7f6f003c95da97dcb66fcc750437db59ac9049415c35cbcaa1612845363a59180da6b3120c81d7d3f969adb139fa023ed765223e185fb68465d45a0fd2 +DIST libevdev-1.13.4.tar.xz 464556 BLAKE2B 05560ddbbeab9aa8e7cf3964d5ea7cb692d5f4381d6ab458fc27b719e3df4e0ea239f688eeb0912987796800aa38c61ddbc320780a33c59e3b603d188e08be7b SHA512 7afb3f5652982d861623c8d2e61d02dca094d360e20afb7bc30eee6d6d79d8724aae700a83fd96bc8ffe8a026f1fdf347acfd8e31fa5849f4a89a7af5c6a54ab EBUILD libevdev-1.13.3.ebuild 1120 BLAKE2B bbcb4459b5e2164648c9dbe05734470323893fe5eb130251f09186e511debc8a03a71d23b96748e63409102dbcfc8cb41a181346a423baa9bc1aff79cbd3645d SHA512 2476a49f8fd5ee3483e00a17dac3bfdd26ef7a51d2b3e6019740bb64465fd1931b590e82cb28de82655a94a5f8118a3f98c54799ecbc5471d6fa8c5d0959836f +EBUILD libevdev-1.13.4.ebuild 1128 BLAKE2B 48c490eead065fa5af802ce6a9bcfa123ea07ed7123d47d0270afcb0dc6cab1496c64e65c68397024675d92bb6237f697090a71548bd76f353f794472580d319 SHA512 35312161db8c26fa8b992e4bce3bcbfbdccb618fa7d03ea19adaa37953614767d8331053589594504066e0a660e6dba5aa63d49bae31dc08027a09f57661193c EBUILD libevdev-9999.ebuild 1115 BLAKE2B d3117486e56864aead1dd0e48b81cb45f7209e499955f54665fb353f5c1fd6c6cf7057e496b8cf525c9ca557a0edf50e4fd93bfd1bba6ad5630c1955c7c250a0 SHA512 423421b0eb575ce5f4ef75f913b98ad193095a00c65867d36c99029a904beac2fc6b2e8e8b2d3ed714529c0ec0eb83135f0e239da7cdf2c3014ecfceeb5e04ab MISC metadata.xml 339 BLAKE2B 17485a5a6202c366cf975f0c34aeb9521d5190f2ada003bdcae8c3e561740b3b43809b177baa2cab87de46e2f234b48df5bfa6c8df5dc2674f95e6206f0e4398 SHA512 26ff955c224a24cd58bf4eed14d99a0b7cf1b078e0d93bbd115a9193656180f112cb0f27bc6d35b2ff2e062a58775fc4b4310d6ffeee322b39963143f079b3b8 diff --git a/dev-libs/libevdev/libevdev-1.13.4.ebuild b/dev-libs/libevdev/libevdev-1.13.4.ebuild new file mode 100644 index 000000000000..1651d5de0032 --- /dev/null +++ b/dev-libs/libevdev/libevdev-1.13.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit meson-multilib python-any-r1 + +DESCRIPTION="Handler library for evdev events" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/ https://gitlab.freedesktop.org/libevdev/libevdev" + +if [[ ${PV} == 9999* ]] ; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/libevdev/libevdev.git" + inherit git-r3 +else + SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="doc test" + +DEPEND="test? ( dev-libs/check[${MULTILIB_USEDEP}] )" +BDEPEND=" + ${PYTHON_DEPS} + doc? ( app-text/doxygen ) + virtual/pkgconfig +" +RESTRICT="!test? ( test )" + +multilib_src_configure() { + local emesonargs=( + $(meson_feature doc documentation) + $(meson_feature test tests) + ) + meson_src_configure +} + +multilib_src_test() { + meson_src_test -t 100 +} + +multilib_src_install_all() { + if use doc; then + local HTML_DOCS=( doc/html/. ) + einstalldocs + fi +} diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest index aed1cabe5006..b34d6d3a1d71 100644 --- a/dev-libs/libinput/Manifest +++ b/dev-libs/libinput/Manifest @@ -1,3 +1,5 @@ DIST libinput-1.27.1.tar.bz2 844741 BLAKE2B 816977ea6fdc84c160523ad574801f818cdf9f8da5b0ebe30e04a71c2d1ebd15e1530cacf4d56893ef3e23fa14cd7bcd25b6ce6661adf291e8d7a9d4ab2b7752 SHA512 c8312000d7ce8c6f209b233177358c53dc830769cf2a80bd23ceebb408a0371de668846a5d1321b6ef803b3c17af5c0aba941ce5a2dc1fac6a0d5d791a13088b +DIST libinput-1.28.0.tar.bz2 863909 BLAKE2B 545e38f34be0ada14535f5928fa0863eedee5109f2aa191d780bdbfb4d67f81a1b6cb05ffdb39dc19d3f5e598e491acc4d1b91ddbf84ad69940c1988ff0d8f57 SHA512 2665fbfbf47f8ef329e387841ff9542b6191925d2fb46a19be64ef0b2e274db3b9ce8b42652ccdeb18c66e3a3c748ff576b313ecb8f7f6b4a01102bfb3e999e3 EBUILD libinput-1.27.1.ebuild 2373 BLAKE2B c009882ac5c3bae6e7a06654658f56eddb7e09519b6a186ac1cef70f02933f10266411dfd31d8f684a018f970ad3a40d32915df5475daffbe0bf132fd632745a SHA512 c3ad9e952b1ab6fe2de559c4aab5254fa9ecb0fd65d863b620304fc0bc5b4a8b7020eb052b6a4d324c00d10b51a4f57d45b8692475fc22ce6c0541a6a8bb49a4 +EBUILD libinput-1.28.0.ebuild 2380 BLAKE2B 979af13fca07832ef74589cd275a268f7a04f16d90576613a4c60ba4e3b540ca9ab6e597b1e73b88e1be67efd0168784a351bb49331001ffc78b4d4090bc3cd7 SHA512 1845cf1bc55e7a8c2aa707a85805dd5992a9105d6c311cbdf56392012360d96959ccfc87c71753e0dafc41aa973c5720ee2b441327d3541f1cfb31582090c44e MISC metadata.xml 339 BLAKE2B c649f0ffaad1b1dc76c3d3184d95356b2925f642ff6b96c3eba0c31a1d96c3d9b741c1348f8ec90d02428c30a836872fe4e42e7ab5f5e5197f4a787f9147a1a8 SHA512 e9aeca6cc4451ab5b622f597f8debaecfdc672244e5e0b687ac294c20009ba42fb2ccc45e7016a2427312e1c768259005e0a7ff53026087570382652ec23cb60 diff --git a/dev-libs/libinput/libinput-1.28.0.ebuild b/dev-libs/libinput/libinput-1.28.0.ebuild new file mode 100644 index 000000000000..3b150a3add3f --- /dev/null +++ b/dev-libs/libinput/libinput-1.28.0.ebuild @@ -0,0 +1,102 @@ +# Copyright 2014-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit meson optfeature python-any-r1 udev + +DESCRIPTION="Library to handle input devices in Wayland" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/ https://gitlab.freedesktop.org/libinput/libinput" +SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0/10" +if [[ $(ver_cut 3) -lt 900 ]] ; then + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi +IUSE="doc input_devices_wacom test" +RESTRICT="!test? ( test )" + +RDEPEND=" + input_devices_wacom? ( >=dev-libs/libwacom-0.27:= ) + >=dev-libs/libevdev-1.9.902 + >=sys-libs/mtdev-1.1 + virtual/libudev:= + virtual/udev +" +DEPEND=" + ${RDEPEND} + test? ( >=dev-libs/check-0.9.10 ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( + $(python_gen_any_dep ' + dev-python/commonmark[${PYTHON_USEDEP}] + dev-python/recommonmark[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/sphinx-rtd-theme-0.2.4[${PYTHON_USEDEP}] + ') + >=app-text/doxygen-1.8.3 + >=media-gfx/graphviz-2.38.0 + ) + test? ( + $(python_gen_any_dep ' + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ') + ) +" +# test? ( dev-debug/valgrind ) + +python_check_deps() { + if use doc; then + python_has_version \ + "dev-python/commonmark[${PYTHON_USEDEP}]" \ + "dev-python/recommonmark[${PYTHON_USEDEP}]" \ + "dev-python/sphinx[${PYTHON_USEDEP}]" \ + ">=dev-python/sphinx-rtd-theme-0.2.4[${PYTHON_USEDEP}]" \ + || return + fi + if use test; then + python_has_version \ + "dev-python/pytest[${PYTHON_USEDEP}]" \ + "dev-python/pytest-xdist[${PYTHON_USEDEP}]" \ + || return + fi +} + +src_prepare() { + default + sed "s@, '-Werror'@@" -i meson.build || die #744250 +} + +src_configure() { + # gui can be built but will not be installed + local emesonargs=( + -Ddebug-gui=false + $(meson_use doc documentation) + $(meson_use input_devices_wacom libwacom) + $(meson_use test tests) + -Dudev-dir="${EPREFIX}$(get_udevdir)" + ) + meson_src_configure +} + +src_install() { + meson_src_install + if use doc ; then + docinto html + dodoc -r "${BUILD_DIR}"/Documentation/. + fi +} + +pkg_postinst() { + optfeature "measure and replay tools" dev-python/libevdev + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/dev-libs/libisoburn/Manifest b/dev-libs/libisoburn/Manifest index f1a2548c6e69..207980eb9578 100644 --- a/dev-libs/libisoburn/Manifest +++ b/dev-libs/libisoburn/Manifest @@ -1,3 +1,5 @@ +AUX libisoburn-1.5.6_slibtool.patch 918 BLAKE2B 430a990dcfb551f506d5a3d4397cf34dd31c20af53feacc24d49bcbc0a3c8ee5b0c4cc4c3414c3c30d60f7d6a595e186646251c60e8679cd6219870594dc3e41 SHA512 0b70873bba0f4bce594f767730d3fbe11ea46c465d07a19d3431d34009acd5a2423790ede39abfc88597a5f65692657ae93936c150d1711c9a17816c3d90b933 DIST libisoburn-1.5.6.tar.gz 1650966 BLAKE2B 56246feb390532588861944944de50fc6e70afa284da78a33e6a1c3a37fdf02cd8362dce2fc59c8f0017cc475eb15db47841759f376342d411d0518e9ba49c9b SHA512 0fc0058aa4cf755f30d5be0de808012978c657348412c7f129b8f8128da41f18216f3e039050a5851b557ffab344cf7dc44df374400ca008e34e2e2524fbd979 EBUILD libisoburn-1.5.6-r1.ebuild 2013 BLAKE2B 4ddfa4aa7170220e93345c61e242e62beba59605abdb15ced85fa32b6a46a7228e34e0828b36e6d1dbadfb448980f6f20df80606228283ac6e6519fce25e8b04 SHA512 ed29b5840a5219779ca6aa73df46b33dc8ac361981634404b6ea28eae81427d0ebe6d451b1bf21f52882aa81ecd7a630ee0bb60f12bc682fbfb66b68bf912896 -MISC metadata.xml 830 BLAKE2B c89f5f41f77640a55e5e48c2e1b16fa87fab35fd6b9b2d5c428e3ad700aaa088682d1ff6ca1ca674025b2b110cad722453b9a80889e81d021e941d41d7e14fcd SHA512 b687baf3d21a495da1036196fc653b92934d2de797ff0b149dfd94a81dde6d965778db7b8fd4284ae09cb07d01205eaa983f586bf4adee7092d1b3b3a8b72ed9 +EBUILD libisoburn-1.5.6-r2.ebuild 2068 BLAKE2B 4b40bb701ad1e4a5747e559222864f956357062af3a7bdbcd9999de4d38d48e458ee327732f1d4abe3b76da5ad5ddffe0ae0d3c07362ad2e9f9192cd9fef9975 SHA512 a0ceb62a901be9597b8ef9558749c4f5892ae944567d11961c540ca392156ed2801d508cd332d04a097fab21f4503aa4d8d431353ad03d243da0aece0c62292f +MISC metadata.xml 1024 BLAKE2B b26861cdf04504cd2de0ce50a2c5b81e5165400535cbe09a4abe5d3ce9471122e47280520a2fa65b559f249eecdb897852d27b68d1f9c1c0a98568206326f3ea SHA512 e033c36c8b35bf2fd4713e6b398055eae470afb26e343377c9d565f61b81128f227b30f44a38e4b3d39ac171b927b9561fd47d25cc1eb14e63c92c36c98922fc diff --git a/dev-libs/libisoburn/files/libisoburn-1.5.6_slibtool.patch b/dev-libs/libisoburn/files/libisoburn-1.5.6_slibtool.patch new file mode 100644 index 000000000000..9acef74c0c49 --- /dev/null +++ b/dev-libs/libisoburn/files/libisoburn-1.5.6_slibtool.patch @@ -0,0 +1,27 @@ +From 1098709bf4a5177bb9953d5eebeb5fc4f0191676 Mon Sep 17 00:00:00 2001 +From: Thomas Schmitt <scdbackup@gmx.net> +Date: Mon, 24 Mar 2025 08:54:42 +0100 +Subject: [PATCH] Added to configure.ac explicit checks for stdint.h, + inttypes.h, stdlib.h because slibtool does not put them into ./configure by + default + +--- + configure.ac | 4 +++- + xorriso/configure_ac.txt | 4 +++- + 2 files changed, 6 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 8828c183..ac3b5fc7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -97,7 +97,9 @@ AC_SUBST(LIBTOOL_DEPS) + + AC_PROG_INSTALL + +-AC_CHECK_HEADERS() ++dnl GNU libtool checks them by default/unconditionally, but slibtool does not. ++dnl So accept the ugly double check and -DHAVE_*_H arguments with GNU libtool. ++AC_CHECK_HEADERS(stdint.h inttypes.h stdlib.h) + + dnl Check for tm_gmtoff field in struct tm + AC_CHECK_MEMBER([struct tm.tm_gmtoff], diff --git a/dev-libs/libisoburn/libisoburn-1.5.6-r2.ebuild b/dev-libs/libisoburn/libisoburn-1.5.6-r2.ebuild new file mode 100644 index 000000000000..a50dca625aa1 --- /dev/null +++ b/dev-libs/libisoburn/libisoburn-1.5.6-r2.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Creation/expansion of ISO-9660 filesystems on CD/DVD media supported by libburn" +HOMEPAGE="https://dev.lovelyhq.com/libburnia/web/wiki/Libisoburn" +SRC_URI="https://files.libburnia-project.org/releases/${P}.tar.gz" + +LICENSE="GPL-2 GPL-3" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="acl debug external-filters external-filters-setuid frontend-optional + launch-frontend launch-frontend-setuid libedit readline static-libs xattr zlib" + +REQUIRED_USE="frontend-optional? ( || ( launch-frontend launch-frontend-setuid ) )" + +BDEPEND=" + virtual/pkgconfig +" +RDEPEND=" + >=dev-libs/libburn-1.5.6 + >=dev-libs/libisofs-1.5.6 + readline? ( sys-libs/readline:0= ) + !readline? ( + libedit? ( dev-libs/libedit ) + ) + acl? ( virtual/acl ) + xattr? ( sys-apps/attr ) + zlib? ( sys-libs/zlib ) + launch-frontend? ( + dev-lang/tcl:0 + dev-lang/tk:0 + ) + launch-frontend-setuid? ( + dev-lang/tcl:0 + dev-lang/tk:0 + ) + frontend-optional? ( dev-tcltk/bwidget ) +" +DEPEND=" + ${RDEPEND} +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.6_slibtool.patch +) + +src_prepare() { + default + + # Ancient libtool version in 1.5.6 at least (debian's 2.4.2-1.11) + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable readline libreadline) \ + $(usex readline --disable-libedit $(use_enable libedit)) \ + $(use_enable acl libacl) \ + $(use_enable xattr) \ + $(use_enable zlib) \ + --disable-libjte \ + $(use_enable external-filters) \ + $(use_enable external-filters-setuid) \ + $(use_enable launch-frontend) \ + $(use_enable launch-frontend-setuid) \ + --disable-ldconfig-at-install \ + --enable-pkg-check-modules \ + $(use_enable debug) +} + +src_install() { + default + + dodoc CONTRIBUTORS doc/{comments,*.wiki,startup_file.txt} + + docinto frontend + dodoc frontend/README-tcltk + docinto xorriso + dodoc xorriso/{changelog.txt,README_gnu_xorriso} + + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libisoburn/metadata.xml b/dev-libs/libisoburn/metadata.xml index 177faafffae8..f9d59cd757a3 100644 --- a/dev-libs/libisoburn/metadata.xml +++ b/dev-libs/libisoburn/metadata.xml @@ -5,6 +5,11 @@ <email>billie@gentoo.org</email> <name>Daniel Pielmeier</name> </maintainer> +<maintainer type="person" proxied="yes"> +<email>scdbackup@gmx.net</email> +<name>Thomas Schmitt</name> +<description>Upstream - please CC on bugs that concern upstream</description> +</maintainer> <use> <flag name="external-filters">Allow the use of external processes as file content filters (Note: this is a potential security risk)</flag> diff --git a/dev-libs/libisofs/Manifest b/dev-libs/libisofs/Manifest index 69e9e3298c51..86912f493199 100644 --- a/dev-libs/libisofs/Manifest +++ b/dev-libs/libisofs/Manifest @@ -1,3 +1,5 @@ +AUX libisofs-1.5.6_slibtool.patch 847 BLAKE2B c1ae4b987fda39eaf1283b208ccc2a94359b97244d040d6546340ac94465a2da52b4178391c789085145e81d5e3ace7858a4bf64504d9609cecc52c3a31bb55a SHA512 7d8b3b18e7b96b50793ba6d744aab91fdf753958fefa6e27e922c5c2454aa4dacd1e709f73ac5646f5bd219b5367d365ba6aa5170eaef94ae381f8084e8e0579 DIST libisofs-1.5.6.pl01.tar.gz 879218 BLAKE2B 466cb1fed6b0a29b2a418dfe7a3ac393d38961b08cf53febfe80f1bf91f891d1c17119a482fb0cb6f44eda0c568b1c00bd7b2eeb028ad749c99451ffb18b7f8b SHA512 7760931abbe508002bd3e7eeb694071425f24316cb11c80a2f162a76c3a1d79c57593b758bc0e540107140fd18714e1bf87ae3a65510956a76a1c09f80453a80 EBUILD libisofs-1.5.6_p1-r1.ebuild 1183 BLAKE2B 978467e2204f13f1cdcbf8c7645042e4cfda964f5ad58d549d234493a894802d78f51ddff8c103c3e0dded88a91995025edde96bd438a8110f89642e76cde3de SHA512 95dab7d1382248e6f2754d96c21ed47a20b4e3d7c2fc7b97395bf3882880db3db77bc3d41c4fd2e9306b0392ea0b595cfc41ac7642649328a16ec2bb6f86e428 -MISC metadata.xml 321 BLAKE2B 88d0d1ac9eaba1741f02a93cbcd6c55dc6f2cf22f6051969e9bbdc497f515fbedb024f6027517893342466cd04fbd94cdead3b015c311c99aaedc4f3681f193d SHA512 870d6fd484548245f01fdebf2fc2e664d6445cbca7a47c34065f4d077709cc9c989a0157f799b811a37345b8c1a87d07f72f66658b86319f8425bc02c0609f47 +EBUILD libisofs-1.5.6_p1-r2.ebuild 1238 BLAKE2B 86907e1fc36539c67f90bdf48a474a18336e46eff79f658f0d7feead545d8a7a538a5d70ad99d4760d932993b07e4e1ccacea8746f18f522121d999b4ae72d30 SHA512 62384432ae752502c3e792e7c08fe8265d6c34f8fb0f772f1dba9b24ea03e36231deb027b4e8a1106e3956ed630ca17e2a2ee12d023a86c86f22117376f54779 +MISC metadata.xml 515 BLAKE2B 4f5411353bbdce10ed22a69ce2b6e3e8ae5a09cc69326aac35c446d431f480cb97f860ad975e125e50c786bd289e44f63a5dfa4473cb7f60f4892dea274e0c25 SHA512 2a5a5007f27175a92639e3c640bfd6d1d18c62960aa00a10a964aa84df8baefbfe65a5437c5c66530b2c4a96ffb5f32336f62f90cdc105fee2e6e292fd47d738 diff --git a/dev-libs/libisofs/files/libisofs-1.5.6_slibtool.patch b/dev-libs/libisofs/files/libisofs-1.5.6_slibtool.patch new file mode 100644 index 000000000000..3146e3db6ad0 --- /dev/null +++ b/dev-libs/libisofs/files/libisofs-1.5.6_slibtool.patch @@ -0,0 +1,26 @@ +From 30fcd2d84ba3dd569f5c55dfeeca3bccf2b58e65 Mon Sep 17 00:00:00 2001 +From: Thomas Schmitt <scdbackup@gmx.net> +Date: Mon, 24 Mar 2025 08:51:23 +0100 +Subject: [PATCH] Added to configure.ac explicit checks for stdint.h, + inttypes.h, stdlib.h because slibtool does not put them into ./configure by + default + +--- + configure.ac | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 1de58d6..7e86463 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -96,7 +96,9 @@ AC_SUBST(LIBTOOL_DEPS) + + AC_PROG_INSTALL + +-AC_CHECK_HEADERS() ++dnl GNU libtool checks them by default/unconditionally, but slibtool does not. ++dnl So accept the ugly double check and -DHAVE_*_H arguments with GNU libtool. ++AC_CHECK_HEADERS(stdint.h inttypes.h stdlib.h) + + dnl Use GNU extensions if available + AC_DEFINE(_GNU_SOURCE, 1) diff --git a/dev-libs/libisofs/libisofs-1.5.6_p1-r2.ebuild b/dev-libs/libisofs/libisofs-1.5.6_p1-r2.ebuild new file mode 100644 index 000000000000..f5c575d5e492 --- /dev/null +++ b/dev-libs/libisofs/libisofs-1.5.6_p1-r2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PF=${P/_p1/} +MY_P=${MY_PF}.pl01 + +inherit autotools + +DESCRIPTION="Open-source library for reading, mastering and writing optical discs" +HOMEPAGE="https://dev.lovelyhq.com/libburnia/web/wiki/Libisofs" +SRC_URI="https://files.libburnia-project.org/releases/${MY_P}.tar.gz" + +S="${WORKDIR}/${MY_PF}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="acl debug static-libs verbose-debug xattr zlib" + +BDEPEND=" + virtual/pkgconfig +" +RDEPEND=" + acl? ( virtual/acl ) + xattr? ( sys-apps/attr ) + zlib? ( sys-libs/zlib ) +" +DEPEND=" + ${RDEPEND} +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.6_slibtool.patch +) + +src_prepare() { + default + + # Ancient libtool version in 1.5.6 at least (debian's 2.4.2-1.11) + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable debug) \ + $(use_enable verbose-debug) \ + $(use_enable acl libacl) \ + $(use_enable xattr) \ + $(use_enable zlib) \ + --disable-libjte \ + --disable-ldconfig-at-install +} + +src_install() { + default + + dodoc Roadmap doc/{*.txt,Tutorial} + + find "${D}" -name '*.la' -delete || die +} diff --git a/dev-libs/libisofs/metadata.xml b/dev-libs/libisofs/metadata.xml index 7064074ef2ba..f2ee5c394aa1 100644 --- a/dev-libs/libisofs/metadata.xml +++ b/dev-libs/libisofs/metadata.xml @@ -5,6 +5,11 @@ <email>billie@gentoo.org</email> <name>Daniel Pielmeier</name> </maintainer> +<maintainer type="person" proxied="yes"> +<email>scdbackup@gmx.net</email> +<name>Thomas Schmitt</name> +<description>Upstream - please CC on bugs that concern upstream</description> +</maintainer> <use> <flag name="verbose-debug">Enable verbose debug messages</flag> </use> diff --git a/dev-libs/libxml2/Manifest b/dev-libs/libxml2/Manifest index 88bfdeca484d..800b26b5ded5 100644 --- a/dev-libs/libxml2/Manifest +++ b/dev-libs/libxml2/Manifest @@ -13,6 +13,6 @@ EBUILD libxml2-2.11.9.ebuild 5320 BLAKE2B 677e7ebb285ae739f8759520d01c7ec6c1148f EBUILD libxml2-2.12.10.ebuild 5252 BLAKE2B bea5a28bf64b15b8fde7d5ecdceb941887c2523698400e18bf24f43a8ead46eac7d69e652bd12e1ca17fea0a07008dd37e5c3826843c141393e0f1edb84ccc98 SHA512 8deeee835aa558693fe92a9dbeb3e76a82ecc19462d1b1737296a5442eaeaf9bf39f0b1d1360249cd9b4c9a21791bdd802978e11bb30fbf0f89f1358bcfaf788 EBUILD libxml2-2.12.9.ebuild 5252 BLAKE2B bea5a28bf64b15b8fde7d5ecdceb941887c2523698400e18bf24f43a8ead46eac7d69e652bd12e1ca17fea0a07008dd37e5c3826843c141393e0f1edb84ccc98 SHA512 8deeee835aa558693fe92a9dbeb3e76a82ecc19462d1b1737296a5442eaeaf9bf39f0b1d1360249cd9b4c9a21791bdd802978e11bb30fbf0f89f1358bcfaf788 EBUILD libxml2-2.13.6.ebuild 4921 BLAKE2B baa689e56ce0807a2bfacfb8ead683ed8c1f6c9568e9bfd6f21e2322f0545bb8ba27dee8ef5deac25fc8234f425642d1b79f9151b2a4018398b3a2dde37f83f8 SHA512 1ffb4276f4edecd170417beda52e73e4639732f6e6cb0da448da9d1e80130448c46511bbee080e6c192c611273882fcee4c7a5f942296c5ed2a8f6403f5be832 -EBUILD libxml2-2.13.7.ebuild 4929 BLAKE2B 1e98eb39829d6ed01c92f9b75aad1cef911ed4859d54e51cb8d3e844dfb4428259b29ae28c8745341f36c3857801a8795512c0679823d63ee54e8103135367bf SHA512 d5e27d276bc6ba5eebf8400eaf5b58dc0a236055dbab358172bf34be105f74bdd463b59fc0dd362f7f50499ae6a764d485e94ac55f619e764c449f4900d37f69 +EBUILD libxml2-2.13.7.ebuild 4928 BLAKE2B 3265d26492de639f86fbb0c5d93065d98f5a09aa648c014a0050c05638ca59cd55d0027921359e0f3d22b0bd5554f6874411aba2355a2421d7e0ba10289aa457 SHA512 493504054ed4e8c1289723cfbec17b27755bc0141a0f11e5ea7944bbc86b66c7896d33555e63f7d88e07a8be4bc39d02decad2851711370b1f1e2f329de7c6ba 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.7.ebuild b/dev-libs/libxml2/libxml2-2.13.7.ebuild index b53e73fe0023..6ad7d5c445e9 100644 --- a/dev-libs/libxml2/libxml2-2.13.7.ebuild +++ b/dev-libs/libxml2/libxml2-2.13.7.ebuild @@ -23,7 +23,7 @@ if [[ ${PV} == 9999 ]] ; then inherit git-r3 else inherit gnome.org - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~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" fi SRC_URI+=" diff --git a/dev-libs/libxslt/Manifest b/dev-libs/libxslt/Manifest index 32228ea1a9a1..e0a210b46a87 100644 --- a/dev-libs/libxslt/Manifest +++ b/dev-libs/libxslt/Manifest @@ -1,7 +1,4 @@ AUX libxslt-1.1.39-libxml2-2.11-tests.patch 911 BLAKE2B b9240d9720044ec75fff2ca73abb5b5192f8a0262d5cc51cd5e3bc5b8e07af45486a257d4eb5098cf0c7263d1324a7a9995cce38210245d5b53afc5fe7f4d224 SHA512 26f8664c3cc2bf2579eb236cb771d9fbc0ee528472a44ea55e7975fa0182e63c12a1b7d30c9c01b2e848f9ec91dded5ec4a59c60a7eea2bb283bd120c3e0fedc -AUX libxslt-1.1.41-deprecated-xmlCharEncodingHandler.patch 3803 BLAKE2B 54246d50bddf4287b535e55d6d65c790fd027d8d1c290ec77483ea998ae4bb85e27b5440ca8198850128a226a901477580bdc1ecaa3245ccaab9fa4c62712033 SHA512 e80f48c80e68a46697c45b501c426815ed21199eedfc1093f9885689e9a1321192d4ebb546cda62c1290508bbc2ddb8862d6875c00b8e08663eaea76bec8bbff -AUX libxslt-1.1.41-extensions-xmlCheckFilename-older-libxml2.patch 1189 BLAKE2B cbc164f593c4e46a959d801d5d81502e4599aa9456a7a4b72686325f36f96b75892df519118222ec79335da91dff5aafe695cadf37fd3f31cc43a6828f761afd SHA512 4fbb4969505837c7ca842b2192270a40aca14f69ba74dc763253a1c5f9475ad8e904e06b109181ca80bc7bb719b6fb5055d791a15e1c24e9da0007435464aef1 -AUX libxslt-1.1.41-libxml2-2.13.patch 5457 BLAKE2B 4fa71f28d253592be63e0b8b93002d359b21b40f15fe043c7602ee593600f91dfefa86ae4076096b09fa5df9834e58b62fd5ee4bc997967388c10aa3acfa12d5 SHA512 e1e546efbe08ebf37b02d55770d3b11efd6b97646cc7a8d3b23b06b438cf8c2ee8c3d892037e41fe7dca46a4d20cbc9dc0f2591b924d94c93456726672aa71c2 DIST libxslt-1.1.39.tar.xz 1578216 BLAKE2B 7c87b769d345fc99a966bea6b4e94533fa211dc3a987ce013a03eefb05dde73ef75526bdecf7d32d8c77112232096fb22d8ec4f0a781b9f59d0422a2db75df01 SHA512 c0c99dc63f8b2acb6cc3ad7ad684ffa2a427ee8d1740495cbf8a7c9b9c8679f96351b4b676c73ccc191014db4cb4ab42b9a0070f6295565f39dbc665c5c16f89 DIST libxslt-1.1.42.tar.xz 1573668 BLAKE2B 91b2ca38807ae21b6629b8e19f4ab9d7d19bc0af17f2546e1cf278b2f2fff62b86bbbd996085fff322f3d5ae6c2b20bcfc4e9fb501c301d3fd5d56cf5b205ede SHA512 02a2189b6cd65fa1fb929fc0e6868bc046bdd8827849f0048cdf9267ed9450745158cef0f2713a833e28fb520b312ff86dc5754dd423ce768c457bfd8812bdc7 DIST libxslt-1.1.43.tar.xz 1518364 BLAKE2B 84d1cff32c78c4eeff4db614214ee1808bcf958d55711b08e7e2191a4343fb61d38d6b3d9b43f6f12be2dc909fced0a5b5905fa2c5ec7761c83125007e1ce265 SHA512 96110b0397a8f5791f489127574e2143845feb61bea0581d7b7e3c1101fd0718483bae81a7ce417b971bd678293bfd95daddad0dadd3e256c87d41a69faed85a diff --git a/dev-libs/libxslt/files/libxslt-1.1.41-deprecated-xmlCharEncodingHandler.patch b/dev-libs/libxslt/files/libxslt-1.1.41-deprecated-xmlCharEncodingHandler.patch deleted file mode 100644 index 86c779c3c7cf..000000000000 --- a/dev-libs/libxslt/files/libxslt-1.1.41-deprecated-xmlCharEncodingHandler.patch +++ /dev/null @@ -1,93 +0,0 @@ -https://gitlab.gnome.org/GNOME/libxslt/-/commit/8d456f03b6b6661edfb0a3f1bc5abdc9597f60e7 - -From 8d456f03b6b6661edfb0a3f1bc5abdc9597f60e7 Mon Sep 17 00:00:00 2001 -From: Nick Wellnhofer <wellnhofer@aevum.de> -Date: Tue, 2 Jul 2024 22:27:02 +0200 -Subject: [PATCH] utils: Don't use deprecated xmlCharEncodingHandler member - ---- - libxslt/xsltutils.c | 44 ++++++++++++++++++++------------------------ - 1 file changed, 20 insertions(+), 24 deletions(-) - -diff --git a/libxslt/xsltutils.c b/libxslt/xsltutils.c -index 3705d28f..d493905b 100644 ---- a/libxslt/xsltutils.c -+++ b/libxslt/xsltutils.c -@@ -1750,13 +1750,12 @@ xsltSaveResultToFilename(const char *URL, xmlDocPtr result, - - XSLT_GET_IMPORT_PTR(encoding, style, encoding) - if (encoding != NULL) { -- xmlCharEncodingHandlerPtr encoder; -+ xmlCharEncodingHandlerPtr encoder = NULL; - -- encoder = xmlFindCharEncodingHandler((char *)encoding); -- if ((encoder != NULL) && -- (xmlStrEqual((const xmlChar *)encoder->name, -- (const xmlChar *) "UTF-8"))) -- encoder = NULL; -+ /* Don't use UTF-8 dummy encoder */ -+ if ((xmlStrcasecmp(encoding, BAD_CAST "UTF-8") != 0) && -+ (xmlStrcasecmp(encoding, BAD_CAST "UTF8") != 0)) -+ encoder = xmlFindCharEncodingHandler((char *) encoding); - buf = xmlOutputBufferCreateFilename(URL, encoder, compression); - } else { - buf = xmlOutputBufferCreateFilename(URL, NULL, compression); -@@ -1793,13 +1792,12 @@ xsltSaveResultToFile(FILE *file, xmlDocPtr result, xsltStylesheetPtr style) { - - XSLT_GET_IMPORT_PTR(encoding, style, encoding) - if (encoding != NULL) { -- xmlCharEncodingHandlerPtr encoder; -+ xmlCharEncodingHandlerPtr encoder = NULL; - -- encoder = xmlFindCharEncodingHandler((char *)encoding); -- if ((encoder != NULL) && -- (xmlStrEqual((const xmlChar *)encoder->name, -- (const xmlChar *) "UTF-8"))) -- encoder = NULL; -+ /* Don't use UTF-8 dummy encoder */ -+ if ((xmlStrcasecmp(encoding, BAD_CAST "UTF-8") != 0) && -+ (xmlStrcasecmp(encoding, BAD_CAST "UTF8") != 0)) -+ encoder = xmlFindCharEncodingHandler((char *) encoding); - buf = xmlOutputBufferCreateFile(file, encoder); - } else { - buf = xmlOutputBufferCreateFile(file, NULL); -@@ -1837,13 +1835,12 @@ xsltSaveResultToFd(int fd, xmlDocPtr result, xsltStylesheetPtr style) { - - XSLT_GET_IMPORT_PTR(encoding, style, encoding) - if (encoding != NULL) { -- xmlCharEncodingHandlerPtr encoder; -+ xmlCharEncodingHandlerPtr encoder = NULL; - -- encoder = xmlFindCharEncodingHandler((char *)encoding); -- if ((encoder != NULL) && -- (xmlStrEqual((const xmlChar *)encoder->name, -- (const xmlChar *) "UTF-8"))) -- encoder = NULL; -+ /* Don't use UTF-8 dummy encoder */ -+ if ((xmlStrcasecmp(encoding, BAD_CAST "UTF-8") != 0) && -+ (xmlStrcasecmp(encoding, BAD_CAST "UTF8") != 0)) -+ encoder = xmlFindCharEncodingHandler((char *) encoding); - buf = xmlOutputBufferCreateFd(fd, encoder); - } else { - buf = xmlOutputBufferCreateFd(fd, NULL); -@@ -1880,13 +1877,12 @@ xsltSaveResultToString(xmlChar **doc_txt_ptr, int * doc_txt_len, - - XSLT_GET_IMPORT_PTR(encoding, style, encoding) - if (encoding != NULL) { -- xmlCharEncodingHandlerPtr encoder; -+ xmlCharEncodingHandlerPtr encoder = NULL; - -- encoder = xmlFindCharEncodingHandler((char *)encoding); -- if ((encoder != NULL) && -- (xmlStrEqual((const xmlChar *)encoder->name, -- (const xmlChar *) "UTF-8"))) -- encoder = NULL; -+ /* Don't use UTF-8 dummy encoder */ -+ if ((xmlStrcasecmp(encoding, BAD_CAST "UTF-8") != 0) && -+ (xmlStrcasecmp(encoding, BAD_CAST "UTF8") != 0)) -+ encoder = xmlFindCharEncodingHandler((char *) encoding); - buf = xmlAllocOutputBuffer(encoder); - if (buf == NULL) - xmlCharEncCloseFunc(encoder); --- -GitLab diff --git a/dev-libs/libxslt/files/libxslt-1.1.41-extensions-xmlCheckFilename-older-libxml2.patch b/dev-libs/libxslt/files/libxslt-1.1.41-extensions-xmlCheckFilename-older-libxml2.patch deleted file mode 100644 index bdf39460af2a..000000000000 --- a/dev-libs/libxslt/files/libxslt-1.1.41-extensions-xmlCheckFilename-older-libxml2.patch +++ /dev/null @@ -1,40 +0,0 @@ -https://gitlab.gnome.org/GNOME/libxslt/-/commit/a85bd17ec52793b33074f0f785c3d989feb20170 - -From a85bd17ec52793b33074f0f785c3d989feb20170 Mon Sep 17 00:00:00 2001 -From: Nick Wellnhofer <wellnhofer@aevum.de> -Date: Fri, 21 Jun 2024 15:07:18 +0200 -Subject: [PATCH] extensions: Readd call to xmlCheckFilename with older libxml2 - -Fix spurious warning with libxml2 before 2.13.0 caused by 014b2892. - -Fixes #113. ---- - libxslt/extensions.c | 13 +++++++++++++ - 1 file changed, 13 insertions(+) - -diff --git a/libxslt/extensions.c b/libxslt/extensions.c -index 05cdf354..d3d61543 100644 ---- a/libxslt/extensions.c -+++ b/libxslt/extensions.c -@@ -415,6 +415,19 @@ xsltExtModuleRegisterDynamic(const xmlChar * URI) - module_filename, URI); - #endif - -+#if LIBXML_VERSION < 21300 -+ if (1 != xmlCheckFilename(module_filename)) { -+ -+#ifdef WITH_XSLT_DEBUG_EXTENSIONS -+ xsltGenericDebug(xsltGenericDebugContext, -+ "xmlCheckFilename failed for plugin: %s\n", module_filename); -+#endif -+ -+ xmlFree(ext_name); -+ return (-1); -+ } -+#endif -+ - /* attempt to open the module */ - m = xmlModuleOpen(module_filename, 0); - if (NULL == m) { --- -GitLab diff --git a/dev-libs/libxslt/files/libxslt-1.1.41-libxml2-2.13.patch b/dev-libs/libxslt/files/libxslt-1.1.41-libxml2-2.13.patch deleted file mode 100644 index 99b89ae08f74..000000000000 --- a/dev-libs/libxslt/files/libxslt-1.1.41-libxml2-2.13.patch +++ /dev/null @@ -1,171 +0,0 @@ -https://gitlab.gnome.org/GNOME/libxslt/-/issues/116 -https://gitlab.gnome.org/GNOME/libxslt/-/commit/081cd6e97a620d035ed7df35e998e2d288bc7862 - -From 081cd6e97a620d035ed7df35e998e2d288bc7862 Mon Sep 17 00:00:00 2001 -From: Nick Wellnhofer <wellnhofer@aevum.de> -Date: Mon, 1 Jul 2024 13:21:14 +0200 -Subject: [PATCH] transform: Handle filesystem paths after libxml2 changes - -After changes in libxml2 2.13, base URIs and resolved URIs can be -filesystem paths. - -Check for invalid URIs and remove fragment before resolving URI in -xsltDocumentFunction. - -Handle filesystem paths in xsltCheckRead. - -Should fix #116. ---- - libxslt/functions.c | 64 ++++++++++++++++++++++++++------------------- - libxslt/security.c | 13 +++++++++ - 2 files changed, 50 insertions(+), 27 deletions(-) - -diff --git a/libxslt/functions.c b/libxslt/functions.c -index 0c9dec43..d54f8f48 100644 ---- a/libxslt/functions.c -+++ b/libxslt/functions.c -@@ -96,11 +96,10 @@ xsltXPathFunctionLookup (void *vctxt, - ************************************************************************/ - - static void --xsltDocumentFunctionLoadDocument(xmlXPathParserContextPtr ctxt, xmlChar* URI) -+xsltDocumentFunctionLoadDocument(xmlXPathParserContextPtr ctxt, -+ const xmlChar* URI, const xmlChar *fragment) - { - xsltTransformContextPtr tctxt; -- xmlURIPtr uri; -- xmlChar *fragment = NULL; - xsltDocumentPtr idoc; /* document info */ - xmlDocPtr doc; - xmlXPathContextPtr xptrctxt = NULL; -@@ -115,26 +114,7 @@ xsltDocumentFunctionLoadDocument(xmlXPathParserContextPtr ctxt, xmlChar* URI) - goto out_fragment; - } - -- uri = xmlParseURI((const char *) URI); -- if (uri == NULL) { -- xsltTransformError(tctxt, NULL, NULL, -- "document() : failed to parse URI\n"); -- goto out_fragment; -- } -- -- /* -- * check for and remove fragment identifier -- */ -- fragment = (xmlChar *)uri->fragment; -- if (fragment != NULL) { -- xmlChar *newURI; -- uri->fragment = NULL; -- newURI = xmlSaveUri(uri); -- idoc = xsltLoadDocument(tctxt, newURI); -- xmlFree(newURI); -- } else -- idoc = xsltLoadDocument(tctxt, URI); -- xmlFreeURI(uri); -+ idoc = xsltLoadDocument(tctxt, URI); - - if (idoc == NULL) { - if ((URI == NULL) || -@@ -194,7 +174,6 @@ out_fragment: - if (resObj == NULL) - resObj = xmlXPathNewNodeSet(NULL); - valuePush(ctxt, resObj); -- xmlFree(fragment); - } - - /** -@@ -210,7 +189,8 @@ xsltDocumentFunction(xmlXPathParserContextPtr ctxt, int nargs) - { - xmlXPathObjectPtr obj, obj2 = NULL; - xmlChar *base = NULL, *URI; -- -+ xmlChar *newURI = NULL; -+ xmlChar *fragment = NULL; - - if ((nargs < 1) || (nargs > 2)) { - xsltTransformError(xsltXPathGetTransformContext(ctxt), NULL, NULL, -@@ -292,7 +272,32 @@ xsltDocumentFunction(xmlXPathParserContextPtr ctxt, int nargs) - valuePush(ctxt, xmlXPathNewNodeSet(NULL)); - } else { - xsltTransformContextPtr tctxt; -+ xmlURIPtr uri; -+ const xmlChar *url; -+ - tctxt = xsltXPathGetTransformContext(ctxt); -+ -+ url = obj->stringval; -+ -+ uri = xmlParseURI((const char *) url); -+ if (uri == NULL) { -+ xsltTransformError(tctxt, NULL, NULL, -+ "document() : failed to parse URI '%s'\n", url); -+ valuePush(ctxt, xmlXPathNewNodeSet(NULL)); -+ goto error; -+ } -+ -+ /* -+ * check for and remove fragment identifier -+ */ -+ fragment = (xmlChar *)uri->fragment; -+ if (fragment != NULL) { -+ uri->fragment = NULL; -+ newURI = xmlSaveUri(uri); -+ url = newURI; -+ } -+ xmlFreeURI(uri); -+ - if ((obj2 != NULL) && (obj2->nodesetval != NULL) && - (obj2->nodesetval->nodeNr > 0) && - IS_XSLT_REAL_NODE(obj2->nodesetval->nodeTab[0])) { -@@ -313,7 +318,8 @@ xsltDocumentFunction(xmlXPathParserContextPtr ctxt, int nargs) - (xmlNodePtr) tctxt->style->doc); - } - } -- URI = xmlBuildURI(obj->stringval, base); -+ -+ URI = xmlBuildURI(url, base); - if (base != NULL) - xmlFree(base); - if (URI == NULL) { -@@ -326,10 +332,14 @@ xsltDocumentFunction(xmlXPathParserContextPtr ctxt, int nargs) - valuePush(ctxt, xmlXPathNewNodeSet(NULL)); - } - } else { -- xsltDocumentFunctionLoadDocument( ctxt, URI ); -+ xsltDocumentFunctionLoadDocument(ctxt, URI, fragment); - xmlFree(URI); - } - } -+ -+error: -+ xmlFree(newURI); -+ xmlFree(fragment); - xmlXPathFreeObject(obj); - if (obj2 != NULL) - xmlXPathFreeObject(obj2); -diff --git a/libxslt/security.c b/libxslt/security.c -index 001ee6e4..3a66594f 100644 ---- a/libxslt/security.c -+++ b/libxslt/security.c -@@ -422,6 +422,19 @@ xsltCheckRead(xsltSecurityPrefsPtr sec, - xmlURIPtr uri; - xsltSecurityCheck check; - -+ if (xmlStrstr(URL, BAD_CAST "://") == NULL) { -+ check = xsltGetSecurityPrefs(sec, XSLT_SECPREF_READ_FILE); -+ if (check != NULL) { -+ ret = check(sec, ctxt, (const char *) URL); -+ if (ret == 0) { -+ xsltTransformError(ctxt, NULL, NULL, -+ "Local file read for %s refused\n", URL); -+ return(0); -+ } -+ } -+ return(1); -+ } -+ - uri = xmlParseURI((const char *)URL); - if (uri == NULL) { - xsltTransformError(ctxt, NULL, NULL, --- -GitLab diff --git a/dev-libs/md4c/Manifest b/dev-libs/md4c/Manifest new file mode 100644 index 000000000000..654db2014b21 --- /dev/null +++ b/dev-libs/md4c/Manifest @@ -0,0 +1,3 @@ +DIST md4c-0.5.2.tar.gz 237973 BLAKE2B 7f3f80c1bcfa3040b4458876abc8eabbad387242fbdcde08b34d9a279da56e4c2264a591deb6ad3061c951b4ca547f896589682aa5c6b50febfc03b89c61be3e SHA512 30607ba39d6c59329f5a56a90cd816ff60b82ea752ac2b9df356d756529cfc49170019fae5df32fa94afc0e2a186c66eaf56fa6373d18436c06ace670675ba85 +EBUILD md4c-0.5.2.ebuild 1057 BLAKE2B 4a5ceb8110ba2f1e277d1213abb69f36d6821263bd14bd52cf5dc42fd624ee19005b9be6154ff70911c91dda2b32156dd6e4c656ac2a19e7760ab88f398ebb32 SHA512 c6fd2f17438b13b1196c57292ebbdedcd53483fc8a1025f9325d3e6fa5eb57ade8aaad61ac40ab53365511c1f4cf748c02d7f887572c6b404643fb5a2d31b669 +MISC metadata.xml 509 BLAKE2B db9ae9ddca31114df90af0f83900b6b1de7351b984a85166e05821fbb69c1b308a238f942620e8cc219a18bb2b27b8217b5075517a98eb8987f8928d681bcc41 SHA512 20eafa3bacd5ba8b494143195d916a89ca51ba0634c2ef7c1cd710ca34a7ed33e5bb7629a795bafbcd243c2cc34a0fc243d931b92b7270546be12d7a4c7c836d diff --git a/dev-libs/md4c/md4c-0.5.2.ebuild b/dev-libs/md4c/md4c-0.5.2.ebuild new file mode 100644 index 000000000000..002381590ba4 --- /dev/null +++ b/dev-libs/md4c/md4c-0.5.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit cmake python-any-r1 + +DESCRIPTION="C Markdown parser. Fast, SAX-like interface, CommonMark Compliant." +HOMEPAGE="https://github.com/mity/md4c" +# TODO(NRK): +# - useflag for static lib (?) + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mity/md4c.git" +else + SRC_URI="https://github.com/mity/md4c/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/md4c-release-${PV}" + KEYWORDS="~amd64" +fi + +LICENSE="MIT test? ( CC-BY-SA-4.0 )" +SLOT="0" +IUSE="+md2html test" +REQUIRED_USE="test? ( md2html )" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( ${PYTHON_DEPS} )" + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DBUILD_MD2HTML_EXECUTABLE=$(usex md2html) + ) + + cmake_src_configure +} + +src_test() { + pushd "${BUILD_DIR}" || die + # Uses python internally + "${S}"/scripts/run-tests.sh || die + popd +} diff --git a/dev-libs/md4c/metadata.xml b/dev-libs/md4c/metadata.xml new file mode 100644 index 000000000000..135e912b5165 --- /dev/null +++ b/dev-libs/md4c/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>nrk@disroot.org</email> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="md2html">Build the md2html cli tool</flag> + </use> + <upstream> + <remote-id type="github">mity/md4c</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-libs/metee/Manifest b/dev-libs/metee/Manifest index 99b49d83e512..887815f020a7 100644 --- a/dev-libs/metee/Manifest +++ b/dev-libs/metee/Manifest @@ -1,5 +1,3 @@ -DIST metee-4.3.0.tar.gz 103084 BLAKE2B 9cd9b104bc2c3e3613e281b5191670f76a41f86784ce64d26695de29e56e01cbac864f04e3102abcbbca8946a347ce1541051488018c9925457d753ae793f1f4 SHA512 faab2837dc3afaf0cfea3e638e437a76cf7e8fa5e9d72ce9095d85abb8a836e5e041f87b24b523f158855c869d7535200e2beec2526c25d96a592ce62e599c7c DIST metee-4.3.1.tar.gz 106571 BLAKE2B 76545b7aa44271673f488fc3f09d33c037851c3f47c63feca42aa2dd99c60ac34f83e8df7306c7b4f4256b8dc5bd0e6b71b9f91c40b40eab544d05a14c78bc6b SHA512 9aab69ebcf24e44cd7b563a9dab51f2e4b248bf8900bf71ab2739ae369bc00b50e71d0fb5186d37a40d61f21aa78031091530f319ed225bbdb35bfcb758ac72c -EBUILD metee-4.3.0.ebuild 773 BLAKE2B 12cb7eebc4bc8428566fa289f3dbd09c5142b134f4013974c1595b0ad1682200fc6ca578c39d3f34c7aa1881c7d4468ca00de6dc924df8658c392c8a5aa1d758 SHA512 78bacc83899f3bc72bcbb6d3510c44ca12cf393e88c2204cfa2a2fb4295d92041ae82cae7cb87b345a41b03684c10e1cc56b7045bcf9d99d7223ba23ffda945c -EBUILD metee-4.3.1.ebuild 774 BLAKE2B 88661de6ccd93b1e424c98e8c7349a2acc4fef9e026c60346e9012de1ddb53038512e67e09f362584ad6ddb92750859cb2852998a95e18147308475582a9afd7 SHA512 8690f5a9d05778cc1d1d68becc90454a0150ca4a64e47d25f8658e266ebe0e76fe90a8b87d90907c067e86965285d6bd49c81422164edb8dc7373e1dfbeb12c6 +EBUILD metee-4.3.1.ebuild 773 BLAKE2B 12cb7eebc4bc8428566fa289f3dbd09c5142b134f4013974c1595b0ad1682200fc6ca578c39d3f34c7aa1881c7d4468ca00de6dc924df8658c392c8a5aa1d758 SHA512 78bacc83899f3bc72bcbb6d3510c44ca12cf393e88c2204cfa2a2fb4295d92041ae82cae7cb87b345a41b03684c10e1cc56b7045bcf9d99d7223ba23ffda945c MISC metadata.xml 576 BLAKE2B 9e2b068fa33c961eabea553ea1f9fe539f1429467ea52baefbc7cff84bcd3bc802ba5024ed71ae96ef9e810636aaeb1d711f9bd294215bf6cab5e122eda03d7d SHA512 c529229f880fd0f02881265c26a2e7e2841ec02b719a67887423a874253a9414f68614399dbb0cd433b7e9fe5b7ba6785c8fb789795f3b1a8f6c8597949aede1 diff --git a/dev-libs/metee/metee-4.3.0.ebuild b/dev-libs/metee/metee-4.3.0.ebuild deleted file mode 100644 index d03befa30273..000000000000 --- a/dev-libs/metee/metee-4.3.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Cross-platform access library for Intel CSME HECI interface" -HOMEPAGE="https://github.com/intel/metee" -SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64" -IUSE="doc" - -BDEPEND="doc? ( app-text/doxygen )" - -src_prepare() { - default - cmake_src_prepare - - # Respect users CFLAGS - sed -e 's/-D_FORTIFY_SOURCE=2 -O2//' -e 's/-Werror//' -i linux.cmake || die -} - -src_configure() { - local mycmakeargs=( - -DBUILD_DOCS="$(usex doc)" - -DBUILD_SAMPLES="NO" - -DBUILD_SHARED_LIBS="YES" - -DBUILD_TEST="NO" - -DCONSOLE_OUTPUT="NO" - ) - - cmake_src_configure -} diff --git a/dev-libs/metee/metee-4.3.1.ebuild b/dev-libs/metee/metee-4.3.1.ebuild index bbbb7e70f0fe..d03befa30273 100644 --- a/dev-libs/metee/metee-4.3.1.ebuild +++ b/dev-libs/metee/metee-4.3.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.t LICENSE="Apache-2.0" SLOT="0/${PV}" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="doc" BDEPEND="doc? ( app-text/doxygen )" diff --git a/dev-libs/openssl/Manifest b/dev-libs/openssl/Manifest index 35f7c0b64fec..2f4c10bcc957 100644 --- a/dev-libs/openssl/Manifest +++ b/dev-libs/openssl/Manifest @@ -2,11 +2,6 @@ AUX gentoo.config-1.0.2 5302 BLAKE2B b699533ed86c48c0d033092b4d901de837a6a495113 AUX gentoo.config-1.0.4 6038 BLAKE2B e2fd6b073cc6be3fa312a73cf031140e3f91eafe432212f8b24795297fdd0a4090d605fcfcbc59df6cc9f659a3dcd0e56df8eb734aa117d5e1f4fe78b4063f8c SHA512 df7c9944b993536df7ff8cd5159ba1534b122fb1db946890e7b25b10596c9259e569e0e3a5fe854726ac8302eb9804edb7af344386b146146d862596175d5ca2 AUX openssl-1.1.0j-parallel_install_fix.patch 515 BLAKE2B a1bcffce4dc9e0566e21e753cf1a18ee6eac92aca5880c50b33966d8ecb391f7430e1db6ea5a30ee4e3a9d77fb9e5542e864508b01c325011e368165e079a96c SHA512 0badd29ec8cffd95b2b69a4b8f8eecfc9ea0c00a812b298a650ee353e3965147fd2da1f9058d2d51744838f38168257b89aaf317287c55a7b76f16a69c781828 AUX openssl-1.1.1i-riscv32.patch 2557 BLAKE2B 97e51303706ee96d3fae46959b91d1021dcbb3efa421866f6e09bbee6287aae95c6f5d9498bd9d8974b0de747ef696242691cfebec90b31dc9e2cc31b41b81ec SHA512 f75ae1034bb9dda7f4959e8a5d6d0dae21200723d82aebfbea58bd1d7775ef4042e49fdf49d5738771d79d764e44a1b6e0da341d210ea51d21516bb3874b626a -AUX openssl-3.0.15-CVE-2024-9143.patch 7034 BLAKE2B 79963b250e9faa0a9764945d05f0598c0eda64ac87b12e545698d86c299c769b1ff8300f3289e620fe58183db0d1767834d6d146ce6cdacdeb58c137e88d79fa SHA512 6196f8c963c776ae3412ca76da51060d95e4f50cf1a1e4edb89edf9d32a7dd032a7f650445872a68a6f03dab4b75b601cae4c89e2fda9cf414c7ff26961433c2 -AUX openssl-3.1.7-CVE-2024-9143.patch 7033 BLAKE2B 1e2d8ea24fd68e2781808477d60773a3cca5bf122ba3c2a0efba12470126a5768a2f2fa0239a73965bf046644e93d6deecda17e4282243206095c42f3149fb5e SHA512 44185ace09adb75f8124f8a564d1f806fb6fd29e232a6c1f40b1508f510c8b481f86f06d03e169ed6dd2df1e535b723a2f9978199b20225a1e27f499054b7bc7 -AUX openssl-3.2.3-CVE-2024-9143.patch 7034 BLAKE2B 7f438bb531b09154368072f66e03fa4fa1c0f1d461ce8e89e942567e9cf60ce0d1986334cbd9c4d8e9b5ea5dc7c2ca0fa5dc111c965d99ebf6800afdd56820ab SHA512 7699ea05a139a7ddcbf68538cfb4329026d99ffa8eb3622b3f0faca92b287f571c6b76c24acd537a3406f209bf90a48704d11ed70d0e49c118d1591b9bae39d2 -AUX openssl-3.3.2-CVE-2024-9143.patch 7034 BLAKE2B 3800addbe31b551224032736f44b9cce721ad6897edfddc6a1db3599e7c7b94e1e4074db8da5883a4439944eb96511fdecae7634bac8ad9a5c2dd11dc2bdf895 SHA512 55449d68c57abc83295de5c869f5b65472c929a29befec7bf74797a3b902febc001535b3c06fe9792d09bd431e72f4d9a2079879c5766acc6adf1359b7d954aa -AUX openssl-3.3.2-arm64-clobber.patch 1733 BLAKE2B f0fe162cff941bc9051dea3c0d913fd1ccc8c4587d5c75aea57430f2ad363ac3262d2ef725c80aa2414942d5a10cc19b635c9b931a5299448c8408495e37704a SHA512 9833aecaf084e39208865ddca006cd5e0bb191d05ccf2accffbc158f05aa3d7787b22bca21d1523122ebe69c80d5015915c89840e508749d073d38c519ce4d19 AUX openssl-3.3.2-silence-warning.patch 1078 BLAKE2B 6f7852229a7ac21f217d32efa8075a8612e412444998671c05814c9e581359aa32fd8555abd6d507cd55f4af9aeebb99055c3a376f7f63dc9255090a1fb8d4f5 SHA512 2c91da767be085479e78ee5b20f0c29124da68761157964db67e45e5a3398b3a402837ab611d6e27e4a261912ed08d08387d3b6cdd1168b0da24b808e80fbe52 DIST openssl-1.0.2-patches-1.5.tar.xz 12404 BLAKE2B 6c1b8c28f339f539b2ab8643379502a24cf62bffde00041dce54d5dd9e8d2620b181362ee5464b0ab32ba4948e209697bfabadbea2944a409a1009100d298f24 SHA512 5725e2d9d1ee8cc074bcef3bed61c71bdab2ff1c114362110c3fb8da11ad5bc8f2ff28e90a293f5f3a5cf96ecda54dffdb7ab3fb3f8b23ef6472250dc3037659 DIST openssl-1.0.2t-bindist-1.0.tar.xz 13872 BLAKE2B b2aade96a6e0ca6209a39e205b1c838de945903fcf959c62cc29ddcd1a0cb360fc5db234df86860a6a4c096f5ecc237611e4c2946b986a5500c24ba93c208ef4 SHA512 a48a7efb9b973b865bcc5009d450b428ed6b4b95e4cefe70c51056e47392c8a7bec58215168d8b07712419dc74646c2bd2fd23bcfbba2031376e292249a6b1b6 diff --git a/dev-libs/openssl/files/openssl-3.0.15-CVE-2024-9143.patch b/dev-libs/openssl/files/openssl-3.0.15-CVE-2024-9143.patch deleted file mode 100644 index 252a24776ae8..000000000000 --- a/dev-libs/openssl/files/openssl-3.0.15-CVE-2024-9143.patch +++ /dev/null @@ -1,193 +0,0 @@ -https://bugs.gentoo.org/941643 -https://github.com/openssl/openssl/commit/72ae83ad214d2eef262461365a1975707f862712 - -From 72ae83ad214d2eef262461365a1975707f862712 Mon Sep 17 00:00:00 2001 -From: Viktor Dukhovni <viktor@openssl.org> -Date: Thu, 19 Sep 2024 01:02:40 +1000 -Subject: [PATCH] Harden BN_GF2m_poly2arr against misuse. - -The BN_GF2m_poly2arr() function converts characteristic-2 field -(GF_{2^m}) Galois polynomials from a representation as a BIGNUM bitmask, -to a compact array with just the exponents of the non-zero terms. - -These polynomials are then used in BN_GF2m_mod_arr() to perform modular -reduction. A precondition of calling BN_GF2m_mod_arr() is that the -polynomial must have a non-zero constant term (i.e. the array has `0` as -its final element). - -Internally, callers of BN_GF2m_poly2arr() did not verify that -precondition, and binary EC curve parameters with an invalid polynomial -could lead to out of bounds memory reads and writes in BN_GF2m_mod_arr(). - -The precondition is always true for polynomials that arise from the -standard form of EC parameters for characteristic-two fields (X9.62). -See the "Finite Field Identification" section of: - - https://www.itu.int/ITU-T/formal-language/itu-t/x/x894/2018-cor1/ANSI-X9-62.html - -The OpenSSL GF(2^m) code supports only the trinomial and pentanomial -basis X9.62 forms. - -This commit updates BN_GF2m_poly2arr() to return `0` (failure) when -the constant term is zero (i.e. the input bitmask BIGNUM is not odd). - -Additionally, the return value is made unambiguous when there is not -enough space to also pad the array with a final `-1` sentinel value. -The return value is now always the number of elements (including the -final `-1`) that would be filled when the output array is sufficiently -large. Previously the same count was returned both when the array has -just enough room for the final `-1` and when it had only enough space -for non-sentinel values. - -Finally, BN_GF2m_poly2arr() is updated to reject polynomials whose -degree exceeds `OPENSSL_ECC_MAX_FIELD_BITS`, this guards against -CPU exhausition attacks via excessively large inputs. - -The above issues do not arise in processing X.509 certificates. These -generally have EC keys from "named curves", and RFC5840 (Section 2.1.1) -disallows explicit EC parameters. The TLS code in OpenSSL enforces this -constraint only after the certificate is decoded, but, even if explicit -parameters are specified, they are in X9.62 form, which cannot represent -problem values as noted above. - -Initially reported as oss-fuzz issue 71623. - -A closely related issue was earlier reported in -<https://github.com/openssl/openssl/issues/19826>. - -Severity: Low, CVE-2024-9143 - -Reviewed-by: Matt Caswell <matt@openssl.org> -Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> -Reviewed-by: Paul Dale <ppzgs1@gmail.com> -Reviewed-by: Tomas Mraz <tomas@openssl.org> -(Merged from https://github.com/openssl/openssl/pull/25639) - -(cherry picked from commit 8e008cb8b23ec7dc75c45a66eeed09c815b11cd2) ---- a/crypto/bn/bn_gf2m.c -+++ b/crypto/bn/bn_gf2m.c -@@ -15,6 +15,7 @@ - #include "bn_local.h" - - #ifndef OPENSSL_NO_EC2M -+# include <openssl/ec.h> - - /* - * Maximum number of iterations before BN_GF2m_mod_solve_quad_arr should -@@ -1140,16 +1141,26 @@ int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, - /* - * Convert the bit-string representation of a polynomial ( \sum_{i=0}^n a_i * - * x^i) into an array of integers corresponding to the bits with non-zero -- * coefficient. Array is terminated with -1. Up to max elements of the array -- * will be filled. Return value is total number of array elements that would -- * be filled if array was large enough. -+ * coefficient. The array is intended to be suitable for use with -+ * `BN_GF2m_mod_arr()`, and so the constant term of the polynomial must not be -+ * zero. This translates to a requirement that the input BIGNUM `a` is odd. -+ * -+ * Given sufficient room, the array is terminated with -1. Up to max elements -+ * of the array will be filled. -+ * -+ * The return value is total number of array elements that would be filled if -+ * array was large enough, including the terminating `-1`. It is `0` when `a` -+ * is not odd or the constant term is zero contrary to requirement. -+ * -+ * The return value is also `0` when the leading exponent exceeds -+ * `OPENSSL_ECC_MAX_FIELD_BITS`, this guards against CPU exhaustion attacks, - */ - int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max) - { - int i, j, k = 0; - BN_ULONG mask; - -- if (BN_is_zero(a)) -+ if (!BN_is_odd(a)) - return 0; - - for (i = a->top - 1; i >= 0; i--) { -@@ -1167,12 +1178,13 @@ int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max) - } - } - -- if (k < max) { -+ if (k > 0 && p[0] > OPENSSL_ECC_MAX_FIELD_BITS) -+ return 0; -+ -+ if (k < max) - p[k] = -1; -- k++; -- } - -- return k; -+ return k + 1; - } - - /* ---- a/test/ec_internal_test.c -+++ b/test/ec_internal_test.c -@@ -155,6 +155,56 @@ static int field_tests_ecp_mont(void) - } - - #ifndef OPENSSL_NO_EC2M -+/* Test that decoding of invalid GF2m field parameters fails. */ -+static int ec2m_field_sanity(void) -+{ -+ int ret = 0; -+ BN_CTX *ctx = BN_CTX_new(); -+ BIGNUM *p, *a, *b; -+ EC_GROUP *group1 = NULL, *group2 = NULL, *group3 = NULL; -+ -+ TEST_info("Testing GF2m hardening\n"); -+ -+ BN_CTX_start(ctx); -+ p = BN_CTX_get(ctx); -+ a = BN_CTX_get(ctx); -+ if (!TEST_ptr(b = BN_CTX_get(ctx)) -+ || !TEST_true(BN_one(a)) -+ || !TEST_true(BN_one(b))) -+ goto out; -+ -+ /* Even pentanomial value should be rejected */ -+ if (!TEST_true(BN_set_word(p, 0xf2))) -+ goto out; -+ if (!TEST_ptr_null(group1 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) -+ TEST_error("Zero constant term accepted in GF2m polynomial"); -+ -+ /* Odd hexanomial should also be rejected */ -+ if (!TEST_true(BN_set_word(p, 0xf3))) -+ goto out; -+ if (!TEST_ptr_null(group2 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) -+ TEST_error("Hexanomial accepted as GF2m polynomial"); -+ -+ /* Excessive polynomial degree should also be rejected */ -+ if (!TEST_true(BN_set_word(p, 0x71)) -+ || !TEST_true(BN_set_bit(p, OPENSSL_ECC_MAX_FIELD_BITS + 1))) -+ goto out; -+ if (!TEST_ptr_null(group3 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) -+ TEST_error("GF2m polynomial degree > %d accepted", -+ OPENSSL_ECC_MAX_FIELD_BITS); -+ -+ ret = group1 == NULL && group2 == NULL && group3 == NULL; -+ -+ out: -+ EC_GROUP_free(group1); -+ EC_GROUP_free(group2); -+ EC_GROUP_free(group3); -+ BN_CTX_end(ctx); -+ BN_CTX_free(ctx); -+ -+ return ret; -+} -+ - /* test EC_GF2m_simple_method directly */ - static int field_tests_ec2_simple(void) - { -@@ -443,6 +493,7 @@ int setup_tests(void) - ADD_TEST(field_tests_ecp_simple); - ADD_TEST(field_tests_ecp_mont); - #ifndef OPENSSL_NO_EC2M -+ ADD_TEST(ec2m_field_sanity); - ADD_TEST(field_tests_ec2_simple); - #endif - ADD_ALL_TESTS(field_tests_default, crv_len); - diff --git a/dev-libs/openssl/files/openssl-3.1.7-CVE-2024-9143.patch b/dev-libs/openssl/files/openssl-3.1.7-CVE-2024-9143.patch deleted file mode 100644 index 4f33ef000dca..000000000000 --- a/dev-libs/openssl/files/openssl-3.1.7-CVE-2024-9143.patch +++ /dev/null @@ -1,192 +0,0 @@ -https://bugs.gentoo.org/941643 -https://github.com/openssl/openssl/commit/fdf6723362ca51bd883295efe206cb5b1cfa5154 - -From fdf6723362ca51bd883295efe206cb5b1cfa5154 Mon Sep 17 00:00:00 2001 -From: Viktor Dukhovni <viktor@openssl.org> -Date: Thu, 19 Sep 2024 01:02:40 +1000 -Subject: [PATCH] Harden BN_GF2m_poly2arr against misuse. - -The BN_GF2m_poly2arr() function converts characteristic-2 field -(GF_{2^m}) Galois polynomials from a representation as a BIGNUM bitmask, -to a compact array with just the exponents of the non-zero terms. - -These polynomials are then used in BN_GF2m_mod_arr() to perform modular -reduction. A precondition of calling BN_GF2m_mod_arr() is that the -polynomial must have a non-zero constant term (i.e. the array has `0` as -its final element). - -Internally, callers of BN_GF2m_poly2arr() did not verify that -precondition, and binary EC curve parameters with an invalid polynomial -could lead to out of bounds memory reads and writes in BN_GF2m_mod_arr(). - -The precondition is always true for polynomials that arise from the -standard form of EC parameters for characteristic-two fields (X9.62). -See the "Finite Field Identification" section of: - - https://www.itu.int/ITU-T/formal-language/itu-t/x/x894/2018-cor1/ANSI-X9-62.html - -The OpenSSL GF(2^m) code supports only the trinomial and pentanomial -basis X9.62 forms. - -This commit updates BN_GF2m_poly2arr() to return `0` (failure) when -the constant term is zero (i.e. the input bitmask BIGNUM is not odd). - -Additionally, the return value is made unambiguous when there is not -enough space to also pad the array with a final `-1` sentinel value. -The return value is now always the number of elements (including the -final `-1`) that would be filled when the output array is sufficiently -large. Previously the same count was returned both when the array has -just enough room for the final `-1` and when it had only enough space -for non-sentinel values. - -Finally, BN_GF2m_poly2arr() is updated to reject polynomials whose -degree exceeds `OPENSSL_ECC_MAX_FIELD_BITS`, this guards against -CPU exhausition attacks via excessively large inputs. - -The above issues do not arise in processing X.509 certificates. These -generally have EC keys from "named curves", and RFC5840 (Section 2.1.1) -disallows explicit EC parameters. The TLS code in OpenSSL enforces this -constraint only after the certificate is decoded, but, even if explicit -parameters are specified, they are in X9.62 form, which cannot represent -problem values as noted above. - -Initially reported as oss-fuzz issue 71623. - -A closely related issue was earlier reported in -<https://github.com/openssl/openssl/issues/19826>. - -Severity: Low, CVE-2024-9143 - -Reviewed-by: Matt Caswell <matt@openssl.org> -Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> -Reviewed-by: Paul Dale <ppzgs1@gmail.com> -Reviewed-by: Tomas Mraz <tomas@openssl.org> -(Merged from https://github.com/openssl/openssl/pull/25639) - -(cherry picked from commit 8e008cb8b23ec7dc75c45a66eeed09c815b11cd2) ---- a/crypto/bn/bn_gf2m.c -+++ b/crypto/bn/bn_gf2m.c -@@ -15,6 +15,7 @@ - #include "bn_local.h" - - #ifndef OPENSSL_NO_EC2M -+# include <openssl/ec.h> - - /* - * Maximum number of iterations before BN_GF2m_mod_solve_quad_arr should -@@ -1140,16 +1141,26 @@ int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, - /* - * Convert the bit-string representation of a polynomial ( \sum_{i=0}^n a_i * - * x^i) into an array of integers corresponding to the bits with non-zero -- * coefficient. Array is terminated with -1. Up to max elements of the array -- * will be filled. Return value is total number of array elements that would -- * be filled if array was large enough. -+ * coefficient. The array is intended to be suitable for use with -+ * `BN_GF2m_mod_arr()`, and so the constant term of the polynomial must not be -+ * zero. This translates to a requirement that the input BIGNUM `a` is odd. -+ * -+ * Given sufficient room, the array is terminated with -1. Up to max elements -+ * of the array will be filled. -+ * -+ * The return value is total number of array elements that would be filled if -+ * array was large enough, including the terminating `-1`. It is `0` when `a` -+ * is not odd or the constant term is zero contrary to requirement. -+ * -+ * The return value is also `0` when the leading exponent exceeds -+ * `OPENSSL_ECC_MAX_FIELD_BITS`, this guards against CPU exhaustion attacks, - */ - int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max) - { - int i, j, k = 0; - BN_ULONG mask; - -- if (BN_is_zero(a)) -+ if (!BN_is_odd(a)) - return 0; - - for (i = a->top - 1; i >= 0; i--) { -@@ -1167,12 +1178,13 @@ int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max) - } - } - -- if (k < max) { -+ if (k > 0 && p[0] > OPENSSL_ECC_MAX_FIELD_BITS) -+ return 0; -+ -+ if (k < max) - p[k] = -1; -- k++; -- } - -- return k; -+ return k + 1; - } - - /* ---- a/test/ec_internal_test.c -+++ b/test/ec_internal_test.c -@@ -155,6 +155,56 @@ static int field_tests_ecp_mont(void) - } - - #ifndef OPENSSL_NO_EC2M -+/* Test that decoding of invalid GF2m field parameters fails. */ -+static int ec2m_field_sanity(void) -+{ -+ int ret = 0; -+ BN_CTX *ctx = BN_CTX_new(); -+ BIGNUM *p, *a, *b; -+ EC_GROUP *group1 = NULL, *group2 = NULL, *group3 = NULL; -+ -+ TEST_info("Testing GF2m hardening\n"); -+ -+ BN_CTX_start(ctx); -+ p = BN_CTX_get(ctx); -+ a = BN_CTX_get(ctx); -+ if (!TEST_ptr(b = BN_CTX_get(ctx)) -+ || !TEST_true(BN_one(a)) -+ || !TEST_true(BN_one(b))) -+ goto out; -+ -+ /* Even pentanomial value should be rejected */ -+ if (!TEST_true(BN_set_word(p, 0xf2))) -+ goto out; -+ if (!TEST_ptr_null(group1 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) -+ TEST_error("Zero constant term accepted in GF2m polynomial"); -+ -+ /* Odd hexanomial should also be rejected */ -+ if (!TEST_true(BN_set_word(p, 0xf3))) -+ goto out; -+ if (!TEST_ptr_null(group2 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) -+ TEST_error("Hexanomial accepted as GF2m polynomial"); -+ -+ /* Excessive polynomial degree should also be rejected */ -+ if (!TEST_true(BN_set_word(p, 0x71)) -+ || !TEST_true(BN_set_bit(p, OPENSSL_ECC_MAX_FIELD_BITS + 1))) -+ goto out; -+ if (!TEST_ptr_null(group3 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) -+ TEST_error("GF2m polynomial degree > %d accepted", -+ OPENSSL_ECC_MAX_FIELD_BITS); -+ -+ ret = group1 == NULL && group2 == NULL && group3 == NULL; -+ -+ out: -+ EC_GROUP_free(group1); -+ EC_GROUP_free(group2); -+ EC_GROUP_free(group3); -+ BN_CTX_end(ctx); -+ BN_CTX_free(ctx); -+ -+ return ret; -+} -+ - /* test EC_GF2m_simple_method directly */ - static int field_tests_ec2_simple(void) - { -@@ -443,6 +493,7 @@ int setup_tests(void) - ADD_TEST(field_tests_ecp_simple); - ADD_TEST(field_tests_ecp_mont); - #ifndef OPENSSL_NO_EC2M -+ ADD_TEST(ec2m_field_sanity); - ADD_TEST(field_tests_ec2_simple); - #endif - ADD_ALL_TESTS(field_tests_default, crv_len); diff --git a/dev-libs/openssl/files/openssl-3.2.3-CVE-2024-9143.patch b/dev-libs/openssl/files/openssl-3.2.3-CVE-2024-9143.patch deleted file mode 100644 index e84b0f6c353e..000000000000 --- a/dev-libs/openssl/files/openssl-3.2.3-CVE-2024-9143.patch +++ /dev/null @@ -1,193 +0,0 @@ -https://bugs.gentoo.org/941643 -https://github.com/openssl/openssl/commit/bc7e04d7c8d509fb78fc0e285aa948fb0da04700 - -From bc7e04d7c8d509fb78fc0e285aa948fb0da04700 Mon Sep 17 00:00:00 2001 -From: Viktor Dukhovni <viktor@openssl.org> -Date: Thu, 19 Sep 2024 01:02:40 +1000 -Subject: [PATCH] Harden BN_GF2m_poly2arr against misuse. - -The BN_GF2m_poly2arr() function converts characteristic-2 field -(GF_{2^m}) Galois polynomials from a representation as a BIGNUM bitmask, -to a compact array with just the exponents of the non-zero terms. - -These polynomials are then used in BN_GF2m_mod_arr() to perform modular -reduction. A precondition of calling BN_GF2m_mod_arr() is that the -polynomial must have a non-zero constant term (i.e. the array has `0` as -its final element). - -Internally, callers of BN_GF2m_poly2arr() did not verify that -precondition, and binary EC curve parameters with an invalid polynomial -could lead to out of bounds memory reads and writes in BN_GF2m_mod_arr(). - -The precondition is always true for polynomials that arise from the -standard form of EC parameters for characteristic-two fields (X9.62). -See the "Finite Field Identification" section of: - - https://www.itu.int/ITU-T/formal-language/itu-t/x/x894/2018-cor1/ANSI-X9-62.html - -The OpenSSL GF(2^m) code supports only the trinomial and pentanomial -basis X9.62 forms. - -This commit updates BN_GF2m_poly2arr() to return `0` (failure) when -the constant term is zero (i.e. the input bitmask BIGNUM is not odd). - -Additionally, the return value is made unambiguous when there is not -enough space to also pad the array with a final `-1` sentinel value. -The return value is now always the number of elements (including the -final `-1`) that would be filled when the output array is sufficiently -large. Previously the same count was returned both when the array has -just enough room for the final `-1` and when it had only enough space -for non-sentinel values. - -Finally, BN_GF2m_poly2arr() is updated to reject polynomials whose -degree exceeds `OPENSSL_ECC_MAX_FIELD_BITS`, this guards against -CPU exhausition attacks via excessively large inputs. - -The above issues do not arise in processing X.509 certificates. These -generally have EC keys from "named curves", and RFC5840 (Section 2.1.1) -disallows explicit EC parameters. The TLS code in OpenSSL enforces this -constraint only after the certificate is decoded, but, even if explicit -parameters are specified, they are in X9.62 form, which cannot represent -problem values as noted above. - -Initially reported as oss-fuzz issue 71623. - -A closely related issue was earlier reported in -<https://github.com/openssl/openssl/issues/19826>. - -Severity: Low, CVE-2024-9143 - -Reviewed-by: Matt Caswell <matt@openssl.org> -Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> -Reviewed-by: Paul Dale <ppzgs1@gmail.com> -Reviewed-by: Tomas Mraz <tomas@openssl.org> -(Merged from https://github.com/openssl/openssl/pull/25639) - -(cherry picked from commit 8e008cb8b23ec7dc75c45a66eeed09c815b11cd2) ---- a/crypto/bn/bn_gf2m.c -+++ b/crypto/bn/bn_gf2m.c -@@ -15,6 +15,7 @@ - #include "bn_local.h" - - #ifndef OPENSSL_NO_EC2M -+# include <openssl/ec.h> - - /* - * Maximum number of iterations before BN_GF2m_mod_solve_quad_arr should -@@ -1130,16 +1131,26 @@ int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, - /* - * Convert the bit-string representation of a polynomial ( \sum_{i=0}^n a_i * - * x^i) into an array of integers corresponding to the bits with non-zero -- * coefficient. Array is terminated with -1. Up to max elements of the array -- * will be filled. Return value is total number of array elements that would -- * be filled if array was large enough. -+ * coefficient. The array is intended to be suitable for use with -+ * `BN_GF2m_mod_arr()`, and so the constant term of the polynomial must not be -+ * zero. This translates to a requirement that the input BIGNUM `a` is odd. -+ * -+ * Given sufficient room, the array is terminated with -1. Up to max elements -+ * of the array will be filled. -+ * -+ * The return value is total number of array elements that would be filled if -+ * array was large enough, including the terminating `-1`. It is `0` when `a` -+ * is not odd or the constant term is zero contrary to requirement. -+ * -+ * The return value is also `0` when the leading exponent exceeds -+ * `OPENSSL_ECC_MAX_FIELD_BITS`, this guards against CPU exhaustion attacks, - */ - int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max) - { - int i, j, k = 0; - BN_ULONG mask; - -- if (BN_is_zero(a)) -+ if (!BN_is_odd(a)) - return 0; - - for (i = a->top - 1; i >= 0; i--) { -@@ -1157,12 +1168,13 @@ int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max) - } - } - -- if (k < max) { -+ if (k > 0 && p[0] > OPENSSL_ECC_MAX_FIELD_BITS) -+ return 0; -+ -+ if (k < max) - p[k] = -1; -- k++; -- } - -- return k; -+ return k + 1; - } - - /* ---- a/test/ec_internal_test.c -+++ b/test/ec_internal_test.c -@@ -155,6 +155,56 @@ static int field_tests_ecp_mont(void) - } - - #ifndef OPENSSL_NO_EC2M -+/* Test that decoding of invalid GF2m field parameters fails. */ -+static int ec2m_field_sanity(void) -+{ -+ int ret = 0; -+ BN_CTX *ctx = BN_CTX_new(); -+ BIGNUM *p, *a, *b; -+ EC_GROUP *group1 = NULL, *group2 = NULL, *group3 = NULL; -+ -+ TEST_info("Testing GF2m hardening\n"); -+ -+ BN_CTX_start(ctx); -+ p = BN_CTX_get(ctx); -+ a = BN_CTX_get(ctx); -+ if (!TEST_ptr(b = BN_CTX_get(ctx)) -+ || !TEST_true(BN_one(a)) -+ || !TEST_true(BN_one(b))) -+ goto out; -+ -+ /* Even pentanomial value should be rejected */ -+ if (!TEST_true(BN_set_word(p, 0xf2))) -+ goto out; -+ if (!TEST_ptr_null(group1 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) -+ TEST_error("Zero constant term accepted in GF2m polynomial"); -+ -+ /* Odd hexanomial should also be rejected */ -+ if (!TEST_true(BN_set_word(p, 0xf3))) -+ goto out; -+ if (!TEST_ptr_null(group2 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) -+ TEST_error("Hexanomial accepted as GF2m polynomial"); -+ -+ /* Excessive polynomial degree should also be rejected */ -+ if (!TEST_true(BN_set_word(p, 0x71)) -+ || !TEST_true(BN_set_bit(p, OPENSSL_ECC_MAX_FIELD_BITS + 1))) -+ goto out; -+ if (!TEST_ptr_null(group3 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) -+ TEST_error("GF2m polynomial degree > %d accepted", -+ OPENSSL_ECC_MAX_FIELD_BITS); -+ -+ ret = group1 == NULL && group2 == NULL && group3 == NULL; -+ -+ out: -+ EC_GROUP_free(group1); -+ EC_GROUP_free(group2); -+ EC_GROUP_free(group3); -+ BN_CTX_end(ctx); -+ BN_CTX_free(ctx); -+ -+ return ret; -+} -+ - /* test EC_GF2m_simple_method directly */ - static int field_tests_ec2_simple(void) - { -@@ -443,6 +493,7 @@ int setup_tests(void) - ADD_TEST(field_tests_ecp_simple); - ADD_TEST(field_tests_ecp_mont); - #ifndef OPENSSL_NO_EC2M -+ ADD_TEST(ec2m_field_sanity); - ADD_TEST(field_tests_ec2_simple); - #endif - ADD_ALL_TESTS(field_tests_default, crv_len); - diff --git a/dev-libs/openssl/files/openssl-3.3.2-CVE-2024-9143.patch b/dev-libs/openssl/files/openssl-3.3.2-CVE-2024-9143.patch deleted file mode 100644 index 5776c78bfbbf..000000000000 --- a/dev-libs/openssl/files/openssl-3.3.2-CVE-2024-9143.patch +++ /dev/null @@ -1,193 +0,0 @@ -https://bugs.gentoo.org/941643 -https://github.com/openssl/openssl/commit/c0d3e4d32d2805f49bec30547f225bc4d092e1f4 - -From c0d3e4d32d2805f49bec30547f225bc4d092e1f4 Mon Sep 17 00:00:00 2001 -From: Viktor Dukhovni <viktor@openssl.org> -Date: Thu, 19 Sep 2024 01:02:40 +1000 -Subject: [PATCH] Harden BN_GF2m_poly2arr against misuse. - -The BN_GF2m_poly2arr() function converts characteristic-2 field -(GF_{2^m}) Galois polynomials from a representation as a BIGNUM bitmask, -to a compact array with just the exponents of the non-zero terms. - -These polynomials are then used in BN_GF2m_mod_arr() to perform modular -reduction. A precondition of calling BN_GF2m_mod_arr() is that the -polynomial must have a non-zero constant term (i.e. the array has `0` as -its final element). - -Internally, callers of BN_GF2m_poly2arr() did not verify that -precondition, and binary EC curve parameters with an invalid polynomial -could lead to out of bounds memory reads and writes in BN_GF2m_mod_arr(). - -The precondition is always true for polynomials that arise from the -standard form of EC parameters for characteristic-two fields (X9.62). -See the "Finite Field Identification" section of: - - https://www.itu.int/ITU-T/formal-language/itu-t/x/x894/2018-cor1/ANSI-X9-62.html - -The OpenSSL GF(2^m) code supports only the trinomial and pentanomial -basis X9.62 forms. - -This commit updates BN_GF2m_poly2arr() to return `0` (failure) when -the constant term is zero (i.e. the input bitmask BIGNUM is not odd). - -Additionally, the return value is made unambiguous when there is not -enough space to also pad the array with a final `-1` sentinel value. -The return value is now always the number of elements (including the -final `-1`) that would be filled when the output array is sufficiently -large. Previously the same count was returned both when the array has -just enough room for the final `-1` and when it had only enough space -for non-sentinel values. - -Finally, BN_GF2m_poly2arr() is updated to reject polynomials whose -degree exceeds `OPENSSL_ECC_MAX_FIELD_BITS`, this guards against -CPU exhausition attacks via excessively large inputs. - -The above issues do not arise in processing X.509 certificates. These -generally have EC keys from "named curves", and RFC5840 (Section 2.1.1) -disallows explicit EC parameters. The TLS code in OpenSSL enforces this -constraint only after the certificate is decoded, but, even if explicit -parameters are specified, they are in X9.62 form, which cannot represent -problem values as noted above. - -Initially reported as oss-fuzz issue 71623. - -A closely related issue was earlier reported in -<https://github.com/openssl/openssl/issues/19826>. - -Severity: Low, CVE-2024-9143 - -Reviewed-by: Matt Caswell <matt@openssl.org> -Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> -Reviewed-by: Paul Dale <ppzgs1@gmail.com> -Reviewed-by: Tomas Mraz <tomas@openssl.org> -(Merged from https://github.com/openssl/openssl/pull/25639) - -(cherry picked from commit 8e008cb8b23ec7dc75c45a66eeed09c815b11cd2) ---- a/crypto/bn/bn_gf2m.c -+++ b/crypto/bn/bn_gf2m.c -@@ -15,6 +15,7 @@ - #include "bn_local.h" - - #ifndef OPENSSL_NO_EC2M -+# include <openssl/ec.h> - - /* - * Maximum number of iterations before BN_GF2m_mod_solve_quad_arr should -@@ -1130,16 +1131,26 @@ int BN_GF2m_mod_solve_quad(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, - /* - * Convert the bit-string representation of a polynomial ( \sum_{i=0}^n a_i * - * x^i) into an array of integers corresponding to the bits with non-zero -- * coefficient. Array is terminated with -1. Up to max elements of the array -- * will be filled. Return value is total number of array elements that would -- * be filled if array was large enough. -+ * coefficient. The array is intended to be suitable for use with -+ * `BN_GF2m_mod_arr()`, and so the constant term of the polynomial must not be -+ * zero. This translates to a requirement that the input BIGNUM `a` is odd. -+ * -+ * Given sufficient room, the array is terminated with -1. Up to max elements -+ * of the array will be filled. -+ * -+ * The return value is total number of array elements that would be filled if -+ * array was large enough, including the terminating `-1`. It is `0` when `a` -+ * is not odd or the constant term is zero contrary to requirement. -+ * -+ * The return value is also `0` when the leading exponent exceeds -+ * `OPENSSL_ECC_MAX_FIELD_BITS`, this guards against CPU exhaustion attacks, - */ - int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max) - { - int i, j, k = 0; - BN_ULONG mask; - -- if (BN_is_zero(a)) -+ if (!BN_is_odd(a)) - return 0; - - for (i = a->top - 1; i >= 0; i--) { -@@ -1157,12 +1168,13 @@ int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max) - } - } - -- if (k < max) { -+ if (k > 0 && p[0] > OPENSSL_ECC_MAX_FIELD_BITS) -+ return 0; -+ -+ if (k < max) - p[k] = -1; -- k++; -- } - -- return k; -+ return k + 1; - } - - /* ---- a/test/ec_internal_test.c -+++ b/test/ec_internal_test.c -@@ -155,6 +155,56 @@ static int field_tests_ecp_mont(void) - } - - #ifndef OPENSSL_NO_EC2M -+/* Test that decoding of invalid GF2m field parameters fails. */ -+static int ec2m_field_sanity(void) -+{ -+ int ret = 0; -+ BN_CTX *ctx = BN_CTX_new(); -+ BIGNUM *p, *a, *b; -+ EC_GROUP *group1 = NULL, *group2 = NULL, *group3 = NULL; -+ -+ TEST_info("Testing GF2m hardening\n"); -+ -+ BN_CTX_start(ctx); -+ p = BN_CTX_get(ctx); -+ a = BN_CTX_get(ctx); -+ if (!TEST_ptr(b = BN_CTX_get(ctx)) -+ || !TEST_true(BN_one(a)) -+ || !TEST_true(BN_one(b))) -+ goto out; -+ -+ /* Even pentanomial value should be rejected */ -+ if (!TEST_true(BN_set_word(p, 0xf2))) -+ goto out; -+ if (!TEST_ptr_null(group1 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) -+ TEST_error("Zero constant term accepted in GF2m polynomial"); -+ -+ /* Odd hexanomial should also be rejected */ -+ if (!TEST_true(BN_set_word(p, 0xf3))) -+ goto out; -+ if (!TEST_ptr_null(group2 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) -+ TEST_error("Hexanomial accepted as GF2m polynomial"); -+ -+ /* Excessive polynomial degree should also be rejected */ -+ if (!TEST_true(BN_set_word(p, 0x71)) -+ || !TEST_true(BN_set_bit(p, OPENSSL_ECC_MAX_FIELD_BITS + 1))) -+ goto out; -+ if (!TEST_ptr_null(group3 = EC_GROUP_new_curve_GF2m(p, a, b, ctx))) -+ TEST_error("GF2m polynomial degree > %d accepted", -+ OPENSSL_ECC_MAX_FIELD_BITS); -+ -+ ret = group1 == NULL && group2 == NULL && group3 == NULL; -+ -+ out: -+ EC_GROUP_free(group1); -+ EC_GROUP_free(group2); -+ EC_GROUP_free(group3); -+ BN_CTX_end(ctx); -+ BN_CTX_free(ctx); -+ -+ return ret; -+} -+ - /* test EC_GF2m_simple_method directly */ - static int field_tests_ec2_simple(void) - { -@@ -443,6 +493,7 @@ int setup_tests(void) - ADD_TEST(field_tests_ecp_simple); - ADD_TEST(field_tests_ecp_mont); - #ifndef OPENSSL_NO_EC2M -+ ADD_TEST(ec2m_field_sanity); - ADD_TEST(field_tests_ec2_simple); - #endif - ADD_ALL_TESTS(field_tests_default, crv_len); - diff --git a/dev-libs/openssl/files/openssl-3.3.2-arm64-clobber.patch b/dev-libs/openssl/files/openssl-3.3.2-arm64-clobber.patch deleted file mode 100644 index d83c5b4fb87f..000000000000 --- a/dev-libs/openssl/files/openssl-3.3.2-arm64-clobber.patch +++ /dev/null @@ -1,55 +0,0 @@ -https://gcc.gnu.org/PR118537 -https://www.postgresql.org/message-id/6fxlmnyagkycru3bewa4ympknywnsswlqzvwfft3ifqqiioxlv%40ax53pv7xdrc2 -https://github.com/openssl/openssl/pull/26469 -https://github.com/openssl/openssl/commit/4f7d8b2724ea7f42cff1e8a0e736ad448def60f5 - -From 4f7d8b2724ea7f42cff1e8a0e736ad448def60f5 Mon Sep 17 00:00:00 2001 -From: Julian Andres Klode <julian.klode@canonical.com> -Date: Sat, 18 Jan 2025 21:12:45 +0100 -Subject: [PATCH] Restore correct registers in aarch64 AES-CTR code - -Commit 1d1ca79fe35dbe5c05faed5a2ef8c4de9c5adc49 introduced -save and restore for the registers, saving them as - - stp d8,d9,[sp, #16] - stp d10,d11,[sp, #32] - stp d12,d13,[sp, #48] - stp d14,d15,[sp, #64] - -But the restore code was inadvertently typoed: - - ldp d8,d9,[sp, #16] - ldp d10,d11,[sp, #32] - ldp d12,d13,[sp, #48] - ldp d15,d16,[sp, #64] - -Restoring [sp, #64] into d15,d16 instead of d14,d15. - -Fixes: #26466 - -CLA: trivial - -Reviewed-by: Kurt Roeckx <kurt@roeckx.be> -Reviewed-by: Paul Dale <ppzgs1@gmail.com> -Reviewed-by: Tomas Mraz <tomas@openssl.org> -(Merged from https://github.com/openssl/openssl/pull/26469) - -(cherry picked from commit 5261f3ca41cda7ad5767e399e9a2dc008bbad5d6) ---- - crypto/aes/asm/aesv8-armx.pl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/crypto/aes/asm/aesv8-armx.pl b/crypto/aes/asm/aesv8-armx.pl -index 33a2dd53dae19..dc019b04ccd25 100755 ---- a/crypto/aes/asm/aesv8-armx.pl -+++ b/crypto/aes/asm/aesv8-armx.pl -@@ -2493,7 +2493,7 @@ () - ldp d8,d9,[sp, #16] - ldp d10,d11,[sp, #32] - ldp d12,d13,[sp, #48] -- ldp d15,d16,[sp, #64] -+ ldp d14,d15,[sp, #64] - ldr x29,[sp],#80 - ret - .size ${prefix}_ctr32_encrypt_blocks_unroll12_eor3,.-${prefix}_ctr32_encrypt_blocks_unroll12_eor3 - diff --git a/dev-libs/tree-sitter-lua/Manifest b/dev-libs/tree-sitter-lua/Manifest index a505474821a6..5e4e81aaa5d2 100644 --- a/dev-libs/tree-sitter-lua/Manifest +++ b/dev-libs/tree-sitter-lua/Manifest @@ -1,5 +1,7 @@ DIST tree-sitter-lua-0.1.0.tar.gz 56812 BLAKE2B 2a90a84ff824dfa3233cbc5f21c750796872455747d7a8922526ed852eff7d2787c943090e0858b24df90511c48fe054c6a94289ff404fc317e16af5a117d53e SHA512 7eceb729faacffd13328b7778e408219e76e5ae9aac38bdabd13584817633351161bfcc4074f0ce82c07a61054fdfe14ad5235713f2f2acf18bfd0b414b09a7b DIST tree-sitter-lua-0.2.0.tar.gz 60830 BLAKE2B 7250618e2d0676ac9347096e802bf04088f13bc1dab44522063719910d2182822e578f8a0858dd6d3692da5e3a50a8ce9b4aa5928e4bfce25c19106225d21cb9 SHA512 184734b9c1a2ba5529964173c6aeb4813ef3cfb23e5c8c651719a39e1ac794a85a845d5dc881b585a44b268136fc9367f80550bc9df7f5b39a743eb0ade34473 +DIST tree-sitter-lua-0.3.0.tar.gz 62157 BLAKE2B 228618fd77807fe69c8924cae621823ae4583e71e64ad894c7c6fab69047a7bd38c486fecf33dab74c326aa542a0b8994644f73010ad3784df4f695e569d4f62 SHA512 6b7701432f265509f6d68283c20f5fdb91a5111ac12119f51d7cd36d24ac630e6c4e2aa82938fec181b3e41eaacc86658c5b32d24d93f03566b5af69280b66cc EBUILD tree-sitter-lua-0.1.0.ebuild 453 BLAKE2B 55a09f0b2416e875cdbfff9ee248e001e19e5d1e3803b8a349cbfb74c1cb878c001280968e347530aec55d9cd115eacf2a31dffc825ccf21b79285c6e5df9630 SHA512 486f3a3e989a88e050644c3c8a95576574098c81c1dae53969d6d057b60300287ee187a53536f5dff479c89f8519c9940ac2c1445c9a12928f70531fbafa2b1b EBUILD tree-sitter-lua-0.2.0.ebuild 456 BLAKE2B c6962aafa7b5cc406ca180e06005db7b9c95c3d08bcf4f59cba2ecd50fa9f2e63e08b6c2eee4a5d1e2a058341c81260a2609b11ce62302c2346cca162e85e398 SHA512 a8b1473377bc96feb21fc7580a3e418db591b39751a89d55d6b5bf63ee6cde2c453650847c4966c3fa57b231fe396353cf67ea2ab7fab4d1b160351da586bbd7 +EBUILD tree-sitter-lua-0.3.0.ebuild 456 BLAKE2B 7beabd0e70b5394eb103bf63232d6893b6fd01b1227484c4ee9e7ffe1fe98929b9fe11ec58fc939e1b7db742e0a61becaf9bbff373854815c2a73564fa90e644 SHA512 968f3f095053434266e49c46163e14a34b793b625a47399463efe7a5d37c2c0e033e747187db824b83253bdcdf43a05e671fb7dd40c22523fdc0ccda15db2210 MISC metadata.xml 609 BLAKE2B 18dfe36a7c2a7d3be8d662d012fbb1576e4225d61b1ac4ca82d7a71a04d36bd90b6f4f5cb6bb8d2ad3855e9202e55d397a58de6af82bf1c3d3ab2d2e9ef2442a SHA512 304638c26006ef3b52bd4bae99c353dbb276af6b992a05ab8ec99ec89fa9a726f24d0e00f2a0aa9972afb646aec0400a9095764ed2d4990f06d3385956e1f252 diff --git a/dev-libs/tree-sitter-lua/tree-sitter-lua-0.3.0.ebuild b/dev-libs/tree-sitter-lua/tree-sitter-lua-0.3.0.ebuild new file mode 100644 index 000000000000..f75d4462d8df --- /dev/null +++ b/dev-libs/tree-sitter-lua/tree-sitter-lua-0.3.0.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TS_BINDINGS=( python ) + +inherit tree-sitter-grammar + +DESCRIPTION="Lua grammar for Tree-sitter" +HOMEPAGE="https://github.com/tree-sitter-grammars/tree-sitter-lua" +SRC_URI="https://github.com/tree-sitter-grammars/tree-sitter-lua/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" diff --git a/dev-libs/tree-sitter-markdown/Manifest b/dev-libs/tree-sitter-markdown/Manifest index 3cf3b5594ae0..3449f7c5fcd9 100644 --- a/dev-libs/tree-sitter-markdown/Manifest +++ b/dev-libs/tree-sitter-markdown/Manifest @@ -1,5 +1,7 @@ DIST tree-sitter-markdown-0.2.3.tar.gz 418293 BLAKE2B 803c35b697f19225a887e2839921235155920e7bb7d851406275da436407b3a19a0122ae03ae67722f66f80b4e88099c23f403f4318629224ae3473bfbb29ffe SHA512 8b6849d6dc964c82e45c3d18599d9f3e0ee9656a5085a9ec47f72d0343969e379ce190628a04dae64cb4ecdca2497e6d33ca7175e1f73796742a3ee6ffea743f DIST tree-sitter-markdown-0.3.2.tar.gz 419764 BLAKE2B 6e6e8ab7decc0d1aa87ae8087b1f09fa62bb3346b3217a594974ca988012a1d2dec3a9fb0b39553bbb758b24e423e127a5ddcc77bc8035c6805b081a5a58859e SHA512 04064c3384e0a9f8f1336c4587d15b14cf6a01a4579034c64f99ee85cb0fe1bc217b2f802c53f542ca40db20e7ce3b0bfef0bfe398dd2731caed47360a09ac5b +DIST tree-sitter-markdown-0.4.1.tar.gz 419261 BLAKE2B 24723f4b4e86c9882d02cc93c732939916f18b9cf77b0c898fc977e51239dca22006013e1820c9271edfa9f3f533ce277b0722093f983f91b3ea3e19acc47850 SHA512 c2a2ca26773192e7d25df06c1d1eaf8b4a567148b1f3965e7e0c3120ba88f081b967461fbdbbf007f51b3649b2c24d60dd974ee025b94866d8f72b6af7473bf1 EBUILD tree-sitter-markdown-0.2.3.ebuild 470 BLAKE2B 6a3b3afaa3c051796503df8ea63e7b9b221c78ff2979342d24ab13eef22b5a4872434f1f82c6b312abea871d506b90ba03b5d413b0060376d9e5ab51110daf06 SHA512 960df4a46e0ab1cff188fb57d5cb76e56499126511c360f711c33860ffbdf6e184a1082e492cc5d73a587d862c12e3cbb69030a9e062eeaef55e59f377a1cce5 EBUILD tree-sitter-markdown-0.3.2.ebuild 473 BLAKE2B 73691f723000047e48d91e03027c52e1afe7db68567da37501ae68ce27a03a6e4c1797aa2a38e40a72f457406e521c49c7109353d412e36e28a5b4ab56d25863 SHA512 f601cd021305530b337a454d205494d9a6286c5492a5e0ccb391e08f005cc0f58a38263da7a17d93af7494d7342c39358dff7742e4e55ed90cc1ae83ff064e32 +EBUILD tree-sitter-markdown-0.4.1.ebuild 473 BLAKE2B d4d92fa24655b84842d2c21dafbf80d3c0a66553ee438340118caa42f29f31bd858d31029f4b7660fbbff8bcb66835c369a92abf160fa3dfc57e35eefe71154b SHA512 595e015813eb0b124f77186f8b42f0023012458518c857f3bac8a5a2610f2a5a46f6b253b2b556f2bd0a87ddc0772d6b1845aa376d404592098960ad74005f5a MISC metadata.xml 614 BLAKE2B f7b9e31ac616ef40d0c2300bc35eabdd8ed778aebe0d9024fbb34bba1673aa14086106ff4a11c9e48113ae68802294f936175b039daf00e3201db66c3d13366a SHA512 556bec3fdfb8edd3bd6dbe005c53ecb7e7400387a43d8f25e87490b55a6dd4eb08d94933a6e56996732a4dff0aefa8c666df04a326f5d6851020d839edc3a643 diff --git a/dev-libs/tree-sitter-markdown/tree-sitter-markdown-0.4.1.ebuild b/dev-libs/tree-sitter-markdown/tree-sitter-markdown-0.4.1.ebuild new file mode 100644 index 000000000000..7fb28894a8c7 --- /dev/null +++ b/dev-libs/tree-sitter-markdown/tree-sitter-markdown-0.4.1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit tree-sitter-grammar + +DESCRIPTION="Markdown grammar for Tree-sitter" +HOMEPAGE="https://github.com/tree-sitter-grammars/tree-sitter-markdown" +SRC_URI="https://github.com/tree-sitter-grammars/tree-sitter-markdown/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P}/${PN}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" diff --git a/dev-libs/tree-sitter-vim/Manifest b/dev-libs/tree-sitter-vim/Manifest index dc195800d366..26d9e41a0a13 100644 --- a/dev-libs/tree-sitter-vim/Manifest +++ b/dev-libs/tree-sitter-vim/Manifest @@ -1,3 +1,5 @@ DIST tree-sitter-vim-0.4.0.tar.gz 356704 BLAKE2B f1b2768a1efd6b1051cb4989923ef8d9b874faf24180beb6db1f65d2a2d75189bdd82ae4646c3b3e7c21a98466a510b89447074b2f0fdf2384802990e19f5c9d SHA512 32796cc68227c48ea4d0d2c78640c66710a8f67ab45add1d5a89eec5ade5f74bde6f2fed353a5779f5618ab91567e563449c72b8e134a904d011266303695bda +DIST tree-sitter-vim-0.5.0.tar.gz 357652 BLAKE2B 4fac13cf28349b0bf4c2f0a1f051d62156af38612f511ad4d8e627ba09b421fc27ad7d4a17016113f9db7159cfc2618af73ba6d28a30802cb5dcfb4cd7ef6b73 SHA512 0be8cdd10feef79332514d316989c0fbf4608ec90ecee454699cb2071db040024a68fa057805325b3d61ed51c673a89f46bdbd4072b295e9a135dae9b6e60e01 EBUILD tree-sitter-vim-0.4.0.ebuild 459 BLAKE2B e2644a64de2c09819b730cc2084b36f345cb661e94d78158f203bff030b9a7ba74ded0d81b991d35913f60caeb8bfe52a616e5ebf9a23e314ef391ca2489e8f0 SHA512 c84801a416bdb9ac40ceb529e4c0efb64e485b92da9215937cc7e02c7f67d128a0ce4381558ddeb8709a43b9b0cc1b470f4963ff466ef4d06811d8b8783341ce +EBUILD tree-sitter-vim-0.5.0.ebuild 462 BLAKE2B 49b1b44473ef51c8d6766f0b10e48e9de752b72c494907c995ba32959e91b598c679048dab30e9d54cd75f81d18cc4e6ce8cbb9e96734fa587ba0a063a2f71da SHA512 f6d24ceffcf09ff5360ab93cd58841b89973b55cc4b19bb05dec8fb0ca28f9d960222d059e8b19c990e4eefed89c3f22eb601837c4475cb445152ededafa3560 MISC metadata.xml 609 BLAKE2B cbcf0b220bc25f4682db5b01bf36c3e0483b5a52e36ca681b8266de89e58c1bcbb8de9391e58ee672ea29a3bb4200879ed9ff6563d65e94c007ff91525d7cecf SHA512 dd6af8c71ae1fe143a1324bfd9fb1a83b33aa4824971989c871b823c12b5cf0121e24051c799f6ca78d78fa30683ab36bf2d743663a0f9bbb5cf04b5d5519734 diff --git a/dev-libs/tree-sitter-vim/tree-sitter-vim-0.5.0.ebuild b/dev-libs/tree-sitter-vim/tree-sitter-vim-0.5.0.ebuild new file mode 100644 index 000000000000..5a59683bd4b2 --- /dev/null +++ b/dev-libs/tree-sitter-vim/tree-sitter-vim-0.5.0.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +TS_BINDINGS=( python ) + +inherit tree-sitter-grammar + +DESCRIPTION="Vimscript grammar for Tree-sitter" +HOMEPAGE="https://github.com/tree-sitter-grammars/tree-sitter-vim" +SRC_URI="https://github.com/tree-sitter-grammars/tree-sitter-vim/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" diff --git a/dev-libs/wayland-protocols/Manifest b/dev-libs/wayland-protocols/Manifest index 6cd4ac8a0e5a..5aa0d240b17a 100644 --- a/dev-libs/wayland-protocols/Manifest +++ b/dev-libs/wayland-protocols/Manifest @@ -1,8 +1,10 @@ DIST wayland-protocols-1.38.tar.xz 102648 BLAKE2B b07abed74b2f83247f3746414dc1f9e317793f9bc6ae7c1cb955d94149577964dee2ed0d658d4b9d9d7bd446509966393f4060b85db09b56292ddd9702bd1aee SHA512 43fc36d35bedb245deed0e2de246f42d2bbfa6ecafa094f2a7fb103d6df8ae28f3cc200bc5aa24745b9131a28381883c24779da0a6d9ac954753bd5ebb1405db DIST wayland-protocols-1.39.tar.xz 108844 BLAKE2B ca0350acdce8e2b3803ef4582576fd2db61228f54cebfa232ebbf85377a7201ceb9a96650c8940dc91c193681fa70a0fcb3d5fa9e541acfe77ae07448e998f9d SHA512 480a195ec0846400d93160e3d0a7ba12948ed841835ee4661f54b0101ae0027affd9c0f660a73244786fecd70e4f609830489a6b95e00d750cf2379734aacbe0 DIST wayland-protocols-1.41.tar.xz 120224 BLAKE2B cb24920543041c7194b7c9fca8185c130c06669df67119b3102f37ca245c31e03534e5431274869f871780306b8e1f75e08279dbd82c2a7ec13e227ccedc8275 SHA512 6122fe4f20a1a0908abd631ff31302b56018050e5e835c1413d5b40a527980c30859ed9cddf595213f7d5eb1d50baaf6adc312cef9279d60b8a15e447e259863 +DIST wayland-protocols-1.42.tar.xz 121168 BLAKE2B 7dc9cf43f82ee7522419327eaeaa36ebfe2a05f45687a2068951125af0de587d3a496bb2eb80f1e0afa96c960090d8d80ff7806117c578fb3771126fd2b8d65d SHA512 ce85fecbe886264eaeb34c7992d4e493295f57f6213d5a2ec04b3471daee04a4225b1a7e77a27ccf39306074780553ec1383c55af30cc2c78942b40cc5777c1b EBUILD wayland-protocols-1.38.ebuild 769 BLAKE2B c2a4d37a807bba72de674824610a0a8128390d876af363e86ffd6f2234a5a647fa36e85ec358c0bc8768dd46e2e7f9ba65a809a871144cd57e9b3ea63353de5b SHA512 cb18b4fc2ab33815005544ee2b2cd2f69b633e70c57aa4beb94d21cd51b266dba7821f24cdc0f2691f1ef6e85c83b2fa0ec2e1c440c8419bbf02b23c7ba13796 EBUILD wayland-protocols-1.39.ebuild 778 BLAKE2B 16e0d05aebffaa5468173ba94b9716f08fbb8e856c731c2aaf15f2f7f3ce021381e8a2f8f3bd85571dc4248e9f2de0ef540a94e3b10bdcbbd60b17e6f9bdad38 SHA512 4cf179a757063df5b4fdaa7e577e4e87527ac2ec11dc2ddc9198605899a90b438a9456f0cc58b6d0dbef3cd5fc2935c063ec3f1eaaeed45cc89e3d01d3c8eb96 EBUILD wayland-protocols-1.41.ebuild 785 BLAKE2B 516aaa8cdc7ddd6dea0ba637007fb9cebd0167ab621f69d7eb5fbc36ec23c91d395054d4aa1d414072542039c12746e6819f294944aa36874d054ae260fdfe84 SHA512 c25aab9122161bee4ebd8d903726a445946413ed3cc897fc1f0da1f4112cf70a0bfc7267102a5c908fb32b981f84394db32a57b014c9e6bfd49fba6147516ba0 +EBUILD wayland-protocols-1.42.ebuild 785 BLAKE2B 516aaa8cdc7ddd6dea0ba637007fb9cebd0167ab621f69d7eb5fbc36ec23c91d395054d4aa1d414072542039c12746e6819f294944aa36874d054ae260fdfe84 SHA512 c25aab9122161bee4ebd8d903726a445946413ed3cc897fc1f0da1f4112cf70a0bfc7267102a5c908fb32b981f84394db32a57b014c9e6bfd49fba6147516ba0 EBUILD wayland-protocols-9999.ebuild 785 BLAKE2B d6d355660e85518b18aa11ab4cdd37ab7e496ce6f91a92cece804e02c4b212ce98ac90e817767aa9061fb3a2ff7986a8b3e71a5f987fe6bf622787ecc94b28e8 SHA512 00f6eddf096ba24aca61fc25200f8e9a8a6bc1b1101b464445f98067bf81b4b078436d25d9d6f5b0f44b0fd3caa54acf6c90848ab548f3130e40f0da695314cb MISC metadata.xml 347 BLAKE2B e4265a94e0261094355613ac8617c362f90dc7207188658bf37d7d3d0ea87f598d0a5367d44c95cd3688cd68aeaad6be95ca1707430d06ad8b34bfaed9395f29 SHA512 4db809b42f57946d21f5c0ece2ccba39684da283ddfb72ed2bd6c1ace305c18381904dafa2abce56950cfb2bd1ead0839124c59302b1bb71c0fd8fc8f4a52846 diff --git a/dev-libs/wayland-protocols/wayland-protocols-1.42.ebuild b/dev-libs/wayland-protocols/wayland-protocols-1.42.ebuild new file mode 100644 index 000000000000..88fd7ea8817d --- /dev/null +++ b/dev-libs/wayland-protocols/wayland-protocols-1.42.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Wayland protocol files" +HOMEPAGE="https://wayland.freedesktop.org/" + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/${PN}.git/" + inherit git-r3 +else + SRC_URI="https://gitlab.freedesktop.org/wayland/${PN}/-/releases/${PV}/downloads/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( dev-libs/wayland ) +" +BDEPEND=" + >=dev-util/wayland-scanner-1.23.0 + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + $(meson_use test tests) + ) + meson_src_configure +} diff --git a/dev-libs/zix/Manifest b/dev-libs/zix/Manifest index 48f58b3f504c..ed9e54384e5b 100644 --- a/dev-libs/zix/Manifest +++ b/dev-libs/zix/Manifest @@ -1,5 +1,5 @@ DIST zix-0.4.2.tar.xz 76492 BLAKE2B 46d9e3049632abe8fe60928fa4d27ab5a94e86549dbde999c8215f951fe6f70f29124c89de9639c07a3bfb06da6ce902ea2a59f431ea6015d2c7a38df2f6eff6 SHA512 b8fb931a3e9ab5a67f6da57a07bf10b91e7f861c8cf39db14c49c083a9983a0971cc6bc6abcb54a83c00471b386e377cb9bb51e2edd945ba07b9ae43a35964cc DIST zix-0.6.2.tar.xz 81316 BLAKE2B 230d9f6717f10ac6f7608593fa94331a4aebd8c4c1c59f1db5a7d1881d674d687d67c353c3944bf4649ea5cbb49a8c4afe8abc82bad9eaf84bff79777a0a91e1 SHA512 3b072f00481a34e8b900311c2dc77fd73a63a34f69ea953be6b714f5bcbdebcc3cdd81feae73b5ad2bdc09a4bac122e12d9035cfc417ca41dfe5230d1fe13d9c EBUILD zix-0.4.2.ebuild 1018 BLAKE2B 1c155e1ef4f8f16e0aa8b5f36129a3ae815e3efd2196dcbe0259ffd1fc0f007823d59a6cccebd5049b461ce4da32b707098f28c6be7bf0849598cd6f464ab3fc SHA512 340f5558c6012bfe024b3f286a0cf08d8f8a1adbf3be4f3710145e7e1864da5f5cd9ac562a1b66dbbb16a069d16246793b085f55ae7293025ea134e62883edfb -EBUILD zix-0.6.2.ebuild 1024 BLAKE2B dd4ae90fb9bbf875e165833701abc1b53bf97093612673410841d26a14518115c0541097b9977f038a19532e474fddc642a3896aa408dfc2a6ddafe8076b8cf5 SHA512 08b4da68f521f50a699ce2759c59e445785b8bc40f919608ccc0744eb7fb96b1abbbfc0a0993a07fbd686d6bf147fa26f2229f53cccc07750372b57c66998ac8 +EBUILD zix-0.6.2.ebuild 1023 BLAKE2B ee2d614f4966d9605c11101a6237621e624c8d20b654a0ecb1a85f23ed92cd81aea31e782d9f994c804a0d82851dfaf0b9fd5894b28a115f872ed1ae1aed2508 SHA512 f761acfc0651b975487faeb3042eb357da05cf6f7036e2afae1d8f6ff2cd28226e18b86f1978d13f5f0f60620766edc27b01cb2d1cc8abf3946587c4fddbd2ae MISC metadata.xml 389 BLAKE2B c95e820b65fd6172f710a0f52e4480f653b7f536af3bc68a7fb04c660d62c22f71809a64e3c744b6ccb3159e4e33746b88f12f4cd0783f6c9ad8dfab1022e9fb SHA512 1053e837fd2181ddbb08c56a71d31b93a59668434f59d415e25a81c1211ff97845724501563d290c64ede01cdae20b54c8931eb7e390c7d9abfbd40d63f6a097 diff --git a/dev-libs/zix/zix-0.6.2.ebuild b/dev-libs/zix/zix-0.6.2.ebuild index fdf378946bdb..7f940c0eea1e 100644 --- a/dev-libs/zix/zix-0.6.2.ebuild +++ b/dev-libs/zix/zix-0.6.2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://download.drobilla.net/${P}.tar.xz" LICENSE="ISC" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" IUSE="doc test" RESTRICT="!test? ( test )" |