Name: ipmitool Summary: Utility for IPMI control Version: 1.8.12 Release: 3%{?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 BuildRequires: openssl-devel readline-devel ncurses-devel BuildRequires: systemd-units Requires(post): systemd-sysv Requires(post): systemd-units Requires(preun): systemd-units Requires(postun): systemd-units Obsoletes: OpenIPMI-tools < 2.0.14-3 Provides: OpenIPMI-tools = 2.0.14-3 Patch1: ipmitool-1.8.10-ipmievd-init.patch Patch2: ipmitool-1.8.10-ipmievd-condrestart.patch Patch3: ipmitool-1.8.11-remove-umask0.patch Patch4: ipmitool-1.8.11-systemd.patch # https://sourceforge.net/tracker/index.php?func=detail&aid=3564701&group_id=95200&atid=610550 Patch5: ipmitool-1.8.12-bigendian.patch %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. %prep %setup -q %patch1 -p1 -b .ipmievd-init %patch2 -p0 -b .condrestart %patch3 -p1 -b .umask %patch4 -p1 -b .systemd %patch5 -p1 -b .bigendian 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 install -Dpm 644 %{SOURCE2} %{buildroot}%{_unitdir}/ipmievd.service install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/ipmievd %post %systemd_post ipmievd.service %preun %systemd_preun ipmievd.service %postun %systemd_postun_with_restart ipmievd.service %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 || : %files %config(noreplace) %{_sysconfdir}/sysconfig/ipmievd %{_unitdir}/ipmievd.service %{_bindir}/* %{_sbindir}/* %{_mandir}/man*/* %doc %{_datadir}/doc/ipmitool %{_datadir}/ipmitool %changelog * Tue Sep 04 2012 Dan HorĂ¡k - 1.8.12-3 - fix build on big endian arches * Mon Aug 27 2012 Jan Safranek - 1.8.12-2 - Fixed starting ipmievd under systemd (#819234). - Updated RPM scriplets with latest systemd-rpm macros (#850161) * Fri Aug 10 2012 Jan Safranek - 1.8.12-1 - update to ipmitool-1.8.12 * Thu Jul 19 2012 Fedora Release Engineering - 1.8.11-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue May 22 2012 Jan Safranek - 1.8.11-11 - start ipmievd.service after ipmi (#819234) * Thu Apr 26 2012 Jan Safranek - 1.8.11-10 - fixed ipmievd.service systemd unit (#807757) * Fri Jan 13 2012 Fedora Release Engineering - 1.8.11-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 13 2011 Jan Safranek - 1.8.11-8 - fixed CVE-2011-4339 * Mon Sep 12 2011 Tom Callaway - 1.8.11-7 - convert to systemd * Wed Feb 09 2011 Fedora Release Engineering - 1.8.11-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Mar 3 2010 Jan Safranek - 1.8.11-5 - Fixed exit code of ipmievd initscript with wrong arguments * Mon Nov 2 2009 Jan Safranek 1.8.11-4 - fix ipmievd initscript 'condrestart' action (#532188) * Fri Aug 21 2009 Tomas Mraz - 1.8.11-3 - rebuilt with new openssl * Fri Jul 24 2009 Fedora Release Engineering - 1.8.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Jan Safranek 1.8.11-1 - updated to new version * Tue Feb 24 2009 Fedora Release Engineering - 1.8.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Jan 17 2009 Tomas Mraz 1.8.10-3 - rebuild with new openssl * Tue Oct 14 2008 Jan Safranek 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 1.8.10-1 - package created, based on upstream .spec file