public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/freeipmi/
Date: Thu, 17 Aug 2017 08:14:35 +0000 (UTC)	[thread overview]
Message-ID: <1502957669.348724cf2ddfebf8a930956a3c18dde9cae7ee68.polynomial-c@gentoo> (raw)

commit:     348724cf2ddfebf8a930956a3c18dde9cae7ee68
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 17 08:06:16 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 08:14:29 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=348724cf

sys-libs/freeipmi: Bump to version 1.5.7

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-libs/freeipmi/Manifest              |  1 +
 sys-libs/freeipmi/freeipmi-1.5.7.ebuild | 91 +++++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/sys-libs/freeipmi/Manifest b/sys-libs/freeipmi/Manifest
index 65948a54419..5267bf82c89 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.5.tar.gz 3250342 SHA256 ae20b98d145b6316c4231903a64a96954bdd718e74fc4e6cec2cd0b63edcff53 SHA512 d597834d5389a57820a829ad485564b23df736ed23b28ffad3db3a773fa9c4642869ed00cdd83f7c4963f3d41b0bb6f362885d87c716acda54cfac51d233a8e2 WHIRLPOOL 94e621f85a41775c383048eb92d3ff1eee389307d7529815ac1f7e11e731d3307b5e00f552aecfb332852d45627b6dd0c98f83b82749ab843339fa9f47361bb6
 DIST freeipmi-1.5.6.tar.gz 3321440 SHA256 2b1abdc455ffb0e5017cf4d669f549079d3559ad57a73677611e76cec5a06c5c SHA512 2a33c4068af03be5d99a9a0098ded3177bedbc1b71df14c2ba67d40012bee6791388947b0dc552433feb9098753182d62a84f43af6036fbfbd06a7f277ef8b6a WHIRLPOOL 2a70667240d45cd750d0589417e730d7732c9fd77998aced0f210415f8e9dfed4e1f14ab66f1bad9a108b719a766a5dbd5290bd9d980db17ec12e5bae86e3d3c
+DIST freeipmi-1.5.7.tar.gz 3321187 SHA256 b46c9432e8649b87d4646bbf4da32f7e9039796fc256f4b229c94c3ac7d0bde5 SHA512 a4d39d11d4e4b9635c272ee3a197729ac61c3e1c909c202498fb480c41289116eb933cd716fe2e0b5aa6dc258751ee204892bfb009398b6d5c2c65ee1cc58544 WHIRLPOOL 40a70aeef0be622ad39d10f6a850d26f34f5517bdf99d1ed5dcc04d1c3029edfe99e0a071df914bcc5bd1f4324245b9eb57e91b34eebcd5efa003e17fad21fd0

diff --git a/sys-libs/freeipmi/freeipmi-1.5.7.ebuild b/sys-libs/freeipmi/freeipmi-1.5.7.ebuild
new file mode 100644
index 00000000000..a8485cef9b1
--- /dev/null
+++ b/sys-libs/freeipmi/freeipmi-1.5.7.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}


             reply	other threads:[~2017-08-17  8:14 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17  8:14 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-05 12:42 [gentoo-commits] repo/gentoo:master commit in: sys-libs/freeipmi/ Sam James
2024-04-04 15:05 Arthur Zamarin
2023-09-07 23:03 Sam James
2023-09-07 20:53 Sam James
2023-06-09  8:44 Sam James
2023-06-09  8:44 Sam James
2023-03-04 22:30 Jakov Smolić
2023-03-04 11:03 Arthur Zamarin
2023-03-04  6:19 Arthur Zamarin
2022-10-18  2:18 Sam James
2022-09-02  5:55 John Helmert III
2022-09-01 21:36 John Helmert III
2022-08-17 16:21 Matt Turner
2022-08-17  4:53 Arthur Zamarin
2022-08-04  8:04 Agostino Sarubbo
2022-08-03  7:49 Agostino Sarubbo
2022-01-20  8:00 Lars Wendler
2022-01-20  8:00 Lars Wendler
2021-12-06 19:47 Sam James
2021-12-06  8:03 Agostino Sarubbo
2021-12-05 18:29 Sam James
2021-06-05  1:33 Georgy Yakovlev
2021-05-21  7:06 Lars Wendler
2021-05-21  7:06 Lars Wendler
2021-02-15 12:02 Lars Wendler
2021-02-15 12:02 Lars Wendler
2020-09-06  8:14 Lars Wendler
2020-09-06  8:14 Lars Wendler
2020-05-22 13:35 Lars Wendler
2020-05-22 13:35 Lars Wendler
2019-08-23  1:14 Lars Wendler
2019-08-23  1:14 Lars Wendler
2019-03-24 20:02 Sergei Trofimovich
2019-03-17 11:25 Sergei Trofimovich
2019-02-20 13:02 Mikle Kolyada
2019-01-25 13:11 Lars Wendler
2019-01-25 13:11 Lars Wendler
2018-05-05  1:07 Lars Wendler
2018-05-05  1:07 Lars Wendler
2018-02-03 11:47 Lars Wendler
2018-02-03 11:47 Lars Wendler
2018-02-03 11:47 Lars Wendler
2018-01-05 20:23 Mike Gilbert
2017-10-17 18:53 Sergei Trofimovich
2017-10-17 18:53 Sergei Trofimovich
2017-08-17  8:14 Lars Wendler
2017-07-06  8:13 Lars Wendler
2017-07-06  8:13 Lars Wendler
2016-11-03  8:51 Lars Wendler
2016-11-03  8:51 Lars Wendler
2016-10-01 11:20 Lars Wendler
2016-10-01 11:20 Lars Wendler
2016-08-02  7:48 Lars Wendler
2016-08-02  7:48 Lars Wendler
2016-05-24  7:15 Lars Wendler
2016-04-25  7:56 Lars Wendler
2016-04-25  7:56 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1502957669.348724cf2ddfebf8a930956a3c18dde9cae7ee68.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox