diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /sys-libs/freeipmi | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'sys-libs/freeipmi')
| -rw-r--r-- | sys-libs/freeipmi/Manifest | 3 | ||||
| -rw-r--r-- | sys-libs/freeipmi/files/bmc-watchdog.confd | 44 | ||||
| -rw-r--r-- | sys-libs/freeipmi/files/bmc-watchdog.initd.4 | 19 | ||||
| -rw-r--r-- | sys-libs/freeipmi/files/freeipmi.icinga | 4 | ||||
| -rw-r--r-- | sys-libs/freeipmi/files/ipmidetectd.confd | 5 | ||||
| -rw-r--r-- | sys-libs/freeipmi/files/ipmiseld.confd | 5 | ||||
| -rw-r--r-- | sys-libs/freeipmi/freeipmi-1.6.15.ebuild | 97 | ||||
| -rw-r--r-- | sys-libs/freeipmi/freeipmi-1.6.16.ebuild | 94 | ||||
| -rw-r--r-- | sys-libs/freeipmi/freeipmi-1.6.18.ebuild | 94 | ||||
| -rw-r--r-- | sys-libs/freeipmi/metadata.xml | 19 |
10 files changed, 384 insertions, 0 deletions
diff --git a/sys-libs/freeipmi/Manifest b/sys-libs/freeipmi/Manifest new file mode 100644 index 000000000000..1af3ee4f2550 --- /dev/null +++ b/sys-libs/freeipmi/Manifest @@ -0,0 +1,3 @@ +DIST freeipmi-1.6.15.tar.gz 3464927 BLAKE2B 0363b9ca58d264f9703e1615469dc5df53143e4b21111004602ab24e371d6291aacb6cef04500822cc5e86d0aec55e80f8162bfda0a98a2af1e326ec377460ba SHA512 113005f751a22584b657afa27c5659af8cae3b503f7c6358ac98c7f2461165c882b9ccfa8ad1cc4e3041f10de334def9b4faff03f2b83d56e69d891463f8931a +DIST freeipmi-1.6.16.tar.gz 3465484 BLAKE2B 3dd261796b8958eb7dbf2debc29de27aa1b7a2edcab2e2cf4ff4596a1ff89e8e5ad4d0d761b9be5956551b743733b5bc1c13880aa910c54cde7661ac82c59860 SHA512 be2b6437bbd9c914ec113845d60288a8ecf2d53cbbe0472d89240f3323f15e1cbdc62c2788f6573fc6b032a9fa6bb41b544559ece24a8a631f9450b0166cc45f +DIST freeipmi-1.6.18.tar.gz 3468378 BLAKE2B cf196060cb1476e7acc1b1ee80c090fdc1a39e4f989c0c0a0c3a6a39820acc64b71f1981e61ad979c8ab2d495c1fa098dc62fde66d90d669441da14ee094e992 SHA512 e9040f3b986d372edf1d0e7786b64cf25a0bb9ac65512d9f7b9967aecbc52207aca28dec96644cae67b1cda3ed494eec3d55598eae8c2ebac4544677b3bc24e1 diff --git a/sys-libs/freeipmi/files/bmc-watchdog.confd b/sys-libs/freeipmi/files/bmc-watchdog.confd new file mode 100644 index 000000000000..4d39cf4d8b7d --- /dev/null +++ b/sys-libs/freeipmi/files/bmc-watchdog.confd @@ -0,0 +1,44 @@ +# +# This configuration file controls the behaviour of the bmc-watchdog daemon +# from FreeIPMI. +# +# -u INT, --timer-use=INT +# Set timer use. The timer use value can be set to one of the +# following: 1 = BIOS FRB2, 2 = BIOS POST, 3 = OS_LOAD, 4 = SMS +# OS, 5 = OEM. +# +# -p INT, --pre-timeout-interrupt=INT +# Set pre-timeout interrupt. The pre timeout interrupt can be set +# to one of the following: 0 = None, 1 = SMI, 2 = NMI, 3 = Messag- +# ing Interrupt. +# +# -a INT, --timeout-action=INT +# Set timeout action. The timeout action can be set to one of the +# following: 0 = No action, 1 = Hard Reset, 2 = Power Down, 3 = +# Power Cycle. +# +# -F, --clear-bios-frb2 +# Clear BIOS FRB2 Timer Use Flag. +# +# -P, --clear-bios-post +# Clear BIOS POST Timer Use Flag. +# +# -L, --clear-os-load +# Clear OS Load Timer Use Flag. +# +# -S, --clear-sms-os +# Clear SMS/OS Timer Use Flag. +# +# -O, --clear-oem +# Clear OEM Timer Use Flag. +# +# -i SECS, --initial-countdown=SECS +# Set initial countdown in seconds. +# +# -e, --reset-period +# Time interval to wait before resetting timer. The default is 60 +# seconds. +# +# For the remaining options, consult man bmc-watchdog +# +OPTIONS="-d -u 4 -p 0 -a 1 -F -P -L -S -O -i 900 -e 60" diff --git a/sys-libs/freeipmi/files/bmc-watchdog.initd.4 b/sys-libs/freeipmi/files/bmc-watchdog.initd.4 new file mode 100644 index 000000000000..e0f8bf02c045 --- /dev/null +++ b/sys-libs/freeipmi/files/bmc-watchdog.initd.4 @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +extra_commands="condrestart" +description_condrestart="Restart the service only if started already" + +command="/usr/sbin/${SVCNAME}" +command_args="${OPTIONS}" +pidfile=/var/run/$SVCNAME.pid + +depend() { + need localmount + use logger +} + +condrestart() { + service_started && restart +} diff --git a/sys-libs/freeipmi/files/freeipmi.icinga b/sys-libs/freeipmi/files/freeipmi.icinga new file mode 100644 index 000000000000..4c4026c72b87 --- /dev/null +++ b/sys-libs/freeipmi/files/freeipmi.icinga @@ -0,0 +1,4 @@ +define command { + command_name nagios_ipmi_sensors + command_line $USER1$/nagios_ipmi_sensors.pl -h $HOSTADDRESS$ +} diff --git a/sys-libs/freeipmi/files/ipmidetectd.confd b/sys-libs/freeipmi/files/ipmidetectd.confd new file mode 100644 index 000000000000..74245f14c0c5 --- /dev/null +++ b/sys-libs/freeipmi/files/ipmidetectd.confd @@ -0,0 +1,5 @@ +# This configuration file controls the behaviour of the ipmid daemon +# from FreeIPMI. +# See `man 8 ipmitdetectd` for further information. + +# OPTIONS="-c /etc/freeipmi/ipmidetectd.conf" diff --git a/sys-libs/freeipmi/files/ipmiseld.confd b/sys-libs/freeipmi/files/ipmiseld.confd new file mode 100644 index 000000000000..8e40a5c0c8dc --- /dev/null +++ b/sys-libs/freeipmi/files/ipmiseld.confd @@ -0,0 +1,5 @@ +# This configuration file controls the behaviour of the ipmiseld daemon +# from FreeIPMI. +# See `man 8 ipmiseld` for further information. + +# OPTIONS="--config-file /etc/freeipmi/ipmiseld.conf" diff --git a/sys-libs/freeipmi/freeipmi-1.6.15.ebuild b/sys-libs/freeipmi/freeipmi-1.6.15.ebuild new file mode 100644 index 000000000000..7b3ac0cddfa9 --- /dev/null +++ b/sys-libs/freeipmi/freeipmi-1.6.15.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +MY_P="${P/_/.}" +DESCRIPTION="Provides Remote-Console and System Management Software as per IPMI v1.5/2.0" +HOMEPAGE="https://www.gnu.org/software/freeipmi/" +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~hppa ~ppc64 x86" +IUSE="debug doc nagios without-root" + +RDEPEND="dev-libs/libgcrypt:=" +DEPEND=" + ${RDEPEND} + virtual/os-headers +" +RDEPEND=" + ${RDEPEND} + nagios? ( + || ( net-analyzer/icinga net-analyzer/nagios ) + dev-lang/perl + ) +" + +src_configure() { + # bug #943813 + append-cflags -std=gnu17 + + local myeconfargs=( + $(use_enable debug) + $(use_enable doc) + $(usev without-root --with-dont-check-for-root) + --disable-static + --disable-init-scripts + --localstatedir="${EPREFIX}"/var + ac_cv_path_CPP_FOR_BUILD="$(tc-getPROG CPP cpp)" + ) + + econf "${myeconfargs[@]}" +} + +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 + local prog + for prog in ipmi{detect,ping,power,console}; do + mv "${ED}"/usr/{s,}bin/${prog} || die + + # The default install symlinks these commands to add a dash + # after the ipmi prefix; we repeat those after move for + # consistency. + rm "${ED}"/usr/sbin/${prog/ipmi/ipmi-} + dosym ${prog} /usr/bin/${prog/ipmi/ipmi-} + done + + # Install the nagios plugin in its proper place, if desired + if use nagios; then + dodir /usr/$(get_libdir)/nagios/plugins + mv "${ED}"/usr/share/doc/${PF}/contrib/nagios/nagios_ipmi_sensors.pl \ + "${ED}"/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/ipmiseld \ + /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 + + find "${ED}" -type f -name "*.la" -delete || die +} diff --git a/sys-libs/freeipmi/freeipmi-1.6.16.ebuild b/sys-libs/freeipmi/freeipmi-1.6.16.ebuild new file mode 100644 index 000000000000..eb0e6e3be646 --- /dev/null +++ b/sys-libs/freeipmi/freeipmi-1.6.16.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_P="${P/_/.}" +DESCRIPTION="Provides Remote-Console and System Management Software as per IPMI v1.5/2.0" +HOMEPAGE="https://www.gnu.org/software/freeipmi/" +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~hppa ~ppc64 x86" +IUSE="debug doc nagios without-root" + +RDEPEND="dev-libs/libgcrypt:=" +DEPEND=" + ${RDEPEND} + virtual/os-headers +" +RDEPEND=" + ${RDEPEND} + nagios? ( + dev-lang/perl + net-analyzer/nagios + ) +" + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable doc) + $(usev without-root --with-dont-check-for-root) + --disable-static + --disable-init-scripts + --localstatedir="${EPREFIX}"/var + ac_cv_path_CPP_FOR_BUILD="$(tc-getPROG CPP cpp)" + ) + + econf "${myeconfargs[@]}" +} + +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 + local prog + for prog in ipmi{detect,ping,power,console}; do + mv "${ED}"/usr/{s,}bin/${prog} || die + + # The default install symlinks these commands to add a dash + # after the ipmi prefix; we repeat those after move for + # consistency. + rm "${ED}"/usr/sbin/${prog/ipmi/ipmi-} + dosym ${prog} /usr/bin/${prog/ipmi/ipmi-} + done + + # Install the nagios plugin in its proper place, if desired + if use nagios; then + dodir /usr/$(get_libdir)/nagios/plugins + mv "${ED}"/usr/share/doc/${PF}/contrib/nagios/nagios_ipmi_sensors.pl \ + "${ED}"/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/ipmiseld \ + /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 + + find "${ED}" -type f -name "*.la" -delete || die +} diff --git a/sys-libs/freeipmi/freeipmi-1.6.18.ebuild b/sys-libs/freeipmi/freeipmi-1.6.18.ebuild new file mode 100644 index 000000000000..1b7631d247d0 --- /dev/null +++ b/sys-libs/freeipmi/freeipmi-1.6.18.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_P="${P/_/.}" +DESCRIPTION="Provides Remote-Console and System Management Software as per IPMI v1.5/2.0" +HOMEPAGE="https://www.gnu.org/software/freeipmi/" +SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc64 ~x86" +IUSE="debug doc nagios without-root" + +RDEPEND="dev-libs/libgcrypt:=" +DEPEND=" + ${RDEPEND} + virtual/os-headers +" +RDEPEND=" + ${RDEPEND} + nagios? ( + dev-lang/perl + net-analyzer/nagios + ) +" + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_enable doc) + $(usev without-root --with-dont-check-for-root) + --disable-static + --disable-init-scripts + --localstatedir="${EPREFIX}"/var + ac_cv_path_CPP_FOR_BUILD="$(tc-getPROG CPP cpp)" + ) + + econf "${myeconfargs[@]}" +} + +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 + local prog + for prog in ipmi{detect,ping,power,console}; do + mv "${ED}"/usr/{s,}bin/${prog} || die + + # The default install symlinks these commands to add a dash + # after the ipmi prefix; we repeat those after move for + # consistency. + rm "${ED}"/usr/sbin/${prog/ipmi/ipmi-} + dosym ${prog} /usr/bin/${prog/ipmi/ipmi-} + done + + # Install the nagios plugin in its proper place, if desired + if use nagios; then + dodir /usr/$(get_libdir)/nagios/plugins + mv "${ED}"/usr/share/doc/${PF}/contrib/nagios/nagios_ipmi_sensors.pl \ + "${ED}"/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/ipmiseld \ + /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 + + find "${ED}" -type f -name "*.la" -delete || die +} diff --git a/sys-libs/freeipmi/metadata.xml b/sys-libs/freeipmi/metadata.xml new file mode 100644 index 000000000000..afd59dfd46f3 --- /dev/null +++ b/sys-libs/freeipmi/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sysadmin@gentoo.org</email> + <name>Gentoo Sysadmin Project</name> + </maintainer> + <use> + <flag name="nagios"> + Install a nagios plugin to check sensors' status. + </flag> + <flag name="without-root"> + Configure whether or not to check for root access in ipmi tools. + </flag> + </use> + <upstream> + <remote-id type="savannah">freeipmi</remote-id> + </upstream> +</pkgmetadata> |
