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: sys-libs/libsmbios/files/, sys-libs/libsmbios/
Date: Fri, 29 Nov 2019 18:14:05
Message-Id: 1575051235.f52f19cef8381e89c75d0318113b86d0ff23d34a.polynomial-c@gentoo
1 commit: f52f19cef8381e89c75d0318113b86d0ff23d34a
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 29 18:09:14 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 29 18:13:55 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f52f19ce
7
8 sys-libs/libsmbios: Removed old
9
10 Package-Manager: Portage-2.3.80, Repoman-2.3.19
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-libs/libsmbios/Manifest | 3 -
14 .../files/libsmbios-2.3.0-doxygen_target.patch | 16 -----
15 .../files/libsmbios-2.3.3-doxygen_target.patch | 19 -----
16 sys-libs/libsmbios/files/libsmbios-fix-pie.patch | 29 --------
17 sys-libs/libsmbios/libsmbios-2.3.2.ebuild | 81 ----------------------
18 sys-libs/libsmbios/libsmbios-2.3.3.ebuild | 78 ---------------------
19 sys-libs/libsmbios/libsmbios-2.4.1.ebuild | 77 --------------------
20 7 files changed, 303 deletions(-)
21
22 diff --git a/sys-libs/libsmbios/Manifest b/sys-libs/libsmbios/Manifest
23 index c7fd744d19a..49464a42fb0 100644
24 --- a/sys-libs/libsmbios/Manifest
25 +++ b/sys-libs/libsmbios/Manifest
26 @@ -1,4 +1 @@
27 -DIST libsmbios-2.3.2.tar.gz 800862 BLAKE2B da888dbe3b3dfa10b39fbc4da90fe643982abc49f756f033d492f29d06631c722da7ec11a2b77780c06a74b7b0e3f70d5d3fc1ce895be7a7c8d136f654a22f7e SHA512 6ef3d71892e157d81fc466689b67c19b83567ee1c4893816da935cfc42738cf958f972eed811aad375fee5bb7d4a6b4e13fb1b5760cd0d7cdb5e65170ebeb129
28 -DIST libsmbios-2.3.3.tar.gz 801164 BLAKE2B 22d04d4071ec3111d80acbbc10dbd51c15e5f8db06575f3079654da42e33dbbfcb364e1bdc8470d2a66475159da1179cafc9ae5284be0c35c4199dc5b16a1a2e SHA512 d4ee556fc0b734827e1a0def9c9914e79130ce9f164f62a5aa752276772f9ed27874fd8a285b65e016f16f001cdfa23c7c9d228533bb8a03134db90b9cc4f96d
29 -DIST libsmbios-2.4.1.tar.gz 667796 BLAKE2B 119198783004215c269ae0846aad58fafcdd0ee2148e0014f77271c38511cc61430db2b81c43bbc0da507b40342c923731e06c61829f9604b84b26f7f527b37a SHA512 dd71e45f8047480a669b70efebb9bdbbea4870f96437fc45eb4088fd66331d117b29a65c45cee2e5c4628d0536072a5939eb83f1905857a85bd0567b3d1c22fb
30 DIST libsmbios-2.4.2.tar.gz 668042 BLAKE2B 2106206dce95e481ae36e033d2abe9f39402368a09686b92fd1de7d85e87ea494514e85bdf1267adb6b52060a4e6bb6001714c5d891a4c0342c814942c0458af SHA512 51d1b11447d50b768658473d01bcb6cc7f9dd5c96c26ec343f222115ffb5047ca1f035a0bfb67f94f53165eaea7a0d9b70cf01f03333a30885bbac153bf761bd
31
32 diff --git a/sys-libs/libsmbios/files/libsmbios-2.3.0-doxygen_target.patch b/sys-libs/libsmbios/files/libsmbios-2.3.0-doxygen_target.patch
33 deleted file mode 100644
34 index ebe6798bd73..00000000000
35 --- a/sys-libs/libsmbios/files/libsmbios-2.3.0-doxygen_target.patch
36 +++ /dev/null
37 @@ -1,16 +0,0 @@
38 ---- libsmbios-2.3.0/Makefile.am
39 -+++ libsmbios-2.3.0/Makefile.am
40 -@@ -89,10 +89,12 @@
41 -
42 -
43 - ########## DOCS ################
44 --all: doxygen
45 - if HAVE_DOXYGEN
46 -+all: doxygen
47 - DOXYGEN_DEPS=out/libsmbios_c/html/index.html out/libsmbios_c++/html/index.html
48 - doxygen: $(DOXYGEN_DEPS)
49 -+else
50 -+all:
51 - endif
52 -
53 - DOT=@DOT@
54
55 diff --git a/sys-libs/libsmbios/files/libsmbios-2.3.3-doxygen_target.patch b/sys-libs/libsmbios/files/libsmbios-2.3.3-doxygen_target.patch
56 deleted file mode 100644
57 index 4adca14f21d..00000000000
58 --- a/sys-libs/libsmbios/files/libsmbios-2.3.3-doxygen_target.patch
59 +++ /dev/null
60 @@ -1,19 +0,0 @@
61 ---- libsmbios-2.3.3/Makefile.am
62 -+++ libsmbios-2.3.3/Makefile.am
63 -@@ -89,13 +89,15 @@
64 -
65 -
66 - ########## DOCS ################
67 --all: doxygen
68 - if HAVE_DOXYGEN
69 -+all: doxygen
70 - DOXYGEN_DEPS=out/libsmbios_c/html/index.html
71 - if BUILD_LIBSMBIOS_CXX
72 - DOXYGEN_DEPS+=out/libsmbios_c++/html/index.html
73 - endif
74 - doxygen: $(DOXYGEN_DEPS)
75 -+else
76 -+all:
77 - endif
78 -
79 - DOT=@DOT@
80
81 diff --git a/sys-libs/libsmbios/files/libsmbios-fix-pie.patch b/sys-libs/libsmbios/files/libsmbios-fix-pie.patch
82 deleted file mode 100644
83 index 3ab404e8ea2..00000000000
84 --- a/sys-libs/libsmbios/files/libsmbios-fix-pie.patch
85 +++ /dev/null
86 @@ -1,29 +0,0 @@
87 ---- libsmbios-2.2.19/src/bin/dellMediaDirectCtl.cpp
88 -+++ libsmbios-2.2.19/src/bin/dellMediaDirectCtl.cpp
89 -@@ -183,16 +183,21 @@
90 - {
91 - iopl(3);
92 -
93 -+ u32 tmpebx;
94 - __asm__ __volatile__ (
95 -- // magic port
96 -- "outb %%al, %%dx \n\t"
97 --
98 -+ "movl %%ebx,%[tmpebx]\n\t"
99 -+ "movl %[ebx],%%ebx\n\t"
100 -+ // magic port
101 -+ "outb %%al, %%dx \n\t"
102 -+ "movl %%ebx,%[ebx]\n\t"
103 -+ "movl %[tmpebx],%%ebx\n\t"
104 - : /* output args */
105 - "=a" (r->eax),
106 -- "=b" (r->ebx),
107 -+ [ebx] "=rm" (r->ebx),
108 - "=c" (r->ecx),
109 - "=S" (r->esi),
110 -- "=D" (r->edi)
111 -+ "=D" (r->edi),
112 -+ [tmpebx] "+m" (tmpebx)
113 - : /* input args */
114 - "0" (r->eax),
115 - "1" (r->ebx),
116
117 diff --git a/sys-libs/libsmbios/libsmbios-2.3.2.ebuild b/sys-libs/libsmbios/libsmbios-2.3.2.ebuild
118 deleted file mode 100644
119 index d2777066e17..00000000000
120 --- a/sys-libs/libsmbios/libsmbios-2.3.2.ebuild
121 +++ /dev/null
122 @@ -1,81 +0,0 @@
123 -# Copyright 1999-2017 Gentoo Foundation
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI=6
127 -PYTHON_COMPAT=( python2_7 )
128 -
129 -inherit autotools flag-o-matic python-single-r1 versionator
130 -
131 -DESCRIPTION="Provide access to (SM)BIOS information"
132 -HOMEPAGE="http://linux.dell.com/files/libsmbios/"
133 -SRC_URI="https://github.com/dell/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
134 -
135 -LICENSE="GPL-2 OSL-2.0"
136 -SLOT="0"
137 -KEYWORDS="amd64 ia64 x86"
138 -IUSE="doc graphviz nls python static-libs test"
139 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
140 -
141 -RDEPEND="dev-libs/libxml2
142 - sys-libs/zlib
143 - nls? ( virtual/libintl )
144 - python? ( ${PYTHON_DEPS} )"
145 -DEPEND="${RDEPEND}
146 - virtual/pkgconfig
147 - doc? ( app-doc/doxygen )
148 - graphviz? ( media-gfx/graphviz )
149 - nls? ( sys-devel/gettext )
150 - test? ( >=dev-util/cppunit-1.9.6 )"
151 -
152 -PATCHES=(
153 - "${FILESDIR}/${PN}-fix-pie.patch"
154 - "${FILESDIR}/${PN}-2.2.28-cppunit-tests.patch"
155 - "${FILESDIR}/${PN}-2.3.0-doxygen_target.patch"
156 -)
157 -
158 -pkg_setup() {
159 - use python && python-single-r1_pkg_setup
160 -}
161 -
162 -src_prepare() {
163 - default
164 -
165 - # Don't build yum-plugin - we don't need it
166 - sed '/yum-plugin/d' -i Makefile.am || die
167 -
168 - # Fix version string in build system
169 - sed "/release_micro_version/s@\[1\]@[$(get_version_component_range 3)]@" \
170 - -i configure.ac || die
171 -
172 - eautoreconf
173 -}
174 -
175 -src_configure() {
176 - #Remove -O3 for bug #290097
177 - replace-flags -O3 -O2
178 -
179 - econf \
180 - $(use_enable doc doxygen) \
181 - $(use_enable graphviz) \
182 - $(use_enable nls) \
183 - $(use_enable python) \
184 - $(use_enable static-libs static)
185 -}
186 -
187 -src_install() {
188 - emake install DESTDIR="${D}"
189 -
190 - if use python ; then
191 - python_scriptinto /usr/sbin
192 - python_doscript "${ED%/}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info}
193 - fi
194 -
195 - insinto /usr/include/
196 - doins -r src/include/smbios/
197 -
198 - einstalldocs
199 -
200 - if ! use static-libs ; then
201 - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
202 - fi
203 -}
204
205 diff --git a/sys-libs/libsmbios/libsmbios-2.3.3.ebuild b/sys-libs/libsmbios/libsmbios-2.3.3.ebuild
206 deleted file mode 100644
207 index f6024bfa347..00000000000
208 --- a/sys-libs/libsmbios/libsmbios-2.3.3.ebuild
209 +++ /dev/null
210 @@ -1,78 +0,0 @@
211 -# Copyright 1999-2017 Gentoo Foundation
212 -# Distributed under the terms of the GNU General Public License v2
213 -
214 -EAPI=6
215 -PYTHON_COMPAT=( python2_7 )
216 -
217 -inherit autotools flag-o-matic python-single-r1 versionator
218 -
219 -DESCRIPTION="Provide access to (SM)BIOS information"
220 -HOMEPAGE="http://linux.dell.com/files/libsmbios/"
221 -SRC_URI="https://github.com/dell/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
222 -
223 -LICENSE="GPL-2 OSL-2.0"
224 -SLOT="0"
225 -KEYWORDS="~amd64 ~ia64 ~x86"
226 -IUSE="doc graphviz nls python static-libs test"
227 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
228 -
229 -RDEPEND="dev-libs/libxml2
230 - sys-libs/zlib
231 - nls? ( virtual/libintl )
232 - python? ( ${PYTHON_DEPS} )"
233 -DEPEND="${RDEPEND}
234 - virtual/pkgconfig
235 - doc? ( app-doc/doxygen )
236 - graphviz? ( media-gfx/graphviz )
237 - nls? ( sys-devel/gettext )
238 - test? ( >=dev-util/cppunit-1.9.6 )"
239 -
240 -PATCHES=(
241 - "${FILESDIR}/${PN}-fix-pie.patch"
242 - "${FILESDIR}/${PN}-2.2.28-cppunit-tests.patch"
243 - "${FILESDIR}/${PN}-2.3.3-doxygen_target.patch"
244 -)
245 -
246 -pkg_setup() {
247 - use python && python-single-r1_pkg_setup
248 -}
249 -
250 -src_prepare() {
251 - default
252 -
253 - # Don't build yum-plugin - we don't need it
254 - sed '/yum-plugin/d' -i Makefile.am || die
255 -
256 - eautoreconf
257 -}
258 -
259 -src_configure() {
260 - #Remove -O3 for bug #290097
261 - replace-flags -O3 -O2
262 -
263 - econf \
264 - $(use_enable doc doxygen) \
265 - $(use_enable graphviz) \
266 - $(use_enable nls) \
267 - $(use_enable python) \
268 - $(use_enable static-libs static)
269 -}
270 -
271 -src_install() {
272 - emake install DESTDIR="${D}"
273 -
274 - if use python ; then
275 - python_scriptinto /usr/sbin
276 - python_doscript "${ED%/}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info}
277 - fi
278 -
279 - insinto /usr/include/
280 - doins -r src/include/smbios/
281 - doins -r src/include/smbios_c
282 -
283 - einstalldocs
284 -
285 - if ! use static-libs ; then
286 - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
287 - fi
288 -}
289
290 diff --git a/sys-libs/libsmbios/libsmbios-2.4.1.ebuild b/sys-libs/libsmbios/libsmbios-2.4.1.ebuild
291 deleted file mode 100644
292 index 158c4534ba3..00000000000
293 --- a/sys-libs/libsmbios/libsmbios-2.4.1.ebuild
294 +++ /dev/null
295 @@ -1,77 +0,0 @@
296 -# Copyright 1999-2019 Gentoo Authors
297 -# Distributed under the terms of the GNU General Public License v2
298 -
299 -EAPI=6
300 -PYTHON_COMPAT=( python{2_7,3_{5,6}} )
301 -
302 -inherit autotools flag-o-matic python-single-r1 versionator
303 -
304 -DESCRIPTION="Provide access to (SM)BIOS information"
305 -HOMEPAGE="http://linux.dell.com/files/libsmbios/"
306 -SRC_URI="https://github.com/dell/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
307 -
308 -LICENSE="GPL-2 OSL-2.0"
309 -SLOT="0"
310 -KEYWORDS="~amd64 ~ia64 ~x86"
311 -IUSE="doc graphviz nls python static-libs test"
312 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
313 -
314 -RDEPEND="dev-libs/libxml2
315 - sys-libs/zlib
316 - nls? ( virtual/libintl )
317 - python? ( ${PYTHON_DEPS} )"
318 -DEPEND="${RDEPEND}
319 - virtual/pkgconfig
320 - doc? ( app-doc/doxygen )
321 - graphviz? ( media-gfx/graphviz )
322 - nls? ( sys-devel/gettext )
323 - test? ( >=dev-util/cppunit-1.9.6 )"
324 -
325 -PATCHES=(
326 - "${FILESDIR}/${PN}-2.2.28-cppunit-tests.patch"
327 -)
328 -
329 -pkg_setup() {
330 - use python && python-single-r1_pkg_setup
331 -}
332 -
333 -src_prepare() {
334 - default
335 -
336 - # Don't build yum-plugin - we don't need it
337 - sed '/yum-plugin/d' -i Makefile.am || die
338 -
339 - eautoreconf
340 -}
341 -
342 -src_configure() {
343 - #Remove -O3 for bug #290097
344 - replace-flags -O3 -O2
345 -
346 - local myeconfargs=(
347 - $(use_enable doc doxygen)
348 - $(use_enable graphviz)
349 - $(use_enable nls)
350 - $(use_enable python)
351 - $(use_enable static-libs static)
352 - )
353 - econf "${myeconfargs[@]}"
354 -}
355 -
356 -src_install() {
357 - emake install DESTDIR="${D}"
358 -
359 - if use python ; then
360 - python_scriptinto /usr/sbin
361 - python_doscript "${ED%/}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info}
362 - fi
363 -
364 - insinto /usr/include/
365 - doins -r src/include/smbios_c
366 -
367 - einstalldocs
368 -
369 - if ! use static-libs ; then
370 - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
371 - fi
372 -}