diff options
author | Vadim Misbakh-Soloviov <mva@gentoo.org> | 2020-01-25 01:42:52 +0700 |
---|---|---|
committer | Vadim Misbakh-Soloviov <mva@gentoo.org> | 2020-01-25 01:42:52 +0700 |
commit | 8df8b20d8e4304a650a25c800c4c17dfb1fd63c7 (patch) | |
tree | 9e40eda32da453c28a186a0c468d85bac6d099b3 /sys-apps | |
parent | dev-python/snaketrace: New package (diff) | |
download | gentoo-8df8b20d8e4304a650a25c800c4c17dfb1fd63c7.tar.gz gentoo-8df8b20d8e4304a650a25c800c4c17dfb1fd63c7.tar.bz2 gentoo-8df8b20d8e4304a650a25c800c4c17dfb1fd63c7.zip |
ipmiutil: bump
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/ipmiutil/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/ipmiutil/ipmiutil-3.1.5.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest index aeac9a88e2aa..5a250b4e6c5a 100644 --- a/sys-apps/ipmiutil/Manifest +++ b/sys-apps/ipmiutil/Manifest @@ -2,3 +2,4 @@ DIST ipmiutil-3.0.6.tar.gz 1692679 BLAKE2B dcc02dbb5467b824005dbc95c8f5231b2e275 DIST ipmiutil-3.0.9.tar.gz 1697688 BLAKE2B 93ed8865cae1cea0ea4f7de4683f4698e3f75e9190cc7e0af1832ca44a08f52aa149393761f1ede3994827db78841061d54058bbe4178b5930accd3a4c225ba7 SHA512 c2c0a516216a46a52621159e665a77d96cf81f385fc9cf19877e72283be3e1a4dad5a4826454727b71576c22cc4de3c73ff428d26f35bf496c7dc1511305cda3 DIST ipmiutil-3.1.3.tar.gz 1698835 BLAKE2B a540a4522a22f98ad47c89e59f371e5304583cfaab348154dee366a058d78ca6d6ecd6003d8b49c08e8247d38254f7abf48ee05672ddd678566d40a66f63c912 SHA512 bd1f95b59583a07a5b6001b40e59269f25eb63b69e33f7fad6dd40136e1ea7611e647eb5ed2e2a9746944bde2dc2a3aa2def44238947693d75d9ca48697e1b99 DIST ipmiutil-3.1.4.tar.gz 1693730 BLAKE2B a45de6e33110ae95b19a76be4c70a40025a9b6cbb5faa4555ff8d0b1c0445afcdd839d361052aadf31674b4be8db2c6c7087507727f74123809106b442bb1b8b SHA512 e76f3efbd5a15882607f9f141fe1298bfc80a3bc04f616bb0525c4546f19846616ce5aecc4aba658bcd01678724c05f770f893ba3dac91f5fe9c6cabd2acd579 +DIST ipmiutil-3.1.5.tar.gz 1703583 BLAKE2B 5e96659387b3e11e5f7867156d0079e06f19676099e8ff2a212f7e28550f9dde2079a4d527439489e1a710d878e7eb79a68b0e11b531f92d986aa7687273d462 SHA512 a9bd4d99d5bcad8a9f64c3636d6774d09e1d4c20927a6803891777ba035ee3c114b06295185cf00fb0c5d4b4b9afd335fd19c06f64298130e42945dc5f6e8010 diff --git a/sys-apps/ipmiutil/ipmiutil-3.1.5.ebuild b/sys-apps/ipmiutil/ipmiutil-3.1.5.ebuild new file mode 100644 index 000000000000..9f6c5ecdfef1 --- /dev/null +++ b/sys-apps/ipmiutil/ipmiutil-3.1.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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:0=" +DEPEND="${RDEPEND} + virtual/os-headers" + +PATCHES=( + "${FILESDIR}"/${PN}-2.9.8-flags.patch + "${FILESDIR}"/${PN}-2.9.9-lib_symlink.patch + "${FILESDIR}"/${PN}-3.1.4-fix_lanplus_build.patch +) + +src_prepare() { + default + + sed -i -e 's|-O2 -g|$(CFLAGS)|g;s|-g -O2|$(CFLAGS)|g' util/Makefile.am* || die + sed -i -e 's|which rpm |which we_are_gentoo_rpm_is_a_guest |' configure.ac || die + + # Don't compress man pages + sed '/gzip -f/d' -i doc/Makefile.am || die + + eautoreconf +} + +src_configure() { + econf --disable-systemd --enable-sha256 --enable-lanplus +} + +src_compile() { + # Ulgy 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. + 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 + rm -r "${ED}"/etc/init.d || die 'remove initscripts failed' + + if ! use static-libs ; then + find "${ED}" -type f -name '*.a' -delete || die + fi + + keepdir /var/lib/ipmiutil +} |