From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/ipmiutil/
Date: Wed, 15 Mar 2023 01:51:14 +0000 (UTC) [thread overview]
Message-ID: <1678845065.f28e56c8a6fc725ff65d68207e9d2234e9f40273.sam@gentoo> (raw)
commit: f28e56c8a6fc725ff65d68207e9d2234e9f40273
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 15 01:29:58 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 15 01:51:05 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28e56c8
sys-apps/ipmiutil: add 3.1.9
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/ipmiutil/Manifest | 1 +
sys-apps/ipmiutil/ipmiutil-3.1.9.ebuild | 86 +++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest
index c01f03c91695..d0c8eb29fdbf 100644
--- a/sys-apps/ipmiutil/Manifest
+++ b/sys-apps/ipmiutil/Manifest
@@ -1 +1,2 @@
DIST ipmiutil-3.1.8.tar.gz 1841037 BLAKE2B 69139fc2b82a701657c5fec6aa928a0ee2d7874a8ebc26631eca438f298e8bddd3afb578462979eb24cd51bd816263f13e9f38fec8b5d6fa4fcefb2519a652c9 SHA512 77a01be420d8362ddce2b2b2bd44ee53a70812b29b3dd7bc5add6429f0e43a48905ca0401e1855f2cca5e69086605eb7b84e2f4bf9cf33251934acc0fe51346f
+DIST ipmiutil-3.1.9.tar.gz 1876478 BLAKE2B ddbd4d91d1d09fd9a7d4f7a3f9358787cab1baf3e2f34e43b4ebf44843d9ccc8d8b241b030d0f62a4b183ac4642c6676b304a51b8c6611f69d475dd19c1d3181 SHA512 3c9f60669dd6769dc64977c99d68fc0a0838993fb5ef3d8b1b1026b6daf6e6bfbe8738f3dd120b116fc663c84bafe6ed93420a92fecf57a17785d283b415d9c7
diff --git a/sys-apps/ipmiutil/ipmiutil-3.1.9.ebuild b/sys-apps/ipmiutil/ipmiutil-3.1.9.ebuild
new file mode 100644
index 000000000000..b69658bea04e
--- /dev/null
+++ b/sys-apps/ipmiutil/ipmiutil-3.1.9.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd
+
+DESCRIPTION="IPMI Management Utilities"
+HOMEPAGE="http://ipmiutil.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+IUSE="static-libs"
+
+RDEPEND=">=dev-libs/openssl-1:="
+DEPEND="
+ ${RDEPEND}
+ virtual/os-headers
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.9.9-lib_symlink.patch
+ "${FILESDIR}"/${PN}-3.1.8-fix-configure.patch
+)
+
+src_prepare() {
+ default
+
+ # Fix hardcoded CFLAGS
+ sed -i \
+ -e 's|-O2 -g|$(CFLAGS)|g' \
+ -e 's|-g -O2|$(CFLAGS)|g' \
+ util/Makefile.am* || die
+
+ # The configure script makes some guarded and some blind calls to rpm &
+ # rpmbuild, that trigger sandbox warnings if rpm is installed in Gentoo.
+ sed -r -i -e 's/which rpm/false &/' configure.ac || die
+ sed -r -i -e 's/`(rpm|rpmbuild)/`false \1/' configure.ac || die
+ # Don't try to inject -O2 or hardening flags (which we set in the toolchain).
+ sed -i -e '/CFLAGS="-O2"/d' -e '/cfhard=/d' configure.ac || die
+
+ # Don't compress man pages
+ sed '/gzip -nf/d' -i doc/Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-systemd
+ --enable-sha256
+ --enable-lanplus
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ # Ugly workaround. Upstream is misusing the make system here
+ # and it doesn't even work.
+ # Please check on each bump if this workaround is still required.
+ # Yup, still needed in 3.18
+ pushd lib/lanplus &>/dev/null || die
+ emake
+ cp libipmi_lanplus.a .. || die
+ popd &>/dev/null || die
+
+ emake
+}
+
+src_install() {
+ emake DESTDIR="${D}" sysdto="${D}/$(systemd_get_systemunitdir)" install
+ dodoc -r AUTHORS ChangeLog NEWS README TODO doc/UserGuide
+
+ # Init scripts are only for Fedora
+ # TODO: ship OpenRC systems for non-systemd?
+ rm -r "${ED}"/etc/init.d || die 'remove initscripts failed'
+
+ # --disable-static has no effect
+ if ! use static-libs ; then
+ find "${ED}" -type f -name '*.a' -delete || die
+ fi
+
+ keepdir /var/lib/ipmiutil
+}
next reply other threads:[~2023-03-15 1:51 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-15 1:51 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-26 19:11 [gentoo-commits] repo/gentoo:master commit in: sys-apps/ipmiutil/ Arthur Zamarin
2025-02-25 8:49 Sam James
2024-02-28 23:54 Sam James
2023-09-24 2:25 Sam James
2023-04-23 20:22 Sam James
2023-04-23 20:22 Sam James
2022-08-04 8:04 Agostino Sarubbo
2022-08-03 7:49 Agostino Sarubbo
2022-05-06 7:57 Sam James
2022-04-12 9:58 Sam James
2022-01-10 9:25 Jakov Smolić
2022-01-10 8:38 Agostino Sarubbo
2020-09-17 13:52 Lars Wendler
2020-05-07 14:07 Lars Wendler
2020-05-07 14:07 Lars Wendler
2020-01-24 18:44 Vadim Misbakh-Soloviov
2019-08-19 11:01 Lars Wendler
2019-08-19 11:01 Lars Wendler
2019-03-24 20:02 Sergei Trofimovich
2018-09-24 16:21 Lars Wendler
2018-09-24 16:21 Lars Wendler
2018-08-02 8:09 Lars Wendler
2018-08-02 8:09 Lars Wendler
2018-06-04 9:18 Lars Wendler
2018-04-19 12:38 Lars Wendler
2018-04-19 12:38 Lars Wendler
2018-04-05 8:52 Lars Wendler
2018-04-05 8:52 Lars Wendler
2018-01-22 13:42 Lars Wendler
2017-09-30 1:07 Lars Wendler
2017-09-30 1:07 Lars Wendler
2017-09-30 1:07 Lars Wendler
2017-08-11 13:28 Lars Wendler
2017-08-11 13:28 Lars Wendler
2017-06-09 1:19 Lars Wendler
2017-06-09 1:19 Lars Wendler
2017-04-13 23:04 Robin H. Johnson
2017-04-13 9:48 Lars Wendler
2017-04-13 9:48 Lars Wendler
2017-04-01 16:06 Agostino Sarubbo
2017-03-31 12:09 Agostino Sarubbo
2017-03-28 10:45 Lars Wendler
2017-03-28 10:45 Lars Wendler
2017-02-19 3:33 Lars Wendler
2017-02-19 3:33 Lars Wendler
2016-12-30 19:51 Lars Wendler
2016-12-30 19:51 Lars Wendler
2016-08-31 15:24 Lars Wendler
2016-08-31 15:24 Lars Wendler
2016-05-24 7:15 Lars Wendler
2016-04-25 9:26 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1678845065.f28e56c8a6fc725ff65d68207e9d2234e9f40273.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox