123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- Name: ipmitool
- Summary: Utility for IPMI control
- Summary(ja): IPMIコントロールユーティリティ
- Version: 1.8.18
- Release: 1%{?_dist_release}
- Group: System Environment/Base
- Vendor: Project Vine
- Distribution: Vine Linux
- License: BSD
- URL: https://github.com/ipmitool/ipmitool
- %global tagname IPMITOOL_%(echo %{version} | tr . _)
- Source0: https://github.com/ipmitool/ipmitool/releases/download/%{tagname}/%{name}-%{version}.tar.bz2
- Source1: openipmi-ipmievd.sysconf
- Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- BuildRequires: openssl-devel readline-devel ncurses-devel
- Requires(post): chkconfig
- Requires(preun): chkconfig
- Obsoletes: OpenIPMI-tools < 2.0.14-3
- Provides: OpenIPMI-tools = 2.0.14-3
- Patch1: 0001-CVE-2011-4339-OpenIPMI.patch
- # WARNING: THIS PATCH MUST BE USED FOR RAWHIDE (f26+) BRANCH
- Patch2: 0002-openssl.patch
- Patch3: 0003-ipmitool-1.8.11-set-kg-key.patch
- Patch4: 0004-slowswid.patch
- Patch5: 0005-sensor-id-length.patch
- Patch6: 0006-enable-usb.patch
- Patch7: 0007-check-input.patch
- Patch8: 0008-add-extern.patch
- Patch9: 0009-best-cipher.patch
- Patch10: 0010-pef-missing-newline.patch
- Patch11: 0011-expand-sensor-name-column.patch
- Patch12: 0012-CVE-2020-5208.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
- %autopatch -p1
- for f in AUTHORS ChangeLog; do
- iconv -f iso-8859-1 -t utf8 < ${f} > ${f}.utf8
- mv ${f}.utf8 ${f}
- done
- autoreconf -ivf
- %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
- rm -rf %{buildroot}
- make DESTDIR=%{buildroot} install
- install -Dpm 755 contrib/ipmievd.init.redhat %{buildroot}%{_initrddir}/ipmievd
- install -Dpm 644 %SOURCE1 %{buildroot}%{_sysconfdir}/sysconfig/ipmievd
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- /sbin/chkconfig --add ipmievd
- %preun
- if [ $1 = 0 ]; then
- service ipmievd stop >/dev/null 2>&1
- /sbin/chkconfig --del ipmievd
- fi
- %postun
- if [ "$1" -ge "1" ]; then
- service ipmievd condrestart >/dev/null 2>&1 || :
- fi
- %files
- %defattr(-,root,root)
- %config(noreplace) %{_sysconfdir}/sysconfig/ipmievd
- %{_initrddir}/ipmievd
- %{_bindir}/*
- %{_sbindir}/*
- %{_mandir}/man*/*
- %doc %{_datadir}/doc/ipmitool
- %{_datadir}/ipmitool
- %changelog
- * Sun Mar 22 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.8.18-1
- - new upstream release.
- - replaced all patches.
- * Sun Aug 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.11-2
- - rebuild with readline-6.3
- * Mon Jul 30 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.11-1
- - initial build for Vine Linux
- * Thu Aug 18 2011 Jan Safranek <jsafrane@redhat.com> - 1.8.11-11
- - fixed delloem powermonitor on bigendian systems (#731718)
- - fixed memory leak in Serial-over-Lan module (#731977)
- * Wed Aug 10 2011 Jan Safranek <jsafrane@redhat.com> - 1.8.11-10
- - added -Y option for ipmitool to hide Kg key from cmdline (#698647)
- - added 'channel setkg' command to set Kg encryption key on remote machine
- (#726390)
- * Thu Aug 4 2011 Jan Safranek <jsafrane@redhat.com> - 1.8.11-10
- - updated 'delloem setled' command to indicate SES status and drive
- activities for a PCI-e SSD (#727314)
- * Mon Jul 25 2011 Jan Safranek <jsafrane@redhat.com> - 1.8.11-9
- - rebuilt for RHEL 6.2 Fastrack
- * Thu Jul 14 2011 Jan Safranek <jsafrane@redhat.com> - 1.8.11-8
- - fixed 'ipmi sol' sending wrong packets due to miscalculation of SOL
- payload size (#675975)
- * Mon Feb 7 2011 Jan Safranek <jsafrane@redhat.com> - 1.8.11-7
- - added 'delloem' command for Dell-specific IPMI extensions (#631649, #63793)
- * Wed Jun 2 2010 Jan Safranek <jsafrane@redhat.com> - 1.8.11-6
- - Changed ipmievd to use /var/run/ipmievd.pid file by default (#596809)
- * Wed Mar 3 2010 Jan Safranek <jsafrane@redhat.com> - 1.8.11-5
- - Fixed exit code of ipmievd initscript with wrong arguments (#562186)
- * Fri Dec 11 2009 Dennis Gregorovic <dgregor@redhat.com> - 1.8.11-4.1
- - Rebuilt for RHEL 6
- * Mon Nov 2 2009 Jan Safranek <jsafrane@redhat.com> 1.8.11-4
- - fix ipmievd initscript 'condrestart' action (#532188)
- * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.8.11-3
- - rebuilt with new openssl
- * 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
- * Thu Feb 26 2009 Jan Safranek <jsafrane@redhat.com> 1.8.11-1
- - updated to new version
- * 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
- * Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> 1.8.10-3
- - rebuild with new openssl
- * 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
|