From aac5e1b02ac846f5e1ce85f4f66fdec46aa9b0d1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Nov 2024 03:04:34 +0000 Subject: gentoo auto-resync : 01:11:2024 - 03:04:33 --- dev-libs/elfutils/Manifest | 4 +- dev-libs/elfutils/elfutils-0.192-r1.ebuild | 146 +++++++++++++++++++++++++++++ dev-libs/elfutils/elfutils-0.192.ebuild | 145 ---------------------------- dev-libs/elfutils/elfutils-9999.ebuild | 8 +- 4 files changed, 152 insertions(+), 151 deletions(-) create mode 100644 dev-libs/elfutils/elfutils-0.192-r1.ebuild delete mode 100644 dev-libs/elfutils/elfutils-0.192.ebuild (limited to 'dev-libs/elfutils') diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest index ca688a6e44a3..a9e5957c13ec 100644 --- a/dev-libs/elfutils/Manifest +++ b/dev-libs/elfutils/Manifest @@ -15,6 +15,6 @@ EBUILD elfutils-0.190.ebuild 3189 BLAKE2B e69c096e08fd48d1d2f5615256069552f0db0f EBUILD elfutils-0.191-r1.ebuild 3429 BLAKE2B 249899fa53cfc8752adf5791bfc89724f1fc90becf333d14bd489f1405606a07a49746543ecbce174f4a7d3dd7a81fde4ef5ce5b83140399387edeac3a367597 SHA512 528b428645573c65b80a46c7cc55cc2bcf6815210fb7e6c850e3518993161d72f464fc64ffc8d89da1b238c34ba3f26f66c5ccececcc306f075e8c13148577cc EBUILD elfutils-0.191-r2.ebuild 3634 BLAKE2B 4e0acc299f1442d43ab8a3ba919798eb0590b89e491e5b5acd786f15f8a4e647b02442f1f9955203f64cebea8ce6482abc5ae980f57686d15bcbd186e0173f36 SHA512 842b9a3a128e6bee44844296bd2f130bad907fe5cc722acf0b9d7c8902711735ff03e97c3ddd8fca3cde8f134dfbc8e818faad9a39e4204e1acb3ec29c679aa0 EBUILD elfutils-0.191.ebuild 3208 BLAKE2B eff31de9c66132e8aa1d2209fd5703c53de51acf04bf05c17748c9fa99e86f016e21b777c6b60798f8a5905d903ba6180d5718bb4b964c812f38e69fc678c359 SHA512 e8ed0f3739b19b2450d66963949702f94c106179c49b8e2cb12c0cd746211a4fc8ed3bbfaea8a06e1693e1dbc1976640091b925debdbaafada00098103efa7cb -EBUILD elfutils-0.192.ebuild 3817 BLAKE2B f6b1743b83b914f2f7fc335f9e359a424b1d09b340ddced7586bda290ee2d0cb8effdf2122fb4097687354ece8078769998520b23b54b68c2834dffb808c4f22 SHA512 e774cd881c949bab78727d39742d45bc8515ce97d68270a74d24d13fb6471a35c8a6e994332543be62b9f86107853786a5fe05bd3dd73d9a3beab9a261187029 -EBUILD elfutils-9999.ebuild 3659 BLAKE2B 06641076219af9f625bb93f31755d65e2c1894e463c588698ca00c37305f96d104bc38055d90792a11f52ca07707b0bd1760655cccac4a0d9de2aa0b8d10b77c SHA512 54a966a14d5700d18b71ef6f5272c75f89aeaf6a2da2b68a0c9ca2af77914f50620325f67aa9aea30a9f1da93bba08f577e897a502acdc1d3811b3da63965efb +EBUILD elfutils-0.192-r1.ebuild 3919 BLAKE2B 03b3c1e82fdae958c231212ca4b53dd0379529710daa7ca8516504aa3d9348f92dabb6b22d0f9a20a60b7338c3bbb107fd78e44588100d3bce70311b94ee5c69 SHA512 64f21a8656db7d5e0dfbb5cff46f14b4861205fba918a7c2d84a8c908f37feee1308c137fdb648e4a0cf2fd88e61b49012268d0d192e847a56d310cd12f4f4ca +EBUILD elfutils-9999.ebuild 3731 BLAKE2B f1a71a2025fb1618c171c9eba808d469cb23312755a1f569aa05b9b450dc66663bdbf77ac5436ced4c283848c55c0a80ff622a94208d9b724200c701220dd99f SHA512 36bd360c4c554a3dd00318707d87d74d20b7a215b1c72560906e728d392a4d2cbc69b9e4b5040e613c173d3f71708165e4a7686af12df2f78d40a1d4d4e50aed MISC metadata.xml 920 BLAKE2B 64bce99992961669c535e0232a5c1a9241316e13737fd6cc2e50314e400e0562cc2b692cbe590836e13aced55ff90c4833862e6da39f3c57afc56f6826d4c9f2 SHA512 db7f9105ca6bf72b084cddb0ddba9d02879a88b023d71aa7126c5678b4263475c936e3fecde214bffb543452c94c8a58b7a17c793926952bb1f9956ed549f151 diff --git a/dev-libs/elfutils/elfutils-0.192-r1.ebuild b/dev-libs/elfutils/elfutils-0.192-r1.ebuild new file mode 100644 index 000000000000..66caa21ab476 --- /dev/null +++ b/dev-libs/elfutils/elfutils-0.192-r1.ebuild @@ -0,0 +1,146 @@ +# Copyright 2003-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/elfutils.gpg +inherit autotools flag-o-matic multilib-minimal + +DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" +HOMEPAGE="https://sourceware.org/elfutils/" +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://sourceware.org/git/elfutils.git" + inherit git-r3 + + BDEPEND=" + sys-devel/bison + sys-devel/flex + " +else + inherit verify-sig + SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" + SRC_URI+=" verify-sig? ( https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2.sig )" + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + + BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-elfutils-20240301 )" +fi + +LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" +SLOT="0" +IUSE="bzip2 debuginfod lzma nls static-libs stacktrace test +utils valgrind zstd" +RESTRICT="!test? ( test )" + +RDEPEND=" + !dev-libs/libelf + >=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] + bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] ) + debuginfod? ( + >=app-arch/libarchive-3.1.2:= + dev-db/sqlite:3= + >=dev-libs/json-c-0.11:=[${MULTILIB_USEDEP}] + >=net-libs/libmicrohttpd-0.9.33:= + >=net-misc/curl-7.29.0[static-libs?,${MULTILIB_USEDEP}] + ) + lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] ) + stacktrace? ( dev-util/sysprof ) + zstd? ( app-arch/zstd:=[static-libs?,${MULTILIB_USEDEP}] ) + elibc_musl? ( + dev-libs/libbsd + sys-libs/argp-standalone + sys-libs/fts-standalone + sys-libs/obstack-standalone + ) +" +DEPEND=" + ${RDEPEND} + valgrind? ( dev-debug/valgrind ) +" +BDEPEND+=" + sys-devel/m4 + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.189-musl-aarch64-regs.patch + "${FILESDIR}"/${PN}-0.191-musl-macros.patch + "${FILESDIR}"/${P}-libelf-static-link-libeu.patch + "${FILESDIR}"/${P}-configure-better-error-message.patch + "${FILESDIR}"/${P}-stacktrace-maybe-uninit.patch +) + +src_prepare() { + default + + eautoreconf + + if ! use static-libs; then + sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die + fi + + # https://sourceware.org/PR23914 + sed -i 's:-Werror::' */Makefile.in || die +} + +src_configure() { + # bug #407135 + use test && append-flags -g + + # bug 660738 + filter-flags -fno-asynchronous-unwind-tables + + multilib-minimal_src_configure +} + +multilib_src_configure() { + unset LEX YACC + + local myeconfargs=( + $(use_enable nls) + $(multilib_native_use_enable debuginfod) + # Could do dummy if needed? + $(use_enable debuginfod libdebuginfod) + $(multilib_native_use_enable stacktrace) + $(use_enable valgrind valgrind-annotations) + + # explicitly disable thread safety, it's not recommended by upstream + # doesn't build either on musl. + --disable-thread-safety + + # Valgrind option is just for running tests under it; dodgy under sandbox + # and indeed even w/ glibc with newer instructions. + --disable-valgrind + --program-prefix="eu-" + --with-zlib + $(use_with bzip2 bzlib) + $(use_with lzma) + $(use_with zstd) + ) + + [[ ${PV} == 9999 ]] && myeconfargs+=( --enable-maintainer-mode ) + + # Needed because sets alignment macro + is-flagq -fsanitize=address && myeconfargs+=( --enable-sanitize-address ) + is-flagq -fsanitize=undefined && myeconfargs+=( --enable-sanitize-undefined ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_test() { + env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ + LC_ALL="C" \ + emake check VERBOSE=1 +} + +multilib_src_install_all() { + einstalldocs + + dodoc NOTES + + # These build quick, and are needed for most tests, so we don't + # disable building them when the USE flag is disabled. + if ! use utils; then + rm -rf "${ED}"/usr/bin || die + fi +} diff --git a/dev-libs/elfutils/elfutils-0.192.ebuild b/dev-libs/elfutils/elfutils-0.192.ebuild deleted file mode 100644 index 36c17b46d209..000000000000 --- a/dev-libs/elfutils/elfutils-0.192.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 2003-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/elfutils.gpg -inherit autotools flag-o-matic multilib-minimal - -DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" -HOMEPAGE="https://sourceware.org/elfutils/" -if [[ ${PV} == 9999 ]] ; then - EGIT_REPO_URI="https://sourceware.org/git/elfutils.git" - inherit git-r3 - - BDEPEND=" - sys-devel/bison - sys-devel/flex - " -else - inherit verify-sig - SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" - SRC_URI+=" verify-sig? ( https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2.sig )" - - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" - - BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-elfutils-20240301 )" -fi - -LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" -SLOT="0" -IUSE="bzip2 debuginfod lzma nls static-libs stacktrace test +utils valgrind zstd" -RESTRICT="!test? ( test )" - -RDEPEND=" - !dev-libs/libelf - >=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] - bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] ) - debuginfod? ( - app-arch/libarchive:= - dev-db/sqlite:3= - net-libs/libmicrohttpd:= - - net-misc/curl[static-libs?,${MULTILIB_USEDEP}] - ) - lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] ) - stacktrace? ( dev-util/sysprof ) - zstd? ( app-arch/zstd:=[static-libs?,${MULTILIB_USEDEP}] ) - elibc_musl? ( - dev-libs/libbsd - sys-libs/argp-standalone - sys-libs/fts-standalone - sys-libs/obstack-standalone - ) -" -DEPEND=" - ${RDEPEND} - valgrind? ( dev-debug/valgrind ) -" -BDEPEND+=" - sys-devel/m4 - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.189-musl-aarch64-regs.patch - "${FILESDIR}"/${PN}-0.191-musl-macros.patch - "${FILESDIR}"/${P}-libelf-static-link-libeu.patch - "${FILESDIR}"/${P}-configure-better-error-message.patch - "${FILESDIR}"/${P}-stacktrace-maybe-uninit.patch -) - -src_prepare() { - default - - eautoreconf - - if ! use static-libs; then - sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die - fi - - # https://sourceware.org/PR23914 - sed -i 's:-Werror::' */Makefile.in || die -} - -src_configure() { - # bug #407135 - use test && append-flags -g - - # bug 660738 - filter-flags -fno-asynchronous-unwind-tables - - multilib-minimal_src_configure -} - -multilib_src_configure() { - unset LEX YACC - - local myeconfargs=( - $(use_enable nls) - $(multilib_native_use_enable debuginfod) - $(use_enable debuginfod libdebuginfod) - $(multilib_native_use_enable stacktrace) - $(use_enable valgrind valgrind-annotations) - - # explicitly disable thread safety, it's not recommended by upstream - # doesn't build either on musl. - --disable-thread-safety - - # Valgrind option is just for running tests under it; dodgy under sandbox - # and indeed even w/ glibc with newer instructions. - --disable-valgrind - --program-prefix="eu-" - --with-zlib - $(use_with bzip2 bzlib) - $(use_with lzma) - $(use_with zstd) - ) - - [[ ${PV} == 9999 ]] && myeconfargs+=( --enable-maintainer-mode ) - - # Needed because sets alignment macro - is-flagq -fsanitize=address && myeconfargs+=( --enable-sanitize-address ) - is-flagq -fsanitize=undefined && myeconfargs+=( --enable-sanitize-undefined ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_test() { - env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ - LC_ALL="C" \ - emake check VERBOSE=1 -} - -multilib_src_install_all() { - einstalldocs - - dodoc NOTES - - # These build quick, and are needed for most tests, so we don't - # disable building them when the USE flag is disabled. - if ! use utils; then - rm -rf "${ED}"/usr/bin || die - fi -} diff --git a/dev-libs/elfutils/elfutils-9999.ebuild b/dev-libs/elfutils/elfutils-9999.ebuild index 84b6120da8b2..be39e698ca36 100644 --- a/dev-libs/elfutils/elfutils-9999.ebuild +++ b/dev-libs/elfutils/elfutils-9999.ebuild @@ -36,11 +36,11 @@ RDEPEND=" >=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] ) debuginfod? ( - app-arch/libarchive:= + >=app-arch/libarchive-3.1.2:= dev-db/sqlite:3= - net-libs/libmicrohttpd:= - - net-misc/curl[static-libs?,${MULTILIB_USEDEP}] + >=dev-libs/json-c-0.11:=[${MULTILIB_USEDEP}] + >=net-libs/libmicrohttpd-0.9.33:= + >=net-misc/curl-7.29.0[static-libs?,${MULTILIB_USEDEP}] ) lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] ) stacktrace? ( dev-util/sysprof ) -- cgit v1.2.3