1 |
commit: ba900f6dfec4cdd31b9146cae36b82eb08914c7d |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 16 12:00:30 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 16 12:35:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba900f6d |
7 |
|
8 |
dev-libs/libbsd: 0.11.3 version bump |
9 |
|
10 |
Closes: https://bugs.gentoo.org/789009 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
dev-libs/libbsd/Manifest | 1 + |
15 |
dev-libs/libbsd/libbsd-0.11.3.ebuild | 42 ++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 43 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest |
19 |
index 5a70770bb83..d24a2a7fc16 100644 |
20 |
--- a/dev-libs/libbsd/Manifest |
21 |
+++ b/dev-libs/libbsd/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST libbsd-0.10.0.tar.xz 393576 BLAKE2B 66005a511dae7fb799322c813b8ea058ab460e3b9044756d6efad5de741d8f70270496f09803bbce8cd0000ff37e998f18e092037c850826c3c8e3f47ddfdb28 SHA512 b75529785b16c93d31401187f8a58258fbebe565dac071c8311775c913af989f62cd29d5ce2651af3ea6221cffd31cf04826577d3e546ab9ca14340f297777b9 |
24 |
+DIST libbsd-0.11.3.tar.xz 399712 BLAKE2B 1af04b8fcbc0bfa59fba549639d61a33ac934fe7ee42b506d1b0452e0b836b0bfdd3d8739de90465be46fe6a9d326a2d11bcf72280aa19ccba81db5da6d63d89 SHA512 a7015ea1ffa3766b1a4690526a25231898ad8275149b31fb6801082450172249997c36165626d101ffce53b59767a46676eebc0806426922fe4e773a0376c1f5 |
25 |
|
26 |
diff --git a/dev-libs/libbsd/libbsd-0.11.3.ebuild b/dev-libs/libbsd/libbsd-0.11.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..d9667f872ea |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/libbsd/libbsd-0.11.3.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit multilib-minimal |
38 |
+ |
39 |
+DESCRIPTION="Library to provide useful functions commonly found on BSD systems" |
40 |
+HOMEPAGE="https://libbsd.freedesktop.org/wiki/ https://gitlab.freedesktop.org/libbsd/libbsd" |
41 |
+SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" |
42 |
+ |
43 |
+LICENSE="BSD BSD-2 BSD-4 ISC" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
46 |
+IUSE="static-libs" |
47 |
+ |
48 |
+RDEPEND="app-crypt/libmd[${MULTILIB_USEDEP}]" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ >=sys-kernel/linux-headers-3.17 |
51 |
+" |
52 |
+ |
53 |
+pkg_setup() { |
54 |
+ local f="${EROOT}/usr/$(get_libdir)/${PN}.a" |
55 |
+ if ! has_version ${CATEGORY}/${PN}; then |
56 |
+ if [[ -e ${f} ]]; then |
57 |
+ eerror "${m}" |
58 |
+ die "You need to remove ${f} by hand or re-emerge sys-libs/glibc first." |
59 |
+ fi |
60 |
+ fi |
61 |
+} |
62 |
+ |
63 |
+multilib_src_configure() { |
64 |
+ # The build system will install libbsd-ctor.a despite of USE="-static-libs" |
65 |
+ # which is correct, see: |
66 |
+ # https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8 |
67 |
+ ECONF_SOURCE="${S}" econf $(use_enable static-libs static) |
68 |
+} |
69 |
+ |
70 |
+multilib_src_install() { |
71 |
+ emake DESTDIR="${D}" install |
72 |
+ find "${ED}" -type f -name "*.la" -delete || die |
73 |
+} |