public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libbsd/
Date: Tue, 27 Feb 2024 22:06:15 +0000 (UTC)	[thread overview]
Message-ID: <1709070283.b4af5d61d9614390f99d9d0cc39f28ad728d5413.sam@gentoo> (raw)

commit:     b4af5d61d9614390f99d9d0cc39f28ad728d5413
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 27 19:47:34 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 21:44:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4af5d61

dev-libs/libbsd: add 0.12.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libbsd/Manifest             |  2 ++
 dev-libs/libbsd/libbsd-0.12.0.ebuild | 52 ++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest
index 0a58f706b583..6125418b4a75 100644
--- a/dev-libs/libbsd/Manifest
+++ b/dev-libs/libbsd/Manifest
@@ -2,3 +2,5 @@ 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

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
+}


             reply	other threads:[~2024-02-27 22:06 UTC|newest]

Thread overview: 129+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-27 22:06 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-19  3:42 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libbsd/ Ionen Wolkens
2024-03-02 18:00 Arthur Zamarin
2024-02-29  4:22 Sam James
2024-02-28  0:12 Sam James
2024-02-18 13:31 Sam James
2024-01-21 11:19 Sam James
2024-01-18 17:53 Sam James
2024-01-14  3:40 Sam James
2023-10-28 16:07 Andreas K. Hüttel
2023-10-08 18:38 David Seifert
2023-08-12 12:30 Michał Górny
2023-04-01 16:32 Arthur Zamarin
2023-04-01 16:32 Arthur Zamarin
2023-03-16 17:38 Arthur Zamarin
2023-02-26 19:10 Arthur Zamarin
2023-02-23 20:47 Arthur Zamarin
2023-02-23 20:04 Arthur Zamarin
2023-02-22 21:05 Arthur Zamarin
2023-02-13  5:01 Sam James
2023-01-28 22:12 James Le Cuirot
2023-01-03  5:58 Sam James
2023-01-03  5:58 Sam James
2022-12-30 10:41 James Le Cuirot
2022-12-29 21:31 James Le Cuirot
2022-11-25 16:19 Michał Górny
2022-11-25 15:02 Arthur Zamarin
2022-11-25 10:31 Arthur Zamarin
2022-11-25  9:26 Sam James
2022-11-25  9:03 Arthur Zamarin
2022-11-25  8:19 Sam James
2022-11-25  8:19 Sam James
2022-11-25  8:11 Arthur Zamarin
2022-11-25  8:11 Arthur Zamarin
2022-10-08 12:54 Sam James
2022-05-27  7:06 Michał Górny
2022-05-27  1:42 Sam James
2022-05-26 23:17 Jakov Smolić
2022-05-26 23:17 Jakov Smolić
2022-05-26 11:17 Jakov Smolić
2022-05-26 11:16 Jakov Smolić
2022-05-26 11:16 Jakov Smolić
2022-05-26 11:16 Jakov Smolić
2022-05-26 11:16 Jakov Smolić
2022-05-08  2:12 WANG Xuerui
2022-03-30 23:21 Sam James
2022-01-22 22:31 Sam James
2022-01-01 14:39 James Le Cuirot
2021-08-24 13:39 Andreas Sturmlechner
2021-08-24  0:05 Marek Szuba
2021-08-19 19:57 Sam James
2021-08-19  1:08 Sam James
2021-08-18 12:58 Agostino Sarubbo
2021-08-17 18:56 Sam James
2021-08-16  5:20 Agostino Sarubbo
2021-08-16  5:17 Agostino Sarubbo
2021-08-16  5:16 Agostino Sarubbo
2021-08-16  5:13 Agostino Sarubbo
2021-07-16 12:48 Andreas Sturmlechner
2019-12-08  4:50 Matt Turner
2019-11-22 23:35 Sergei Trofimovich
2019-11-22 13:44 Matt Turner
2019-11-20 11:50 Agostino Sarubbo
2019-11-20 11:27 Agostino Sarubbo
2019-11-19 19:45 Sergei Trofimovich
2019-11-19 15:40 Agostino Sarubbo
2019-11-19  7:38 Agostino Sarubbo
2019-11-19  0:32 Aaron Bauman
2019-08-19 11:01 Lars Wendler
2019-05-04 18:29 Andreas K. Hüttel
2018-10-12 16:08 Mikle Kolyada
2018-10-12  7:32 Tobias Klausmann
2018-10-09  9:33 Mikle Kolyada
2018-10-06 19:46 Matt Turner
2018-10-06 19:46 Matt Turner
2018-09-30 22:46 Mart Raudsepp
2018-09-30 21:38 Sergei Trofimovich
2018-09-25  6:35 Sergei Trofimovich
2018-09-24 21:26 Sergei Trofimovich
2018-09-24 16:43 Mikle Kolyada
2018-06-28 13:55 Mikle Kolyada
2018-05-24  9:16 Lars Wendler
2018-05-22 14:32 Lars Wendler
2018-03-25 17:04 Gilles Dartiguelongue
2018-03-22 22:25 Sergei Trofimovich
2018-03-21 11:08 Mart Raudsepp
2018-01-30  8:08 Lars Wendler
2018-01-30  8:08 Lars Wendler
2017-09-26 22:32 Manuel Rüger
2017-09-19 19:46 Markus Meier
2017-09-15 15:38 Tobias Klausmann
2017-09-15 11:48 Michael Palimaka
2017-09-13 20:34 Sergei Trofimovich
2017-09-09 18:54 Sergei Trofimovich
2017-09-09 11:53 Sergei Trofimovich
2017-07-20  8:09 Lars Wendler
2017-07-20  8:09 Lars Wendler
2017-06-24 16:04 Sebastian Pipping
2017-06-21 18:27 Sebastian Pipping
2017-06-03  8:11 Lars Wendler
2017-05-31  8:32 Lars Wendler
2017-03-16 18:51 Michael Weber
2017-03-01 13:05 Michael Weber
2017-02-23 11:47 Jeroen Roovers
2017-02-21 11:54 Tobias Klausmann
2017-02-19 13:33 Agostino Sarubbo
2017-02-19 13:11 Agostino Sarubbo
2016-10-21 22:10 Anthony G. Basile
2016-09-04 15:13 Fabian Groffen
2016-07-05 11:51 Fabian Groffen
2016-05-18  9:05 Fabian Groffen
2016-04-26 11:07 Lars Wendler
2016-04-16 10:44 Pacho Ramos
2016-03-31  9:26 Agostino Sarubbo
2016-03-24 11:32 Michael Palimaka
2016-03-15 16:39 Agostino Sarubbo
2016-02-14 17:21 Markus Meier
2016-02-13  8:22 Jeroen Roovers
2016-02-11 12:27 Agostino Sarubbo
2016-02-10 12:53 Jeroen Roovers
2016-02-09 11:58 Tobias Klausmann
2016-02-06 14:09 Manuel Rüger
2016-02-06 14:09 Manuel Rüger
2016-01-15 22:24 Ian Stakenvicius
2016-01-12 17:45 Ian Stakenvicius
2016-01-11 17:04 Ian Stakenvicius
2016-01-09 15:15 Pacho Ramos
2015-12-24 22:27 Agostino Sarubbo
2015-12-06 18:39 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1709070283.b4af5d61d9614390f99d9d0cc39f28ad728d5413.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox