Accepting request 88435 from systemsmanagement:wbem
unrelated to wbem OBS-URL: https://build.opensuse.org/request/show/88435 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/freeipmi?expand=0&rev=1
This commit is contained in:
commit
a140832e58
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
24
adapt_to_suse_docdir.patch
Normal file
24
adapt_to_suse_docdir.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -wruN ../orig-freeipmi-0.8.2/doc/Makefile.am ./doc/Makefile.am
|
||||
--- ../orig-freeipmi-0.8.2/doc/Makefile.am 2009-12-16 19:40:08.000000000 +0100
|
||||
+++ ./doc/Makefile.am 2010-01-14 12:09:41.000000000 +0100
|
||||
@@ -12,7 +12,7 @@
|
||||
freeipmi-bugs-issues-and-workarounds.txt \
|
||||
freeipmi-oem-documentation-requirements.txt
|
||||
|
||||
-docdir = $(datadir)/doc/$(PACKAGE)
|
||||
+docdir = $(datadir)/doc/packages/$(PACKAGE)
|
||||
|
||||
doc_DATA = $(EXTRA_DIST)
|
||||
|
||||
diff -wruN ../orig-freeipmi-0.8.2/Makefile.am ./Makefile.am
|
||||
--- ../orig-freeipmi-0.8.2/Makefile.am 2009-06-18 18:50:59.000000000 +0200
|
||||
+++ ./Makefile.am 2010-01-14 15:30:07.000000000 +0100
|
||||
@@ -74,7 +74,7 @@
|
||||
DISCLAIMER.ipmidetect.UC \
|
||||
DISCLAIMER.ipmi-fru.UC
|
||||
|
||||
-docdir = $(datadir)/doc/$(PACKAGE)
|
||||
+docdir = $(datadir)/doc/packages/$(PACKAGE)
|
||||
doc_DATA = $(EXTRA)
|
||||
|
||||
CLEANFILES =
|
11
add_default_start.patch
Normal file
11
add_default_start.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -wruN -x '*~' ../orig-freeipmi-1.0.3/ipmidetectd/ipmidetectd.init ./ipmidetectd/ipmidetectd.init
|
||||
--- ../orig-freeipmi-1.0.3/ipmidetectd/ipmidetectd.init 2011-03-30 00:25:12.000000000 +0200
|
||||
+++ ./ipmidetectd/ipmidetectd.init 2011-03-30 10:02:16.000000000 +0200
|
||||
@@ -8,6 +8,7 @@
|
||||
# Provides: ipmidetectd
|
||||
# Required-Start: $network $remote_fs $syslog
|
||||
# Required-Stop: $network $remote_fs $syslog
|
||||
+# Default-Start: 3 5
|
||||
# Default-Stop: 0 1 2 6
|
||||
# Short-Description: Start and stop ipmidetectd
|
||||
# Description: IPMI node detection monitoring daemon
|
3
freeipmi-1.0.6.tar.bz2
Normal file
3
freeipmi-1.0.6.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c29d156dfc2214d879dc24cdb9f72f0ef445913ea8203a87dcc7303b6dfbd27e
|
||||
size 2072445
|
229
freeipmi.changes
Normal file
229
freeipmi.changes
Normal file
@ -0,0 +1,229 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 21 09:05:12 UTC 2011 - kkaempf@suse.com
|
||||
|
||||
- Update to 1.0.6
|
||||
o Support 'ignorescanningdisabled' workaround in ipmi-sensors.
|
||||
o Support Supermicro X8SIL-F, X9SCL, and X9SCM motherboard OEM sensors.
|
||||
o Update bmc-watchdog logrotate script to reduce unnecessary output.
|
||||
o Fix ipmi-fru output typo.
|
||||
|
||||
- Update to 1.0.5
|
||||
o Fix various issues in ipmi-dcmi, including command line parsing
|
||||
bugs, asset tag/string identifier overwriting, and fix assumptions
|
||||
based on new information in v1.5 errata.
|
||||
o Support pkg-config files for libraries.
|
||||
o Various documentation updates.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 23 14:01:37 UTC 2011 - kkaempf@novell.com
|
||||
|
||||
- Update to 1.0.4
|
||||
o Support "discretereading" workaround in ipmi-sensors and
|
||||
associated libraries.
|
||||
o Support "spinpoll" workaround/performance optimization in tools
|
||||
and libraries.
|
||||
o Support additional sensor/SEL interpretations for Intel
|
||||
motherboards.
|
||||
o Add convenience input checking functions to libipmiconsole.
|
||||
o Fix bug in libipmimonitoring to allow additional OEM
|
||||
interpretations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 30 07:38:14 UTC 2011 - kkaempf@novell.com
|
||||
|
||||
- update to 1.0.3
|
||||
o Support additional error handling in bmc-info.
|
||||
o Support ability to set "none" workaround flags on the command
|
||||
line and in tools.
|
||||
o In libipmiconsole, force ipmiconsole_engine_init() to be
|
||||
called before ipmiconsole_ctx_create().
|
||||
o Fix libipmiconsole callback semantics.
|
||||
o Fix libipmiconsole bugs in overriding standard defaults vs.
|
||||
config file defaults.
|
||||
o Fix potential race in libipmiconsole during engine teardown.
|
||||
o Add package version macros to libfreeipmi.
|
||||
o Add library version macros to all libraries.
|
||||
o Fix Solaris build bug.
|
||||
o Fix config output bug in ipmipower.
|
||||
- update to 1.0.2
|
||||
o Support --ignore-unrecognized-events in ipmi-sensors.
|
||||
o Clarify error messages in ipmi-locate.
|
||||
o Support Supermicro X7DBR-3, X8DTL-3F, X8DT3-LN4F motherboard OEM
|
||||
sensors.
|
||||
o Support Dell Module/Board OEM sensor interpretation on Poweredge
|
||||
R210 motherboards.
|
||||
o In bmc-info, support motherboards that don't implement Get Device
|
||||
Guid.
|
||||
o In bmc-watchdog, fix error logging corner case.
|
||||
o Support new -r option in ganglia_ipmi_sensors.pl plugin to modify
|
||||
ipmi hostname.
|
||||
o Add workaround for SDR caching compliance bug in HP Proliant
|
||||
DL585G7.
|
||||
o In bmc-config, add workaround for motherboards that do not allow
|
||||
you to configure identical usernames.
|
||||
o Various documentation updates.
|
||||
|
||||
- update to 1.0.1
|
||||
o Remove ipmimonitoring tool. Tool is now superseded by ipmi-sensors
|
||||
and the new --output-sensor-state option.
|
||||
o Support --output-event-state option for ipmi-sel to support SEL
|
||||
event interpretation.
|
||||
o All config-tools now support multi-channel configuration under
|
||||
verbose mode.
|
||||
o Re-architect libipmimonitoring to support all defined IPMI sensor
|
||||
types, OEM bitmasks, and OEM interpretations.
|
||||
o Add SEL monitoring support to libipmimonitoring.
|
||||
o Support new 'interpret' sub-library in libfreeipmi.
|
||||
o Support interpretation rules for sensors when no states/events occur.
|
||||
o Support interpretation rules for out of spec sensor states/events.
|
||||
o Support interpretation rules for OEM sensors and events.
|
||||
o Move all config files to /etc/freeipmi/. Support legacy config
|
||||
files for backwards compatibility.
|
||||
o Support serial keepalive in ipmiconsole to check if serial
|
||||
connection has remained alive across system reboots.
|
||||
o Create symlinks and manpage pointers for 'ipmi-power', 'ipmi-ping',
|
||||
'rmcp-ping', 'ipmi-console', and 'ipmi-detect' to give some additional
|
||||
consistency to the tool naming.
|
||||
o Various documentation updates.
|
||||
o Update to support DCMI 1.1.
|
||||
o Update all licensing information to GPLv3.
|
||||
|
||||
- update to 0.8.12
|
||||
o In bmc-config, workaround RMCP+ Privilege Level configuration
|
||||
compliance bugs on HP DL145 servers.
|
||||
o In ipmi-chassis-config, after configuring boot flags, set valid bits
|
||||
appropriately.
|
||||
o Fix N/A output corner case in ipmi-sel.
|
||||
o Support Supermicro X8DTU-6+ motherboard OEM sensors.
|
||||
o Fix FRU date/time calculation bug that did not account for leap
|
||||
years.
|
||||
|
||||
- update to 0.8.11
|
||||
o Support Fujitsu iRMC S1 and iRMC S2 OEM extensions in
|
||||
ipmi-sensors and ipmi-sel.
|
||||
o Support --output-oem-event-string in ipmi-sel.
|
||||
o Other minor documentation/bug fixes.
|
||||
|
||||
- update to 0.8.10
|
||||
o Support many new Inventec OEM extensions in ipmi-oem.
|
||||
o Support many new Quanta OEM extensions in ipmi-oem.
|
||||
o Support many new Intel OEM extensions in ipmi-oem.
|
||||
o Support Intel s5500WB OEM extensions in ipmi-sel.
|
||||
o Support Intel Node Manager SEL events across Quanta S99Q,
|
||||
Inventec 5441, Inventec 5442, and Intel S5500WB motherboards.
|
||||
o Move some OEM extensions from Dell section to Inventec section in
|
||||
ipmi-oem. Were previously thought to be additions by Dell, but
|
||||
in fact are not. Backwards compatability supported.
|
||||
o Support 'assumeio' inband workaround globally.
|
||||
o Gracefully handle some errors in ipmi-sensors.
|
||||
o Fix in-band probing corner case.
|
||||
o Fix various parameter input checks in ipmi-oem.
|
||||
o Fix help output corner cases in ipmi-oem.
|
||||
o Other minor documentation/bug fixes.
|
||||
|
||||
- update to 0.8.9
|
||||
o In ipmi-sel and ipmimonitoring, workaround Supermicro H8QME SEL
|
||||
compliance issues in ipmi-sel.
|
||||
o In ipmi-sel, do not report error if SEL is empty.
|
||||
o Support Fujitsu 'get-sel-entry-long-text' in ipmi-oem.
|
||||
o Fix workaround flags bug in ipmimonitoring.
|
||||
o Revert 'Open Session Privilege Workaround' changes in 0.8.8, were
|
||||
unnecessary.
|
||||
o Fix daylight savings bug when configuring BMC times in bmc-device.
|
||||
o Support 'veryslowcommit' workaround for config tools to work around
|
||||
very slow BMCs.
|
||||
o Support --enable-rawdumps compile option.
|
||||
o Support SHA256 in IPMI 2.0.
|
||||
o Other minor bug fixes.
|
||||
|
||||
- update to 0.8.8
|
||||
o Support Supermicro 'get-bmc-services-status' and
|
||||
'set-bmc-services-status' in ipmi-oem.
|
||||
o Support bmc-watchdog 'ignorestateflag' workaround around more
|
||||
issues.
|
||||
o Support Open Session Privilege Workaround around more related
|
||||
compliance issues.
|
||||
o Fix bmc-watchdog --version option.
|
||||
o Fix legacy workaround corner case in channel detection for
|
||||
Intel nodes.
|
||||
o Support Quanta reset-to-defaults command in ipmi-oem.
|
||||
o Modify ipmiconsole protocol to not deactivate SOL protocol is
|
||||
SOL is already deactivated.
|
||||
o Modify ipmiconsole protocol to not error out under several
|
||||
malformed packet scenarios.
|
||||
o Fix ipmiping/rmcpping command line parsing corner case.
|
||||
o Minor documentation updates.
|
||||
o Minor error message output fixes.
|
||||
o Support --without-random-device configure option for some
|
||||
embedded systems.
|
||||
|
||||
- update to 0.8.7
|
||||
o Support Supermicro X8DTG OEM sensors.
|
||||
o Support Supermicro X8DTG workarounds with 'integritycheckvalue'
|
||||
workaround flag.
|
||||
o Document workarounds for Intel S5500WBV/Penguin Relion 700
|
||||
motherboard.
|
||||
o Map IPMI 2.0 "invalid role" error code to "privilege level cannot be
|
||||
obtained" for better usability.
|
||||
o Fix bmc-config Security Keys commit by making some required fields
|
||||
optional.
|
||||
o Fix bmc-watchdog init script return codes on Suse.
|
||||
o Support 'ignorestateflag' workaround in bmc-watchdog.
|
||||
o Fix ipmi-sensors corner case for sensors with percentage units.
|
||||
o Support 'slowcommit' workaround for config tools to work around
|
||||
slower BMCs.
|
||||
o Update documentation w/ Supermicro X8DTG issues.
|
||||
o Update documentation w/ inband troubleshooting.
|
||||
|
||||
- update to 0.8.6
|
||||
o Support Quanta S99Q/Dell FS12-TY OEM SEL events.
|
||||
o In ipmi-oem, support Quanta S99Q/Dell FS12-TY OEM commands.
|
||||
o Fix --key-pair parsing bug in all config tools.
|
||||
o Locally support sunbmc driver if bmc_intf.h header not found.
|
||||
o If Sunbmc driver is not supported, report "Device Not Supported"
|
||||
instead of "Internal Error".
|
||||
o Fix error output messages.
|
||||
o Fix Solaris install issue.
|
||||
o Other minor fixes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 30 07:26:00 UTC 2010 - kkaempf@novell.com
|
||||
|
||||
- update to 0.8.5
|
||||
- Support Inventec 5442/Dell Xanadu III OEM events.
|
||||
- Workaround Quanta S99Q/Dell FS12-TY Node Busy errors.
|
||||
- Fix some library error checks limiting bmc-config Bad Password
|
||||
Threshold configuration.
|
||||
- Fix some library macro names based on actual OEM names.
|
||||
- Fix documentation typos.
|
||||
|
||||
(update to 0.8.4)
|
||||
- Fix IPMI 2.0 sequence number wrap around corner case.
|
||||
- Fix ipmi-sensors --comma-separated-output corner case.
|
||||
- In ipmi-sensors, output multiple event strings w/ space
|
||||
delimiter in simple output.
|
||||
- In ipmi-oem, support Dell get-active-lom-status.
|
||||
- In ipmi-oem, support IBM get-led.
|
||||
- In ipmi-sel, fix possible --assume-system-event-records
|
||||
corner case.
|
||||
- Fix Posix portability issue w/ time functions.
|
||||
- Minor documentation updates.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 07:04:10 UTC 2010 - kkaempf@novell.com
|
||||
|
||||
- update to 0.8.3
|
||||
- fix buffer overflow (was: ipmi-messaging-support-cmds.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 14 13:17:47 UTC 2010 - kkaempf@novell.com
|
||||
|
||||
- adapt_to_suse_docdir.patch: Use /usr/share/doc/packages/$(name)
|
||||
- add_default_start.patch: Add 'Default-Start:' to init.d scripts
|
||||
- ipmi-messaging-support-cmds.patch: Fix buffer overflow
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 14 10:56:05 UTC 2010 - kkaempf@novell.com
|
||||
|
||||
- Update to 0.8.2
|
||||
|
458
freeipmi.spec
Normal file
458
freeipmi.spec
Normal file
@ -0,0 +1,458 @@
|
||||
#
|
||||
# Copyright (c) 2003-2008 FreeIPMI Core Team
|
||||
#
|
||||
|
||||
%define name freeipmi
|
||||
%define version 1.0.6
|
||||
%if %{?_with_debug:1}%{!?_with_debug:0}
|
||||
%define release 1.debug%{?dist}
|
||||
%else
|
||||
%define release 1%{?dist}
|
||||
%endif
|
||||
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
URL: http://www.gnu.org/software/freeipmi/
|
||||
Source: ftp://ftp.zresearch.com/pub/freeipmi/%{version}/%{name}-%{version}.tar.bz2
|
||||
Patch1: add_default_start.patch
|
||||
%if 0%{?suse_version}
|
||||
Patch2: adapt_to_suse_docdir.patch
|
||||
%endif
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: libgcrypt-devel texinfo
|
||||
Requires(post): info
|
||||
Requires(preun): info
|
||||
Obsoletes: freeipmi-ipmimonitoring
|
||||
# Necessary as only those archs implement iopl and friends (#368541)
|
||||
ExclusiveArch: %{ix86} x86_64 ia64 alpha
|
||||
Summary: FreeIPMI
|
||||
%description
|
||||
The FreeIPMI project provides "Remote-Console" (out-of-band) and
|
||||
"System Management Software" (in-band) based on Intelligent
|
||||
Platform Management Interface specification.
|
||||
|
||||
%package devel
|
||||
Summary: Development package for FreeIPMI
|
||||
Group: Development/System
|
||||
Requires: freeipmi = %{version}-%{release}
|
||||
%description devel
|
||||
Development package for FreeIPMI. This package includes the FreeIPMI
|
||||
header files and static libraries.
|
||||
|
||||
%package bmc-watchdog
|
||||
Summary: FreeIPMI BMC watchdog
|
||||
Group: Applications/System
|
||||
%if 0%{?suse_version}
|
||||
PreReq: %fillup_prereq
|
||||
%endif
|
||||
Requires: freeipmi = %{version}-%{release}
|
||||
%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel}
|
||||
Requires(post): chkconfig
|
||||
Requires(preun): chkconfig
|
||||
%endif
|
||||
Requires: logrotate
|
||||
%description bmc-watchdog
|
||||
Provides a watchdog daemon for OS monitoring and recovery.
|
||||
|
||||
%package ipmidetectd
|
||||
Summary: IPMI node detection monitoring daemon
|
||||
Group: Applications/System
|
||||
Requires: freeipmi = %{version}-%{release}
|
||||
%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel}
|
||||
Requires(post): chkconfig
|
||||
Requires(preun): chkconfig
|
||||
%endif
|
||||
%description ipmidetectd
|
||||
IPMI node detection daemon.
|
||||
|
||||
%if %{?_with_debug:1}%{!?_with_debug:0}
|
||||
%define _enable_debug --enable-debug --enable-trace
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p0
|
||||
%if 0%{?suse_version}
|
||||
%patch2 -p0
|
||||
%endif
|
||||
|
||||
%build
|
||||
aclocal -I config
|
||||
autoheader
|
||||
libtoolize --force --automake --copy
|
||||
automake --gnu --include-deps --copy --add-missing
|
||||
autoconf
|
||||
%configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \
|
||||
%{?_enable_debug} --disable-static
|
||||
CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT
|
||||
|
||||
%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel}
|
||||
# /etc/rc.d/init.d
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_initrddir}
|
||||
# 'make install' installs to /etc/init.d
|
||||
# /etc/init.d -> /etc/rc.d/init.d
|
||||
(cd $RPM_BUILD_ROOT/%{_sysconfdir}; ln -s rc.d/init.d init.d)
|
||||
%endif
|
||||
|
||||
DESTDIR="$RPM_BUILD_ROOT" make install
|
||||
|
||||
%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel}
|
||||
# remove /etc/init.d -> /etc/rc.d/init.d
|
||||
(cd $RPM_BUILD_ROOT/%{_sysconfdir}; rm init.d)
|
||||
%endif
|
||||
|
||||
# fix coherance problems with associated script filenames
|
||||
rm -f %{buildroot}%{_infodir}/dir
|
||||
# kludge to get around rpmlint complaining about 0 length semephore file
|
||||
echo freeipmi > %{buildroot}%{_localstatedir}/lib/freeipmi/ipckey
|
||||
# Remove .la files
|
||||
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
|
||||
%if 0%{?suse_version}
|
||||
mkdir -p %{buildroot}/var/adm/fillup-templates
|
||||
mv %{buildroot}%{_sysconfdir}/sysconfig/bmc-watchdog %{buildroot}/var/adm/fillup-templates/sysconfig.bmc-watchdog
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
if [ -x /sbin/install-info ]; then
|
||||
#/sbin/install-info %{_infodir}/freeipmi.info.gz %{_infodir}/dir
|
||||
/sbin/install-info %{_infodir}/freeipmi-faq.info.gz %{_infodir}/dir
|
||||
fi
|
||||
/sbin/ldconfig
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
if [ -x /sbin/install-info ]; then
|
||||
#/sbin/install-info --delete %{_infodir}/freeipmi.info.gz %{_infodir}/dir
|
||||
/sbin/install-info --delete %{_infodir}/freeipmi-faq.info.gz %{_infodir}/dir
|
||||
fi
|
||||
fi
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post bmc-watchdog
|
||||
%if 0%{?suse_version}
|
||||
%{fillup_only}
|
||||
%endif
|
||||
if [ "$1" = 1 ]; then
|
||||
if [ -x %{_initrddir}/bmc-watchdog ]; then
|
||||
/sbin/chkconfig --add bmc-watchdog
|
||||
/sbin/chkconfig bmc-watchdog off
|
||||
fi
|
||||
fi
|
||||
if [ $1 -ge 1 ]; then
|
||||
if [ -x %{_initrddir}/bmc-watchdog ]; then
|
||||
if %{_initrddir}/bmc-watchdog status | grep -q running; then
|
||||
%{_initrddir}/bmc-watchdog restart
|
||||
else
|
||||
%{_initrddir}/bmc-watchdog condrestart
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
%preun bmc-watchdog
|
||||
#
|
||||
# Stop bmc-watchdog if it is running
|
||||
#
|
||||
if [ "$1" = 0 ]; then
|
||||
if [ -x %{_initrddir}/bmc-watchdog ]; then
|
||||
if %{_initrddir}/bmc-watchdog status | grep -q running; then
|
||||
%{_initrddir}/bmc-watchdog stop
|
||||
fi
|
||||
/sbin/chkconfig --del bmc-watchdog
|
||||
fi
|
||||
fi
|
||||
|
||||
%post ipmidetectd
|
||||
if [ "$1" = 1 ]; then
|
||||
if [ -x %{_initrddir}/ipmidetectd ]; then
|
||||
/sbin/chkconfig --add ipmidetectd
|
||||
/sbin/chkconfig ipmidetectd off
|
||||
fi
|
||||
fi
|
||||
if [ $1 -ge 1 ]; then
|
||||
if [ -x %{_initrddir}/ipmidetectd ]; then
|
||||
if %{_initrddir}/ipmidetectd status | grep -q running; then
|
||||
%{_initrddir}/ipmidetectd restart
|
||||
else
|
||||
%{_initrddir}/ipmidetectd condrestart
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
%preun ipmidetectd
|
||||
#
|
||||
# Stop ipmidetectd if it is running
|
||||
#
|
||||
if [ "$1" = 0 ]; then
|
||||
if [ -x %{_initrddir}/ipmidetectd ]; then
|
||||
if %{_initrddir}/ipmidetectd status | grep -q running; then
|
||||
%{_initrddir}/ipmidetectd stop
|
||||
fi
|
||||
/sbin/chkconfig --del ipmidetectd
|
||||
fi
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
# %attr(0444,root,root) %config(noreplace) %{_sysconfdir}/ipmi_monitoring_sensors.conf
|
||||
%config(noreplace) %{_sysconfdir}/freeipmi/freeipmi.conf
|
||||
%dir %{_sysconfdir}/freeipmi
|
||||
%{_sysconfdir}/freeipmi/freeipmi_interpret_sel.conf
|
||||
%{_sysconfdir}/freeipmi/freeipmi_interpret_sensor.conf
|
||||
%{_sysconfdir}/freeipmi/ipmidetect.conf
|
||||
%{_sysconfdir}/freeipmi/libipmiconsole.conf
|
||||
%doc AUTHORS
|
||||
%doc COPYING
|
||||
%doc ChangeLog
|
||||
%doc ChangeLog.0
|
||||
%doc INSTALL
|
||||
%doc NEWS
|
||||
%doc README
|
||||
%doc TODO
|
||||
%doc %{_infodir}/*
|
||||
%doc COPYING.ipmiping
|
||||
%doc COPYING.ipmipower
|
||||
%doc COPYING.ipmiconsole
|
||||
%doc COPYING.ipmimonitoring
|
||||
%doc COPYING.pstdout
|
||||
%doc COPYING.ipmidetect
|
||||
%doc COPYING.ipmi-fru
|
||||
%doc COPYING.ZRESEARCH
|
||||
%doc DISCLAIMER.ipmiping
|
||||
%doc DISCLAIMER.ipmipower
|
||||
%doc DISCLAIMER.ipmiconsole
|
||||
%doc DISCLAIMER.ipmimonitoring
|
||||
%doc DISCLAIMER.pstdout
|
||||
%doc DISCLAIMER.ipmidetect
|
||||
%doc DISCLAIMER.ipmi-fru
|
||||
%doc DISCLAIMER.ipmiping.UC
|
||||
%doc DISCLAIMER.ipmipower.UC
|
||||
%doc DISCLAIMER.ipmiconsole.UC
|
||||
%doc DISCLAIMER.ipmimonitoring.UC
|
||||
%doc DISCLAIMER.pstdout.UC
|
||||
%doc DISCLAIMER.ipmidetect.UC
|
||||
%doc DISCLAIMER.ipmi-fru.UC
|
||||
%doc doc/freeipmi-coding.txt
|
||||
%doc doc/freeipmi-hostrange.txt
|
||||
%doc doc/freeipmi-libraries.txt
|
||||
%doc doc/freeipmi-bugs-issues-and-workarounds.txt
|
||||
#%dir %{_docdir}
|
||||
%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel}
|
||||
%{_docdir}
|
||||
%endif
|
||||
%{_libdir}/libipmiconsole*so.*
|
||||
%{_libdir}/libfreeipmi*so.*
|
||||
%{_libdir}/libipmidetect*so.*
|
||||
%{_libdir}/libipmimonitoring.so.*
|
||||
%{_localstatedir}/lib/*
|
||||
%{_sbindir}/bmc-config
|
||||
%{_sbindir}/bmc-info
|
||||
%{_sbindir}/bmc-device
|
||||
%{_sbindir}/ipmi-fru
|
||||
%{_sbindir}/ipmi-locate
|
||||
%{_sbindir}/ipmi-oem
|
||||
%{_sbindir}/ipmi-pef-config
|
||||
%{_sbindir}/pef-config
|
||||
%{_sbindir}/ipmi-raw
|
||||
%{_sbindir}/ipmi-sel
|
||||
%{_sbindir}/ipmi-sensors
|
||||
%{_sbindir}/ipmi-sensors-config
|
||||
%{_sbindir}/ipmiping
|
||||
%{_sbindir}/ipmipower
|
||||
%{_sbindir}/ipmiconsole
|
||||
%{_sbindir}/ipmimonitoring
|
||||
%{_sbindir}/ipmi-chassis
|
||||
%{_sbindir}/ipmi-chassis-config
|
||||
%{_sbindir}/ipmi-dcmi
|
||||
%{_sbindir}/ipmidetect
|
||||
%{_sbindir}/ipmi-console
|
||||
%{_sbindir}/ipmi-detect
|
||||
%{_sbindir}/ipmi-ping
|
||||
%{_sbindir}/ipmi-power
|
||||
%{_sbindir}/rmcp-ping
|
||||
%{_sbindir}/rmcpping
|
||||
%{_mandir}/man8/bmc-config.8*
|
||||
%{_mandir}/man5/bmc-config.conf.5*
|
||||
%{_mandir}/man8/bmc-info.8*
|
||||
%{_mandir}/man8/bmc-device.8*
|
||||
%{_mandir}/man8/ipmi-fru.8*
|
||||
%{_mandir}/man8/ipmi-locate.8*
|
||||
%{_mandir}/man8/ipmi-pef-config.8*
|
||||
%{_mandir}/man8/pef-config.8*
|
||||
%{_mandir}/man8/ipmi-oem.8*
|
||||
%{_mandir}/man8/ipmi-raw.8*
|
||||
%{_mandir}/man8/ipmi-sel.8*
|
||||
%{_mandir}/man8/ipmi-sensors.8*
|
||||
%{_mandir}/man8/ipmi-sensors-config.8*
|
||||
%{_mandir}/man8/ipmiping.8*
|
||||
%{_mandir}/man8/ipmipower.8*
|
||||
%{_mandir}/man5/ipmipower.conf.5*
|
||||
%{_mandir}/man8/ipmiconsole.8*
|
||||
%{_mandir}/man5/ipmiconsole.conf.5*
|
||||
%{_mandir}/man8/ipmimonitoring.8*
|
||||
%{_mandir}/man5/ipmi_monitoring_sensors.conf.5*
|
||||
%{_mandir}/man5/ipmimonitoring_sensors.conf.5*
|
||||
%{_mandir}/man5/ipmimonitoring.conf.5*
|
||||
%{_mandir}/man5/libipmimonitoring.conf.5*
|
||||
%{_mandir}/man8/ipmi-chassis.8*
|
||||
%{_mandir}/man8/ipmi-chassis-config.8*
|
||||
%{_mandir}/man8/ipmi-dcmi.8*
|
||||
%{_mandir}/man8/ipmidetect.8*
|
||||
%{_mandir}/man5/freeipmi.conf.5*
|
||||
%{_mandir}/man5/ipmidetect.conf.5*
|
||||
%{_mandir}/man7/freeipmi.7*
|
||||
%{_mandir}/man8/rmcp-ping.8*
|
||||
%{_mandir}/man8/rmcpping.8*
|
||||
%{_mandir}/man5/freeipmi_interpret_sel.conf.5*
|
||||
%{_mandir}/man5/freeipmi_interpret_sensor.conf.5*
|
||||
%{_mandir}/man5/libipmiconsole.conf.5*
|
||||
%{_mandir}/man8/ipmi-console.8*
|
||||
%{_mandir}/man8/ipmi-detect.8*
|
||||
%{_mandir}/man8/ipmi-ping.8*
|
||||
%{_mandir}/man8/ipmi-power.8*
|
||||
%dir %{_localstatedir}/cache/ipmimonitoringsdrcache
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libipmiconsole.so
|
||||
%{_libdir}/libfreeipmi.so
|
||||
%{_libdir}/libipmidetect.so
|
||||
%{_libdir}/libipmimonitoring.so
|
||||
%{_libdir}/pkgconfig/*
|
||||
%dir %{_includedir}/freeipmi
|
||||
%dir %{_includedir}/freeipmi/api
|
||||
%dir %{_includedir}/freeipmi/cmds
|
||||
%dir %{_includedir}/freeipmi/debug
|
||||
%dir %{_includedir}/freeipmi/driver
|
||||
%dir %{_includedir}/freeipmi/fiid
|
||||
%dir %{_includedir}/freeipmi/fru-parse
|
||||
%dir %{_includedir}/freeipmi/interface
|
||||
%dir %{_includedir}/freeipmi/interpret
|
||||
%dir %{_includedir}/freeipmi/locate
|
||||
%dir %{_includedir}/freeipmi/payload
|
||||
%dir %{_includedir}/freeipmi/record-format
|
||||
%dir %{_includedir}/freeipmi/sdr-cache
|
||||
%dir %{_includedir}/freeipmi/sdr-parse
|
||||
%dir %{_includedir}/freeipmi/sel-parse
|
||||
%dir %{_includedir}/freeipmi/sensor-read
|
||||
%dir %{_includedir}/freeipmi/spec
|
||||
%dir %{_includedir}/freeipmi/templates
|
||||
%dir %{_includedir}/freeipmi/util
|
||||
|
||||
%{_includedir}/ipmiconsole.h
|
||||
%{_includedir}/ipmidetect.h
|
||||
%{_includedir}/ipmi_monitoring.h
|
||||
%{_includedir}/ipmi_monitoring_bitmasks.h
|
||||
%{_includedir}/ipmi_monitoring_offsets.h
|
||||
%{_includedir}/freeipmi/*.h
|
||||
%{_includedir}/freeipmi/api/*.h
|
||||
%{_includedir}/freeipmi/cmds/*.h
|
||||
%{_includedir}/freeipmi/debug/*.h
|
||||
%{_includedir}/freeipmi/driver/*.h
|
||||
%{_includedir}/freeipmi/fiid/*.h
|
||||
%{_includedir}/freeipmi/fru-parse/*.h
|
||||
%{_includedir}/freeipmi/interface/*.h
|
||||
%{_includedir}/freeipmi/interpret/ipmi-interpret.h
|
||||
%{_includedir}/freeipmi/locate/*.h
|
||||
%{_includedir}/freeipmi/payload/ipmi-sol-payload.h
|
||||
%{_includedir}/freeipmi/record-format/*.h
|
||||
%{_includedir}/freeipmi/sdr-cache/*.h
|
||||
%{_includedir}/freeipmi/sdr-parse/*.h
|
||||
%{_includedir}/freeipmi/sel-parse/*.h
|
||||
%{_includedir}/freeipmi/sensor-read/*.h
|
||||
%{_includedir}/freeipmi/spec/*.h
|
||||
%{_includedir}/freeipmi/templates/*.h
|
||||
%{_includedir}/freeipmi/util/*.h
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%files bmc-watchdog
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING.bmc-watchdog
|
||||
%doc DISCLAIMER.bmc-watchdog
|
||||
%doc DISCLAIMER.bmc-watchdog.UC
|
||||
%config(noreplace) %{_initrddir}/bmc-watchdog
|
||||
%if 0%{?suse_version}
|
||||
%attr(0444,root,root) %config(noreplace) /var/adm/fillup-templates/sysconfig.bmc-watchdog
|
||||
%else
|
||||
%attr(0444,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/bmc-watchdog
|
||||
%endif
|
||||
%attr(0444,root,root) %config(noreplace) %{_sysconfdir}/logrotate.d/bmc-watchdog
|
||||
%{_sbindir}/bmc-watchdog
|
||||
%{_mandir}/man8/bmc-watchdog.8*
|
||||
%dir %{_localstatedir}/log/freeipmi
|
||||
|
||||
%files ipmidetectd
|
||||
%defattr(-,root,root)
|
||||
%config(noreplace) %{_initrddir}/ipmidetectd
|
||||
%attr(0444,root,root) %config(noreplace) %{_sysconfdir}/freeipmi/ipmidetectd.conf
|
||||
%{_sbindir}/ipmidetectd
|
||||
%{_mandir}/man5/ipmidetectd.conf.5*
|
||||
%{_mandir}/man8/ipmidetectd.8*
|
||||
|
||||
%changelog
|
||||
* Mon Apr 7 2008 Albert Chu <chu11@llnl.gov> 0.6.0
|
||||
- Add freeipmi.7 and libfreeipmi.3 manpage.
|
||||
|
||||
* Wed Apr 2 2008 Albert Chu <chu11@llnl.gov> 0.6.0
|
||||
- Add freeipmi-bugs-and-workarounds.txt.
|
||||
|
||||
* Tue Mar 27 2008 Albert Chu <chu11@llnl.gov> 0.6.0
|
||||
- Add ipmi-oem tool and manpage.
|
||||
|
||||
* Mon Feb 18 2008 Albert Chu <chu11@llnl.gov> 0.6.0
|
||||
- Add ipmi-sensors-config tool and manpage.
|
||||
|
||||
* Wed Jan 9 2008 Albert Chu <chu11@llnl.gov> 0.6.0
|
||||
- Obsolete old subpackage freeipmi-ipmimonitoring.
|
||||
|
||||
* Tue Dec 18 2007 Albert Chu <chu11@llnl.gov> 0.6.0
|
||||
- Use %{version} instead of 0.6.4 for substitution in paths.
|
||||
|
||||
* Fri Dec 14 2007 Albert Chu <chu11@llnl.gov> 0.6.0
|
||||
- Update packaging for libfreeipmi reorganization
|
||||
|
||||
* Wed Nov 19 2007 Albert Chu <chu11@llnl.gov> 0.5.0
|
||||
- Remove ipmimonitoring subpackage. Merge into head package.
|
||||
|
||||
* Wed Nov 19 2007 Phil Knirsch <pknirsch@redhat.com> 0.5.0
|
||||
- More fixes for Fedora Review:
|
||||
o Added ExclusiveArch due to missing lopl (#368541)
|
||||
- Several fixes due to Fedora package review:
|
||||
o Fixed Group for all subpackages
|
||||
o Added missng Requires(Post|Preun) for several packages
|
||||
o Removed static libraries and .la files
|
||||
o Fixed open bug (missing mode for O_CREATE)
|
||||
o Fixed incorrect options for bmc-watchdog daemon
|
||||
- Specfile cleanup for Fedora inclusion
|
||||
- Fixed several rpmlint warnings and errors:
|
||||
o Moved all devel libs to proper package
|
||||
|
||||
* Wed Aug 01 2007 Troy Telford <ttelford@lnxi.com> 0.4.0
|
||||
- Some package cleanup so it builds on SLES
|
||||
|
||||
* Wed Jun 13 2007 Phil Knirsch <pknirsch@redhat.com> 0.4.beta0-1
|
||||
- Some package cleanup and split of configuration and initscript
|
||||
|
||||
* Fri Feb 28 2007 Albert Chu <chu11@llnl.gov> 0.4.beta0-1
|
||||
- Add ipmidetectd subpackage.
|
||||
|
||||
* Fri Feb 16 2007 Albert Chu <chu11@llnl.gov> 0.4.beta0-1
|
||||
- Add ipmimonitoring subpackage.
|
||||
|
||||
* Sun Jul 30 2006 Albert Chu <chu11@llnl.gov> 0.3.beta0-1
|
||||
- Re-architect for 0.3.X
|
||||
|
||||
* Mon May 15 2006 Albert Chu <chu11@llnl.gov> 0.3.beta0-1
|
||||
- Fixed up spec file to pass rpmlint
|
Loading…
Reference in New Issue
Block a user