summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-10-01 13:19:28 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-10-01 13:20:21 +0200
commitbc2fab48675d495f2ce3754c769ef2d65828bd20 (patch)
treea30fa702f5be0937444b9660547ada3ed5df2f63 /sys-libs/freeipmi
parentx11-drivers/xf86-input-libinput: Version bump to 0.20.0 (diff)
downloadgentoo-bc2fab48675d495f2ce3754c769ef2d65828bd20.tar.gz
gentoo-bc2fab48675d495f2ce3754c769ef2d65828bd20.tar.bz2
gentoo-bc2fab48675d495f2ce3754c769ef2d65828bd20.zip
sys-libs/freeipmi: Bump to version 1.5.4
Package-Manager: portage-2.3.1 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-libs/freeipmi')
-rw-r--r--sys-libs/freeipmi/Manifest1
-rw-r--r--sys-libs/freeipmi/freeipmi-1.5.4.ebuild92
2 files changed, 93 insertions, 0 deletions
diff --git a/sys-libs/freeipmi/Manifest b/sys-libs/freeipmi/Manifest
index 0939b83d5326..3eca73e0fa6f 100644
--- a/sys-libs/freeipmi/Manifest
+++ b/sys-libs/freeipmi/Manifest
@@ -3,3 +3,4 @@ DIST freeipmi-1.4.3.tar.gz 3089282 SHA256 2d8701555f7fd5c3cdc0186e2e435d2ed79450
DIST freeipmi-1.4.8.tar.gz 3185068 SHA256 9fa7e9df7f848445cf6035b26b4167a79711ecc05d8e96ab16bbec10b36e551b SHA512 3cd4acde402bbc945b007e31e7f8dad3ad4539d2cf00310e9168d7cec8024203a280c8ad91e3f08b86dfa9be536779969c5393c4523df2fe8eb904f765fcfc56 WHIRLPOOL ae4393fd36271238597f1602fbaaa6c975268291d26ae3303d9bb1b447cc40070ff4c66ac56a7c301f0544f69ab54eb49a9c6f81fdbdc83ab4d89f3f253b3701
DIST freeipmi-1.5.2.tar.gz 3244661 SHA256 734fa260e71d11e0a607f8acc731b9492f7f7b2f5476bf2ec29ff34ecde4ee75 SHA512 287dbf9c2320dbc5dd4f62fab3502bda893fa9fc52bbb4ba1b3739ac2f9ab902a2b5ddca59501b7ded228ba2dd0a38d431e743127bacff421c3ffb15a909b70c WHIRLPOOL 2aa5ccd807fd93897da74da0187ef6cc9985f7f8ee15fadd8a0bf90c1eb26c76381a818275cc0cca3c170b17a631bd042336689ed05c2ff451b8fa912adaea64
DIST freeipmi-1.5.3.tar.gz 3245771 SHA256 5d36225b01cc965812e234e708d640381d030edf7689d4264d6f64c26a3c9868 SHA512 3dce3c0ab8e5479e49c2686480f96f5134a0f198e2730ad9f4a47ede434ec7dfb37de450737da5956ffd2fe10289a23448b9f36655a1402cb4392242a892c22a WHIRLPOOL 8274d34d7511f2d4f3571e91eb5a1d31e2af544f82e0505e15b5e469c22e1623f30aab5c384fd04f22e35758f76271970d7dd0ac08c0df446572902e772174fc
+DIST freeipmi-1.5.4.tar.gz 3249494 SHA256 6504a775d5d818c9353ecc7b2697596b29f8bc05e917b6f70157492fbddd1fd5 SHA512 dc1d87ef78270549e49df134cbf16967a3549b0c9e07c67c8296cb31e92bd22e8d8699d7622e28e27bb5b4d01ed9c328c88d6ce5cf3562de0c58c685b04687b5 WHIRLPOOL 13ba89f2953fb96ff341cd028ec5ebd186a0b2e589d4a940cb2a58ba37258edda6ee2e8efedcd0dccba86a492c6814437cf59d000e48dc723bdea1a6e6470ab6
diff --git a/sys-libs/freeipmi/freeipmi-1.5.4.ebuild b/sys-libs/freeipmi/freeipmi-1.5.4.ebuild
new file mode 100644
index 000000000000..b8c0a20d5824
--- /dev/null
+++ b/sys-libs/freeipmi/freeipmi-1.5.4.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+AT_M4DIR="config"
+
+inherit eutils multilib
+
+DESCRIPTION="Provides Remote-Console and System Management Software as per IPMI v1.5/2.0"
+HOMEPAGE="https://www.gnu.org/software/freeipmi/"
+
+MY_P="${P/_/.}"
+S="${WORKDIR}"/${MY_P}
+[[ ${MY_P} == *.beta* ]] && ALPHA="-alpha"
+SRC_URI="mirror://gnu${ALPHA}/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug nagios"
+
+RDEPEND="dev-libs/libgcrypt:0"
+DEPEND="${RDEPEND}
+ virtual/os-headers"
+RDEPEND="${RDEPEND}
+ nagios? (
+ || ( net-analyzer/icinga net-analyzer/nagios )
+ dev-lang/perl
+ )
+ sys-apps/openrc"
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug)
+ --disable-static
+ --disable-init-scripts
+ --localstatedir=/var
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+# There are no tests
+src_test() { :; }
+
+src_install() {
+ default
+
+ # freeipmi by defaults install _all_ commands to /usr/sbin, but
+ # quite a few can be run remotely as standard user, so move them
+ # in /usr/bin afterwards.
+ dodir /usr/bin
+ for file in ipmi{detect,ping,power,console}; do
+ mv "${D}"/usr/{s,}bin/${file} || die
+
+ # The default install symlinks these commands to add a dash
+ # after the ipmi prefix; we repeat those after move for
+ # consistency.
+ rm "${D}"/usr/sbin/${file/ipmi/ipmi-}
+ dosym ${file} /usr/bin/${file/ipmi/ipmi-}
+ done
+
+ # Install the nagios plugin in its proper place, if desired
+ if use nagios; then
+ dodir /usr/$(get_libdir)/nagios/plugins
+ mv "${D}"/usr/share/doc/${PF}/contrib/nagios/nagios_ipmi_sensors.pl \
+ "${D}"/usr/$(get_libdir)/nagios/plugins/ || die
+ fperms 0755 /usr/$(get_libdir)/nagios/plugins/nagios_ipmi_sensors.pl
+
+ insinto /etc/icinga/conf.d
+ newins "${FILESDIR}"/freeipmi.icinga freeipmi-command.cfg
+ fi
+
+ dodoc AUTHORS ChangeLog* DISCLAIMER* NEWS README* TODO doc/*.txt
+
+ keepdir \
+ /var/cache/ipmimonitoringsdrcache \
+ /var/lib/freeipmi \
+ /var/log/ipmiconsole
+
+ # starting from version 1.2.0 the two daemons are similar enough
+ newinitd "${FILESDIR}"/bmc-watchdog.initd.4 ipmidetectd
+ newconfd "${FILESDIR}"/ipmidetectd.confd ipmidetectd
+
+ newinitd "${FILESDIR}"/bmc-watchdog.initd.4 bmc-watchdog
+ newconfd "${FILESDIR}"/bmc-watchdog.confd bmc-watchdog
+
+ newinitd "${FILESDIR}"/bmc-watchdog.initd.4 ipmiseld
+ newconfd "${FILESDIR}"/ipmiseld.confd ipmiseld
+}