forked from pool/ipmiutil
- 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
|
Tue Jun 26 13:30:25 UTC 2012 - arcress@users.sourceforge.net
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ipmiutil
|
Name: ipmiutil
|
||||||
Version: 2.8.4
|
Version: 2.8.5
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Easy-to-use IPMI server management utilities
|
Summary: Easy-to-use IPMI server management utilities
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -27,7 +27,6 @@ Group: System/Management
|
|||||||
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||||
Url: http://ipmiutil.sourceforge.net
|
Url: http://ipmiutil.sourceforge.net
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Patch0: oem_dell-void.patch
|
|
||||||
%if 0%{?suse_version} >= 1210
|
%if 0%{?suse_version} >= 1210
|
||||||
%define req_systemd 1
|
%define req_systemd 1
|
||||||
%endif
|
%endif
|
||||||
@ -64,7 +63,6 @@ useful for building custom IPMI applications.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
@ -206,7 +204,9 @@ then
|
|||||||
fi
|
fi
|
||||||
# IPMI_IS_ENABLED, so enable services, but only if Red Hat
|
# IPMI_IS_ENABLED, so enable services, but only if Red Hat
|
||||||
if [ -f /etc/redhat-release ]; then
|
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 ipmi_port
|
||||||
/sbin/chkconfig --add ipmiutil_wdt
|
/sbin/chkconfig --add ipmiutil_wdt
|
||||||
/sbin/chkconfig --add ipmiutil_asy
|
/sbin/chkconfig --add ipmiutil_asy
|
||||||
@ -242,23 +242,13 @@ then
|
|||||||
/sbin/chkconfig --del ipmiutil_evt >/dev/null 2>&1
|
/sbin/chkconfig --del ipmiutil_evt >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
if [ -x /bin/systemctl ]; then
|
if [ -x /bin/systemctl ]; then
|
||||||
systemd_dir=%{_unitdir}
|
if [ -f %{_unitdir}/ipmiutil_evt.service ]; then
|
||||||
if [ -f ${systemd_dir}/ipmiutil_evt.service ]; then
|
|
||||||
systemctl disable ipmi_port.service >/dev/null 2>&1 || :
|
systemctl disable ipmi_port.service >/dev/null 2>&1 || :
|
||||||
systemctl stop ipmiutil_evt.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_asy.service >/dev/null 2>&1 || :
|
||||||
systemctl stop ipmiutil_wdt.service >/dev/null 2>&1 || :
|
systemctl stop ipmiutil_wdt.service >/dev/null 2>&1 || :
|
||||||
systemctl stop ipmi_port.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
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
if [ -f %{_sysconfdir}/cron.daily/checksel ]; then
|
if [ -f %{_sysconfdir}/cron.daily/checksel ]; then
|
||||||
@ -276,6 +266,16 @@ if [ -x /bin/systemctl ]; then
|
|||||||
# Package upgrade, not uninstall
|
# Package upgrade, not uninstall
|
||||||
systemctl try-restart ipmi_port.service || :
|
systemctl try-restart ipmi_port.service || :
|
||||||
fi
|
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
|
fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user