diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-07-31 10:27:20 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-07-31 10:33:18 +0200 |
commit | 75fb9cfdc45de3671d6401d466822c3cd07fc042 (patch) | |
tree | 1f73cd14317f87a96e7a9fbec8e2eb28e3286134 /sys-apps/ipmiutil | |
parent | sys-apps/ipmitool: Bump to version 1.8.17 (diff) | |
download | gentoo-75fb9cfdc45de3671d6401d466822c3cd07fc042.tar.gz gentoo-75fb9cfdc45de3671d6401d466822c3cd07fc042.tar.bz2 gentoo-75fb9cfdc45de3671d6401d466822c3cd07fc042.zip |
sys-apps/ipmiutil: Bump to version 2.9.9
Package-Manager: portage-2.3.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/ipmiutil')
-rw-r--r-- | sys-apps/ipmiutil/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/ipmiutil/files/ipmiutil-2.9.9-lib_symlink.patch | 11 | ||||
-rw-r--r-- | sys-apps/ipmiutil/ipmiutil-2.9.9.ebuild | 55 |
3 files changed, 67 insertions, 0 deletions
diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest index 1407a88fc026..3f17882170db 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-2.9.3.tar.gz 1685718 SHA256 476c23997eba136553bfcbf3606337ffe020671aa8830695ff9d172bc9ed9eb7 SHA512 86d543dbc9ae684e288330e92f8f9b289f2c57311b10de0f2be0797ae7b939cbcd3c2c62f7c80eae5cb89d5ff2d721891619c18dff40ef03b9c870cd26bf6338 WHIRLPOOL 3231fb87e7a608924cb6613688b66292af3a767d3659a0611f22820ed872ec25551a40d74548b5221cc4f588f998c79c3d8cc18c7f4b7b40927139d073499460 DIST ipmiutil-2.9.8.tar.gz 1680094 SHA256 860741ced328c4bc5137cade51e168f3dea6ca447d8a195bfb6ac93c7f75dd18 SHA512 582c455c57d157fa61906af33224f777ca9208df4d47c12f0e9cba23f5a0d1f71504ce7b18e558ba6b509b2c8aa3599b482a84283b602010baadb37549ee181d WHIRLPOOL 6db549c6e16f0fea0c4d3ed92674580ee8d0a38279e34669504288fb486002a4f4c31d88a193051d7f92505ec63aac2fbbef41af3bbbfc48180e91e94e720468 +DIST ipmiutil-2.9.9.tar.gz 1679262 SHA256 beace08386a002c6a4bbbf894bda9899ea34fae4c2181c89f29fb1fa136925f6 SHA512 d20dc9f373bfebfb1c8496b4935c8f1bfecf2c4755a6a482af7c72b90d738a798e99a653b125ea3fcde584a973f735cc61403844549da2c34318ba33863de3e3 WHIRLPOOL b6c3af362b3856bfc990bc697d127ff12f14a6d6985eeb5d1f0be8c603215383b65ae7a003a798203663ad1a2167cae96a49eff67fa3214c2dd1572bcd697b1d diff --git a/sys-apps/ipmiutil/files/ipmiutil-2.9.9-lib_symlink.patch b/sys-apps/ipmiutil/files/ipmiutil-2.9.9-lib_symlink.patch new file mode 100644 index 000000000000..6581a4492af2 --- /dev/null +++ b/sys-apps/ipmiutil/files/ipmiutil-2.9.9-lib_symlink.patch @@ -0,0 +1,11 @@ +--- ipmiutil-2.9.9/util/Makefile.am ++++ ipmiutil-2.9.9/util/Makefile.am +@@ -199,7 +199,7 @@ + @INS_LIB@ cp -f $(DEV_LIB) $(DESTDIR)$(LIBDIR) + @INS_LIB@ if [ "x$(SHRLINK)" != "x" ]; then \ + @INS_LIB@ cp -f $(SHRLINK) $(DESTDIR)$(LIBDIR) ; \ +- @INS_LIB@ cd $(DESTDIR); ln -sf $(LIBDIR)/$(SHRLINK) $(DESTDIR)$(LIBDIR)/$(SHR_BLIB); \ ++ @INS_LIB@ cd $(DESTDIR); ln -sf $(SHRLINK) $(DESTDIR)$(LIBDIR)/$(SHR_BLIB); \ + @INS_LIB@ fi + + clean-generic: diff --git a/sys-apps/ipmiutil/ipmiutil-2.9.9.ebuild b/sys-apps/ipmiutil/ipmiutil-2.9.9.ebuild new file mode 100644 index 000000000000..550e5d58c71f --- /dev/null +++ b/sys-apps/ipmiutil/ipmiutil-2.9.9.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 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' +} |