From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 55CC5138206 for ; Mon, 25 Apr 2016 07:56:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBCE6E0835; Mon, 25 Apr 2016 07:56:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 42C63E0835 for ; Mon, 25 Apr 2016 07:56:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 38DA3340B1D for ; Mon, 25 Apr 2016 07:56:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 88CA0256 for ; Mon, 25 Apr 2016 07:56:01 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1461570954.1c99af12a09bf426ea35ee1eb1dd9828618086bb.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/freeipmi/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/freeipmi/Manifest sys-libs/freeipmi/freeipmi-1.5.1.ebuild X-VCS-Directories: sys-libs/freeipmi/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 1c99af12a09bf426ea35ee1eb1dd9828618086bb X-VCS-Branch: master Date: Mon, 25 Apr 2016 07:56:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1486654e-eb12-401a-b0c2-f12063678a6f X-Archives-Hash: 2a618a7bc5f5e5684aa60c7d16e7c9b9 commit: 1c99af12a09bf426ea35ee1eb1dd9828618086bb Author: Lars Wendler gentoo org> AuthorDate: Mon Apr 25 07:53:19 2016 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Apr 25 07:55:54 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c99af12 sys-libs/freeipmi: Bump to version 1.5.1 Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler gentoo.org> sys-libs/freeipmi/Manifest | 1 + sys-libs/freeipmi/freeipmi-1.5.1.ebuild | 92 +++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/sys-libs/freeipmi/Manifest b/sys-libs/freeipmi/Manifest index 4d265f6..ff0f817 100644 --- a/sys-libs/freeipmi/Manifest +++ b/sys-libs/freeipmi/Manifest @@ -2,3 +2,4 @@ DIST freeipmi-1.2.2.tar.gz 3031730 SHA256 c8539a8225616e3e647b99903ef1243c5a6a4e DIST freeipmi-1.4.3.tar.gz 3089282 SHA256 2d8701555f7fd5c3cdc0186e2e435d2ed7945047d22b66088f1e5417dcc35386 SHA512 88a2dec70696017407aac313628407200ee2c6600547fbff73c6880ae8d65cda166c8e00e0f4b7eaddc35f4376143b8fdb0b4ac284aba401c2592a95804e6cec WHIRLPOOL 36c05750f58d018768c82b2a9531892c8c933a7f7b92ea4513dd3527d27494993f82b59d621558bc2975585f51bc6b555b85e246bec1e79704947ac7591cf08b DIST freeipmi-1.4.6.tar.gz 3182413 SHA256 6e404329378aed4ea2078575d7a8787820da3c8e1412b309ab8643f0284626af SHA512 52561ffe0c7b8d29431be6d89b4f4072361c8543a877f005a0190682dbdc739c716b6cfba4e6c6ac26324a94930c5d90554dd06bfd7310f723f8e7dd32432fe3 WHIRLPOOL 391ba17833d64e450bf6e273c7bcca8fdf036ff612f1a3d2be2bb1bbfc3e2dff418f997e78fcdc32571dae40077c2e3089d1002717ee61c8cd4d93dc8b1d42d4 DIST freeipmi-1.4.8.tar.gz 3185068 SHA256 9fa7e9df7f848445cf6035b26b4167a79711ecc05d8e96ab16bbec10b36e551b SHA512 3cd4acde402bbc945b007e31e7f8dad3ad4539d2cf00310e9168d7cec8024203a280c8ad91e3f08b86dfa9be536779969c5393c4523df2fe8eb904f765fcfc56 WHIRLPOOL ae4393fd36271238597f1602fbaaa6c975268291d26ae3303d9bb1b447cc40070ff4c66ac56a7c301f0544f69ab54eb49a9c6f81fdbdc83ab4d89f3f253b3701 +DIST freeipmi-1.5.1.tar.gz 3239829 SHA256 47985ab902a62e23aba60e30a9fba5190599eecbc107d442e8b948a220ed1252 SHA512 61a6ff56e3f9675244c04edc87cca91b06cb2d4401b676cae832797b94e6450436272f4a2079c4faa9070d44c59809058402e639ee8480755aec2033ae65c575 WHIRLPOOL 8c18b08cd0e03d1077e3f9e1ab853592d5740a3f4c08df110f27e78f634bfa626fb352562718456f62893bd9d49c0346bab45964763668b61886947866d60f7b diff --git a/sys-libs/freeipmi/freeipmi-1.5.1.ebuild b/sys-libs/freeipmi/freeipmi-1.5.1.ebuild new file mode 100644 index 0000000..b8c0a20 --- /dev/null +++ b/sys-libs/freeipmi/freeipmi-1.5.1.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 +}