summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-07-31 09:52:41 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-07-31 10:33:16 +0200
commitb20f927aa3629c048e8674002a712b046d0744c5 (patch)
treeaf9a1c51d77dbe4646e46220d2a64fdfdf629e46
parentmedia-libs/exiftool: version bump to 10.24 (diff)
downloadgentoo-b20f927a.tar.gz
gentoo-b20f927a.tar.bz2
gentoo-b20f927a.zip
sys-apps/ipmitool: Bump to version 1.8.17
Package-Manager: portage-2.3.0 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--sys-apps/ipmitool/Manifest2
-rw-r--r--sys-apps/ipmitool/ipmitool-1.8.17.ebuild81
2 files changed, 83 insertions, 0 deletions
diff --git a/sys-apps/ipmitool/Manifest b/sys-apps/ipmitool/Manifest
index 38e12fa6ad25..c3b887b54cf5 100644
--- a/sys-apps/ipmitool/Manifest
+++ b/sys-apps/ipmitool/Manifest
@@ -1,4 +1,6 @@
DIST ipmitool-1.8.14.tar.gz 917886 SHA256 fe9bce4587f83fe0fd7c4d86fd3241fe41cb661ebc5c7321128d59cc295874ab SHA512 1376a0d4209e4622f9b0e27d3f3d67d552be936ded92e4e894d2b04871717a585075b54bbb9b91d62b58483ee9b94b5c64e2ecdfcef3c3f818fa6f035fb34216 WHIRLPOOL a16d965218829f1a1b29133e8722272d6062698c546f96de94385b3a62aef5d886e4890ad48ed43f04531a18d806a2a5a798f50ce9dadcb87ba17b2902cffdce
DIST ipmitool-1.8.16.tar.gz 960472 SHA256 b83e12572fff00fce6bd5ae98f390063da7bd13f555cd386d94605917d808f73 SHA512 30f79e1547c7bb04f8447e9b3bba9a3761d0c8ce5b8b9aa98848382ee9163569b51dd4bc670998f52d3d07ee111747c981b840656113885185ed29c6c6a0f8fd WHIRLPOOL e63d1d42ab7cd0e05a7f679f5d663d36f2b837d92ec2547288208f48cfd4d4a0ba1e8571bf993f7cb05a2b72d0a12a916ffa445dd19e5c298040cb6e3c5a9419
+DIST ipmitool-1.8.17.tar.gz 976189 SHA256 717d3972c050541878eaeba85e02168e76f6e98bdb4837ac214fae165af89961 SHA512 929cf0087d3d712caf845eb62771aa96d034c2222170850b0d8bfdbb41d0b0aee05c14aa48e82368f4494606781c6639ada348fd086907c21b817d95dd36a3f6 WHIRLPOOL fdac04cc2601680ec645f5634947da52e31b1fe5b57ad2e74d5099cda3fd605e1ae218441de7241a4f7822701e7e49b81e0c8c52367cde8dfdcd1b217a3e07e0
DIST ipmitool_1.8.14-4.debian.tar.xz 16452 SHA256 24b57ffec3ca1bda69f82b006a12a3ccd1e643b2e0250c0a670218e1e76a54dc SHA512 f7b464d9167e2c92b9536fee1e0cb66da11f6cdc6f86d7adb3ad5c239f3c1850663ddfd9571561502904daff52b3a57b633c389de697da42e7bfafe8c67a60a9 WHIRLPOOL a559a3c1771fc4e33b817977c8eb23372e27a3d2c1bcbc5eefd3e714bfa0da82d05e597dbb2afc8cbf52b6b5ffcde4273505cad5fedc4b8893809d691fa21fc5
DIST ipmitool_1.8.16-3.debian.tar.xz 17788 SHA256 89f5d5bfae8a856c24249b98b2d9efbc6d39b5cc1536911efd2944c5f88d6205 SHA512 8f8b6862d6ff77e6a4f4ad3ae21d056c5d90d43610a45dac556b0a41a5417185553b81e863630a62bfa2ef2e1f7680a24e2661f469214eb3b4e93d8ae4ffb800 WHIRLPOOL c664f96ab9e62eb1ecd3cb1e505253ce6c9641d756e56f76a7c9b23bf31cb8b3a53b8aef32050b30cc125fe8da8fa7d95cb39f77f2afd55d71efe87ddd8c1825
+DIST ipmitool_1.8.17-1.debian.tar.xz 18252 SHA256 23fe78d07c96918377c0222f4dba5780e8a1746fc75c5f51a0a907cfefff7a61 SHA512 e1133262020e8fabe47e7aa308956078bc9fb3bb7033413230f1cf76aca1d4733bac64e52039365f24fe54a1bf8e271071bdaa1722720fca62f1c9e8888777a8 WHIRLPOOL 04c15df52d5fa74876de193b274d0f0ef0d858a2601b55a4823a6ddff405550def96a3407e7890b74e14da72fed21d9c6118a532ac01f2803a3664e7b9fbff80
diff --git a/sys-apps/ipmitool/ipmitool-1.8.17.ebuild b/sys-apps/ipmitool/ipmitool-1.8.17.ebuild
new file mode 100644
index 000000000000..eaf8379395eb
--- /dev/null
+++ b/sys-apps/ipmitool/ipmitool-1.8.17.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="Utility for controlling IPMI enabled devices."
+HOMEPAGE="http://ipmitool.sf.net/"
+DEBIAN_PR="1.debian"
+DEBIAN_P="${P/-/_}"
+DEBIAN_PF="${DEBIAN_P}-${DEBIAN_PR}"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ https://launchpad.net/ubuntu/+archive/primary/+files/${DEBIAN_PF}.tar.xz"
+#IUSE="freeipmi openipmi status"
+IUSE="openipmi static"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86"
+LICENSE="BSD"
+
+RDEPEND="dev-libs/openssl:0="
+DEPEND="${RDEPEND}
+ openipmi? ( sys-libs/openipmi )
+ virtual/os-headers"
+ #freeipmi? ( sys-libs/freeipmi )
+# ipmitool CAN build against || ( sys-libs/openipmi sys-libs/freeipmi )
+# but it doesn't actually need either.
+
+src_prepare() {
+ default
+ [ -d "${S}"/debian ] && mv "${S}"/debian{,.package}
+ ln -s "${WORKDIR}"/debian "${S}"
+ for p in $(grep -v "^#" debian/patches/series) ; do
+ eapply debian/patches/$p
+ done
+
+ eautoreconf
+}
+
+src_configure() {
+ # - LIPMI and BMC are the Solaris libs
+ # - OpenIPMI is unconditionally enabled in the configure as there is compat
+ # code that is used if the library itself is not available
+ # FreeIPMI does build now, but is disabled until the other arches keyword it
+ # `use_enable freeipmi intf-free` \
+ # --enable-ipmievd is now unconditional
+ econf \
+ $(use_enable static) \
+ --enable-ipmishell \
+ --enable-intf-lan \
+ --enable-intf-lanplus \
+ --enable-intf-open \
+ --enable-intf-serial \
+ --disable-intf-bmc \
+ --disable-intf-dummy \
+ --disable-intf-free \
+ --disable-intf-imb \
+ --disable-intf-lipmi \
+ --disable-internal-md5 \
+ --with-kerneldir=/usr --bindir=/usr/sbin
+
+ # Fix linux/ipmi.h to compile properly. This is a hack since it doesn't
+ # include the below file to define some things.
+ echo "#include <asm/byteorder.h>" >>config.h
+}
+
+src_install() {
+ emake DESTDIR="${D}" PACKAGE="${PF}" install
+
+ into /usr
+ dosbin contrib/bmclanconf
+ rm -f "${D}"/usr/share/doc/${PF}/COPYING
+ docinto contrib
+ cd "${S}"/contrib
+ dodoc collect_data.sh create_rrds.sh create_webpage_compact.sh create_webpage.sh README
+
+ newinitd "${FILESDIR}"/${PN}-1.8.9-ipmievd.initd ipmievd
+ newconfd "${FILESDIR}"/${PN}-1.8.9-ipmievd.confd ipmievd
+ # TODO: init script for contrib/bmc-snmp-proxy
+ # TODO: contrib/exchange-bmc-os-info
+}