Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/ipmiutil/files/, sys-apps/ipmiutil/
Date: Wed, 17 Aug 2022 16:21:31
Message-Id: 1660753267.8866a1d2abc09cedd87f0b2c23942ee0038d19d2.mattst88@gentoo
1 commit: 8866a1d2abc09cedd87f0b2c23942ee0038d19d2
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 17 13:49:48 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 17 16:21:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8866a1d2
7
8 sys-apps/ipmiutil: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 sys-apps/ipmiutil/Manifest | 4 -
13 sys-apps/ipmiutil/files/ipmiutil-2.9.8-flags.patch | 20 ---
14 .../files/ipmiutil-3.1.5-fix-configure.patch | 180 --------------------
15 .../files/ipmiutil-3.1.7-fix-configure.patch | 184 ---------------------
16 sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild | 55 ------
17 sys-apps/ipmiutil/ipmiutil-3.0.9.ebuild | 60 -------
18 sys-apps/ipmiutil/ipmiutil-3.1.6.ebuild | 66 --------
19 sys-apps/ipmiutil/ipmiutil-3.1.7.ebuild | 72 --------
20 8 files changed, 641 deletions(-)
21
22 diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest
23 index 5fdc81507f2a..c01f03c91695 100644
24 --- a/sys-apps/ipmiutil/Manifest
25 +++ b/sys-apps/ipmiutil/Manifest
26 @@ -1,5 +1 @@
27 -DIST ipmiutil-3.0.6.tar.gz 1692679 BLAKE2B dcc02dbb5467b824005dbc95c8f5231b2e2758e7600231c1c3fc31c1207cff0540400857dd1bfa83fc8b033fe0277ab23c6013f110744bff57fe4bc7b89174f9 SHA512 0c47246b7aa6a060091745d36e33aae07e7907dcad5fefb1759aac62adf48316915ce5818d2f9241e24b73be13e54fbb57046234a69c60ce56f41a933915580f
28 -DIST ipmiutil-3.0.9.tar.gz 1697688 BLAKE2B 93ed8865cae1cea0ea4f7de4683f4698e3f75e9190cc7e0af1832ca44a08f52aa149393761f1ede3994827db78841061d54058bbe4178b5930accd3a4c225ba7 SHA512 c2c0a516216a46a52621159e665a77d96cf81f385fc9cf19877e72283be3e1a4dad5a4826454727b71576c22cc4de3c73ff428d26f35bf496c7dc1511305cda3
29 -DIST ipmiutil-3.1.6.tar.gz 1693461 BLAKE2B efc2b283d7655b8afb9d3d8da2e5458deea1c1b939f3ccdf2be0cdf3792ea60229099cce1b8e32f087972385feb01d604f1c63bddbfd031210d5acf8a6b1b9d7 SHA512 9bccfa2e0bba7f30e422d67f93ee6cff50c08cc8bceab5ba5bfd1b0a91e1af8a4a98a2eaa81364e8a1f38e0bd1ce6b99717d86957c6f689aa7329e7013f5b0ef
30 -DIST ipmiutil-3.1.7.tar.gz 1726396 BLAKE2B 7fa31f8aca61462fc08dd4fe420e27eecce2ee9fa5fb2676eb944e2ae6c09598aec5f06d59e4ed02faab077003b14085f944b6cf0b63f90b10f2660f363e997b SHA512 7522808e4a94c8627de0a95dde0e3eb463ba05948159b5181129b573ce8f9feba3543ef603c14e7cdcafcbd58ca5319536cc5534ea8191cce0ef9d33cc548274
31 DIST ipmiutil-3.1.8.tar.gz 1841037 BLAKE2B 69139fc2b82a701657c5fec6aa928a0ee2d7874a8ebc26631eca438f298e8bddd3afb578462979eb24cd51bd816263f13e9f38fec8b5d6fa4fcefb2519a652c9 SHA512 77a01be420d8362ddce2b2b2bd44ee53a70812b29b3dd7bc5add6429f0e43a48905ca0401e1855f2cca5e69086605eb7b84e2f4bf9cf33251934acc0fe51346f
32
33 diff --git a/sys-apps/ipmiutil/files/ipmiutil-2.9.8-flags.patch b/sys-apps/ipmiutil/files/ipmiutil-2.9.8-flags.patch
34 deleted file mode 100644
35 index ee9917406207..000000000000
36 --- a/sys-apps/ipmiutil/files/ipmiutil-2.9.8-flags.patch
37 +++ /dev/null
38 @@ -1,20 +0,0 @@
39 ---- ipmiutil-2.9.8/configure.ac
40 -+++ ipmiutil-2.9.8/configure.ac
41 -@@ -162,7 +162,7 @@
42 - LANPLUS_CRYPTO=""
43 - LANPLUS_SAM="no"
44 - LD_SAMX=""
45 -- CFLAGS="-O2"
46 -+ #CFLAGS="-O2"
47 - SUBDIR_S="doc scripts util"
48 - if test "x$cross_compiling" = "xyes"; then
49 - # cross-compiling, so link with -static (e.g. Android ARM)
50 -@@ -334,7 +334,7 @@
51 - fi
52 - rm -f $tmpc $tmpo >/dev/null 2>&1
53 - echo $ECHO_N "checking compile fortify flags ... $ECHO_C"
54 -- cfhard="-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
55 -+ #cfhard="-fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
56 - echo "int main() { alloca(100); return(1); }" >$tmpc
57 - $CC -o $tmpo $cfhard $tmpc >/dev/null 2>&1
58 - if test $? -ne 0 ; then
59
60 diff --git a/sys-apps/ipmiutil/files/ipmiutil-3.1.5-fix-configure.patch b/sys-apps/ipmiutil/files/ipmiutil-3.1.5-fix-configure.patch
61 deleted file mode 100644
62 index 8748256be5f6..000000000000
63 --- a/sys-apps/ipmiutil/files/ipmiutil-3.1.5-fix-configure.patch
64 +++ /dev/null
65 @@ -1,180 +0,0 @@
66 ---- ipmiutil-3.1.5.orig/configure.ac 2019-11-25 06:53:08.000000000 -0800
67 -+++ ipmiutil-3.1.5/configure.ac 2020-01-25 22:55:20.577345441 -0800
68 -@@ -80,40 +80,46 @@
69 - # fi]
70 -
71 - drv_landesk=0
72 -+LANDESK_CFLAGS=""
73 -+LANDESK_LDADD=""
74 - dnl configure for LANDESK libipmiapi or not
75 - AC_ARG_ENABLE([landesk],
76 -- [ --enable-landesk adds landesk library support [[default=no]]],
77 -- [if test "x$enableval" = "xyes"; then
78 -- drv_landesk=1
79 -- LANDESK_CFLAGS="-DLINK_LANDESK"
80 -- LANDESK_LDADD="-lipmiapi -L../lib"
81 -- AC_SUBST(LANDESK_CFLAGS)
82 -- AC_SUBST(LANDESK_LDADD)
83 -- fi]
84 -- )
85 -+ AS_HELP_STRING([--enable-landesk], [enable landesk support (default=no)]),
86 -+ [],
87 -+ [enable_landesk=no])
88 -+
89 -+AS_IF([test "x$enable_landesk" = "xyes"], [
90 -+ drv_landesk=1
91 -+ LANDESK_CFLAGS="-DLINK_LANDESK"
92 -+ LANDESK_LDADD="-lipmiapi -L../lib"
93 -+ AC_SUBST(LANDESK_CFLAGS)
94 -+ AC_SUBST(LANDESK_LDADD)
95 -+ ])
96 -
97 - dnl Configure ipmiutil for lanplus (libipmi_lanplus.a) or not (default yes)
98 - AC_ARG_ENABLE([lanplus],
99 -- [ --enable-lanplus enable lanplus support (default=yes)],[default=yes],
100 --[if test "x$enableval" = "xno"; then
101 -- drv_lanplus=""
102 -- LANPLUS_CFLAGS=""
103 -- LANPLUS_LDADD=""
104 -- LANPLUS_LIB=""
105 -- LANPLUS_CRYPTO=""
106 -- LANPLUS_SAM="no"
107 -- LD_SAMX=""
108 --else
109 -+ AS_HELP_STRING([--disable-lanplus], [enable lanplus support (default=yes)]),
110 -+ [],
111 -+ [enable_lanplus=yes])
112 -+
113 -+drv_lanplus=""
114 -+LANPLUS_CFLAGS=""
115 -+LANPLUS_LDADD=""
116 -+LANPLUS_LIB=""
117 -+LANPLUS_CRYPTO=""
118 -+LANPLUS_SAM="no"
119 -+LD_SAMX=""
120 -+AS_IF([test "x$enable_lanplus" = "xyes"], [
121 - drv_lanplus="lanplus"
122 - LANPLUS_CFLAGS="-DHAVE_LANPLUS"
123 - # LANPLUS_CFLAGS="-DHAVE_LANPLUS -I${projdir}/lib/lanplus/inc"
124 - # LANPLUS_LDADD="-L../lib -lintf_lanplus -L/usr/local/lib -lcrypto"
125 - LANPLUS_LDADD="-L../lib -lipmi_lanplus -L/usr/local/lib -lcrypto"
126 -- LANPLUS_LIB="../lib/libipmi_lanplus.a"
127 -+ LANPLUS_LIB="../lib/libipmi_lanplus.a"
128 - LANPLUS_CRYPTO="-lcrypto"
129 - LANPLUS_SAM="yes"
130 - LD_SAMX="../lib/libipmi_lanplus.a -lcrypto"
131 --fi ])
132 -+])
133 -
134 - dnl Configure libipmiutil.a for lanplus or not
135 - dnl Only SOL requires lanplus, so usually build libipmiutil.a without lanplus
136 -@@ -128,21 +134,28 @@
137 - #fi
138 -
139 - # strings /lib/libssl.so* |grep EVP_sha256
140 --dnl configure for SHA256, build lanplus with SHA256 support, uses later openssl.
141 -+dnl configure for SHA256, build lanplus with SHA256 support
142 -+dnl requires openssl-1.0.1 which was released in 2012/03
143 - AC_ARG_ENABLE([sha256],
144 -- [ --enable-sha256 build with SHA256 support, requires later openssl.],
145 -- [if test "x$enableval" = "xyes"; then
146 -- LANPLUS_CFLAGS="$LANPLUS_CFLAGS -DHAVE_SHA256"
147 -- fi]
148 -- )
149 -+ AS_HELP_STRING([--disable-sha256], [build with SHA256 support (default=yes)]),
150 -+ dnl action if passed
151 -+ [],
152 -+ dnl action if not passed
153 -+ [enable_sha256=yes]
154 -+ )
155 -+AS_IF([test "x$enable_sha256" = "xyes"], [
156 -+ LANPLUS_CFLAGS="$LANPLUS_CFLAGS -DHAVE_SHA256"
157 -+])
158 -
159 - dnl configure for EKANALYZER, build with ekanalyzer function enabled
160 - AC_ARG_ENABLE([ekanalyzer],
161 -- [ --enable-ekanalyzer build with ekanalyzer function enabled.],
162 -- [if test "x$enableval" = "xyes"; then
163 -+ AS_HELP_STRING([--enable-ekanalyzer], [build with ekanalyzer function enabled.]),
164 -+ [],
165 -+ [enable_ekanalyzer=no]
166 -+ )
167 -+AS_IF([test "x$enable_ekanalyzer" = "xyes"], [
168 - OS_CFLAGS="$OS_CFLAGS -DHAVE_EKANAL"
169 -- fi]
170 -- )
171 -+ ])
172 -
173 - GPL_CFLAGS=""
174 - CROSS_LFLAGS=""
175 -@@ -152,17 +165,20 @@
176 - SYSTEMD_DIR=/usr/share/ipmiutil
177 -
178 - AC_ARG_ENABLE([useflags],
179 -- [ --enable-useflags include environment CFLAGS and LDFLAGS.],
180 -- [if test "x$enableval" = "xyes"; then
181 -+ AS_HELP_STRING([--enable-useflags], [include environment CFLAGS and LDFLAGS.]),
182 -+ [],
183 -+ [enable_useflags=no])
184 -+AS_IF([test "x$enable_useflags" = "xyes"], [
185 - CROSS_CFLAGS="$CFLAGS"
186 - CROSS_LFLAGS="$LDFLAGS"
187 -- fi]
188 -- )
189 -+])
190 -
191 - dnl configure for standalone, with no lanplus or GPL libs
192 - AC_ARG_ENABLE([standalone],
193 -- [ --enable-standalone build standalone, with no GPL or LanPlus libs.],
194 -- [if test "x$enableval" = "xyes"; then
195 -+ AS_HELP_STRING([--enable-standalone], [build standalone, with no GPL or LanPlus libs.]),
196 -+ [],
197 -+ [enable_standalone=no])
198 -+AS_IF([test "x$enable_standalone" = "xyes"], [
199 - GPL_CFLAGS=""
200 - LANPLUS_CFLAGS=""
201 - LANPLUS_LDADD=""
202 -@@ -176,27 +192,30 @@
203 - # cross-compiling, so link with -static (e.g. Android ARM)
204 - CROSS_LFLAGS="-static"
205 - CROSS_CFLAGS="-DCROSS_COMPILE"
206 -+ # TODO: how can this be effective? Configure only converts Makefile.in -> Makefile
207 -+ # Configure does not convert Makefile.am->Makefile.in
208 - sed -i -e 's/^# ipmiutil: $(METASOURCE:.c=.o)/ipmiutil:\t$(METASOURCE:.c=.o)\n\t$(CC) $(CFLAGS) $(LDFLAGS) -o ipmiutil $(METASOURCE:.c=.o) $(LDADD)/' util/Makefile.am
209 - fi
210 -- fi]
211 -- )
212 -+ ])
213 -
214 - dnl build libipmiutil with sensor modules
215 - AC_ARG_ENABLE([libsensors],
216 -- [ --enable-libsensors build libipmiutil with sensor modules [[default=no]]],
217 -- [if test "x$enableval" = "xyes"; then
218 -- LIBSENSORS="isensor2.o ievents2.o"
219 -- SAM2OBJ=""
220 -- fi]
221 -- )
222 -+ AS_HELP_STRING([--enable-libsensors], [build libipmiutil with sensor modules (default=no)]),
223 -+ [],
224 -+ [enable_libsensors=no])
225 -+AS_IF([test "x$enable_libsensors" = "xyes"], [
226 -+ LIBSENSORS="isensor2.o ievents2.o"
227 -+ SAM2OBJ=""
228 -+ ])
229 -
230 - dnl configure for GPL build or not (GPL files: md2.h, ipmi_ioctl.h)
231 - AC_ARG_ENABLE([gpl],
232 -- [ --enable-gpl build with some GPL code [[default=no]]],
233 -- [if test "x$enableval" = "xyes"; then
234 -- GPL_CFLAGS="-DALLOW_GPL"
235 -- fi]
236 -- )
237 -+ AS_HELP_STRING([--enable-gpl], [build with some GPL code (default=no)]),
238 -+ [],
239 -+ [enable_gpl=no])
240 -+AS_IF([test "x$enable_gpl" = "xyes"], [
241 -+ GPL_CFLAGS="-DALLOW_GPL"
242 -+ ])
243 -
244 - dnl Does this Linux have systemd enabled? Otherwise use sysv init.
245 - AC_ARG_ENABLE([systemd],
246
247 diff --git a/sys-apps/ipmiutil/files/ipmiutil-3.1.7-fix-configure.patch b/sys-apps/ipmiutil/files/ipmiutil-3.1.7-fix-configure.patch
248 deleted file mode 100644
249 index 16435dacd6b7..000000000000
250 --- a/sys-apps/ipmiutil/files/ipmiutil-3.1.7-fix-configure.patch
251 +++ /dev/null
252 @@ -1,184 +0,0 @@
253 ---- ipmiutil-3.1.7/configure.ac
254 -+++ ipmiutil-3.1.7/configure.ac
255 -@@ -80,40 +80,46 @@
256 - # fi]
257 -
258 - drv_landesk=0
259 -+LANDESK_CFLAGS=""
260 -+LANDESK_LDADD=""
261 - dnl configure for LANDESK libipmiapi or not
262 - AC_ARG_ENABLE([landesk],
263 -- [ --enable-landesk adds landesk library support [[default=no]]],
264 -- [if test "x$enableval" = "xyes"; then
265 -- drv_landesk=1
266 -- LANDESK_CFLAGS="-DLINK_LANDESK"
267 -- LANDESK_LDADD="-lipmiapi -L../lib"
268 -- AC_SUBST(LANDESK_CFLAGS)
269 -- AC_SUBST(LANDESK_LDADD)
270 -- fi]
271 -- )
272 -+ AS_HELP_STRING([--enable-landesk], [enable landesk support (default=no)]),
273 -+ [],
274 -+ [enable_landesk=no])
275 -+
276 -+AS_IF([test "x$enable_landesk" = "xyes"], [
277 -+ drv_landesk=1
278 -+ LANDESK_CFLAGS="-DLINK_LANDESK"
279 -+ LANDESK_LDADD="-lipmiapi -L../lib"
280 -+ AC_SUBST(LANDESK_CFLAGS)
281 -+ AC_SUBST(LANDESK_LDADD)
282 -+ ])
283 -
284 - dnl Configure ipmiutil for lanplus (libipmi_lanplus.a) or not (default yes)
285 - AC_ARG_ENABLE([lanplus],
286 -- [ --enable-lanplus enable lanplus support (default=yes)],[default=yes],
287 --[if test "x$enableval" = "xno"; then
288 -- drv_lanplus=""
289 -- LANPLUS_CFLAGS=""
290 -- LANPLUS_LDADD=""
291 -- LANPLUS_LIB=""
292 -- LANPLUS_CRYPTO=""
293 -- LANPLUS_SAM="no"
294 -- LD_SAMX=""
295 --else
296 -+ AS_HELP_STRING([--disable-lanplus], [enable lanplus support (default=yes)]),
297 -+ [],
298 -+ [enable_lanplus=yes])
299 -+
300 -+drv_lanplus=""
301 -+LANPLUS_CFLAGS=""
302 -+LANPLUS_LDADD=""
303 -+LANPLUS_LIB=""
304 -+LANPLUS_CRYPTO=""
305 -+LANPLUS_SAM="no"
306 -+LD_SAMX=""
307 -+AS_IF([test "x$enable_lanplus" = "xyes"], [
308 - drv_lanplus="lanplus"
309 - LANPLUS_CFLAGS="-DHAVE_LANPLUS"
310 - # LANPLUS_CFLAGS="-DHAVE_LANPLUS -I${projdir}/lib/lanplus/inc"
311 - # LANPLUS_LDADD="-L../lib -lintf_lanplus -L/usr/local/lib -lcrypto"
312 - LANPLUS_LDADD="-L../lib -lipmi_lanplus -L/usr/local/lib -lcrypto"
313 -- LANPLUS_LIB="../lib/libipmi_lanplus.a"
314 -+ LANPLUS_LIB="../lib/libipmi_lanplus.a"
315 - LANPLUS_CRYPTO="-lcrypto"
316 - LANPLUS_SAM="yes"
317 - LD_SAMX="../lib/libipmi_lanplus.a -lcrypto"
318 --fi ])
319 -+])
320 -
321 - dnl Configure libipmiutil.a for lanplus or not
322 - dnl Only SOL requires lanplus, so usually build libipmiutil.a without lanplus
323 -@@ -128,21 +134,28 @@
324 - #fi
325 -
326 - # strings /lib/libssl.so* |grep EVP_sha256
327 --dnl configure for SHA256, build lanplus with SHA256 support, uses later openssl.
328 -+dnl configure for SHA256, build lanplus with SHA256 support
329 -+dnl requires openssl-1.0.1 which was released in 2012/03
330 - AC_ARG_ENABLE([sha256],
331 -- [ --enable-sha256 build with SHA256 support, requires later openssl.],
332 -- [if test "x$enableval" = "xyes"; then
333 -- LANPLUS_CFLAGS="$LANPLUS_CFLAGS -DHAVE_SHA256"
334 -- fi]
335 -- )
336 -+ AS_HELP_STRING([--disable-sha256], [build with SHA256 support (default=yes)]),
337 -+ dnl action if passed
338 -+ [],
339 -+ dnl action if not passed
340 -+ [enable_sha256=yes]
341 -+ )
342 -+AS_IF([test "x$enable_sha256" = "xyes"], [
343 -+ LANPLUS_CFLAGS="$LANPLUS_CFLAGS -DHAVE_SHA256"
344 -+])
345 -
346 - dnl configure for EKANALYZER, build with ekanalyzer function enabled
347 - AC_ARG_ENABLE([ekanalyzer],
348 -- [ --enable-ekanalyzer build with ekanalyzer function enabled.],
349 -- [if test "x$enableval" = "xyes"; then
350 -+ AS_HELP_STRING([--enable-ekanalyzer], [build with ekanalyzer function enabled.]),
351 -+ [],
352 -+ [enable_ekanalyzer=no]
353 -+ )
354 -+AS_IF([test "x$enable_ekanalyzer" = "xyes"], [
355 - OS_CFLAGS="$OS_CFLAGS -DHAVE_EKANAL"
356 -- fi]
357 -- )
358 -+ ])
359 -
360 - GPL_CFLAGS=""
361 - CROSS_LFLAGS=""
362 -@@ -152,17 +165,20 @@
363 - SYSTEMD_DIR=/usr/share/ipmiutil
364 -
365 - AC_ARG_ENABLE([useflags],
366 -- [ --enable-useflags include environment CFLAGS and LDFLAGS.],
367 -- [if test "x$enableval" = "xyes"; then
368 -+ AS_HELP_STRING([--enable-useflags], [include environment CFLAGS and LDFLAGS.]),
369 -+ [],
370 -+ [enable_useflags=no])
371 -+AS_IF([test "x$enable_useflags" = "xyes"], [
372 - CROSS_CFLAGS="$CFLAGS"
373 - CROSS_LFLAGS="$LDFLAGS"
374 -- fi]
375 -- )
376 -+])
377 -
378 - dnl configure for standalone, with no lanplus or GPL libs
379 - AC_ARG_ENABLE([standalone],
380 -- [ --enable-standalone build standalone, with no GPL or LanPlus libs.],
381 -- [if test "x$enableval" = "xyes"; then
382 -+ AS_HELP_STRING([--enable-standalone], [build standalone, with no GPL or LanPlus libs.]),
383 -+ [],
384 -+ [enable_standalone=no])
385 -+AS_IF([test "x$enable_standalone" = "xyes"], [
386 - GPL_CFLAGS=""
387 - LANPLUS_CFLAGS=""
388 - LANPLUS_LDADD=""
389 -@@ -176,10 +192,11 @@
390 - # cross-compiling, so link with -static (e.g. Android ARM)
391 - CROSS_LFLAGS="-static"
392 - CROSS_CFLAGS="-DCROSS_COMPILE"
393 -+ # TODO: how can this be effective? Configure only converts Makefile.in -> Makefile
394 -+ # Configure does not convert Makefile.am->Makefile.in
395 - sed -i -e 's/^# ipmiutil: $(METASOURCE:.c=.o)/ipmiutil:\t$(METASOURCE:.c=.o)\n\t$(CC) $(CFLAGS) $(LDFLAGS) -o ipmiutil $(METASOURCE:.c=.o) $(LDADD)/' util/Makefile.am
396 - fi
397 -- fi]
398 -- )
399 -+ ])
400 -
401 - AC_ARG_ENABLE([doc],
402 - [ --enable-doc build with documentation [[default=yes]]],
403 -@@ -192,20 +209,22 @@
404 -
405 - dnl build libipmiutil with sensor modules
406 - AC_ARG_ENABLE([libsensors],
407 -- [ --enable-libsensors build libipmiutil with sensor modules [[default=no]]],
408 -- [if test "x$enableval" = "xyes"; then
409 -- LIBSENSORS="isensor2.o ievents2.o"
410 -- SAM2OBJ=""
411 -- fi]
412 -- )
413 -+ AS_HELP_STRING([--enable-libsensors], [build libipmiutil with sensor modules (default=no)]),
414 -+ [],
415 -+ [enable_libsensors=no])
416 -+AS_IF([test "x$enable_libsensors" = "xyes"], [
417 -+ LIBSENSORS="isensor2.o ievents2.o"
418 -+ SAM2OBJ=""
419 -+ ])
420 -
421 - dnl configure for GPL build or not (GPL files: md2.h, ipmi_ioctl.h)
422 - AC_ARG_ENABLE([gpl],
423 -- [ --enable-gpl build with some GPL code [[default=no]]],
424 -- [if test "x$enableval" = "xyes"; then
425 -- GPL_CFLAGS="-DALLOW_GPL"
426 -- fi]
427 -- )
428 -+ AS_HELP_STRING([--enable-gpl], [build with some GPL code (default=no)]),
429 -+ [],
430 -+ [enable_gpl=no])
431 -+AS_IF([test "x$enable_gpl" = "xyes"], [
432 -+ GPL_CFLAGS="-DALLOW_GPL"
433 -+ ])
434 -
435 - dnl Does this Linux have systemd enabled? Otherwise use sysv init.
436 - AC_ARG_ENABLE([systemd],
437
438 diff --git a/sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild b/sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild
439 deleted file mode 100644
440 index 7f746df64c56..000000000000
441 --- a/sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild
442 +++ /dev/null
443 @@ -1,55 +0,0 @@
444 -# Copyright 1999-2017 Gentoo Foundation
445 -# Distributed under the terms of the GNU General Public License v2
446 -
447 -EAPI=6
448 -inherit autotools systemd
449 -
450 -DESCRIPTION="IPMI Management Utilities"
451 -HOMEPAGE="http://ipmiutil.sourceforge.net/"
452 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
453 -
454 -LICENSE="BSD"
455 -SLOT="0"
456 -KEYWORDS="amd64 ~hppa x86"
457 -
458 -RDEPEND=">=dev-libs/openssl-1:0="
459 -DEPEND="${RDEPEND}
460 - virtual/os-headers"
461 -
462 -PATCHES=(
463 - "${FILESDIR}"/${PN}-2.9.8-flags.patch
464 - "${FILESDIR}"/${PN}-2.9.9-lib_symlink.patch
465 -)
466 -
467 -src_prepare() {
468 - default
469 -
470 - sed -i -e 's|-O2 -g|$(CFLAGS)|g;s|-g -O2|$(CFLAGS)|g' util/Makefile.am* || die
471 - sed -i -e 's|which rpm |which we_are_gentoo_rpm_is_a_guest |' configure.ac || die
472 -
473 - eautoreconf
474 -}
475 -
476 -src_configure() {
477 - econf --disable-systemd --enable-sha256
478 -}
479 -
480 -src_compile() {
481 - # Ulgy workaround. Upstream is misusing the make system here
482 - # and it doesn't even work.
483 - # Please check on each bump if this workaround is still required.
484 - pushd lib/lanplus &>/dev/null || die
485 - emake
486 - cp libipmi_lanplus.a .. || die
487 - popd &>/dev/null || die
488 -
489 - emake
490 -}
491 -
492 -src_install() {
493 - emake DESTDIR="${D}" sysdto="${D}/$(systemd_get_systemunitdir)" install
494 - dodoc -r AUTHORS ChangeLog NEWS README TODO doc/UserGuide
495 -
496 - # Init scripts are only for Fedora
497 - rm -r "${ED%/}"/etc/init.d || die 'remove initscripts failed'
498 -}
499
500 diff --git a/sys-apps/ipmiutil/ipmiutil-3.0.9.ebuild b/sys-apps/ipmiutil/ipmiutil-3.0.9.ebuild
501 deleted file mode 100644
502 index 670520a6b9cd..000000000000
503 --- a/sys-apps/ipmiutil/ipmiutil-3.0.9.ebuild
504 +++ /dev/null
505 @@ -1,60 +0,0 @@
506 -# Copyright 1999-2018 Gentoo Foundation
507 -# Distributed under the terms of the GNU General Public License v2
508 -
509 -EAPI=6
510 -inherit autotools systemd
511 -
512 -DESCRIPTION="IPMI Management Utilities"
513 -HOMEPAGE="http://ipmiutil.sourceforge.net/"
514 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
515 -
516 -LICENSE="BSD"
517 -SLOT="0"
518 -KEYWORDS="~amd64 ~hppa ~x86"
519 -IUSE="static-libs"
520 -
521 -RDEPEND=">=dev-libs/openssl-1:0="
522 -DEPEND="${RDEPEND}
523 - virtual/os-headers"
524 -
525 -PATCHES=(
526 - "${FILESDIR}"/${PN}-2.9.8-flags.patch
527 - "${FILESDIR}"/${PN}-2.9.9-lib_symlink.patch
528 -)
529 -
530 -src_prepare() {
531 - default
532 -
533 - sed -i -e 's|-O2 -g|$(CFLAGS)|g;s|-g -O2|$(CFLAGS)|g' util/Makefile.am* || die
534 - sed -i -e 's|which rpm |which we_are_gentoo_rpm_is_a_guest |' configure.ac || die
535 -
536 - eautoreconf
537 -}
538 -
539 -src_configure() {
540 - econf --disable-systemd --enable-sha256
541 -}
542 -
543 -src_compile() {
544 - # Ulgy workaround. Upstream is misusing the make system here
545 - # and it doesn't even work.
546 - # Please check on each bump if this workaround is still required.
547 - pushd lib/lanplus &>/dev/null || die
548 - emake
549 - cp libipmi_lanplus.a .. || die
550 - popd &>/dev/null || die
551 -
552 - emake
553 -}
554 -
555 -src_install() {
556 - emake DESTDIR="${D}" sysdto="${D}/$(systemd_get_systemunitdir)" install
557 - dodoc -r AUTHORS ChangeLog NEWS README TODO doc/UserGuide
558 -
559 - # Init scripts are only for Fedora
560 - rm -r "${ED%/}"/etc/init.d || die 'remove initscripts failed'
561 -
562 - if ! use static-libs ; then
563 - find "${ED}" -name '*.a' -delete || die
564 - fi
565 -}
566
567 diff --git a/sys-apps/ipmiutil/ipmiutil-3.1.6.ebuild b/sys-apps/ipmiutil/ipmiutil-3.1.6.ebuild
568 deleted file mode 100644
569 index 491bd22b5c9d..000000000000
570 --- a/sys-apps/ipmiutil/ipmiutil-3.1.6.ebuild
571 +++ /dev/null
572 @@ -1,66 +0,0 @@
573 -# Copyright 1999-2020 Gentoo Authors
574 -# Distributed under the terms of the GNU General Public License v2
575 -
576 -EAPI=7
577 -inherit autotools systemd
578 -
579 -DESCRIPTION="IPMI Management Utilities"
580 -HOMEPAGE="http://ipmiutil.sourceforge.net/"
581 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
582 -
583 -LICENSE="BSD"
584 -SLOT="0"
585 -KEYWORDS="~amd64 ~hppa ~ppc ~x86"
586 -IUSE="static-libs"
587 -
588 -RDEPEND=">=dev-libs/openssl-1:0="
589 -DEPEND="${RDEPEND}
590 - virtual/os-headers"
591 -
592 -PATCHES=(
593 - "${FILESDIR}"/${PN}-2.9.8-flags.patch
594 - "${FILESDIR}"/${PN}-2.9.9-lib_symlink.patch
595 - "${FILESDIR}"/${PN}-3.1.5-fix-configure.patch
596 -)
597 -
598 -src_prepare() {
599 - default
600 -
601 - sed -i -e 's|-O2 -g|$(CFLAGS)|g;s|-g -O2|$(CFLAGS)|g' util/Makefile.am* || die
602 - sed -i -e 's|which rpm |which we_are_gentoo_rpm_is_a_guest |' configure.ac || die
603 -
604 - # Don't compress man pages
605 - sed '/gzip -nf/d' -i doc/Makefile.am || die
606 -
607 - eautoreconf
608 -}
609 -
610 -src_configure() {
611 - econf --disable-systemd --enable-sha256 --enable-lanplus
612 -}
613 -
614 -src_compile() {
615 - # Ulgy workaround. Upstream is misusing the make system here
616 - # and it doesn't even work.
617 - # Please check on each bump if this workaround is still required.
618 - pushd lib/lanplus &>/dev/null || die
619 - emake
620 - cp libipmi_lanplus.a .. || die
621 - popd &>/dev/null || die
622 -
623 - emake
624 -}
625 -
626 -src_install() {
627 - emake DESTDIR="${D}" sysdto="${D}/$(systemd_get_systemunitdir)" install
628 - dodoc -r AUTHORS ChangeLog NEWS README TODO doc/UserGuide
629 -
630 - # Init scripts are only for Fedora
631 - rm -r "${ED}"/etc/init.d || die 'remove initscripts failed'
632 -
633 - if ! use static-libs ; then
634 - find "${ED}" -type f -name '*.a' -delete || die
635 - fi
636 -
637 - keepdir /var/lib/ipmiutil
638 -}
639
640 diff --git a/sys-apps/ipmiutil/ipmiutil-3.1.7.ebuild b/sys-apps/ipmiutil/ipmiutil-3.1.7.ebuild
641 deleted file mode 100644
642 index 7403e510c6c4..000000000000
643 --- a/sys-apps/ipmiutil/ipmiutil-3.1.7.ebuild
644 +++ /dev/null
645 @@ -1,72 +0,0 @@
646 -# Copyright 1999-2022 Gentoo Authors
647 -# Distributed under the terms of the GNU General Public License v2
648 -
649 -EAPI=7
650 -inherit autotools systemd
651 -
652 -DESCRIPTION="IPMI Management Utilities"
653 -HOMEPAGE="http://ipmiutil.sourceforge.net/"
654 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
655 -
656 -LICENSE="BSD"
657 -SLOT="0"
658 -KEYWORDS="amd64 ~hppa ~ppc x86"
659 -IUSE="static-libs"
660 -
661 -RDEPEND=">=dev-libs/openssl-1:0="
662 -DEPEND="${RDEPEND}
663 - virtual/os-headers"
664 -
665 -PATCHES=(
666 - "${FILESDIR}"/${PN}-3.1.7-flags.patch
667 - "${FILESDIR}"/${PN}-2.9.9-lib_symlink.patch
668 - "${FILESDIR}"/${PN}-3.1.7-fix-configure.patch
669 -)
670 -
671 -src_prepare() {
672 - default
673 -
674 - sed -i -e 's|-O2 -g|$(CFLAGS)|g;s|-g -O2|$(CFLAGS)|g' util/Makefile.am* || die
675 - sed -i -e 's|which rpm |which we_are_gentoo_rpm_is_a_guest |' configure.ac || die
676 -
677 - # Don't compress man pages
678 - sed '/gzip -nf/d' -i doc/Makefile.am || die
679 -
680 - eautoreconf
681 -}
682 -
683 -src_configure() {
684 - local myeconfargs=(
685 - --disable-systemd
686 - --enable-sha256
687 - --enable-lanplus
688 - )
689 - econf "${myeconfargs[@]}"
690 -}
691 -
692 -src_compile() {
693 - # Ulgy workaround. Upstream is misusing the make system here
694 - # and it doesn't even work.
695 - # Please check on each bump if this workaround is still required.
696 - pushd lib/lanplus &>/dev/null || die
697 - emake
698 - cp libipmi_lanplus.a .. || die
699 - popd &>/dev/null || die
700 -
701 - emake
702 -}
703 -
704 -src_install() {
705 - emake DESTDIR="${D}" sysdto="${D}/$(systemd_get_systemunitdir)" install
706 - dodoc -r AUTHORS ChangeLog NEWS README TODO doc/UserGuide
707 -
708 - # Init scripts are only for Fedora
709 - rm -r "${ED}"/etc/init.d || die 'remove initscripts failed'
710 -
711 - # --disable-static has no effect
712 - if ! use static-libs ; then
713 - find "${ED}" -type f -name '*.a' -delete || die
714 - fi
715 -
716 - keepdir /var/lib/ipmiutil
717 -}