commit: 666092b06582d0180f62cbc925fcd0a82e9782bc Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Sun Feb 19 02:55:36 2017 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Sun Feb 19 03:33:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=666092b0
sys-apps/ipmiutil: Bump to version 3.0.2 Package-Manager: Portage-2.3.3, Repoman-2.3.1 sys-apps/ipmiutil/Manifest | 1 + sys-apps/ipmiutil/ipmiutil-3.0.2.ebuild | 55 +++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest index 76501586b0..aae8ced709 100644 --- a/sys-apps/ipmiutil/Manifest +++ b/sys-apps/ipmiutil/Manifest @@ -1,3 +1,4 @@ DIST ipmiutil-2.8.5.tar.gz 1615967 SHA256 6846e6621b9df23b1ed37662c075381dbb082f3e719803c9ef8784dd3154439c SHA512 42a0c50c88bfcfd49da0a1dc4b603eaf07eff041f2401a31421ea8e880b19cfb6ff3f33ceaf5ef044e16e58236390ff32420139ae683f9633b1c06631bc799c3 WHIRLPOOL 6ba37e1c59e28acca89f029ccfb179b5d285d1913930a0670a1c78ebd2f23e4e52910b75cb860d3f704fc9affbfa35ad0d4203a1b32794a957fbd13291e14f66 DIST ipmiutil-3.0.0.tar.gz 1681271 SHA256 7d57c1fd0d15518dcb13fa94842761d3309c09dec2679ccc382e600377352865 SHA512 102d510569f0f8878f05b54b51f544eb7bc25ec4b21b4b4661c29d8c9241714a535cb8031cd7f39e434dd2304df02b73a238e05fe9a7d22062ca5aacd5077aad WHIRLPOOL ecbf0cff9f8a17fd48957cc0a8b72f9e01a3568b64ab49ce804cc922060632aec1c400c77bd2b245948217ffcd53fa3790a17fa8fa5fca71d4f5a9475c81c9f5 DIST ipmiutil-3.0.1.tar.gz 1686749 SHA256 762cbd40cc17f81512ca94a622bc01bd122c92215880407e906356c0b3da309d SHA512 edd4eff0410a3a394b815dd4c968931ad1159ec010c8595065056687837c0b0466ac8387b24e2765c6676b392c7f5329837e114e7a5a2733a99efb90e2b22634 WHIRLPOOL bbb0bdfea8569fb8188dd4447519e78f3073d9f405f94bf15f6210572a8e89d41c26bdd13a418e4dc0ad2524cd0a5842d55ff01800216445b8302fc8fd9a9a80 +DIST ipmiutil-3.0.2.tar.gz 1689243 SHA256 8db8aea5d02bc88d822d13c2be874d94d0576a2d3120b046bfa2bfc4cf16815b SHA512 4a84bd618cde4a099e7f0449fab5c41339ef7c2f25f9c353dd0fb58d8df7a238d3f9e7db9eed02e7021b34ac8e93a67cf5cc7eba4c91121b63dea042140de9b0 WHIRLPOOL 7fc155233c9b0f4434f38a8f8999b2c111c4d23d2f8705af8db4c92651456cad46fb77a1a66815d1b77697479645e8608cd636e8b7f6527340ca252076437340 diff --git a/sys-apps/ipmiutil/ipmiutil-3.0.2.ebuild b/sys-apps/ipmiutil/ipmiutil-3.0.2.ebuild new file mode 100644 index 0000000000..ddf7e8e43c --- /dev/null +++ b/sys-apps/ipmiutil/ipmiutil-3.0.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 + + 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' +}