Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libbsd/files/, dev-libs/libbsd/
Date: Mon, 19 Aug 2019 11:01:12
Message-Id: 1566212461.7ced86cd1ba6f854d99b75e0a3444e32e59a41ce.polynomial-c@gentoo
1 commit: 7ced86cd1ba6f854d99b75e0a3444e32e59a41ce
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 19 10:55:52 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 19 11:01:01 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ced86cd
7
8 dev-libs/libbsd: Removed old.
9
10 Package-Manager: Portage-2.3.72, Repoman-2.3.17
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 dev-libs/libbsd/Manifest | 2 --
14 dev-libs/libbsd/files/libbsd-0.8.6-sparc.patch | 32 -------------------
15 dev-libs/libbsd/libbsd-0.8.6.ebuild | 44 --------------------------
16 dev-libs/libbsd/libbsd-0.8.7.ebuild | 44 --------------------------
17 4 files changed, 122 deletions(-)
18
19 diff --git a/dev-libs/libbsd/Manifest b/dev-libs/libbsd/Manifest
20 index 51746ae4612..857f6a1f9c9 100644
21 --- a/dev-libs/libbsd/Manifest
22 +++ b/dev-libs/libbsd/Manifest
23 @@ -1,4 +1,2 @@
24 DIST libbsd-0.10.0.tar.xz 393576 BLAKE2B 66005a511dae7fb799322c813b8ea058ab460e3b9044756d6efad5de741d8f70270496f09803bbce8cd0000ff37e998f18e092037c850826c3c8e3f47ddfdb28 SHA512 b75529785b16c93d31401187f8a58258fbebe565dac071c8311775c913af989f62cd29d5ce2651af3ea6221cffd31cf04826577d3e546ab9ca14340f297777b9
25 -DIST libbsd-0.8.6.tar.xz 371112 BLAKE2B adab6c17267e0cff128351efccf5c1225b7dd85dc61dd8168bf212ba5aff8d726fa5be687c041821af9a427ddad9dfcd3630cac9134b9e81c86ab2599e43aef9 SHA512 ece01ced324f840c2cee6321c7dcf97ff123d55ea9f203c1ce35e1b46643dc7b34ef6dc6c8d128252b36848624850b40823411cc96b99a66a401eb1e9d8cea6b
26 -DIST libbsd-0.8.7.tar.xz 371772 BLAKE2B aa4aa1c19872edf9e7e6ed270275199366345531a48ee28c25e209f17c5403a22269b91ab1c806cb1b54ba33a8464f4b035fe7ee2bc5dddd0a4fda09c540b058 SHA512 605a14eb5d33c0e45c3bd29e585ebc15832e2ed1efa9356291a0562622168da96db1a20766e9dae8910ea0c1516429f43905edc8d4f2a40a5a341a689d08fcc3
27 DIST libbsd-0.9.1.tar.xz 387180 BLAKE2B 40dd82ca1088ee7aae8b3d7685e8514eec702bf7ada7ef98f7177cad92b7e0fccc22a953b35f0f27202eb56833b31a81bef1324d43864d1b80887ba7c58684d5 SHA512 435822b8f2495a5e2705e5ab5c834a4f0f3a177b3e5c46a7c6162924507ca984e957e94a512b5ebd0067ecb413bac458fade357709ef199e9b75edf0315de91c
28
29 diff --git a/dev-libs/libbsd/files/libbsd-0.8.6-sparc.patch b/dev-libs/libbsd/files/libbsd-0.8.6-sparc.patch
30 deleted file mode 100644
31 index d2c35d8dc4e..00000000000
32 --- a/dev-libs/libbsd/files/libbsd-0.8.6-sparc.patch
33 +++ /dev/null
34 @@ -1,32 +0,0 @@
35 -From 0b65d43963fc1bea195e94e3af922a7893bf6fcd Mon Sep 17 00:00:00 2001
36 -From: James Clarke <jrtc27@××××××.com>
37 -Date: Sun, 4 Mar 2018 23:44:52 +0100
38 -Subject: Add support for ELF machine EM_SPARC32PLUS
39 -
40 -32-bit SPARC on V8+ uses a different ELF machine type.
41 -
42 -Fixes: https://bugs.gentoo.org/634550
43 -Signed-off-by: Guillem Jover <guillem@×××××××.org>
44 ----
45 - src/local-elf.h | 4 ++++
46 - 1 file changed, 4 insertions(+)
47 -
48 -diff --git a/src/local-elf.h b/src/local-elf.h
49 -index 1faf182..f7cbd83 100644
50 ---- a/src/local-elf.h
51 -+++ b/src/local-elf.h
52 -@@ -186,7 +186,11 @@
53 - #define ELF_TARG_MACH EM_SPARCV9
54 - #define ELF_TARG_CLASS ELFCLASS64
55 - #else
56 -+#if defined(__sparc_v9__)
57 -+#define ELF_TARG_MACH EM_SPARC32PLUS
58 -+#else
59 - #define ELF_TARG_MACH EM_SPARC
60 -+#endif
61 - #define ELF_TARG_CLASS ELFCLASS32
62 - #endif
63 - #define ELF_TARG_DATA ELFDATA2MSB
64 ---
65 -cgit v1.1
66 -
67
68 diff --git a/dev-libs/libbsd/libbsd-0.8.6.ebuild b/dev-libs/libbsd/libbsd-0.8.6.ebuild
69 deleted file mode 100644
70 index 1d417a41098..00000000000
71 --- a/dev-libs/libbsd/libbsd-0.8.6.ebuild
72 +++ /dev/null
73 @@ -1,44 +0,0 @@
74 -# Copyright 1999-2019 Gentoo Authors
75 -# Distributed under the terms of the GNU General Public License v2
76 -
77 -EAPI=6
78 -inherit multilib-minimal
79 -
80 -DESCRIPTION="An library to provide useful functions commonly found on BSD systems"
81 -HOMEPAGE="https://libbsd.freedesktop.org/wiki/ https://gitlab.freedesktop.org/libbsd/libbsd"
82 -SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz"
83 -
84 -LICENSE="BSD BSD-2 BSD-4 ISC"
85 -SLOT="0"
86 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
87 -IUSE="static-libs"
88 -
89 -DEPEND=">=sys-kernel/linux-headers-3.17"
90 -RDEPEND=""
91 -
92 -PATCHES=(
93 - "${FILESDIR}/${PN}-0.8.6-sparc.patch"
94 -)
95 -
96 -pkg_setup() {
97 - local f="${EROOT}/usr/$(get_libdir)/${PN}.a"
98 - local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first."
99 - if ! has_version ${CATEGORY}/${PN}; then
100 - if [[ -e ${f} ]]; then
101 - eerror "${m}"
102 - die "${m}"
103 - fi
104 - fi
105 -}
106 -
107 -multilib_src_configure() {
108 - # The build system will install libbsd-ctor.a despite of USE="-static-libs"
109 - # which is correct, see:
110 - # https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8
111 - ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
112 -}
113 -
114 -multilib_src_install() {
115 - emake DESTDIR="${D}" install
116 - find "${ED}" -name "*.la" -delete || die
117 -}
118
119 diff --git a/dev-libs/libbsd/libbsd-0.8.7.ebuild b/dev-libs/libbsd/libbsd-0.8.7.ebuild
120 deleted file mode 100644
121 index 8fe9b46741c..00000000000
122 --- a/dev-libs/libbsd/libbsd-0.8.7.ebuild
123 +++ /dev/null
124 @@ -1,44 +0,0 @@
125 -# Copyright 1999-2019 Gentoo Authors
126 -# Distributed under the terms of the GNU General Public License v2
127 -
128 -EAPI=6
129 -inherit multilib-minimal
130 -
131 -DESCRIPTION="An library to provide useful functions commonly found on BSD systems"
132 -HOMEPAGE="https://libbsd.freedesktop.org/wiki/ https://gitlab.freedesktop.org/libbsd/libbsd"
133 -SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz"
134 -
135 -LICENSE="BSD BSD-2 BSD-4 ISC"
136 -SLOT="0"
137 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
138 -IUSE="static-libs"
139 -
140 -DEPEND=">=sys-kernel/linux-headers-3.17"
141 -RDEPEND=""
142 -
143 -PATCHES=(
144 - "${FILESDIR}/${PN}-0.8.6-sparc.patch"
145 -)
146 -
147 -pkg_setup() {
148 - local f="${EROOT}/usr/$(get_libdir)/${PN}.a"
149 - local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first."
150 - if ! has_version ${CATEGORY}/${PN}; then
151 - if [[ -e ${f} ]]; then
152 - eerror "${m}"
153 - die "${m}"
154 - fi
155 - fi
156 -}
157 -
158 -multilib_src_configure() {
159 - # The build system will install libbsd-ctor.a despite of USE="-static-libs"
160 - # which is correct, see:
161 - # https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8
162 - ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
163 -}
164 -
165 -multilib_src_install() {
166 - emake DESTDIR="${D}" install
167 - find "${ED}" -name "*.la" -delete || die
168 -}