- update to upstream ipmiutil-2.8.5
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmiutil?expand=0&rev=18
This commit is contained in:
parent
84c6506ea4
commit
2f6202cb2f
3
ipmiutil-2.8.5.tar.gz
Normal file
3
ipmiutil-2.8.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6846e6621b9df23b1ed37662c075381dbb082f3e719803c9ef8784dd3154439c
|
||||
size 1615967
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 24 20:17:25 UTC 2012 - arcress@users.sourceforge.net
|
||||
|
||||
- update to upstream ipmiutil-2.8.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 26 13:30:25 UTC 2012 - arcress@users.sourceforge.net
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
Name: ipmiutil
|
||||
Version: 2.8.4
|
||||
Version: 2.8.5
|
||||
Release: 1%{?dist}
|
||||
Summary: Easy-to-use IPMI server management utilities
|
||||
License: BSD-3-Clause
|
||||
@ -27,7 +27,6 @@ Group: System/Management
|
||||
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Url: http://ipmiutil.sourceforge.net
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch0: oem_dell-void.patch
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%define req_systemd 1
|
||||
%endif
|
||||
@ -64,7 +63,6 @@ useful for building custom IPMI applications.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
@ -206,7 +204,9 @@ then
|
||||
fi
|
||||
# IPMI_IS_ENABLED, so enable services, but only if Red Hat
|
||||
if [ -f /etc/redhat-release ]; then
|
||||
if [ -x /sbin/chkconfig ]; then
|
||||
if [ -x /bin/systemctl ]; then
|
||||
touch ${scr_dir}/ipmi_port.service
|
||||
elif [ -x /sbin/chkconfig ]; then
|
||||
/sbin/chkconfig --add ipmi_port
|
||||
/sbin/chkconfig --add ipmiutil_wdt
|
||||
/sbin/chkconfig --add ipmiutil_asy
|
||||
@ -242,23 +242,13 @@ then
|
||||
/sbin/chkconfig --del ipmiutil_evt >/dev/null 2>&1
|
||||
fi
|
||||
if [ -x /bin/systemctl ]; then
|
||||
systemd_dir=%{_unitdir}
|
||||
if [ -f ${systemd_dir}/ipmiutil_evt.service ]; then
|
||||
if [ -f %{_unitdir}/ipmiutil_evt.service ]; then
|
||||
systemctl disable ipmi_port.service >/dev/null 2>&1 || :
|
||||
systemctl stop ipmiutil_evt.service >/dev/null 2>&1 || :
|
||||
systemctl stop ipmiutil_asy.service >/dev/null 2>&1 || :
|
||||
systemctl stop ipmiutil_wdt.service >/dev/null 2>&1 || :
|
||||
systemctl stop ipmi_port.service >/dev/null 2>&1 || :
|
||||
rm -f ${systemd_dir}/ipmiutil_evt.service
|
||||
rm -f ${systemd_dir}/ipmiutil_asy.service
|
||||
rm -f ${systemd_dir}/ipmiutil_wdt.service
|
||||
rm -f ${systemd_dir}/ipmi_port.service
|
||||
fi
|
||||
else
|
||||
rm -f %{init_dir}/ipmiutil_wdt 2>/dev/null
|
||||
rm -f %{init_dir}/ipmiutil_asy 2>/dev/null
|
||||
rm -f %{init_dir}/ipmiutil_evt 2>/dev/null
|
||||
rm -f %{init_dir}/ipmi_port 2>/dev/null
|
||||
fi
|
||||
%endif
|
||||
if [ -f %{_sysconfdir}/cron.daily/checksel ]; then
|
||||
@ -273,9 +263,19 @@ fi
|
||||
if [ -x /bin/systemctl ]; then
|
||||
systemctl daemon-reload || :
|
||||
if [ $1 -ge 1 ] ; then
|
||||
# Package upgrade, not uninstall
|
||||
systemctl try-restart ipmi_port.service || :
|
||||
# Package upgrade, not uninstall
|
||||
systemctl try-restart ipmi_port.service || :
|
||||
fi
|
||||
systemd_dir=%{_unitdir}
|
||||
rm -f ${systemd_dir}/ipmiutil_evt.service 2>/dev/null
|
||||
rm -f ${systemd_dir}/ipmiutil_asy.service 2>/dev/null
|
||||
rm -f ${systemd_dir}/ipmiutil_wdt.service 2>/dev/null
|
||||
rm -f ${systemd_dir}/ipmi_port.service 2>/dev/null
|
||||
else
|
||||
rm -f %{init_dir}/ipmiutil_wdt 2>/dev/null
|
||||
rm -f %{init_dir}/ipmiutil_asy 2>/dev/null
|
||||
rm -f %{init_dir}/ipmiutil_evt 2>/dev/null
|
||||
rm -f %{init_dir}/ipmi_port 2>/dev/null
|
||||
fi
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user