[6664] | 1 | Name: ipmitool |
---|
| 2 | Summary: Utility for IPMI control |
---|
| 3 | Summary(ja): IPMIコントロールユーティリティ |
---|
| 4 | Version: 1.8.11 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: BSD |
---|
| 7 | Group: System Environment/Base |
---|
| 8 | URL: http://ipmitool.sourceforge.net/ |
---|
| 9 | Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 |
---|
| 10 | Source1: openipmi-ipmievd.sysconf |
---|
| 11 | Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 12 | BuildRequires: openssl-devel readline-devel ncurses-devel |
---|
| 13 | Requires(post): chkconfig |
---|
| 14 | Requires(preun): chkconfig |
---|
| 15 | Obsoletes: OpenIPMI-tools < 2.0.14-3 |
---|
| 16 | Provides: OpenIPMI-tools = 2.0.14-3 |
---|
| 17 | |
---|
| 18 | Patch1: ipmitool-1.8.10-ipmievd-init.patch |
---|
| 19 | Patch2: ipmitool-1.8.10-ipmievd-condrestart.patch |
---|
| 20 | Patch3: ipmitool-1.8.11-ipmieved-pidfile.patch |
---|
| 21 | Patch4: ipmitool-1.8.11-dell-oem.patch |
---|
| 22 | Patch5: ipmitool-1.8.11-dell-setled.patch |
---|
| 23 | Patch6: ipmitool-1.8.10-k-option.patch |
---|
| 24 | Patch7: ipmitool-1.8.11-set-kg-key.patch |
---|
| 25 | Patch8: ipmitool-1.8.11-set-kg-key2.patch |
---|
| 26 | Patch9: ipmitool-1.8.11-sol-payload-size.patch |
---|
| 27 | Patch10: ipmitool-1.8.11-dell-setled-updates.patch |
---|
| 28 | Patch11: ipmitool-1.8.11-dell-big-endian.patch |
---|
| 29 | Patch12: ipmitool-1.8.11-sol-leak.patch |
---|
| 30 | |
---|
| 31 | %description |
---|
| 32 | This package contains a utility for interfacing with devices that support |
---|
| 33 | the Intelligent Platform Management Interface specification. IPMI is |
---|
| 34 | an open standard for machine health, inventory, and remote power control. |
---|
| 35 | |
---|
| 36 | This utility can communicate with IPMI-enabled devices through either a |
---|
| 37 | kernel driver such as OpenIPMI or over the RMCP LAN protocol defined in |
---|
| 38 | the IPMI specification. IPMIv2 adds support for encrypted LAN |
---|
| 39 | communications and remote Serial-over-LAN functionality. |
---|
| 40 | |
---|
| 41 | It provides commands for reading the Sensor Data Repository (SDR) and |
---|
| 42 | displaying sensor values, displaying the contents of the System Event |
---|
| 43 | Log (SEL), printing Field Replaceable Unit (FRU) information, reading and |
---|
| 44 | setting LAN configuration, and chassis power control. |
---|
| 45 | |
---|
| 46 | %prep |
---|
| 47 | |
---|
| 48 | %setup -q |
---|
| 49 | %patch1 -p1 -b .ipmievd-init |
---|
| 50 | %patch2 -p0 -b .condrestart |
---|
| 51 | %patch3 -p1 -b .ipmievd-pidfile |
---|
| 52 | %patch4 -p1 -b .delloem |
---|
| 53 | %patch5 -p1 -b .setled |
---|
| 54 | %patch6 -p1 -b .k-option |
---|
| 55 | %patch7 -p1 -b .set-kg |
---|
| 56 | %patch8 -p1 -b .set-kg2 |
---|
| 57 | %patch9 -p1 -b .sol-payload-size |
---|
| 58 | %patch10 -p1 -b .setled-updates |
---|
| 59 | %patch11 -p1 -b .fixes |
---|
| 60 | %patch12 -p1 -b .sol-leak |
---|
| 61 | |
---|
| 62 | for f in AUTHORS ChangeLog; do |
---|
| 63 | iconv -f iso-8859-1 -t utf8 < ${f} > ${f}.utf8 |
---|
| 64 | mv ${f}.utf8 ${f} |
---|
| 65 | done |
---|
| 66 | |
---|
| 67 | %build |
---|
| 68 | # --disable-dependency-tracking speeds up the build |
---|
| 69 | # --enable-file-security adds some security checks |
---|
| 70 | # --disable-intf-free disables FreeIPMI support - we don't want to depend on |
---|
| 71 | # FreeIPMI libraries, FreeIPMI has its own ipmitoool-like utility. |
---|
| 72 | %configure --disable-dependency-tracking --enable-file-security --disable-intf-free |
---|
| 73 | make %{?_smp_mflags} |
---|
| 74 | |
---|
| 75 | %install |
---|
| 76 | rm -rf %{buildroot} |
---|
| 77 | make DESTDIR=%{buildroot} install |
---|
| 78 | |
---|
| 79 | install -Dpm 755 contrib/ipmievd.init.redhat %{buildroot}%{_initrddir}/ipmievd |
---|
| 80 | install -Dpm 644 %SOURCE1 %{buildroot}%{_sysconfdir}/sysconfig/ipmievd |
---|
| 81 | |
---|
| 82 | %clean |
---|
| 83 | rm -rf $RPM_BUILD_ROOT |
---|
| 84 | |
---|
| 85 | %post |
---|
| 86 | /sbin/chkconfig --add ipmievd |
---|
| 87 | |
---|
| 88 | %preun |
---|
| 89 | if [ $1 = 0 ]; then |
---|
| 90 | service ipmievd stop >/dev/null 2>&1 |
---|
| 91 | /sbin/chkconfig --del ipmievd |
---|
| 92 | fi |
---|
| 93 | |
---|
| 94 | %postun |
---|
| 95 | if [ "$1" -ge "1" ]; then |
---|
| 96 | service ipmievd condrestart >/dev/null 2>&1 || : |
---|
| 97 | fi |
---|
| 98 | |
---|
| 99 | %files |
---|
| 100 | %defattr(-,root,root) |
---|
| 101 | %config(noreplace) %{_sysconfdir}/sysconfig/ipmievd |
---|
| 102 | %{_initrddir}/ipmievd |
---|
| 103 | %{_bindir}/* |
---|
| 104 | %{_sbindir}/* |
---|
| 105 | %{_mandir}/man*/* |
---|
| 106 | %doc %{_datadir}/doc/ipmitool |
---|
| 107 | %{_datadir}/ipmitool |
---|
| 108 | |
---|
| 109 | |
---|
| 110 | %changelog |
---|
| 111 | * Mon Jul 30 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.11-1 |
---|
| 112 | - initial build for Vine Linux |
---|
| 113 | |
---|
| 114 | * Thu Aug 18 2011 Jan Safranek <jsafrane@redhat.com> - 1.8.11-11 |
---|
| 115 | - fixed delloem powermonitor on bigendian systems (#731718) |
---|
| 116 | - fixed memory leak in Serial-over-Lan module (#731977) |
---|
| 117 | |
---|
| 118 | * Wed Aug 10 2011 Jan Safranek <jsafrane@redhat.com> - 1.8.11-10 |
---|
| 119 | - added -Y option for ipmitool to hide Kg key from cmdline (#698647) |
---|
| 120 | - added 'channel setkg' command to set Kg encryption key on remote machine |
---|
| 121 | (#726390) |
---|
| 122 | |
---|
| 123 | * Thu Aug 4 2011 Jan Safranek <jsafrane@redhat.com> - 1.8.11-10 |
---|
| 124 | - updated 'delloem setled' command to indicate SES status and drive |
---|
| 125 | activities for a PCI-e SSD (#727314) |
---|
| 126 | |
---|
| 127 | * Mon Jul 25 2011 Jan Safranek <jsafrane@redhat.com> - 1.8.11-9 |
---|
| 128 | - rebuilt for RHEL 6.2 Fastrack |
---|
| 129 | |
---|
| 130 | * Thu Jul 14 2011 Jan Safranek <jsafrane@redhat.com> - 1.8.11-8 |
---|
| 131 | - fixed 'ipmi sol' sending wrong packets due to miscalculation of SOL |
---|
| 132 | payload size (#675975) |
---|
| 133 | |
---|
| 134 | * Mon Feb 7 2011 Jan Safranek <jsafrane@redhat.com> - 1.8.11-7 |
---|
| 135 | - added 'delloem' command for Dell-specific IPMI extensions (#631649, #63793) |
---|
| 136 | |
---|
| 137 | * Wed Jun 2 2010 Jan Safranek <jsafrane@redhat.com> - 1.8.11-6 |
---|
| 138 | - Changed ipmievd to use /var/run/ipmievd.pid file by default (#596809) |
---|
| 139 | |
---|
| 140 | * Wed Mar 3 2010 Jan Safranek <jsafrane@redhat.com> - 1.8.11-5 |
---|
| 141 | - Fixed exit code of ipmievd initscript with wrong arguments (#562186) |
---|
| 142 | |
---|
| 143 | * Fri Dec 11 2009 Dennis Gregorovic <dgregor@redhat.com> - 1.8.11-4.1 |
---|
| 144 | - Rebuilt for RHEL 6 |
---|
| 145 | |
---|
| 146 | * Mon Nov 2 2009 Jan Safranek <jsafrane@redhat.com> 1.8.11-4 |
---|
| 147 | - fix ipmievd initscript 'condrestart' action (#532188) |
---|
| 148 | |
---|
| 149 | * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.8.11-3 |
---|
| 150 | - rebuilt with new openssl |
---|
| 151 | |
---|
| 152 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.11-2 |
---|
| 153 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 154 | |
---|
| 155 | * Thu Feb 26 2009 Jan Safranek <jsafrane@redhat.com> 1.8.11-1 |
---|
| 156 | - updated to new version |
---|
| 157 | |
---|
| 158 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.10-4 |
---|
| 159 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 160 | |
---|
| 161 | * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> 1.8.10-3 |
---|
| 162 | - rebuild with new openssl |
---|
| 163 | |
---|
| 164 | * Tue Oct 14 2008 Jan Safranek <jsafrane@redhat.com> 1.8.10-2 |
---|
| 165 | - fix issues found during package review: |
---|
| 166 | - clear Default-Start: line in the init script, the service should be |
---|
| 167 | disabled by default |
---|
| 168 | - added Obsoletes: OpenIPMI-tools |
---|
| 169 | - compile with --disable-dependency-tracking to speed things up |
---|
| 170 | - compile with --enable-file-security |
---|
| 171 | - compile with --disable-intf-free, don't depend on FreeIPMI libraries |
---|
| 172 | (FreeIPMI has its own ipmitool-like utility) |
---|
| 173 | |
---|
| 174 | * Mon Oct 13 2008 Jan Safranek <jsafrane@redhat.com> 1.8.10-1 |
---|
| 175 | - package created, based on upstream .spec file |
---|