1 |
commit: 2c40ace29f25574482dfefe2e8d14a38d033e3e2 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 21 18:18:25 2017 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 21 18:26:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c40ace2 |
7 |
|
8 |
dev-libs/libbsd: 0.8.4 |
9 |
|
10 |
Due to upstreams move from man page section 3 to 3bsd, |
11 |
the is no more collision on file explicit_bzero.3 with |
12 |
sys-apps/man-pages |
13 |
https://bugs.gentoo.org/show_bug.cgi?id=617462 |
14 |
|
15 |
Open bugs/questions on 0.8.4 reported upstream: |
16 |
* https://bugs.freedesktop.org/show_bug.cgi?id=101543 |
17 |
* https://bugs.freedesktop.org/show_bug.cgi?id=101545 |
18 |
|
19 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
20 |
|
21 |
dev-libs/libbsd/Manifest | 1 + |
22 |
dev-libs/libbsd/libbsd-0.8.4.ebuild | 40 +++++++++++++++++++++++++++++++++++++ |
23 |
2 files changed, 41 insertions(+) |
24 |
|
25 |
diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest |
26 |
index 0c3df39a67b..b702e549981 100644 |
27 |
--- a/dev-libs/libbsd/Manifest |
28 |
+++ b/dev-libs/libbsd/Manifest |
29 |
@@ -1,2 +1,3 @@ |
30 |
DIST libbsd-0.8.2.tar.xz 344292 SHA256 b2f644cae94a6e2fe109449c20ad79a0f6ee4faec2205b07eefa0020565e250a SHA512 2230d51a30a0c3a8518c7e325036d2b578c8c2b47525c2d0d5f530d28d82227ad48b50341e44521db21f99208fe7c0df7313254c90e3c92da1c8664a8cbb87c5 WHIRLPOOL 4f9b09aaa7c0775cd46bf0aaaba9e9a7f07040262739002bf3966aace3bb4d782f96b176e2c489e7d7cbc0840eecc463a414dee1b5c92414c9a821796d739290 |
31 |
DIST libbsd-0.8.3.tar.xz 356772 SHA256 934b634f4dfd865b6482650b8f522c70ae65c463529de8be907b53c89c3a34a8 SHA512 155b895d6bd62b180718d65a2cda7484946c492d52735a57b51005705dfe4528b6a72e8745acea47b01fe68e3bbbe3c036c5e9998a8d06fc79efe2b96a04767f WHIRLPOOL ab74a85813ea3308e7e4c53b7a46f4b93e4dff4d091964a6347f9960729e8eb4c8a2a0866938de508caf47caf9371f14499fcb0cc4aa30da06f501f4ccad9ef2 |
32 |
+DIST libbsd-0.8.4.tar.xz 368396 SHA256 217af1642915703151ea6df077311633dd6ad7bfa3c7e07dd9329a93f642cab3 SHA512 83ca4733edad918a51096301480b702be96f064d7e731cc0870a78d6505574ac6f4edc101aae8b97ff430b2b3ae99e162660e7e3933d05caa14537e581926dc3 WHIRLPOOL 9e0cf7b0db53659d3cce19d2906092298da272dd52489f0820fc1df8a074c7f15e85b3fc4abf82e26b3c311df35ebdc96f06000f580458dc371eab0387d05a67 |
33 |
|
34 |
diff --git a/dev-libs/libbsd/libbsd-0.8.4.ebuild b/dev-libs/libbsd/libbsd-0.8.4.ebuild |
35 |
new file mode 100644 |
36 |
index 00000000000..c9b85c118e9 |
37 |
--- /dev/null |
38 |
+++ b/dev-libs/libbsd/libbsd-0.8.4.ebuild |
39 |
@@ -0,0 +1,40 @@ |
40 |
+# Copyright 1999-2017 Gentoo Foundation |
41 |
+# Distributed under the terms of the GNU General Public License v2 |
42 |
+ |
43 |
+EAPI=6 |
44 |
+inherit multilib-minimal |
45 |
+ |
46 |
+DESCRIPTION="An library to provide useful functions commonly found on BSD systems" |
47 |
+HOMEPAGE="https://libbsd.freedesktop.org/wiki/" |
48 |
+SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" |
49 |
+ |
50 |
+LICENSE="BSD BSD-2 BSD-4 ISC" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
53 |
+IUSE="static-libs" |
54 |
+ |
55 |
+DEPEND=">=sys-kernel/linux-headers-3.17" |
56 |
+RDEPEND="" |
57 |
+ |
58 |
+pkg_setup() { |
59 |
+ local f="${EROOT}/usr/$(get_libdir)/${PN}.a" |
60 |
+ local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first." |
61 |
+ if ! has_version ${CATEGORY}/${PN}; then |
62 |
+ if [[ -e ${f} ]]; then |
63 |
+ eerror "${m}" |
64 |
+ die "${m}" |
65 |
+ fi |
66 |
+ fi |
67 |
+} |
68 |
+ |
69 |
+multilib_src_configure() { |
70 |
+ # The build system will install libbsd-ctor.a despite of USE="-static-libs" |
71 |
+ # which is correct, see: |
72 |
+ # https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8 |
73 |
+ ECONF_SOURCE="${S}" econf $(use_enable static-libs static) |
74 |
+} |
75 |
+ |
76 |
+multilib_src_install() { |
77 |
+ emake DESTDIR="${D}" install |
78 |
+ find "${ED}" -name "*.la" -delete || die |
79 |
+} |