summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-06-09 02:58:21 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-06-09 03:19:04 +0200
commit303023322a5452efaa079e47ecea2a527b706923 (patch)
tree68326c1205c5ec8dc3134509b9702e22885be7c4 /sys-apps/ipmiutil
parentmedia-sound/qmmp: Bump to versions 0.10.9 and 1.1.9 (diff)
downloadgentoo-303023322a5452efaa079e47ecea2a527b706923.tar.gz
gentoo-303023322a5452efaa079e47ecea2a527b706923.tar.bz2
gentoo-303023322a5452efaa079e47ecea2a527b706923.zip
sys-apps/ipmiutil: Bump to version 3.0.5
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'sys-apps/ipmiutil')
-rw-r--r--sys-apps/ipmiutil/Manifest1
-rw-r--r--sys-apps/ipmiutil/ipmiutil-3.0.5.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest
index fba9065c54aa..9fce997695a5 100644
--- a/sys-apps/ipmiutil/Manifest
+++ b/sys-apps/ipmiutil/Manifest
@@ -1,3 +1,4 @@
DIST ipmiutil-3.0.2.tar.gz 1689243 SHA256 8db8aea5d02bc88d822d13c2be874d94d0576a2d3120b046bfa2bfc4cf16815b SHA512 4a84bd618cde4a099e7f0449fab5c41339ef7c2f25f9c353dd0fb58d8df7a238d3f9e7db9eed02e7021b34ac8e93a67cf5cc7eba4c91121b63dea042140de9b0 WHIRLPOOL 7fc155233c9b0f4434f38a8f8999b2c111c4d23d2f8705af8db4c92651456cad46fb77a1a66815d1b77697479645e8608cd636e8b7f6527340ca252076437340
DIST ipmiutil-3.0.3.tar.gz 1736455 SHA256 9f8d7006d41c12e16fc9db55d943292bcd461dfd9c8a4bdc7db95bda4a124621 SHA512 a4046bae41990a03a8b8243dcf8a26bd2e6267533518a181b52a2927812300b5311b9ded4da46940d44399a8314d2c1309e4d15b50248f6f2266d4a9e4249f1f WHIRLPOOL 87b0a0b6922ffeaaab5b693046ef62aee127f538eb994479085bd1738f6949a5be07d6f1d3fb02a4e92fa8a5f3d2dad982b9e598c5f69184f28ea74233e4a214
DIST ipmiutil-3.0.4.tar.gz 1692081 SHA256 9aa65ff33b21a30aaa2b484ad62de408d50f4633d076e35b5066dc4dcfd0ed16 SHA512 6d7a305bd146fcb0f7a0b56f8d8b21fa0f9192c28c049e08a89a2d38d48d16f1a7f1f23ef91adc45618488664708e95d0358739c24171b079b0290a341deeff8 WHIRLPOOL 55f444f7abf594996612a9208d23754b2ed87c94cdcf49b04feca5cd49e094cc15b4d37c0b34766827389341265c0f459515b714fdbdc983a5fd85cbd5dcbe2d
+DIST ipmiutil-3.0.5.tar.gz 1692290 SHA256 b2d7f72535131c7832ba4be13dc33c81513fc3ee43fe797b4b52014600ecee5e SHA512 e726f0650342de39a36ecde3abcce659739b41a9766ba55f6812b7fe9c91665b86c2a022ab4bad3fb6b5ca9bc72d2b8950f35c492138dcab8b8f5cb6824a9bf9 WHIRLPOOL f4d096f9980dbb98ed6a8d2da8bd141a58ace90d023976ec04bf253479c1822076d4580015f5391169f18ae4ce09196fdcd3623359ab40a08873471ac731fbcc
diff --git a/sys-apps/ipmiutil/ipmiutil-3.0.5.ebuild b/sys-apps/ipmiutil/ipmiutil-3.0.5.ebuild
new file mode 100644
index 000000000000..fb50eb86ea1c
--- /dev/null
+++ b/sys-apps/ipmiutil/ipmiutil-3.0.5.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 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'
+}