diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-27 23:40:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-27 23:40:34 +0000 |
commit | fdd31f37b982d2c1b6d73b85f99718b13031be36 (patch) | |
tree | b53698971171aec857ab0822be99fc89cac616c6 /dev-libs/libbsd | |
parent | 5cf235d5f7f308ba0183f7fa588514966b692114 (diff) |
gentoo auto-resync : 27:02:2024 - 23:40:33
Diffstat (limited to 'dev-libs/libbsd')
-rw-r--r-- | dev-libs/libbsd/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libbsd/libbsd-0.12.0.ebuild | 52 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest index 45b9891173a7..f2ff14b5e4b4 100644 --- a/dev-libs/libbsd/Manifest +++ b/dev-libs/libbsd/Manifest @@ -4,6 +4,9 @@ DIST libbsd-0.11.7.tar.xz 418508 BLAKE2B 2ff0aa951c5b37a58ab101aade52d077d52f369 DIST libbsd-0.11.7.tar.xz.asc 833 BLAKE2B 925cd4f5b68c0dccceb476cb188bb5a8185ad77895b9b458ff6819ae241dbd8cbf1c18dd12d10b90b3a9ea3f9e065b44566d1a908d0c111ecbd435434b922a66 SHA512 bdcce69ee261039900896c5be48659f1b6b809f3a6e8a5220aac30a6687926ac29e478a3ea737727d077d6575ee11b86eed896932568fdd261a9aaeb46d695b6 DIST libbsd-0.11.8.tar.xz 432376 BLAKE2B b2b9496423f177af7cba3c55c071b58a314ad987bd04fee5c93dc1885a501a923048f676d00dcb70c8cfa37de775c6ec64224dfecce1d0eaed50b8c27ec0c001 SHA512 0173fc20e2471f96bc6677500a02fbccef7463e023445f47681843c9a94b1fa9970c5af7d2f87f1a1e7f8a7bb60112988defc073828fd2a0dcd0e66e44e67295 DIST libbsd-0.11.8.tar.xz.asc 931 BLAKE2B 3841b81fa8bcdf0e27a41c769691dbefbb82073a18e3a30580794e0242c903bd0b512d31d6e897f8fa98ef3a3cf0dc08a413040ead00caa63f0b993396e1f2fe SHA512 a24355f9151f1da62e1f4f37280eec57ee7a32205b493d973d59231382c878e4373d4cf83ec41612536ef9361fe43e68331217c96c59b6741e7827272369ff2c +DIST libbsd-0.12.0.tar.xz 443828 BLAKE2B cdc618303c9bcda59f4d75913e101677bfaecfe4377b9b6e9fbfa291098324c323653964350ff7ede71600e8720af80fd90c712fced11276c51ded4b4fe96fa6 SHA512 c742ce9dff4186dae11cdd779f450aa04feefa28eeec0938ad08031aa52f228cf5506cf15dbbf0ce3c00a2bee595496603e2a58551af5c2282c5cef3482f15c6 +DIST libbsd-0.12.0.tar.xz.asc 833 BLAKE2B 8437ae78b64c74815fa9518ad81cbaf2ec656d6b25f2a4b8d297cdb86c18474baaa5075742ad72b13cbb63f89530dc076b0d159cb9dc2d3762d1d739a3070cca SHA512 0b619be8cd292810be9b71b5f4e041709ddfbcb0189353abdb1f966ee5f662c028131897e30581a9dec727d2d9682304efbd51cb70ac60514fbeae2e338dd13d EBUILD libbsd-0.11.7-r2.ebuild 2131 BLAKE2B 1498a5c353081510e339aa52f949689dc1fe7dc9626942a89ca5baf55fdde8b76fda49b34a487a9971bc83a7a6635353f8e339b191cc024d790fa170fccb688b SHA512 d70e6379807cea6116f834052a7fb244c6ae1f826ad04e68f65894547cda7a91a2483670dda3cae7cce20a69342d95da58afbbf514a840dd385681d0ed31668d EBUILD libbsd-0.11.8.ebuild 1840 BLAKE2B 3b9e9eb472fd9a4143be9674b32bccb11fa92917773b5c541073a6562320d46435caaad9e90f1380ba2319149b557f85121a2130c10638867789713e59360c32 SHA512 37780dc434af6e39d2fb1c49e797161b9508d7b988f2d97004b80f2900ac6a76b72fc5b9c98512a214aa023b1358b03b03061e3ba5be22e2c9a5ae9e4c4aa320 +EBUILD libbsd-0.12.0.ebuild 1812 BLAKE2B 5cba28a340f3cf2f93f13154f05b9810dd7b475ed07e68f9500f7ad9be3e0fd306cddb18575fd316125247ff1d81e9d587684941b7f5b721075830acbe92298e SHA512 05c8e3727c8f46e72a3018550ef5a03bd1500296c0a6b9cff68fed29fa1fcb6cdad4e1aa22aaaf9e72cfeea486aa62036f61cdae5febeb4e81e77c0d78d3e716 MISC metadata.xml 554 BLAKE2B 57cd84d1627796b005aef8d9ef4ff6d180f3373717ab89649e2de6f8adf661633edd63bfa9a0e74924b2919ef42fc8388a16c90c9b10f50c98d82efdd84d139e SHA512 b1b5861578bb7bda3fae6608d6682d422e822072dccd70fe2459b0814188780ad90a2777d82876d18cea975257d1b813300a84491593526ea3a3f5671645e468 diff --git a/dev-libs/libbsd/libbsd-0.12.0.ebuild b/dev-libs/libbsd/libbsd-0.12.0.ebuild new file mode 100644 index 000000000000..597b8dad0029 --- /dev/null +++ b/dev-libs/libbsd/libbsd-0.12.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/guillemjover.asc +inherit flag-o-matic multilib multilib-minimal verify-sig + +DESCRIPTION="Library to provide useful functions commonly found on BSD systems" +HOMEPAGE="https://libbsd.freedesktop.org/wiki/ https://gitlab.freedesktop.org/libbsd/libbsd" +SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" +SRC_URI+=" verify-sig? ( https://${PN}.freedesktop.org/releases/${P}.tar.xz.asc )" + +LICENSE="BEER-WARE BSD BSD-2 BSD-4 ISC MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs" + +RDEPEND="app-crypt/libmd[${MULTILIB_USEDEP}]" +DEPEND=" + ${RDEPEND} + >=sys-kernel/linux-headers-3.17 +" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-guillemjover )" + +MULTILIB_WRAPPED_HEADERS=( + # Diverges for time64 + /usr/include/bsd/sys/cdefs.h +) + +multilib_src_configure() { + # bug #911726 + filter-flags -fno-semantic-interposition + + # The build system will install libbsd-ctor.a despite USE="-static-libs" + # which is correct, see: + # https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8 + ECONF_SOURCE="${S}" econf $(use_enable static-libs static) +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + find "${ED}" -type f -name "*.la" -delete || die + + # ld scripts on standalone prefix (RAP) systems should have the prefix + # stripped from any paths, as the sysroot is automatically prepended. + local ldscript=${ED}/usr/$(get_libdir)/${PN}$(get_libname) + if use prefix && ! use prefix-guest && grep -qIF "ld script" "${ldscript}" 2>/dev/null; then + sed -i "s|${EPREFIX}/|/|g" "${ldscript}" || die + fi +} |