2008-10-17 10:26:34 +00:00
|
|
|
Name: ipmitool
|
|
|
|
Summary: Utility for IPMI control
|
2012-08-10 07:52:09 +00:00
|
|
|
Version: 1.8.12
|
2012-12-13 21:33:51 +00:00
|
|
|
Release: 11%{?dist}
|
2008-10-17 10:26:34 +00:00
|
|
|
License: BSD
|
|
|
|
Group: System Environment/Base
|
|
|
|
URL: http://ipmitool.sourceforge.net/
|
2009-02-26 08:54:24 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
2008-10-17 10:26:34 +00:00
|
|
|
Source1: openipmi-ipmievd.sysconf
|
2011-09-12 13:19:34 +00:00
|
|
|
Source2: ipmievd.service
|
2012-11-30 16:51:27 +00:00
|
|
|
Source3: exchange-bmc-os-info.service
|
|
|
|
Source4: exchange-bmc-os-info.sysconf
|
|
|
|
Source5: set-bmc-url.sh
|
|
|
|
Source6: exchange-bmc-os-info
|
|
|
|
|
2008-10-17 10:26:34 +00:00
|
|
|
BuildRequires: openssl-devel readline-devel ncurses-devel
|
2011-09-12 13:19:34 +00:00
|
|
|
BuildRequires: systemd-units
|
|
|
|
Requires(post): systemd-sysv
|
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
2008-10-17 10:26:34 +00:00
|
|
|
Obsoletes: OpenIPMI-tools < 2.0.14-3
|
|
|
|
Provides: OpenIPMI-tools = 2.0.14-3
|
|
|
|
|
|
|
|
Patch1: ipmitool-1.8.10-ipmievd-init.patch
|
2009-11-02 12:53:16 +00:00
|
|
|
Patch2: ipmitool-1.8.10-ipmievd-condrestart.patch
|
2011-12-13 12:54:58 +00:00
|
|
|
Patch3: ipmitool-1.8.11-remove-umask0.patch
|
2012-08-27 11:14:34 +00:00
|
|
|
Patch4: ipmitool-1.8.11-systemd.patch
|
2012-10-18 07:57:02 +00:00
|
|
|
# https://sourceforge.net/tracker/?func=detail&aid=3564701&group_id=95200&atid=610550
|
2012-09-04 14:15:51 +00:00
|
|
|
Patch5: ipmitool-1.8.12-bigendian.patch
|
2012-10-17 14:09:19 +00:00
|
|
|
Patch6: ipmitool-cvs-mc-sysinfo-dell.patch
|
2012-10-18 07:57:02 +00:00
|
|
|
# https://sourceforge.net/tracker/?func=detail&aid=3578022&group_id=95200&atid=610550
|
|
|
|
Patch7: ipmitool-1.8.12-bigendian2.patch
|
2012-12-04 13:36:20 +00:00
|
|
|
# http://sourceforge.net/tracker/?func=detail&aid=3588727&group_id=95200&atid=610550
|
2012-11-16 13:15:15 +00:00
|
|
|
Patch8: ipmitool-1.8.12-ciper-suite-default.patch
|
2012-12-04 13:36:20 +00:00
|
|
|
# http://sourceforge.net/tracker/?func=detail&aid=3588726&group_id=95200&atid=610550
|
2012-11-20 12:59:11 +00:00
|
|
|
Patch9: ipmitool-1.8.12-activate-core.patch
|
2012-12-04 13:36:20 +00:00
|
|
|
# todo
|
|
|
|
Patch10: ipmitool-1.8.12f-toolman.patch
|
2012-12-12 01:33:58 +00:00
|
|
|
# todo
|
|
|
|
Patch11: ipmitool-1.8.12f-manoverr.patch
|
2008-10-17 10:26:34 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a utility for interfacing with devices that support
|
|
|
|
the Intelligent Platform Management Interface specification. IPMI is
|
|
|
|
an open standard for machine health, inventory, and remote power control.
|
|
|
|
|
|
|
|
This utility can communicate with IPMI-enabled devices through either a
|
|
|
|
kernel driver such as OpenIPMI or over the RMCP LAN protocol defined in
|
|
|
|
the IPMI specification. IPMIv2 adds support for encrypted LAN
|
|
|
|
communications and remote Serial-over-LAN functionality.
|
|
|
|
|
|
|
|
It provides commands for reading the Sensor Data Repository (SDR) and
|
|
|
|
displaying sensor values, displaying the contents of the System Event
|
|
|
|
Log (SEL), printing Field Replaceable Unit (FRU) information, reading and
|
|
|
|
setting LAN configuration, and chassis power control.
|
|
|
|
|
2012-12-13 21:33:51 +00:00
|
|
|
%package -n exchange-bmc-os-info
|
|
|
|
Requires: hostname
|
|
|
|
Requires: ipmitool OpenIPMI
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires(post): systemd-sysv
|
|
|
|
Requires(post): systemd-units
|
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
|
|
|
|
Summary: Let OS and BMC exchange info
|
|
|
|
|
|
|
|
%description -n exchange-bmc-os-info
|
|
|
|
Given a host with BMC, this package would pass the hostname &
|
|
|
|
OS information to the BMC and also capture the BMC ip info
|
|
|
|
for the host OS to use.
|
|
|
|
|
|
|
|
|
2008-10-17 10:26:34 +00:00
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup -q
|
|
|
|
%patch1 -p1 -b .ipmievd-init
|
2009-11-02 12:53:16 +00:00
|
|
|
%patch2 -p0 -b .condrestart
|
2011-12-13 12:54:58 +00:00
|
|
|
%patch3 -p1 -b .umask
|
2012-08-27 11:14:34 +00:00
|
|
|
%patch4 -p1 -b .systemd
|
2012-09-04 14:15:51 +00:00
|
|
|
%patch5 -p1 -b .bigendian
|
2012-10-17 14:09:19 +00:00
|
|
|
%patch6 -p1 -b .mcsysinfodell
|
2012-10-18 07:57:02 +00:00
|
|
|
%patch7 -p1 -b .bigendian2
|
2012-11-16 13:15:15 +00:00
|
|
|
%patch8 -p1 -b .cip
|
2012-11-20 12:59:11 +00:00
|
|
|
%patch9 -p1 -b .noactivate
|
2012-12-04 13:36:20 +00:00
|
|
|
%patch10 -p1 -b .toolman
|
2012-12-12 01:33:58 +00:00
|
|
|
%patch11 -p0 -b .manoverr
|
2008-10-17 10:26:34 +00:00
|
|
|
|
|
|
|
for f in AUTHORS ChangeLog; do
|
|
|
|
iconv -f iso-8859-1 -t utf8 < ${f} > ${f}.utf8
|
|
|
|
mv ${f}.utf8 ${f}
|
|
|
|
done
|
|
|
|
|
|
|
|
%build
|
|
|
|
# --disable-dependency-tracking speeds up the build
|
|
|
|
# --enable-file-security adds some security checks
|
|
|
|
# --disable-intf-free disables FreeIPMI support - we don't want to depend on
|
|
|
|
# FreeIPMI libraries, FreeIPMI has its own ipmitoool-like utility.
|
|
|
|
%configure --disable-dependency-tracking --enable-file-security --disable-intf-free
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
2012-11-30 16:51:27 +00:00
|
|
|
#mkdir -p %{buildroot}%{_sysconfdir}/profile.d
|
|
|
|
|
2011-09-12 13:37:25 +00:00
|
|
|
install -Dpm 644 %{SOURCE2} %{buildroot}%{_unitdir}/ipmievd.service
|
|
|
|
install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/ipmievd
|
2012-11-30 16:51:27 +00:00
|
|
|
install -Dm 644 %{SOURCE3} %{buildroot}%{_unitdir}/exchange-bmc-os-info.service
|
|
|
|
install -Dm 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/exchange-bmc-os-info
|
|
|
|
install -Dm 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/profile.d/set-bmc-url.sh
|
|
|
|
install -Dm 755 %{SOURCE6} %{buildroot}%{_libexecdir}/exchange-bmc-os-info
|
|
|
|
|
2008-10-17 10:26:34 +00:00
|
|
|
|
|
|
|
%post
|
2012-08-27 11:18:46 +00:00
|
|
|
%systemd_post ipmievd.service
|
2008-10-17 10:26:34 +00:00
|
|
|
|
|
|
|
%preun
|
2012-08-27 11:18:46 +00:00
|
|
|
%systemd_preun ipmievd.service
|
2008-10-17 10:26:34 +00:00
|
|
|
|
|
|
|
%postun
|
2012-08-27 11:18:46 +00:00
|
|
|
%systemd_postun_with_restart ipmievd.service
|
2012-12-13 21:33:51 +00:00
|
|
|
|
|
|
|
%post -n exchange-bmc-os-info
|
|
|
|
%systemd_post exchange-bmc-os-info.service
|
|
|
|
|
|
|
|
%preun -n exchange-bmc-os-info
|
|
|
|
%systemd_preun exchange-bmc-os-info.service
|
|
|
|
|
|
|
|
%postun -n exchange-bmc-os-info
|
2012-11-30 16:51:27 +00:00
|
|
|
%systemd_postun_with_restart exchange-bmc-os-info.service
|
2008-10-17 10:26:34 +00:00
|
|
|
|
2012-12-13 21:33:51 +00:00
|
|
|
|
2011-09-12 13:19:34 +00:00
|
|
|
%triggerun -- ipmievd < 1.8.11-7
|
|
|
|
# Save the current service runlevel info
|
|
|
|
# User must manually run systemd-sysv-convert --apply ipmievd
|
|
|
|
# to migrate them to systemd targets
|
|
|
|
/usr/bin/systemd-sysv-convert --save ipmievd >/dev/null 2>&1 ||:
|
|
|
|
|
|
|
|
# Run these because the SysV package being removed won't do them
|
|
|
|
/sbin/chkconfig --del ipmievd >/dev/null 2>&1 || :
|
|
|
|
/bin/systemctl try-restart ipmievd.service >/dev/null 2>&1 || :
|
|
|
|
|
2008-10-17 10:26:34 +00:00
|
|
|
%files
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/ipmievd
|
2011-09-12 13:19:34 +00:00
|
|
|
%{_unitdir}/ipmievd.service
|
2008-10-17 10:26:34 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_sbindir}/*
|
|
|
|
%{_mandir}/man*/*
|
|
|
|
%doc %{_datadir}/doc/ipmitool
|
|
|
|
%{_datadir}/ipmitool
|
|
|
|
|
2012-12-13 21:33:51 +00:00
|
|
|
%files -n exchange-bmc-os-info
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/exchange-bmc-os-info
|
|
|
|
%{_sysconfdir}/profile.d/set-bmc-url.sh
|
|
|
|
%{_unitdir}/exchange-bmc-os-info.service
|
|
|
|
%{_libexecdir}/exchange-bmc-os-info
|
|
|
|
|
2008-10-17 10:26:34 +00:00
|
|
|
|
|
|
|
%changelog
|
2012-12-13 21:33:51 +00:00
|
|
|
* Thu Dec 13 2012 Praveen K Paladugu <praveen_paladugu@dell.com> - 1.8.12-11
|
|
|
|
- Subpackage for exchange-bmc-os-info as it requires OPenIPMI
|
|
|
|
|
2012-12-12 01:33:58 +00:00
|
|
|
* Wed Dec 12 2012 Ales Ledvinka <aledvink@redhat.com> 1.8.12-10
|
|
|
|
- documented fixed and conditional defaults. adjusted synopsis
|
|
|
|
|
2012-12-04 13:36:20 +00:00
|
|
|
* Tue Dec 4 2012 Ales Ledvinka <aledvink@redhat.com> 1.8.12-9
|
|
|
|
- fixed ipmitool documentation
|
|
|
|
|
|
|
|
* Fri Nov 30 2012 Praveen K Paladugu <praveen_paladugu@dell.com> 1.8.12-8
|
2012-11-30 16:51:27 +00:00
|
|
|
- service & scripts to allow OS to capture BMC's IP & URL info
|
|
|
|
- Also pass the OS information to BMC
|
|
|
|
- patches submitted by Charles Rose (charles_rose[at]dell.com)
|
|
|
|
|
2012-11-20 12:59:11 +00:00
|
|
|
* Fri Nov 16 2012 Ales Ledvinka <aledvink@redhat.com> 1.8.12-7
|
|
|
|
- failed sol session activation crashes while logging exit
|
|
|
|
|
2012-11-16 13:15:15 +00:00
|
|
|
* Fri Nov 16 2012 Ales Ledvinka <aledvink@redhat.com> 1.8.12-6
|
|
|
|
- revert default cipersuite back to 3 which includes integrity and confidentiality
|
|
|
|
|
2012-10-18 07:57:02 +00:00
|
|
|
* Thu Oct 18 2012 Dan Horák <dan[at]danny.cz> - 1.8.12-5
|
|
|
|
- fix build on big endian arches
|
|
|
|
|
2012-10-17 14:09:19 +00:00
|
|
|
* Wed Oct 17 2012 Ales Ledvinka <aledvink@redhat.cz> 1.8.12-4
|
|
|
|
- support setting OS name and Hostname on BMC
|
|
|
|
|
2012-09-04 14:15:51 +00:00
|
|
|
* Tue Sep 04 2012 Dan Horák <dan[at]danny.cz> - 1.8.12-3
|
|
|
|
- fix build on big endian arches
|
|
|
|
|
2012-08-27 11:14:34 +00:00
|
|
|
* Mon Aug 27 2012 Jan Safranek <jsafrane@redhat.com> - 1.8.12-2
|
|
|
|
- Fixed starting ipmievd under systemd (#819234).
|
2012-08-27 11:18:46 +00:00
|
|
|
- Updated RPM scriplets with latest systemd-rpm macros (#850161)
|
2012-08-27 11:14:34 +00:00
|
|
|
|
2012-08-10 07:52:09 +00:00
|
|
|
* Fri Aug 10 2012 Jan Safranek <jsafrane@redhat.com> - 1.8.12-1
|
|
|
|
- update to ipmitool-1.8.12
|
|
|
|
|
2012-07-19 15:01:14 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.11-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-22 14:23:17 +00:00
|
|
|
* Tue May 22 2012 Jan Safranek <jsafrane@redhat.com> - 1.8.11-11
|
|
|
|
- start ipmievd.service after ipmi (#819234)
|
|
|
|
|
2012-04-26 10:17:39 +00:00
|
|
|
* Thu Apr 26 2012 Jan Safranek <jsafrane@redhat.com> - 1.8.11-10
|
2012-04-26 10:16:48 +00:00
|
|
|
- fixed ipmievd.service systemd unit (#807757)
|
|
|
|
|
2012-01-13 05:57:35 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.11-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-12-13 12:54:58 +00:00
|
|
|
* Tue Dec 13 2011 Jan Safranek <jsafrane@redhat.com> - 1.8.11-8
|
|
|
|
- fixed CVE-2011-4339
|
|
|
|
|
2011-09-12 13:19:34 +00:00
|
|
|
* Mon Sep 12 2011 Tom Callaway <spot@fedoraproject.org> - 1.8.11-7
|
|
|
|
- convert to systemd
|
|
|
|
|
2011-02-09 12:57:24 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.11-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-03-03 14:00:16 +00:00
|
|
|
* Wed Mar 3 2010 Jan Safranek <jsafrane@redhat.com> - 1.8.11-5
|
|
|
|
- Fixed exit code of ipmievd initscript with wrong arguments
|
|
|
|
|
2009-11-02 12:53:16 +00:00
|
|
|
* Mon Nov 2 2009 Jan Safranek <jsafrane@redhat.com> 1.8.11-4
|
|
|
|
- fix ipmievd initscript 'condrestart' action (#532188)
|
|
|
|
|
2009-08-21 13:58:22 +00:00
|
|
|
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.8.11-3
|
|
|
|
- rebuilt with new openssl
|
|
|
|
|
2009-07-25 03:31:23 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.11-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 08:54:24 +00:00
|
|
|
* Thu Feb 26 2009 Jan Safranek <jsafrane@redhat.com> 1.8.11-1
|
|
|
|
- updated to new version
|
|
|
|
|
2009-02-25 07:43:00 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.10-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-01-17 12:06:40 +00:00
|
|
|
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> 1.8.10-3
|
|
|
|
- rebuild with new openssl
|
|
|
|
|
2008-10-17 10:26:34 +00:00
|
|
|
* Tue Oct 14 2008 Jan Safranek <jsafrane@redhat.com> 1.8.10-2
|
|
|
|
- fix issues found during package review:
|
|
|
|
- clear Default-Start: line in the init script, the service should be
|
|
|
|
disabled by default
|
|
|
|
- added Obsoletes: OpenIPMI-tools
|
|
|
|
- compile with --disable-dependency-tracking to speed things up
|
|
|
|
- compile with --enable-file-security
|
|
|
|
- compile with --disable-intf-free, don't depend on FreeIPMI libraries
|
|
|
|
(FreeIPMI has its own ipmitool-like utility)
|
|
|
|
|
|
|
|
* Mon Oct 13 2008 Jan Safranek <jsafrane@redhat.com> 1.8.10-1
|
|
|
|
- package created, based on upstream .spec file
|