From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- sys-libs/freeipmi/files/bmc-watchdog.confd | 44 ++++++++++++++++++++++ sys-libs/freeipmi/files/bmc-watchdog.initd.3 | 15 ++++++++ sys-libs/freeipmi/files/bmc-watchdog.initd.4 | 20 ++++++++++ .../files/freeipmi-1.1.1-strictaliasing.patch | 13 +++++++ sys-libs/freeipmi/files/freeipmi.icinga | 4 ++ sys-libs/freeipmi/files/ipmidetectd.confd | 5 +++ sys-libs/freeipmi/files/ipmiseld.confd | 5 +++ 7 files changed, 106 insertions(+) create mode 100644 sys-libs/freeipmi/files/bmc-watchdog.confd create mode 100644 sys-libs/freeipmi/files/bmc-watchdog.initd.3 create mode 100644 sys-libs/freeipmi/files/bmc-watchdog.initd.4 create mode 100644 sys-libs/freeipmi/files/freeipmi-1.1.1-strictaliasing.patch create mode 100644 sys-libs/freeipmi/files/freeipmi.icinga create mode 100644 sys-libs/freeipmi/files/ipmidetectd.confd create mode 100644 sys-libs/freeipmi/files/ipmiseld.confd (limited to 'sys-libs/freeipmi/files') 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.3 b/sys-libs/freeipmi/files/bmc-watchdog.initd.3 new file mode 100644 index 000000000000..e662c9537aae --- /dev/null +++ b/sys-libs/freeipmi/files/bmc-watchdog.initd.3 @@ -0,0 +1,15 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +extra_commands="condrestart" +description_condrestart="Restart the service only if started already" + +command="/usr/sbin/${SVCNAME}" +command_args="${OPTIONS}" +pidfile=/var/run/$SVCNAME.pid + +condrestart() { + service_started && restart +} 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..88999eddc99e --- /dev/null +++ b/sys-libs/freeipmi/files/bmc-watchdog.initd.4 @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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-1.1.1-strictaliasing.patch b/sys-libs/freeipmi/files/freeipmi-1.1.1-strictaliasing.patch new file mode 100644 index 000000000000..ecbb77f216fb --- /dev/null +++ b/sys-libs/freeipmi/files/freeipmi-1.1.1-strictaliasing.patch @@ -0,0 +1,13 @@ +diff -Nuar freeipmi-1.1.1.orig/libfreeipmi/Makefile.am freeipmi-1.1.1/libfreeipmi/Makefile.am +--- freeipmi-1.1.1.orig/libfreeipmi/Makefile.am 2012-01-02 19:26:00.000000000 +0000 ++++ freeipmi-1.1.1/libfreeipmi/Makefile.am 2012-01-21 20:26:26.957801741 +0000 +@@ -25,7 +25,8 @@ + -DIPMI_IPCKEY=\"$(localstatedir)/lib/$(PACKAGE_NAME)/ipckey\" \ + -DIPMI_DEBUG_IPCKEY=\"$(top_builddir)/libfreeipmi/driver/ipmi-semaphores.h\" \ + -D_GNU_SOURCE \ +- -D_REENTRANT ++ -D_REENTRANT \ ++ -fno-strict-aliasing + + libfreeipmi_la_LDFLAGS = \ + -version-info @LIBFREEIPMI_VERSION_INFO@ $(VERSION_FLAGS) \ 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" -- cgit v1.2.3-65-gdbad