|
|
|
@ -1,13 +1,18 @@
|
|
|
|
|
Name: ipmitool
|
|
|
|
|
Summary: Utility for IPMI control
|
|
|
|
|
Version: 1.8.12
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
License: BSD
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
URL: http://ipmitool.sourceforge.net/
|
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
|
Source1: openipmi-ipmievd.sysconf
|
|
|
|
|
Source2: ipmievd.service
|
|
|
|
|
Source3: exchange-bmc-os-info.service
|
|
|
|
|
Source4: exchange-bmc-os-info.sysconf
|
|
|
|
|
Source5: set-bmc-url.sh
|
|
|
|
|
Source6: exchange-bmc-os-info
|
|
|
|
|
|
|
|
|
|
BuildRequires: openssl-devel readline-devel ncurses-devel
|
|
|
|
|
BuildRequires: systemd-units
|
|
|
|
|
Requires(post): systemd-sysv
|
|
|
|
@ -27,6 +32,7 @@ Patch6: ipmitool-cvs-mc-sysinfo-dell.patch
|
|
|
|
|
# https://sourceforge.net/tracker/?func=detail&aid=3578022&group_id=95200&atid=610550
|
|
|
|
|
Patch7: ipmitool-1.8.12-bigendian2.patch
|
|
|
|
|
Patch8: ipmitool-1.8.12-ciper-suite-default.patch
|
|
|
|
|
Patch9: ipmitool-1.8.12-activate-core.patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package contains a utility for interfacing with devices that support
|
|
|
|
@ -43,6 +49,24 @@ 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
|
|
%setup -q
|
|
|
|
@ -54,6 +78,7 @@ setting LAN configuration, and chassis power control.
|
|
|
|
|
%patch6 -p1 -b .mcsysinfodell
|
|
|
|
|
%patch7 -p1 -b .bigendian2
|
|
|
|
|
%patch8 -p1 -b .cip
|
|
|
|
|
%patch9 -p1 -b .noactivate
|
|
|
|
|
|
|
|
|
|
for f in AUTHORS ChangeLog; do
|
|
|
|
|
iconv -f iso-8859-1 -t utf8 < ${f} > ${f}.utf8
|
|
|
|
@ -71,8 +96,14 @@ make %{?_smp_mflags}
|
|
|
|
|
%install
|
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install -Dpm 644 %{SOURCE2} %{buildroot}%{_unitdir}/ipmievd.service
|
|
|
|
|
install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/ipmievd
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
%systemd_post ipmievd.service
|
|
|
|
@ -83,6 +114,17 @@ install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/ipmievd
|
|
|
|
|
%postun
|
|
|
|
|
%systemd_postun_with_restart ipmievd.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
%systemd_postun_with_restart exchange-bmc-os-info.service
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%triggerun -- ipmievd < 1.8.11-7
|
|
|
|
|
# Save the current service runlevel info
|
|
|
|
|
# User must manually run systemd-sysv-convert --apply ipmievd
|
|
|
|
@ -103,7 +145,28 @@ install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/ipmievd
|
|
|
|
|
%{_datadir}/ipmitool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Dec 17 2012 Praveen K Paladugu <praveen_paladugu@dell.com> - 1.8.12-9
|
|
|
|
|
- Updated the exchange-bmc-os-info's service file with a Requires stmt
|
|
|
|
|
|
|
|
|
|
* Thu Dec 13 2012 Praveen K Paladugu <praveen_paladugu@dell.com> - 1.8.12-8
|
|
|
|
|
- Subpackage for exchange-bmc-os-info as it requires OPenIPMI
|
|
|
|
|
|
|
|
|
|
* Fri Nov 30 2012 Praveen K Paladugu <praveen_paladugu@dell.com> -1.8.12-7
|
|
|
|
|
- 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)
|
|
|
|
|
|
|
|
|
|
- failed sol session activation crashes while logging exit
|
|
|
|
|
- Fix for #835542
|
|
|
|
|
|
|
|
|
|
* Fri Nov 16 2012 Ales Ledvinka <aledvink@redhat.com> 1.8.12-6
|
|
|
|
|
- revert default cipersuite back to 3 which includes integrity and confidentiality
|
|
|
|
|
|
|
|
|
|