commit:     3e4487aab0a3562ca66be2cb4e50bd06e53061b1
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 22 13:40:14 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 13:42:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e4487aa

sys-apps/ipmiutil: Bump to version 3.0.8

Package-Manager: Portage-2.3.20, Repoman-2.3.6

 sys-apps/ipmiutil/Manifest              |  1 +
 sys-apps/ipmiutil/ipmiutil-3.0.8.ebuild | 55 +++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest
index 41acef1256e..5334b6036f4 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 00000000000..ffa3c3ea3fc
--- /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'
+}

Reply via email to