diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-09-30 02:45:41 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-09-30 03:07:29 +0200 |
commit | 03fe63bca1d51caa616ceabdaaa2317955cab7cf (patch) | |
tree | 8d0772eedee374d4de95457afbdb020d97058f74 /sys-apps/ipmiutil | |
parent | media-libs/openal: Removed old. (diff) | |
download | gentoo-03fe63bca1d51caa616ceabdaaa2317955cab7cf.tar.gz gentoo-03fe63bca1d51caa616ceabdaaa2317955cab7cf.tar.bz2 gentoo-03fe63bca1d51caa616ceabdaaa2317955cab7cf.zip |
sys-apps/ipmiutil: Bump to version 3.0.7
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'sys-apps/ipmiutil')
-rw-r--r-- | sys-apps/ipmiutil/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/ipmiutil/ipmiutil-3.0.7.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest index 3d4d098e896b..67fe503a3bab 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.5.tar.gz 1692290 SHA256 b2d7f72535131c7832ba4be13dc33c81513fc3ee43fe797b4b52014600ecee5e SHA512 e726f0650342de39a36ecde3abcce659739b41a9766ba55f6812b7fe9c91665b86c2a022ab4bad3fb6b5ca9bc72d2b8950f35c492138dcab8b8f5cb6824a9bf9 WHIRLPOOL f4d096f9980dbb98ed6a8d2da8bd141a58ace90d023976ec04bf253479c1822076d4580015f5391169f18ae4ce09196fdcd3623359ab40a08873471ac731fbcc DIST ipmiutil-3.0.6.tar.gz 1692679 SHA256 36e04aa874255638be30a8a64443dde5cb002b456a2c1b7858d7669123ff77b7 SHA512 0c47246b7aa6a060091745d36e33aae07e7907dcad5fefb1759aac62adf48316915ce5818d2f9241e24b73be13e54fbb57046234a69c60ce56f41a933915580f WHIRLPOOL 5f8bbd35153667a1da3b62a1bad97a6f88a056c093878d1965bdaa80cbd8fc492805ea7acf92b8184d014b93fe8c38e4cd786e26a6e5c17e514c109568fcacc3 +DIST ipmiutil-3.0.7.tar.gz 1694854 SHA256 defc2fad88c184d953b5e37c42a95b0b14ed9772c097b00471e157be3e23542f SHA512 26a0c805f2c49102eee44052814a6f7af67c74082489e70b058bd4350526a65aad1e1352e33b12e1afeae5e9e96fd2eb361fc6a112d38782dee58f95c3e2a13b WHIRLPOOL c1f27992b95d8c6f76288ac35148c7c3ca7e72413adce44676e56c6dc50d1b9441c9a76d3f5d818d8767d11230d9341e2cc58c57c18ade271865a4784e3e8d0c diff --git a/sys-apps/ipmiutil/ipmiutil-3.0.7.ebuild b/sys-apps/ipmiutil/ipmiutil-3.0.7.ebuild new file mode 100644 index 000000000000..9f90df500d29 --- /dev/null +++ b/sys-apps/ipmiutil/ipmiutil-3.0.7.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' +} |