diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 97187 -> 97198 bytes | |||
-rw-r--r-- | dev-libs/antlr-c/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/antlr-c/antlr-c-3.5.2-r3.ebuild | 62 | ||||
-rw-r--r-- | dev-libs/antlr-c/files/3.5-autoconf.patch | 11 | ||||
-rw-r--r-- | dev-libs/libffi/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/libffi/files/libffi-3.4.4-trampoline-c99.patch | 39 | ||||
-rw-r--r-- | dev-libs/libffi/libffi-3.4.4-r4.ebuild (renamed from dev-libs/libffi/libffi-3.4.4-r1.ebuild) | 15 | ||||
-rw-r--r-- | dev-libs/libffi/libffi-3.4.4.ebuild | 70 | ||||
-rw-r--r-- | dev-libs/libtermkey/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libtermkey/files/libtermkey-0.22-libtool.patch | 99 | ||||
-rw-r--r-- | dev-libs/libtermkey/libtermkey-0.22-r2.ebuild | 48 | ||||
-rw-r--r-- | dev-libs/modsecurity/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/modsecurity/modsecurity-3.0.10-r1.ebuild | 82 | ||||
-rw-r--r-- | dev-libs/totem-pl-parser/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/totem-pl-parser/files/3.26.6-c99.patch | 22 | ||||
-rw-r--r-- | dev-libs/totem-pl-parser/totem-pl-parser-3.26.6-r1.ebuild | 73 | ||||
-rw-r--r-- | dev-libs/xmlsec/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/xmlsec/xmlsec-1.3.3.ebuild | 93 |
18 files changed, 552 insertions, 76 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 8880570fb33c..f924408a7519 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/antlr-c/Manifest b/dev-libs/antlr-c/Manifest index ef8ea35092e0..c822425c0829 100644 --- a/dev-libs/antlr-c/Manifest +++ b/dev-libs/antlr-c/Manifest @@ -1,4 +1,6 @@ +AUX 3.5-autoconf.patch 281 BLAKE2B d7723257277f245d0814cb9f62359e9b0b04f23ae3c160866094ab7b6e1690e9a1113e3e3c33d297ec70f84e581cc7c8d0cba1fb80066e4c0d398d92f8b475b1 SHA512 2e784d0490301275f0b2baecc51a51e3866d7fee7c1cac0a9f464f6a9e8eca450fc582d1cdbb77654388f85c791c29580aa9c8ec9e954d3b20941d46098e2039 AUX 3.5-cflags.patch 423 BLAKE2B 1605eb4dbc47bdd9f54699a0fe0f0bdc54d419b68d4a99be11c55a654d3167422560e4edbdd59515b65f52d9a7785b103baa9e1e6742be8f9c40eb1985c6cf5e SHA512 fbabfd7db5d373646b873a5b56c6153b39c5287518ced27c4857aa91947998cfe009db143995d8fe93750068f615092edb647ea2a2ededa7a7997e6c741fb638 DIST antlr-3.5.2.tar.gz 6927126 BLAKE2B 1907229549434dfea6ef1fa915137a2f733bd61f0a40aacb131689df619d1c92e125453ec3d1febc5d92da1841ffbde060af196cff1ca8fb6f4684600375e161 SHA512 e2a0520093fb2a77dcd9d44f26a9fdd612dceaffb398c53b2b8cd29f4630830647ede29e8dd55b434cb2c165b0fd1d77968ec6e6de0798f14d9cdfd9e6fccd99 EBUILD antlr-c-3.5.2-r2.ebuild 1128 BLAKE2B b8955b16713b8d6572fb8b9ba33d57feea9186e678a4c833ff033300375693b50d615782a59c385eaf42e719ab93ec42ca90ea5dcd157a5026d3b54f1c25dfa2 SHA512 2a85ef45ac7dbe1d446b2949fece7bf5d774ab1033c909bc377e1749082a262a24b3fba40f2dcc02516698909aa5cae1b76cd4969d924ae2ae1ab4414e0394ba +EBUILD antlr-c-3.5.2-r3.ebuild 1144 BLAKE2B cac2bb1a33cef04b575f87878b8328650db710e19485575ba1b08d47272766c0107848822fef35a904f285c16c78d39f09c1c8e57541114ac15139207720ba26 SHA512 f90b2bd0ab3aaa0651b9778568cc577494a2e5a07fdc67ae0eaff761af715fdddc12d576473b2b731bd23f1ce20047c1ab45178b97494d582d898cb57f8ffd9b MISC metadata.xml 337 BLAKE2B e7536e66d5b8bd250838b00b81d494a800134f65625bb11c598f0ed39b4832a962c0894220b02522300c9930e1980bfccb8c70a176d87c2274d6042a7fe832f2 SHA512 1ef902a5485a4156a7994a84820df004fc0d76e6a82da4abd4962954dfa33c74b69c694cf74dd94b9a8ab584746a6ceaaafecc566342faa3764cdd6144b08a3a diff --git a/dev-libs/antlr-c/antlr-c-3.5.2-r3.ebuild b/dev-libs/antlr-c/antlr-c-3.5.2-r3.ebuild new file mode 100644 index 000000000000..efabf84d7edc --- /dev/null +++ b/dev-libs/antlr-c/antlr-c-3.5.2-r3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +MY_PN="${PN%-c}" +DESCRIPTION="The ANTLR3 C Runtime" +HOMEPAGE="https://www.antlr3.org/" +SRC_URI="https://github.com/${MY_PN}/${MY_PN}3/archive/${PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz" +S="${WORKDIR}/${MY_PN}3-${PV}/runtime/C" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug doc" + +BDEPEND="doc? ( app-doc/doxygen[dot] )" + +PATCHES=( + "${FILESDIR}/3.5-cflags.patch" + "${FILESDIR}/3.5-autoconf.patch" +) + +src_prepare() { + default + + sed -i '/^QUIET/s/NO/YES/' doxyfile || die + eautoreconf +} + +src_configure() { + local econfargs=( + $(use_enable debug antlrdebug) + ) + + case "$(tc-get-ptr-size)" in + 8) econfargs+=( --enable-64bit ) ;; + 4) econfargs+=( --disable-64bit ) ;; + esac + + CONFIG_SHELL="${BROOT}"/bin/bash econf "${econfargs[@]}" +} + +src_compile() { + default + + if use doc ; then + einfo "Generating API documentation ..." + doxygen -u doxyfile || die + doxygen doxyfile || die + + HTML_DOCS=( "${S}"/api/ ) + fi +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/antlr-c/files/3.5-autoconf.patch b/dev-libs/antlr-c/files/3.5-autoconf.patch new file mode 100644 index 000000000000..5077652d2b5c --- /dev/null +++ b/dev-libs/antlr-c/files/3.5-autoconf.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/921345 +--- a/configure.ac ++++ b/configure.ac +@@ -148,7 +148,6 @@ AC_PROG_MAKE_SET + # Checks for libraries. + + # Checks for header files. +-AC_INCLUDES_DEFAULT() + AC_HEADER_RESOLV + AC_CHECK_HEADERS([sys/malloc.h malloc.h], [], [], + [[#ifdef HAVE_SYS_MALLOC_H diff --git a/dev-libs/libffi/Manifest b/dev-libs/libffi/Manifest index 9ae3155e7d83..04e76cca37d5 100644 --- a/dev-libs/libffi/Manifest +++ b/dev-libs/libffi/Manifest @@ -3,9 +3,9 @@ AUX libffi-3.4.4-hppa-jump-table.patch 7872 BLAKE2B c78216a9912e26e74733870d1a0f AUX libffi-3.4.4-hppa-large-struct.patch 1129 BLAKE2B 3b172af9af01c629ce567309893e1b342b039a53a4992529b8395a426ed74a1741d6dceb660cb2b1d8c2ba1057e91bd08a52c54192ec1d429710322d2fe61ff9 SHA512 77eb9ca86651f550c4c9ae7b508cc0651bea7e17feac6f2a35963b1838c70aeeb2166606fe39f70e9e058a41a53979f2c599c1869a4714a420f2bb006d14107a AUX libffi-3.4.4-lld-17.patch 828 BLAKE2B 3462bc7db0cf754cb14a9fa0de6377da401c78d021d5e86fc51501d78e4c1104bd821093047af557f1ef8bb375b2eff7c26972524bf179fdfd926089fd8fefc7 SHA512 48d804fe7167c373c0cb3aafc969aedf555651d698857a791062d81e77ba88ba5db3fcabdf975040e19298d418ae12161160fc31e5515017cfc441fc61e66e63 AUX libffi-3.4.4-sparc-float-typo.patch 830 BLAKE2B cdec73bd227f0bcfb077ae0383bdea782886015189da8f3ac89d693a94967f1055edaa34462815709327ebc8a2c3d195a89090b3553db0ee7fa03b92c2341043 SHA512 3314e46725276df7fc91032a2446b9a379d54e9eceee0875952424bd6fd8b6e41a5103bcb990865b18f59ab3264db3bd106474b27a24b3e00196e9257f111022 +AUX libffi-3.4.4-trampoline-c99.patch 1174 BLAKE2B da7990d940b5b0e6944c5b87d599c4955b75224c4f679477fd89cafdfa2ec7cab175986b25db08f0674c56f012456a20bcfce4cdabca1feb224ebd6ebf741e40 SHA512 5ba4e178d4d15a6149bd0bfa44542329812a8c98bae6350b0d2c760c5d4c376cb789c1f313bc6004f458578b18718f23f35c900fb14e5e697b43a2ebd02d7e57 DIST libffi-3.4.4.tar.gz 1362394 BLAKE2B 189fe1ffe9507f204581b0ab09995dc7e7b761bb4eac7e338e9f5ff81431aebcef6c182c1839c9f9acb2706697a260c67e6d1351cf7e2aed7c4eb5d694f6f8fd SHA512 88680aeb0fa0dc0319e5cd2ba45b4b5a340bc9b4bcf20b1e0613b39cd898f177a3863aa94034d8e23a7f6f44d858a53dcd36d1bb8dee13b751ef814224061889 -EBUILD libffi-3.4.4-r1.ebuild 2386 BLAKE2B 2fed1f1f77934bcd7cb23bb9121205f4d89d35af7415b684fbccb20559fa34c266bc8e43076e38f5c8417d84fc3822ab374cb7ccbcf1528e76ad6b5d8e8378ec SHA512 ee51d4c56849f5e8f35d71ea01b82fb4b34fdceef9a6fa4af2c3a99eadb54ce140389336c8f00e6ce9172f8a385e48ce33aee9e274ca0ee47a3f12b862c7ca33 EBUILD libffi-3.4.4-r2.ebuild 2434 BLAKE2B b4e7209406b797ccd41f7fab8ca7c3d4eb2453b2b35fb4a66076fdefa16a346bb6d9fba77fe27dbfa1b9b93a557c3abb7eae03992560477ff2ebd309715c8eec SHA512 de765af9a7397af03a32639dcf016da774308db2cc7e321b366dff6a162a633d2f5c57cfdbf6e8eb9e6c3deefe195de08f4ffe1c4366c93397989840107f9d0d EBUILD libffi-3.4.4-r3.ebuild 2513 BLAKE2B 29712c6986e6288206241a3f8a4e0b6bf130178160a10897c0a41f8fbe023f0dac402e04d36013322c326986867209ef7379ab1909a25b00c727a8f7aadef749 SHA512 2547cc73f48de955a5e7da2ca1360613c05301bffc87b17347eb736dd28343675ff1b5cde6026fecddbed20bf9090edce7c463c4d67cf08d22a3a52f142666c2 -EBUILD libffi-3.4.4.ebuild 2234 BLAKE2B e4bfd05eb22e58723aeae755e760106d5b03278ffcfc11c7d65c6db54bb489bf8a500a9a5b383fafe0d67792c51ed3319a080a43b853ae7b31a7a979966a4607 SHA512 94461cdfdd44e7eab0491063cbe845e4ccb448730135974864a4260d514bcd9ea81cb773a1f004b4ee8afb3937a5ec6ce55ba71bcc1556e8414048e06b50d6d3 +EBUILD libffi-3.4.4-r4.ebuild 2554 BLAKE2B 08e2c1f2860a9447e34ba67e7d19b95b2ca65ccf33dda9b1686d45d4e71321f4b2f78cb00f06539eefc292019c17bd570f2238bd263945c7901a57ff1c8cb9ad SHA512 65cf061acbe26d6c44cb69bf01c86d78cfe2674b03154c736c7b2cfb15a6bedf4037582372adcec0c3ce2fa41d35d9a75a5b9e02337243df5ce8cf8024a33e32 MISC metadata.xml 2110 BLAKE2B 2653be2cf09c047e45e489d7265d00165ddab2f94744988e4e8bca449bd1e40eeab74cb0b8d7d47a2d8b73563869460fcccb06e1fbccad697a9f213be362cb03 SHA512 e1a280792b929d38451fea1eb360053ed3a452592094f3e327ce4a4ff7eb8e0119435e8ee98f215585d8d98440512b5b68f92d1cd472a3bfd12e2f382e1981a1 diff --git a/dev-libs/libffi/files/libffi-3.4.4-trampoline-c99.patch b/dev-libs/libffi/files/libffi-3.4.4-trampoline-c99.patch new file mode 100644 index 000000000000..a7728331135e --- /dev/null +++ b/dev-libs/libffi/files/libffi-3.4.4-trampoline-c99.patch @@ -0,0 +1,39 @@ +https://github.com/libffi/libffi/issues/760 +https://github.com/libffi/libffi/commit/ce077e5565366171aa1b4438749b0922fce887a4 + +From ce077e5565366171aa1b4438749b0922fce887a4 Mon Sep 17 00:00:00 2001 +From: serge-sans-paille <serge.guelton@telecom-bretagne.eu> +Date: Thu, 2 Feb 2023 14:46:29 +0000 +Subject: [PATCH] Forward declare open_temp_exec_file (#764) + +It's defined in closures.c and used in tramp.c. +Also declare it as an hidden symbol, as it should be. + +Co-authored-by: serge-sans-paille <sguelton@mozilla.com> +--- a/include/ffi_common.h ++++ b/include/ffi_common.h +@@ -128,6 +128,10 @@ void *ffi_data_to_code_pointer (void *data) FFI_HIDDEN; + static trampoline. */ + int ffi_tramp_is_present (void *closure) FFI_HIDDEN; + ++/* Return a file descriptor of a temporary zero-sized file in a ++ writable and executable filesystem. */ ++int open_temp_exec_file(void) FFI_HIDDEN; ++ + /* Extended cif, used in callback from assembly routine */ + typedef struct + { +--- a/src/tramp.c ++++ b/src/tramp.c +@@ -39,6 +39,10 @@ + #ifdef __linux__ + #define _GNU_SOURCE 1 + #endif ++ ++#include <ffi.h> ++#include <ffi_common.h> ++ + #include <stdio.h> + #include <unistd.h> + #include <stdlib.h> + diff --git a/dev-libs/libffi/libffi-3.4.4-r1.ebuild b/dev-libs/libffi/libffi-3.4.4-r4.ebuild index cf7d47ca43ca..5304ecb54f9e 100644 --- a/dev-libs/libffi/libffi-3.4.4-r1.ebuild +++ b/dev-libs/libffi/libffi-3.4.4-r4.ebuild @@ -1,14 +1,14 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit multilib-minimal preserve-libs MY_PV=${PV/_rc/-rc} MY_P=${PN}-${MY_PV} -DESCRIPTION="a portable, high level programming interface to various calling conventions" +DESCRIPTION="Portable, high level programming interface to various calling conventions" HOMEPAGE="https://sourceware.org/libffi/" SRC_URI="https://github.com/libffi/libffi/releases/download/v${MY_PV}/${MY_P}.tar.gz" S="${WORKDIR}"/${MY_P} @@ -19,7 +19,7 @@ LICENSE="MIT" # with FEATURES="-preserved-libs" or another package manager if SONAME # changes. SLOT="0/8" # SONAME=libffi.so.8 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="debug exec-static-trampoline pax-kernel static-libs test" RESTRICT="!test? ( test )" @@ -29,6 +29,9 @@ PATCHES=( "${FILESDIR}"/${P}-hppa-large-struct.patch "${FILESDIR}"/${P}-hppa-closure-function-ptrs.patch "${FILESDIR}"/${P}-hppa-jump-table.patch + "${FILESDIR}"/${P}-sparc-float-typo.patch + "${FILESDIR}"/${P}-lld-17.patch + "${FILESDIR}"/${P}-trampoline-c99.patch ) src_prepare() { @@ -62,6 +65,10 @@ multilib_src_configure() { $(use_enable debug) } +multilib_src_test() { + emake -Onone check +} + multilib_src_install_all() { einstalldocs find "${ED}" -name "*.la" -delete || die diff --git a/dev-libs/libffi/libffi-3.4.4.ebuild b/dev-libs/libffi/libffi-3.4.4.ebuild deleted file mode 100644 index 5401d0f8a977..000000000000 --- a/dev-libs/libffi/libffi-3.4.4.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit multilib-minimal preserve-libs - -MY_PV=${PV/_rc/-rc} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="a portable, high level programming interface to various calling conventions" -HOMEPAGE="https://sourceware.org/libffi/" -SRC_URI="https://github.com/libffi/libffi/releases/download/v${MY_PV}/${MY_P}.tar.gz" -S="${WORKDIR}"/${MY_P} - -LICENSE="MIT" -# This is a core package which is depended on by e.g. Python -# Please use preserve-libs.eclass in pkg_{pre,post}inst to cover users -# with FEATURES="-preserved-libs" or another package manager if SONAME -# changes. -SLOT="0/8" # SONAME=libffi.so.8 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="debug exec-static-trampoline pax-kernel static-libs test" - -RESTRICT="!test? ( test )" -BDEPEND="test? ( dev-util/dejagnu )" - -src_prepare() { - default - - if [[ ${CHOST} == arm64-*-darwin* ]] ; then - # ensure we use aarch64 asm, not x86 on arm64 - sed -i -e 's/aarch64\*-\*-\*/arm64*-*-*|&/' \ - configure configure.host || die - fi -} - -multilib_src_configure() { - # --includedir= path maintains a few properties: - # 1. have stable name across libffi versions: some packages like - # dev-lang/ghc or kde-frameworks/networkmanager-qt embed - # ${includedir} at build-time. Don't require those to be - # rebuilt unless SONAME changes. bug #695788 - # - # We use /usr/.../${PN} (instead of former /usr/.../${P}). - # - # 2. have ${ABI}-specific location as ffi.h is target-dependent. - # - # We use /usr/$(get_libdir)/... to have ABI identifier. - ECONF_SOURCE="${S}" econf \ - --includedir="${EPREFIX}"/usr/$(get_libdir)/${PN}/include \ - --disable-multi-os-directory \ - $(use_enable static-libs static) \ - $(use_enable exec-static-trampoline exec-static-tramp) \ - $(use_enable pax-kernel pax_emutramp) \ - $(use_enable debug) -} - -multilib_src_install_all() { - einstalldocs - find "${ED}" -name "*.la" -delete || die -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/libffi.so.7 -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/libffi.so.7 -} diff --git a/dev-libs/libtermkey/Manifest b/dev-libs/libtermkey/Manifest index f6d463109e07..ab9bff5adfc3 100644 --- a/dev-libs/libtermkey/Manifest +++ b/dev-libs/libtermkey/Manifest @@ -1,4 +1,6 @@ +AUX libtermkey-0.22-libtool.patch 2391 BLAKE2B d228b94f47ca703fa1edbf0da8e9e33a96a132d61e60e0242edc6a01613946e0934bc716c4e062f18433a8549d9c61162c7c2e545004ca3f61c430b22f05e422 SHA512 de4f48d86803314dbf9d4982a345452538b6985189359df8f9afc03f3c4e015628fdc73927a9bef503fabde5d8adb3ed188cafd16f7b318c76669b798a15c52a AUX no-automagic-manpages-compress.patch 498 BLAKE2B c803a33a5a0b8b0c4240ba05a0a9159921a32daa2e86396e85f98acaad26d22cbff814e54e4a96fab4ecfe682a4788bd7dfc263345626617064b76d60c1f0e1a SHA512 d44bc11b6ab9e30ac594982f1f2c139c7806287cd759d106f133010627201874fe8d8290b63835c240fcd0da144455f5b1e63fad8867704c3044da174189e171 DIST libtermkey-0.22.tar.gz 46147 BLAKE2B fddc00a1ae525e5ed8c9c6eaee46fe30a99dbbc76ca988f9f5301b3c5c13a6de4462d6cc612119409a21737176f67ac196109b11fb58f414b25db5b6a49f4982 SHA512 2e8242cd1e6acb8900125dcee9fd47f7554c359363f760b88858c82667e1f3871bdd87358b14c8a133ef3cd2699947a5045477e64cdf7f96d4ead1723e73a219 EBUILD libtermkey-0.22-r1.ebuild 1127 BLAKE2B 5926d7c79fd455ebc6488372c5cd114d3bfab40bb771abfde482bf882fd853201eedc703f0c1adfca173f48e892839e4063fdc122b2caba0f89868a1159e3d23 SHA512 264196995b6f5f30294b0c4491df246b49377f5268510da1b06c7af9b6404862b806f60305a67c67b685f8d994320dc5564e862819b74c39eee0b38d7ab0f358 +EBUILD libtermkey-0.22-r2.ebuild 954 BLAKE2B ed482e2822fa35e32864951b95ef3697fec4b2e331e7d2c8d55d8ab95a06d0f6f48bd6e010b453aac7b7a6e0276d63a1d9300015dceece2f6ee5aa2745418b14 SHA512 177bee225f0363c535a32a6b8a6106c20adb367e6706bf8338e8a98f2e0c3b2402069147cad0b8ff9756fc7a87d64c8b42c46534e0f646c1ce76ad12eeda5869 MISC metadata.xml 358 BLAKE2B 555dc6dc5edb485ded5e2fec2eef70426c2e693853954c5feb8d39914b1cc88aed79dae13df257df86193701e9f842fad8e4686941d3a143a261e289ebc0960c SHA512 1a9faab554e113b8c3c83ad7a6e24fa71ed7ea3838a11677465cc824c7181d512d58443b5ea2fbd52492345e62db5895e3f17a47dc7e413842b02cdad85c5411 diff --git a/dev-libs/libtermkey/files/libtermkey-0.22-libtool.patch b/dev-libs/libtermkey/files/libtermkey-0.22-libtool.patch new file mode 100644 index 000000000000..d3d79ccc0c95 --- /dev/null +++ b/dev-libs/libtermkey/files/libtermkey-0.22-libtool.patch @@ -0,0 +1,99 @@ +Upstream is archived: https://github.com/neovim/libtermkey + +From f3316ec933d618352ee9c6b1f1ef354c8896372e Mon Sep 17 00:00:00 2001 +From: orbea <orbea@riseup.net> +Date: Thu, 7 Sep 2023 09:52:10 -0700 +Subject: [PATCH] build: Add a minimal configure.ac + +When building with slibtool using the rlibtool symlink the build will +fail when it fails to find the generated libtool. This is required so +rlibtool can determine if it should build shared or static libraries. + +This can be fixed by adding a minimal configure.ac that can generate the +required files with autoreconf. + +Gentoo Bug: https://bugs.gentoo.org/913482 +--- + Makefile => Makefile.in | 29 +++++++++++++++-------------- + configure.ac | 14 ++++++++++++++ + 2 files changed, 29 insertions(+), 14 deletions(-) + rename Makefile => Makefile.in (91%) + create mode 100644 configure.ac + +diff --git a/Makefile b/Makefile.in +similarity index 91% +rename from Makefile +rename to Makefile.in +index 199f143..8f12b07 100644 +--- a/Makefile ++++ b/Makefile.in +@@ -1,14 +1,10 @@ + pkgconfig = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config $(1)) + +-ifeq ($(shell uname),Darwin) +- LIBTOOL ?= glibtool +-else +- LIBTOOL ?= libtool +-endif ++CC = @CC@ ++LIBTOOL = @LIBTOOL@ + +-ifneq ($(VERBOSE),1) +- LIBTOOL +=--quiet +-endif ++override CFLAGS = @CFLAGS@ ++override LDFLAGS = @LDFLAGS@ + + override CFLAGS +=-Wall -std=c99 + +@@ -48,8 +44,8 @@ DEMO_OBJECTS=$(DEMOS:=.lo) + TESTSOURCES=$(wildcard t/[0-9]*.c) + TESTFILES=$(TESTSOURCES:.c=.t) + +-VERSION_MAJOR=0 +-VERSION_MINOR=22 ++VERSION_MAJOR=@MAJOR@ ++VERSION_MINOR=@MINOR@ + + VERSION=$(VERSION_MAJOR).$(VERSION_MINOR) + +@@ -57,10 +53,15 @@ VERSION_CURRENT=15 + VERSION_REVISION=2 + VERSION_AGE=14 + +-PREFIX=/usr/local +-LIBDIR=$(PREFIX)/lib +-INCDIR=$(PREFIX)/include +-MANDIR=$(PREFIX)/share/man ++top_builddir=@top_builddir@ ++ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++datarootdir=@datarootdir@ ++datadir=@datadir@ ++LIBDIR=@libdir@ ++INCDIR=@includedir@ ++MANDIR=@mandir@ + MAN3DIR=$(MANDIR)/man3 + MAN7DIR=$(MANDIR)/man7 + +diff --git a/configure.ac b/configure.ac +new file mode 100644 +index 0000000..46fe30e +--- /dev/null ++++ b/configure.ac +@@ -0,0 +1,14 @@ ++m4_define([MAJOR], [0]) ++m4_define([MINOR], [22]) ++ ++AC_INIT([libtermkey], [MAJOR.MINOR]) ++AC_CONFIG_FILES([Makefile]) ++ ++LT_INIT ++ ++AC_SUBST([top_builddir], [$abs_builddir]) ++ ++AC_SUBST([MAJOR], [MAJOR]) ++AC_SUBST([MINOR], [MINOR]) ++ ++AC_OUTPUT diff --git a/dev-libs/libtermkey/libtermkey-0.22-r2.ebuild b/dev-libs/libtermkey/libtermkey-0.22-r2.ebuild new file mode 100644 index 000000000000..5fc61796716c --- /dev/null +++ b/dev-libs/libtermkey/libtermkey-0.22-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="Library for easy processing of keyboard entry from terminal-based programs" +HOMEPAGE="http://www.leonerd.org.uk/code/libtermkey/" +SRC_URI="http://www.leonerd.org.uk/code/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~x64-macos" +IUSE="demos" + +RDEPEND="dev-libs/unibilium:=" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig + demos? ( dev-libs/glib:2 ) +" + +PATCHES=( + "${FILESDIR}"/no-automagic-manpages-compress.patch + "${FILESDIR}"/${PN}-0.22-libtool.patch # 913482 +) + +src_prepare() { + default + + if ! use demos; then + sed -e '/^all:/s:$(DEMOS)::' -i Makefile.in || die + fi + + append-flags -fPIC + + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + find "${D}" -name '*.la' -delete || die + doman "${S}"/man/*.3 + doman "${S}"/man/*.7 +} diff --git a/dev-libs/modsecurity/Manifest b/dev-libs/modsecurity/Manifest index cce7a910c554..d9d4f91c52e2 100644 --- a/dev-libs/modsecurity/Manifest +++ b/dev-libs/modsecurity/Manifest @@ -1,5 +1,7 @@ +DIST modsecurity-slibtool.patch 6915 BLAKE2B 9d067a4285cf56cbe9c824601724ee9caaf43e1bce653e51c6f66165a96e034125d93c4c998ee27df4d753c5e176b21d1c524dd72710428aaff1e528bddf48dc SHA512 a4c413f376c19bd028f2824f837cfdd5dffa51fcfeb1bcd911ca36a2876372d47f5e225b22cf9416d45cfc65e9e476501917a2b5c6d785f650c918f81164a8be DIST modsecurity-v3.0.10.tar.gz 3341295 BLAKE2B 9ae4d52ccc77eb7f6a50fb37b07d0c0022e7d4c93bc4c04e7c6cdfabc7b6f6a19a3f0ec1f0151eb1bbd98d9c55de774048bc7636f67e735169b8c628d71fc0fd SHA512 2f51c9bfd2e91d93ddb8c48671dca08f91682745ff6bab6b8153376207d77c40f9afdcab7fa04d2fe925a19343bbfc57e52f0b45b3a50b30de4c1949f5b77ed9 DIST modsecurity-v3.0.9.tar.gz 3337195 BLAKE2B 5de70546463b9cf167e8e3fd13c55b3856dbe4f23f94a8f83a65890a4e5ea990597a0bb00f4dc24a52a3eb36fe6fa80a8d4a857f86bff3db5808b0d0bdd82b03 SHA512 49790031a82a6cece9cf53a03480490c0bdfd56302ea2e55319a27abdadf1aee060d4a9f847b224a21533d24f6a9fc29b4ad3898b258e6a81934a03c00e32020 +EBUILD modsecurity-3.0.10-r1.ebuild 1744 BLAKE2B 9e9ca149cab731b95eeec7314237880a7e1715ac8020b576395e1b0be8f36a8b6494c5868579bf8668e3e9d6e477e60f914a3eeb296a89a0ef0b52d300a8b560 SHA512 d7a0bdfe176d2524867862a384cc1e9544a5bbdc8385fa58bf4e45630e6131f1837f22ff4b7830ce132f336f3ab6b713629790a18ae40fc4e8189c9642ea4fd6 EBUILD modsecurity-3.0.10.ebuild 1471 BLAKE2B 49880fec0d52e38b78e78dee29c54abef97c294d2b111a56871bec09aa8f8dbca82f960b1416da96c3386288ce6df7eb259fd0140a105332ee8d194f1ecf2e90 SHA512 4137eba6571b1bfa0b2dfe4b00fde4b8dd6bdbd85a3680f444f82eec9819c94eac0b0b5588218fd61db0616b6175a23488ac41eaca4fe5f07cd75e2483274abb EBUILD modsecurity-3.0.9.ebuild 1471 BLAKE2B 49880fec0d52e38b78e78dee29c54abef97c294d2b111a56871bec09aa8f8dbca82f960b1416da96c3386288ce6df7eb259fd0140a105332ee8d194f1ecf2e90 SHA512 4137eba6571b1bfa0b2dfe4b00fde4b8dd6bdbd85a3680f444f82eec9819c94eac0b0b5588218fd61db0616b6175a23488ac41eaca4fe5f07cd75e2483274abb MISC metadata.xml 1019 BLAKE2B 0873fbb1c328dea3378abbe280dc7adacf389a9f1085614057e328ca7258afb4553c2a37bb527eb80b995d69e428ac7fcb3306e65a84c0e3d17acb6ace270b0b SHA512 549b1dc80684fff950148598807b866ab9400c619d2ecb32f2e7f90f8f298dd47daadd4c33f76af40983ed22ffbbb017c110253d810bab931344dd6f80d8f2ce diff --git a/dev-libs/modsecurity/modsecurity-3.0.10-r1.ebuild b/dev-libs/modsecurity/modsecurity-3.0.10-r1.ebuild new file mode 100644 index 000000000000..aa6335c3b7cc --- /dev/null +++ b/dev-libs/modsecurity/modsecurity-3.0.10-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} ) + +inherit autotools lua-single + +MY_P=${PN}-v${PV} + +DESCRIPTION="Application firewall and intrusion detection" +HOMEPAGE="https://github.com/SpiderLabs/ModSecurity" +SRC_URI=" + https://github.com/SpiderLabs/ModSecurity/releases/download/v${PV}/${MY_P}.tar.gz + https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-slibtool.patch +" +S="${WORKDIR}/${MY_P}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc fuzzyhash geoip geoip2 json lmdb lua pcre2" + +REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" +RDEPEND="dev-libs/libpcre:= + dev-libs/libxml2 + net-misc/curl + fuzzyhash? ( app-crypt/ssdeep ) + geoip? ( dev-libs/geoip ) + geoip2? ( dev-libs/libmaxminddb ) + json? ( dev-libs/yajl ) + lmdb? ( dev-db/lmdb ) + lua? ( ${LUA_DEPS} ) + pcre2? ( dev-libs/libpcre2:= )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + doc? ( app-doc/doxygen[dot] )" + +DOCS=( AUTHORS CHANGES README.md modsecurity.conf-recommended unicode.mapping ) + +PATCHES=( + # https://github.com/SpiderLabs/ModSecurity/pull/2980 + "${DISTDIR}"/${PN}-slibtool.patch # 913484 +) + +pkg_setup() { + use lua && lua-single_pkg_setup +} + +src_prepare() { + default + eautoreconf # for the slibtool patch +} + +src_configure() { + local myconf=( + $(use_with fuzzyhash ssdeep) + $(use_with geoip ) + $(use_with geoip2 maxmind) + $(use_with json yajl) + $(use_with lmdb) + $(use_with lua) + $(use_with pcre2) + ) + + econf "${myconf[@]}" +} + +src_compile() { + default + + if use doc; then + cd doc && doxygen doxygen.cfg || die + fi +} + +src_install() { + default + use doc && dodoc -r doc/html + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/totem-pl-parser/Manifest b/dev-libs/totem-pl-parser/Manifest index 2fe12cb5593f..f7f92ac4954c 100644 --- a/dev-libs/totem-pl-parser/Manifest +++ b/dev-libs/totem-pl-parser/Manifest @@ -1,4 +1,6 @@ +AUX 3.26.6-c99.patch 808 BLAKE2B 000b5b1e169bbf4713cdd3ca3dd035171e67c5080e55c3bf57180d0461de0a9adb2521ccf0c3159239b7d0fb85565e6d608c0377804d3f90a611f03eb90cee39 SHA512 8d8e69b6b337f321c3bd2c0e953514b37f4400390e866b508c096a3fac75670bddfd093cf3ba3575994e1ba1e9b76762f70339b0ade91e0a9d064a13b950ac39 AUX 3.26.6-plparser-Fix-uninitialized-variable-error.patch 1002 BLAKE2B 20af6936f47b2b1932417caec381df50bf503eff6e5235b1edeb4645dfc248358fdfc528016bcebaeb47f14f0cb99bd6a69519ae0a1a6e82b2629316522922e9 SHA512 65d015cb956c5f0b82bb2436309bbc35535d3decf7d8de4730fa3d41abf4378131756d09b536d3a16b9581c7e76fa18e795976753e90e91edea76428281f9386 DIST totem-pl-parser-3.26.6.tar.xz 1503888 BLAKE2B b0768f54c77ff902ad20aeaa9162c616e0cc64ccfc2839d2db2e4c9076f82a611baedf127b0b74f84ec8698a5adc25c43fb9245dcb26a221da7024372a61896b SHA512 1a7aa69e147b55c3c9761328604821a7e40bac4e7b82492e5ce1b2405e3b6d5154e3b06687f2446ec923b34bf6ea96eef179ef8410c005a061d448fc6b3e754e +EBUILD totem-pl-parser-3.26.6-r1.ebuild 2045 BLAKE2B bd922884bb8175da3fd8ae23db61bb8fb88ecead5a91dcfe0df00c64cdd49ddee54525988ba4f21b439dd52836852b40c5b3295a214df860b54ed1e1b0ac2713 SHA512 16b1cbb437642862249859d963d8307ba9e496570e9ac4740f38858c604360bab34d0843e2f9a3e031c558e01b3ae3f6d328ae5d41b9fe46e23677fac1ad93fd EBUILD totem-pl-parser-3.26.6.ebuild 2009 BLAKE2B c7629148a390427e6d383a07b2b325d801629d354399adcb8821bae2e2ef80c1a0bdc0ebd94931614f1f7d7dcdbe5e2310913c5311d26f88ab25034f5777482d SHA512 330fa1b9e94dcdb30243b3486d9db815c1a671e4eb020b14cfea6cd55ea8dbfa5c13de5844b5e32def6030c543907a7fb7b1ce2235a2ce67b0c8c686812283a8 MISC metadata.xml 646 BLAKE2B 3d31347805d778dea4005273c7c882664e8c7a296d6749eafbb4e8d4a48c07f85f53fbafd8c6ba90b584a82dbbb796d5685ca8a4518f848694115d4789758c61 SHA512 61c9b51ab203dd767e80f0cb34e4d2e276a364153d5b431d42ad37b04745dc25e2c9fede1792817f6652cac8d7592be03416f2e410a2378c59a5f0236e158e81 diff --git a/dev-libs/totem-pl-parser/files/3.26.6-c99.patch b/dev-libs/totem-pl-parser/files/3.26.6-c99.patch new file mode 100644 index 000000000000..a991b8ae41c0 --- /dev/null +++ b/dev-libs/totem-pl-parser/files/3.26.6-c99.patch @@ -0,0 +1,22 @@ +https://gitlab.gnome.org/GNOME/totem-pl-parser/-/merge_requests/53 + +From e718dd1fe2476e2a68da4b632f268f404ea951f2 Mon Sep 17 00:00:00 2001 +From: Florian Weimer <fweimer@redhat.com> +Date: Wed, 3 Jan 2024 13:24:31 +0100 +Subject: [PATCH] Return FALSE instead of NULL, to match the gboolean return + type + +Fixes a C type error and compilation error with GCC 14 and Clang. +--- a/plparse/totem-pl-parser.c ++++ b/plparse/totem-pl-parser.c +@@ -1338,7 +1338,7 @@ totem_pl_parser_save_finish (TotemPlParser *parser, + GAsyncResult *async_result, + GError **error) + { +- g_return_val_if_fail (g_task_is_valid (async_result, parser), NULL); ++ g_return_val_if_fail (g_task_is_valid (async_result, parser), FALSE); + + return g_task_propagate_boolean (G_TASK (async_result), error); + } +-- +GitLab diff --git a/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6-r1.ebuild b/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6-r1.ebuild new file mode 100644 index 000000000000..ff7a94ed5c57 --- /dev/null +++ b/dev-libs/totem-pl-parser/totem-pl-parser-3.26.6-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit gnome.org meson xdg + +DESCRIPTION="Playlist parsing library" +HOMEPAGE="https://developer.gnome.org/totem-pl-parser/stable/" + +LICENSE="LGPL-2+" +SLOT="0/18" +IUSE="archive crypt gtk-doc +introspection test +uchardet" +RESTRICT="!test? ( test )" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-libs/glib-2.56:2 + archive? ( >=app-arch/libarchive-3:0= ) + dev-libs/libxml2:2 + crypt? ( dev-libs/libgcrypt:0= ) + uchardet? ( app-i18n/uchardet ) + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + gtk-doc? ( + >=dev-util/gtk-doc-1.14 + app-text/docbook-xml-dtd:4.3 + ) + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + test? ( + gnome-base/gvfs[http] + sys-apps/dbus + ) +" + +PATCHES=( + "${FILESDIR}"/${PV}-plparser-Fix-uninitialized-variable-error.patch + "${FILESDIR}"/${PV}-c99.patch +) + +src_prepare() { + # Disable tests requiring network access, bug #346127 + # 3rd test fails on upgrade, not once installed + # Leio: I consider network tests important for ensuring full functionality, thus trying with them again */ + #sed -e 's:\(g_test_add_func.*/parser/resolution.*\):/*\1*/:' \ + # -e 's:\(g_test_add_func.*/parser/parsing/itms_link.*\):/*\1*/:' \ + # -e 's:\(g_test_add_func.*/parser/parsability.*\):/*\1*/:'\ + # -i plparse/tests/parser.c || die "sed failed" + + xdg_src_prepare +} + +src_configure() { + # uninstalled-tests is abused to switch from loading live FS helper + # to in-build-tree helper, check on upgrades this is not having other + # consequences, bug #630242 + local emesonargs=( + -Denable-libarchive=$(usex archive) + -Denable-libgcrypt=$(usex crypt) + -Denable-uchardet=$(usex uchardet) + $(meson_use gtk-doc enable-gtk-doc) + $(meson_use introspection) + ) + meson_src_configure +} + +src_test() { + # This is required as told by upstream in bgo#629542 + GVFS_DISABLE_FUSE=1 dbus-run-session meson test -C "${BUILD_DIR}" +} diff --git a/dev-libs/xmlsec/Manifest b/dev-libs/xmlsec/Manifest index 5915cd864154..35e63a24e4d6 100644 --- a/dev-libs/xmlsec/Manifest +++ b/dev-libs/xmlsec/Manifest @@ -5,8 +5,10 @@ DIST xmlsec1-1.2.37.tar.gz 2009175 BLAKE2B 19f43ba6bf6eb49428b9c5563baecbab21476 DIST xmlsec1-1.2.38.tar.gz 2036578 BLAKE2B 03f7e1b5e659793bf1984c5a59582d9459089ce913620d5cc1e5a5d0eb65557580cd23fa190db277298fd7cc55bd41563b93cf61a37c8b7521a4690cd2ca3489 SHA512 724089777caae95db27e67f24381c066eaae23a9d64819a18bb04837c1ab1b380d19be2c7ee25659ca481d9eab96fcbe8027a430a0ac1630ad3b073cddd20fac DIST xmlsec1-1.3.1.tar.gz 2432943 BLAKE2B 1dafdffd959579add5c579e3fa9c9f9ddc73ce4aadc6fc2139506e6e64ffcd1bbe7298786e414900eb9f33f93b0a47da64e686c499e48d4c80d81b256db6692e SHA512 7f30c15c3edcafe70fa5febaa0ba39f73f8d30525ee102b5961a658dd2842fbc58e63f7595f15b150d71bf735bfa7688c3694a191b0d475776ca26902d90d25f DIST xmlsec1-1.3.2.tar.gz 2437263 BLAKE2B d11953c6e2a263a6742ef62309c2f29e2ba5761d58bee5f8cc761965d0e16fea148811ac3d8036d271400840a62ff2a7fff947bb5331170d3bcc598c558b2a95 SHA512 328f3d27cc1dadee27e5ee4649f6c5a094203cc27f42f1fe98fd429f7dd5630eaadff0e8bf14616016fc3530482ed8bcee4870289a41a083f6dd9bd603782a92 +DIST xmlsec1-1.3.3.tar.gz 2435741 BLAKE2B 1b0e44a8a5185d67b8f97ec72cd8e215fe79a988eb7ade0d2890be662b693d511857b24670ec692f9452bf95ad8c53ff80c250ecbcd167742477a83e0b72fda0 SHA512 1535b6f878259914ab9574892d05c927fbcd548986cf7bcf91e435acb2cb74eb11e58163f797038ee13a11444882814b2b4318cd677053fbe52557a2e4acf68a EBUILD xmlsec-1.2.37.ebuild 1463 BLAKE2B d7cd33b3533395b59f4971deae688336fc4b8f52b5e948d7064cb19d7bbd043c7c8d3b48f5b499e51ebc529982b34b1d12a148fd35cfa700270334d7fa555124 SHA512 e92545fd5b5bb5977757cf18c8726a9335403cdc83d2367337e95ed305871cc6279568c1abce800738eefb60a7b84e4f508536c44a5a6426d6268950db223437 EBUILD xmlsec-1.2.38.ebuild 1548 BLAKE2B ced553e3a63148facdefbccd9a244fbc5c3342081648557a874a8c7760d330bf7a8e984a47a3b1667c017da18df20e1742abddeb2f9c4466b2873516ad6de401 SHA512 1698b2e89e4b7dc7b10395f011dc00a0b28397338b2fe058e48fba799f145a472a15050321507ae698931fd7674d8379a63d7e50fd8903a48a9e1fef69e266bb EBUILD xmlsec-1.3.1.ebuild 1841 BLAKE2B a17f66590d0baeb5aef4720bfe471dcd75029dfad7351c8da72189ead891d935d483c9afaff56aa8033d564153607a83c5021345c35626d6531cf52d71614e13 SHA512 94aa75a798e39439cf1ec8855b558fb401177334722f1d1be6f9d5697cf0ee022406b766b2ce4cf3ca1d15137567b42fb066001e8903afbf13fcd20af63960f2 EBUILD xmlsec-1.3.2.ebuild 1893 BLAKE2B 4019fc33a7723d0a2f613987d0e7791cee4583af315a6cbcf29c443e2f36f948db21d71b8abe26d2446c40ede58469b08899cb40bd525a229a3a28c3459e3b7b SHA512 182096086837b06fc573a04400084002ce22ae7acf5293b2c4e7b25b5c9195e4bf420aa45c163f9bcba90cee32b1642fa8f226c263eebf14f8d9d8da7fcf0b6a +EBUILD xmlsec-1.3.3.ebuild 1847 BLAKE2B 68b191e403e720c06201e9ca5b16f77cf370a2682ee6dbc6c46d8b639850a5ba8f9dea4c73f70fdb0d4f89b6baef7572d9c418a37c007fe07252267595d6cd58 SHA512 41584b573692b82bff86b64e44bd3d3b6bd72f12739d8711660f790641f9860acf52323fddc50a1fcf823b2ad1bc2c8f3e75c39d9176049a799862e5b4a81a5e MISC metadata.xml 558 BLAKE2B e4517ffa3f034420139ee0fbb8ed51a3cb319b1400e52d6a1d2d3b5363aa64831fd9cc93f49ab25d36a5fcae63115d0ffd152540f176c25dc49f77fbf4dd6c9d SHA512 6aab5452478ba1f71018274b75761c3467868f271b3cf256d05645407fa9c3cc64823384094c8e9024f936dfdaea5be2b8e91573e9addb07c5dab5f142c6a70d diff --git a/dev-libs/xmlsec/xmlsec-1.3.3.ebuild b/dev-libs/xmlsec/xmlsec-1.3.3.ebuild new file mode 100644 index 000000000000..f0324bc08612 --- /dev/null +++ b/dev-libs/xmlsec/xmlsec-1.3.3.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Command line tool for signing, verifying, encrypting and decrypting XML" +HOMEPAGE="https://www.aleksey.com/xmlsec" +SRC_URI="https://www.aleksey.com/xmlsec/download/${PN}1-${PV}.tar.gz" +S="${WORKDIR}/${PN}1-${PV}" + +LICENSE="MIT" +# Upstream consider major version bumps to be changes in either X or Y in X.Y.Z +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc gcrypt gnutls http nss +openssl static-libs test" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + || ( gnutls nss openssl ) +" + +RDEPEND=" + >=dev-libs/libxml2-2.7.4 + >=dev-libs/libxslt-1.0.20 + dev-libs/libltdl + gcrypt? ( >=dev-libs/libgcrypt-1.4.0:= ) + gnutls? ( >=net-libs/gnutls-3.6.13:= ) + nss? ( + >=dev-libs/nspr-4.4.1 + >=dev-libs/nss-3.9 + ) + openssl? ( dev-libs/openssl:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( + nss? ( + >=dev-libs/nss-3.9[utils] + ) + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.3.0-optimisation.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable doc docs) + $(use_enable static-libs static) + $(use_with gcrypt) + $(use_with gnutls) + $(use_with nss nspr) + $(use_with nss) + $(use_with openssl) + + --disable-werror + --enable-mans + --enable-pkgconfig + + --enable-concatkdf + --enable-pbkdf2 + --enable-ec + --enable-dh + --enable-sha3 + + --enable-files + $(use_enable http) + --disable-ftp + ) + + # Bash because of bug #721128 + CONFIG_SHELL="${BROOT}"/bin/bash econf "${myeconfargs[@]}" +} + +src_test() { + # See https://github.com/lsh123/xmlsec/issues/280 for TZ=UTC + TZ=UTC SHELL="${BROOT}"/bin/bash emake TMPFOLDER="${T}" check +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} |