diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-22 14:40:14 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-22 14:42:53 +0100 |
commit | 3e4487aab0a3562ca66be2cb4e50bd06e53061b1 (patch) | |
tree | 505fa7ddfce836852c049fcfa87ae85b0c9ad021 /sys-apps/ipmiutil | |
parent | media-libs/libraw: Removed old. (diff) | |
download | gentoo-3e4487aab0a3562ca66be2cb4e50bd06e53061b1.tar.gz gentoo-3e4487aab0a3562ca66be2cb4e50bd06e53061b1.tar.bz2 gentoo-3e4487aab0a3562ca66be2cb4e50bd06e53061b1.zip |
sys-apps/ipmiutil: Bump to version 3.0.8
Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'sys-apps/ipmiutil')
-rw-r--r-- | sys-apps/ipmiutil/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/ipmiutil/ipmiutil-3.0.8.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest index 41acef1256ec..5334b6036f4f 100644 --- a/sys-apps/ipmiutil/Manifest +++ b/sys-apps/ipmiutil/Manifest @@ -1,2 +1,3 @@ DIST ipmiutil-3.0.6.tar.gz 1692679 BLAKE2B dcc02dbb5467b824005dbc95c8f5231b2e2758e7600231c1c3fc31c1207cff0540400857dd1bfa83fc8b033fe0277ab23c6013f110744bff57fe4bc7b89174f9 SHA512 0c47246b7aa6a060091745d36e33aae07e7907dcad5fefb1759aac62adf48316915ce5818d2f9241e24b73be13e54fbb57046234a69c60ce56f41a933915580f DIST ipmiutil-3.0.7.tar.gz 1694854 BLAKE2B a46940da8b71439d803342bb640353498a9ae2ac5516930bcb76042aba9981c50bbe7cd2bdd4feb18e1074bb180d578fb213c151a3d10593985c8b9601eee905 SHA512 26a0c805f2c49102eee44052814a6f7af67c74082489e70b058bd4350526a65aad1e1352e33b12e1afeae5e9e96fd2eb361fc6a112d38782dee58f95c3e2a13b +DIST ipmiutil-3.0.8.tar.gz 1695826 BLAKE2B 1a20ecdab438c461519db6c9065aab28c07ac26303c3ace0339b1aceb53da73d05e975fa0b73f543a2d1e6ae908ec291d167b545430b85c9744b7a1252d8850a SHA512 9997dac5bc48231ec5333c86cff669bb6b321940497d9e7397763482960956dcf066f27ad2fdf33f4e42033ae2479d8f1ed37fb096b06f9075ad43709b94950d diff --git a/sys-apps/ipmiutil/ipmiutil-3.0.8.ebuild b/sys-apps/ipmiutil/ipmiutil-3.0.8.ebuild new file mode 100644 index 000000000000..ffa3c3ea3fc2 --- /dev/null +++ b/sys-apps/ipmiutil/ipmiutil-3.0.8.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +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 ~x86" + +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 +) + +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 + + eautoreconf +} + +src_configure() { + econf --disable-systemd --enable-sha256 +} + +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 || die "emake lanplus failed" + 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' +} |