Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package freeipmi for openSUSE:Factory checked in at 2021-07-15 23:58:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freeipmi (Old) and /work/SRC/openSUSE:Factory/.freeipmi.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freeipmi" Thu Jul 15 23:58:49 2021 rev:47 rq:905967 version:1.6.8 Changes: -------- --- /work/SRC/openSUSE:Factory/freeipmi/freeipmi.changes 2021-02-18 20:47:58.611178657 +0100 +++ /work/SRC/openSUSE:Factory/.freeipmi.new.2625/freeipmi.changes 2021-07-15 23:58:53.802225419 +0200 @@ -1,0 +2,9 @@ +Thu Jul 8 15:00:26 UTC 2021 - Thomas Renninger <[email protected]> + +- Fix: W: name-repeated-in-summary C FreeIPMI +- Fix: freeipmi-bmc-watchdog.x86_64: + W: non-etc-or-var-file-marked-as-conffile /usr/share/fillup-templates/sysconfig.bmc-watchdog + Declaring fillup files as conffile is not needed +- freeipmi 1.6.8 + +------------------------------------------------------------------- Old: ---- freeipmi-1.6.7.tar.gz freeipmi-1.6.7.tar.gz.sig freeipmi.keyring New: ---- freeipmi-1.6.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freeipmi.spec ++++++ --- /var/tmp/diff_new_pack.eI5Mxo/_old 2021-07-15 23:58:54.342221077 +0200 +++ /var/tmp/diff_new_pack.eI5Mxo/_new 2021-07-15 23:58:54.346221045 +0200 @@ -37,13 +37,11 @@ %{!?_initddir: %global _initddir %{_sysconfdir}/init.d} Name: freeipmi -Version: 1.6.7 +Version: 1.6.8 Release: %{release} URL: http://www.gnu.org/software/freeipmi/ Source0: http://ftp.gnu.org/gnu/freeipmi/%{name}-%{srcversion}.tar.gz -Source4: http://ftp.gnu.org/gnu/freeipmi/%{name}-%{srcversion}.tar.gz.sig -Source5: %{name}.keyring -Summary: FreeIPMI +Summary: IPMI Service Processor, BMC management tool License: GPL-3.0-or-later Group: System/Management BuildRequires: fdupes @@ -60,7 +58,7 @@ Provides: freeipmi-ipmimonitoring = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): info -Requires(preun): info +Requires(preun):info # Necessary as only those archs implement iopl and friends (#368541) ExclusiveArch: %{ix86} x86_64 ia64 alpha aarch64 @@ -92,7 +90,7 @@ Requires: freeipmi = %{version} %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} Requires(post): chkconfig -Requires(preun): chkconfig +Requires(preun):chkconfig %endif Requires: logrotate @@ -105,7 +103,7 @@ Requires: freeipmi = %{version} %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} Requires(post): chkconfig -Requires(preun): chkconfig +Requires(preun):chkconfig %endif %{?systemd_requires} @@ -119,7 +117,7 @@ Provides: freeipmi:/usr/sbin/ipmiseld %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} Requires(post): chkconfig -Requires(preun): chkconfig +Requires(preun):chkconfig %endif %{?systemd_requires} @@ -285,19 +283,25 @@ %{fillup_only} %endif %service_add_post bmc-watchdog.service + %pre bmc-watchdog %service_add_pre bmc-watchdog.service + %postun bmc-watchdog %service_del_postun bmc-watchdog.service + %preun bmc-watchdog %service_del_preun bmc-watchdog.service %post ipmidetectd %service_add_post ipmidetectd.service + %pre ipmidetectd %service_add_pre ipmidetectd.service + %postun ipmidetectd %service_del_postun ipmidetectd.service + %preun ipmidetectd %service_del_preun ipmidetectd.service @@ -510,7 +514,7 @@ %license %{_docdir}/freeipmi-bmc-watchdog/DISCLAIMER.bmc-watchdog.UC %{_unitdir}/bmc-watchdog.service %if 0%{?suse_version} -%attr(0444,root,root) %config(noreplace) %{_fillupdir}/sysconfig.bmc-watchdog +%attr(0444,root,root) %{_fillupdir}/sysconfig.bmc-watchdog %else %attr(0444,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/bmc-watchdog %endif ++++++ freeipmi-1.6.7.tar.gz -> freeipmi-1.6.8.tar.gz ++++++ ++++ 2676 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/ChangeLog new/freeipmi-1.6.8/ChangeLog --- old/freeipmi-1.6.7/ChangeLog 2021-02-13 00:10:02.000000000 +0100 +++ new/freeipmi-1.6.8/ChangeLog 2021-05-20 05:45:05.000000000 +0200 @@ -1,3 +1,18 @@ +2021-05-29 Heather Lemon <[email protected]> + + * libfreeipmi/sensor-read/ipmi-sensor-read.c: (LP#1926299) + Incorrect sensor reading reported. + BMC's that use a non-zero 'LUN' number (00b-10b) + will display an incorrect sensor temperature reading unless + otherwise specified via the ipmiV2.0 spec and must be accessed via LUN 00b. + +2021-03-27 Albert Chu <[email protected]> + + * etc: Generate many files via configure to ensure proper paths + are set. + + * man/bmc-watchdog.8.pre.in: Remove legacy documentation. + 2021-02-10 Albert Chu <[email protected]> * libfreeipmi/fru/ipmi-fru-data.c: Fix invalid parsing of record diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/NEWS new/freeipmi-1.6.8/NEWS --- old/freeipmi-1.6.7/NEWS 2021-02-13 05:53:34.000000000 +0100 +++ new/freeipmi-1.6.8/NEWS 2021-05-20 05:52:56.000000000 +0200 @@ -1,3 +1,10 @@ +FreeIPMI 1.6.8 - 05/19/21 +------------------------- +o Fix incorrect sensor read corner case on BMCs that use non-default + LUNs (LP#1926299). +o Remove hard coded paths from system config files (i.e. mostly files + in /etc). Have paths updated based on options to configure. + FreeIPMI 1.6.7 - 02/12/21 ------------------------- o Do not require IPMI access when running ipmi-fru with the --fru-file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/config/config.h.in new/freeipmi-1.6.8/config/config.h.in --- old/freeipmi-1.6.7/config/config.h.in 2021-02-13 20:47:15.000000000 +0100 +++ new/freeipmi-1.6.8/config/config.h.in 2021-05-20 05:55:54.000000000 +0200 @@ -366,6 +366,48 @@ # endif #endif +/* Expansion of the "bindir" installation directory. */ +#undef X_BINDIR + +/* Expansion of the "datadir" installation directory. */ +#undef X_DATADIR + +/* Expansion of the "exec_prefix" installation directory. */ +#undef X_EXEC_PREFIX + +/* Expansion of the "includedir" installation directory. */ +#undef X_INCLUDEDIR + +/* Expansion of the "infodir" installation directory. */ +#undef X_INFODIR + +/* Expansion of the "libdir" installation directory. */ +#undef X_LIBDIR + +/* Expansion of the "libexecdir" installation directory. */ +#undef X_LIBEXECDIR + +/* Expansion of the "localstatedir" installation directory. */ +#undef X_LOCALSTATEDIR + +/* Expansion of the "mandir" installation directory. */ +#undef X_MANDIR + +/* Expansion of the "oldincludedir" installation directory. */ +#undef X_OLDINCLUDEDIR + +/* Expansion of the "prefix" installation directory. */ +#undef X_PREFIX + +/* Expansion of the "sbindir" installation directory. */ +#undef X_SBINDIR + +/* Expansion of the "sharedstatedir" installation directory. */ +#undef X_SHAREDSTATEDIR + +/* Expansion of the "sysconfdir" installation directory. */ +#undef X_SYSCONFDIR + /* Define to empty if `const' does not conform to ANSI C. */ #undef const diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/config/x_ac_expand_install_dirs.m4 new/freeipmi-1.6.8/config/x_ac_expand_install_dirs.m4 --- old/freeipmi-1.6.7/config/x_ac_expand_install_dirs.m4 1970-01-01 01:00:00.000000000 +0100 +++ new/freeipmi-1.6.8/config/x_ac_expand_install_dirs.m4 2021-03-28 05:52:25.000000000 +0200 @@ -0,0 +1,96 @@ +##***************************************************************************** +## $Id: x_ac_expand_install_dirs.m4 494 2006-05-08 22:59:28Z dun $ +##***************************************************************************** +# AUTHOR: +# Chris Dunlap <[email protected]> +# +# SYNOPSIS: +# X_AC_EXPAND_INSTALL_DIRS +# +# DESCRIPTION: +# Expand the installation directory variables. +##***************************************************************************** + +AC_DEFUN([X_AC_EXPAND_INSTALL_DIRS], [ + AC_MSG_CHECKING([installation directory variables]) + + _x_ac_expand_install_dirs_prefix="$prefix" + test "$prefix" = NONE && prefix="$ac_default_prefix" + _x_ac_expand_install_dirs_exec_prefix="$exec_prefix" + test "$exec_prefix" = NONE && exec_prefix="$prefix" + + eval X_PREFIX="$prefix" + AC_DEFINE_UNQUOTED([X_PREFIX], ["$X_PREFIX"], + [Expansion of the "prefix" installation directory.]) + AC_SUBST([X_PREFIX]) + + eval X_EXEC_PREFIX="$exec_prefix" + AC_DEFINE_UNQUOTED([X_EXEC_PREFIX], ["$X_EXEC_PREFIX"], + [Expansion of the "exec_prefix" installation directory.]) + AC_SUBST([X_EXEC_PREFIX]) + + eval X_BINDIR="$bindir" + AC_DEFINE_UNQUOTED([X_BINDIR], ["$X_BINDIR"], + [Expansion of the "bindir" installation directory.]) + AC_SUBST([X_BINDIR]) + + eval X_SBINDIR="$sbindir" + AC_DEFINE_UNQUOTED([X_SBINDIR], ["$X_SBINDIR"], + [Expansion of the "sbindir" installation directory.]) + AC_SUBST([X_SBINDIR]) + + eval X_LIBEXECDIR="$libexecdir" + AC_DEFINE_UNQUOTED([X_LIBEXECDIR], ["$X_LIBEXECDIR"], + [Expansion of the "libexecdir" installation directory.]) + AC_SUBST([X_LIBEXECDIR]) + + eval X_DATADIR="$datadir" + AC_DEFINE_UNQUOTED([X_DATADIR], ["$X_DATADIR"], + [Expansion of the "datadir" installation directory.]) + AC_SUBST([X_DATADIR]) + + eval X_SYSCONFDIR="$sysconfdir" + AC_DEFINE_UNQUOTED([X_SYSCONFDIR], ["$X_SYSCONFDIR"], + [Expansion of the "sysconfdir" installation directory.]) + AC_SUBST([X_SYSCONFDIR]) + + eval X_SHAREDSTATEDIR="$sharedstatedir" + AC_DEFINE_UNQUOTED([X_SHAREDSTATEDIR], ["$X_SHAREDSTATEDIR"], + [Expansion of the "sharedstatedir" installation directory.]) + AC_SUBST([X_SHAREDSTATEDIR]) + + eval X_LOCALSTATEDIR="$localstatedir" + AC_DEFINE_UNQUOTED([X_LOCALSTATEDIR], ["$X_LOCALSTATEDIR"], + [Expansion of the "localstatedir" installation directory.]) + AC_SUBST([X_LOCALSTATEDIR]) + + eval X_LIBDIR="$libdir" + AC_DEFINE_UNQUOTED([X_LIBDIR], ["$X_LIBDIR"], + [Expansion of the "libdir" installation directory.]) + AC_SUBST([X_LIBDIR]) + + eval X_INCLUDEDIR="$includedir" + AC_DEFINE_UNQUOTED([X_INCLUDEDIR], ["$X_INCLUDEDIR"], + [Expansion of the "includedir" installation directory.]) + AC_SUBST([X_INCLUDEDIR]) + + eval X_OLDINCLUDEDIR="$oldincludedir" + AC_DEFINE_UNQUOTED([X_OLDINCLUDEDIR], ["$X_OLDINCLUDEDIR"], + [Expansion of the "oldincludedir" installation directory.]) + AC_SUBST([X_OLDINCLUDEDIR]) + + eval X_INFODIR="$infodir" + AC_DEFINE_UNQUOTED([X_INFODIR], ["$X_INFODIR"], + [Expansion of the "infodir" installation directory.]) + AC_SUBST([X_INFODIR]) + + eval X_MANDIR="$mandir" + AC_DEFINE_UNQUOTED([X_MANDIR], ["$X_MANDIR"], + [Expansion of the "mandir" installation directory.]) + AC_SUBST([X_MANDIR]) + + prefix="$_x_ac_expand_install_dirs_prefix" + exec_prefix="$_x_ac_expand_install_dirs_exec_prefix" + + AC_MSG_RESULT([yes]) +]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/configure.ac new/freeipmi-1.6.8/configure.ac --- old/freeipmi-1.6.7/configure.ac 2021-02-13 01:59:55.000000000 +0100 +++ new/freeipmi-1.6.8/configure.ac 2021-05-20 05:51:51.000000000 +0200 @@ -1,11 +1,11 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([freeipmi],[1.6.7],[[email protected]]) +AC_INIT([freeipmi],[1.6.8],[[email protected]]) AC_REVISION([$Id: configure.ac,v 1.208 2010-08-06 21:02:29 chu11 Exp $]) AC_CONFIG_MACRO_DIR([config]) FREEIPMI_PACKAGE_VERSION_MAJOR=1 FREEIPMI_PACKAGE_VERSION_MINOR=6 -FREEIPMI_PACKAGE_VERSION_PATCH=7 +FREEIPMI_PACKAGE_VERSION_PATCH=8 AC_SUBST(FREEIPMI_PACKAGE_VERSION_MAJOR) AC_SUBST(FREEIPMI_PACKAGE_VERSION_MINOR) @@ -24,6 +24,8 @@ dnl create a config.h file AC_CONFIG_HEADERS([config/config.h]) +X_AC_EXPAND_INSTALL_DIRS + dnl define output files AC_CONFIG_FILES([ freeipmi.spec @@ -41,6 +43,15 @@ contrib/Makefile doc/Makefile etc/Makefile + etc/bmc-watchdog.init + etc/bmc-watchdog.service + etc/ipmidetectd.init + etc/ipmidetectd.service + etc/ipmiseld.init + etc/ipmiseld.service + etc/os-shutdown-event.service + etc/os-startup-event.service + etc/set-sysinfo-in-bmc.service ipmi-chassis/Makefile ipmi-config/Makefile ipmi-dcmi/Makefile @@ -124,7 +135,7 @@ # release, then set age to 0. # LIBFREEIPMI_CURRENT=19 -LIBFREEIPMI_REVISION=6 +LIBFREEIPMI_REVISION=7 LIBFREEIPMI_AGE=2 LIBFREEIPMI_VERSION=$LIBFREEIPMI_CURRENT.$LIBFREEIPMI_REVISION.$LIBFREEIPMI_AGE @@ -146,7 +157,7 @@ LIBFREEIPMI_VERSION_MAJOR=6 LIBFREEIPMI_VERSION_MINOR=2 -LIBFREEIPMI_VERSION_PATCH=6 +LIBFREEIPMI_VERSION_PATCH=7 AC_SUBST(LIBFREEIPMI_VERSION_MAJOR) AC_SUBST(LIBFREEIPMI_VERSION_MINOR) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/doc/freeipmi-faq.info new/freeipmi-1.6.8/doc/freeipmi-faq.info --- old/freeipmi-1.6.7/doc/freeipmi-faq.info 2021-02-13 08:17:07.000000000 +0100 +++ new/freeipmi-1.6.8/doc/freeipmi-faq.info 2021-05-20 05:55:55.000000000 +0200 @@ -1,7 +1,7 @@ This is freeipmi-faq.info, produced by makeinfo version 5.1 from freeipmi-faq.texi. -This manual is for FreeIPMI (version 1.6.7, 10 February 2021). +This manual is for FreeIPMI (version 1.6.8, 10 February 2021). Copyright (C) 2006-2012 FreeIPMI Core Team Permission is granted to copy, distribute and/or modify this @@ -21,8 +21,8 @@ Frequently Asked Questions on *FreeIPMI* - This edition of the documentation was last updated on February 12, -2021 for release 1.6.7 of the FreeIPMI. + This edition of the documentation was last updated on May 19, 2021 +for release 1.6.8 of the FreeIPMI. * Menu: @@ -999,32 +999,32 @@ Tag Table: Node: Top690 -Node: What is IPMI?2249 -Node: What is FreeIPMI?3391 -Node: How did FreeIPMI start?3924 -Node: What operating systems does FreeIPMI run on?5289 -Node: FreeIPMI vs OpenIPMI vs Ipmitool vs Ipmiutil6041 -Node: What is special about FreeIPMI?6846 -Node: Does my system support IPMI?13903 -Node: How do I compile FreeIPMI?15896 -Node: libgcrypt requirement16257 -Node: x86-64 Compilation16896 -Node: Installing FreeIPMI on FreeBSD17580 -Node: What are some IPMI terminology or acronyms I should be aware of?18220 -Node: What setup is needed for FreeIPMI to communicate over LAN?21245 -Node: What setup is needed for Serial over LAN (SOL) or Ipmiconsole?21837 -Node: Do I need to install or configure a driver to perform IPMI inband?23741 -Node: SSIF Driver Configuration25454 -Node: How do you setup Powerman with ipmipower?27050 -Node: How do you setup Conman with ipmiconsole or libipmiconsole?30340 -Node: How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?32344 -Node: Why are times reported by FreeIPMI tools wrong?32985 -Node: Why is the IPMI kernel driver faster than the KCS driver?33971 -Node: Why is the output from FreeIPMI different than another software?34971 -Node: Why are there so many IPMI compliance bugs?40366 -Node: How do I get around an IPMI compliance bug on my motherboard?41464 -Node: Why am I seeing so many 'internal IPMI error' or 'driver busy' messages?42277 -Node: How do I program with the FreeIPMI libraries?45403 -Node: Where can I get additional help or support?46746 +Node: What is IPMI?2244 +Node: What is FreeIPMI?3386 +Node: How did FreeIPMI start?3919 +Node: What operating systems does FreeIPMI run on?5284 +Node: FreeIPMI vs OpenIPMI vs Ipmitool vs Ipmiutil6036 +Node: What is special about FreeIPMI?6841 +Node: Does my system support IPMI?13898 +Node: How do I compile FreeIPMI?15891 +Node: libgcrypt requirement16252 +Node: x86-64 Compilation16891 +Node: Installing FreeIPMI on FreeBSD17575 +Node: What are some IPMI terminology or acronyms I should be aware of?18215 +Node: What setup is needed for FreeIPMI to communicate over LAN?21240 +Node: What setup is needed for Serial over LAN (SOL) or Ipmiconsole?21832 +Node: Do I need to install or configure a driver to perform IPMI inband?23736 +Node: SSIF Driver Configuration25449 +Node: How do you setup Powerman with ipmipower?27045 +Node: How do you setup Conman with ipmiconsole or libipmiconsole?30335 +Node: How do you setup Ganglia or Nagios to monitor IPMI sensors via FreeIPMI?32339 +Node: Why are times reported by FreeIPMI tools wrong?32980 +Node: Why is the IPMI kernel driver faster than the KCS driver?33966 +Node: Why is the output from FreeIPMI different than another software?34966 +Node: Why are there so many IPMI compliance bugs?40361 +Node: How do I get around an IPMI compliance bug on my motherboard?41459 +Node: Why am I seeing so many 'internal IPMI error' or 'driver busy' messages?42272 +Node: How do I program with the FreeIPMI libraries?45398 +Node: Where can I get additional help or support?46741 End Tag Table diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/doc/stamp-vti new/freeipmi-1.6.8/doc/stamp-vti --- old/freeipmi-1.6.7/doc/stamp-vti 2021-02-13 18:32:06.000000000 +0100 +++ new/freeipmi-1.6.8/doc/stamp-vti 2021-05-20 05:55:07.000000000 +0200 @@ -1,4 +1,4 @@ @set UPDATED 10 February 2021 @set UPDATED-MONTH February 2021 -@set EDITION 1.6.7 -@set VERSION 1.6.7 +@set EDITION 1.6.8 +@set VERSION 1.6.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/doc/version-faq.texi new/freeipmi-1.6.8/doc/version-faq.texi --- old/freeipmi-1.6.7/doc/version-faq.texi 2021-02-13 08:17:06.000000000 +0100 +++ new/freeipmi-1.6.8/doc/version-faq.texi 2021-05-20 05:55:07.000000000 +0200 @@ -1,4 +1,4 @@ @set UPDATED 10 February 2021 @set UPDATED-MONTH February 2021 -@set EDITION 1.6.7 -@set VERSION 1.6.7 +@set EDITION 1.6.8 +@set VERSION 1.6.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/bmc-watchdog.init new/freeipmi-1.6.8/etc/bmc-watchdog.init --- old/freeipmi-1.6.7/etc/bmc-watchdog.init 2021-02-10 20:21:50.000000000 +0100 +++ new/freeipmi-1.6.8/etc/bmc-watchdog.init 2021-05-20 05:55:04.000000000 +0200 @@ -13,10 +13,10 @@ # Description: BMC watchdog timer daemon ### END INIT INFO -DAEMON=/usr/sbin/bmc-watchdog -PIDFILE=/var/run/bmc-watchdog.pid -LOCKFILE=/var/lock/subsys/bmc-watchdog -CONFFILE=/etc/sysconfig/bmc-watchdog +DAEMON=/usr/local/sbin/bmc-watchdog +PIDFILE=/usr/local/var/run/bmc-watchdog.pid +LOCKFILE=/usr/local/var/lock/subsys/bmc-watchdog +CONFFILE=/usr/local/etc/sysconfig/bmc-watchdog [ -f $DAEMON ] || exit 5 @@ -25,8 +25,8 @@ fi # Load Redhat or Suse appropriate libs -if [ -f /etc/rc.d/init.d/functions ] ; then - . /etc/rc.d/init.d/functions +if [ -f /usr/local/etc/rc.d/init.d/functions ] ; then + . /usr/local/etc/rc.d/init.d/functions Xstart() { # Default deamon mode @@ -64,8 +64,8 @@ Xexit() { exit $RETVAL } -elif [ -f /etc/rc.status ] ; then - . /etc/rc.status +elif [ -f /usr/local/etc/rc.status ] ; then + . /usr/local/etc/rc.status Xstart() { startproc -20 $DAEMON $OPTIONS rc_status -v diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/bmc-watchdog.init.in new/freeipmi-1.6.8/etc/bmc-watchdog.init.in --- old/freeipmi-1.6.7/etc/bmc-watchdog.init.in 1970-01-01 01:00:00.000000000 +0100 +++ new/freeipmi-1.6.8/etc/bmc-watchdog.init.in 2021-03-28 05:52:25.000000000 +0200 @@ -0,0 +1,137 @@ +#!/bin/sh +# +# chkconfig: - 99 01 +# description: bmc-watchdog startup script +# +### BEGIN INIT INFO +# Provides: bmc-watchdog +# Required-Start: $network $remote_fs $syslog +# Required-Stop: $network $remote_fs $syslog +# Default-Start: 3 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Start and stop bmc-watchdog +# Description: BMC watchdog timer daemon +### END INIT INFO + +DAEMON=@X_SBINDIR@/bmc-watchdog +PIDFILE=@X_LOCALSTATEDIR@/run/bmc-watchdog.pid +LOCKFILE=@X_LOCALSTATEDIR@/lock/subsys/bmc-watchdog +CONFFILE=@X_SYSCONFDIR@/sysconfig/bmc-watchdog + +[ -f $DAEMON ] || exit 5 + +if [ -r $CONFFILE ]; then + . $CONFFILE +fi + +# Load Redhat or Suse appropriate libs +if [ -f @X_SYSCONFDIR@/rc.d/init.d/functions ] ; then + . @X_SYSCONFDIR@/rc.d/init.d/functions + Xstart() { + + # Default deamon mode + # + # timer use = SMS/OS + # pre-timeout interrupt = none + # action = reset + # -F, -P, -L, -S, -O - clear flags + # initial-countdown = 900 seconds (15 mins) + # reset-period = 60 seconds + + daemon -20 $DAEMON $OPTIONS + RETVAL=$? + echo + [ $RETVAL -eq 0 ] && touch $LOCKFILE + } + Xstop() { + killproc bmc-watchdog + RETVAL=$? + echo + [ $RETVAL -eq 0 ] && rm -f $LOCKFILE + } + Xstatus() { + status bmc-watchdog + RETVAL=$? + return $RETVAL + } + Xcondrestart() { + if test -e $LOCKFILE; then + $0 stop + $0 start + RETVAL=$? + fi + } + Xexit() { + exit $RETVAL + } +elif [ -f @X_SYSCONFDIR@/rc.status ] ; then + . @X_SYSCONFDIR@/rc.status + Xstart() { + startproc -20 $DAEMON $OPTIONS + rc_status -v + RETVAL=$? + return $RETVAL + } + Xstop() { + killproc -TERM $DAEMON + rc_status -v + RETVAL=$? + return $RETVAL + } + Xstatus() { + echo -n "Checking for bmc-watchdog: " + checkproc $DAEMON + rc_status -v + RETVAL=$? + return $RETVAL + } + Xcondrestart() { + $0 status + if test $? = 0; then + $0 restart + else + rc_reset + fi + rc_status + RETVAL=$? + return $RETVAL + } + Xexit() { + rc_exit + } +else + echo "Unknown distribution type" + exit 1 +fi + +RETVAL=0 + +case "$1" in + start) + echo -n "Starting bmc-watchdog: " + Xstatus >/dev/null 2>&1 && exit 0 + Xstart + ;; + + stop) + echo -n "Shutting down bmc-watchdog: " + Xstop + ;; + + restart) + $0 stop + $0 start + RETVAL=$? + ;; + status) + Xstatus + ;; + condrestart|try-restart|force-reload) + Xcondrestart + ;; + *) + echo "Usage: $0 {start|stop|restart|status|condrestart|try-restart|force-reload}" + exit 2 +esac + +exit $RETVAL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/bmc-watchdog.service new/freeipmi-1.6.8/etc/bmc-watchdog.service --- old/freeipmi-1.6.7/etc/bmc-watchdog.service 2021-02-10 20:21:50.000000000 +0100 +++ new/freeipmi-1.6.8/etc/bmc-watchdog.service 2021-05-20 05:55:04.000000000 +0200 @@ -5,8 +5,8 @@ [Service] Type=forking PIDFile=/run/bmc-watchdog.pid -EnvironmentFile=-/etc/sysconfig/bmc-watchdog -ExecStart=/usr/sbin/bmc-watchdog $OPTIONS +EnvironmentFile=-/usr/local/etc/sysconfig/bmc-watchdog +ExecStart=/usr/local/sbin/bmc-watchdog $OPTIONS [Install] WantedBy=multi-user.target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/bmc-watchdog.service.in new/freeipmi-1.6.8/etc/bmc-watchdog.service.in --- old/freeipmi-1.6.7/etc/bmc-watchdog.service.in 1970-01-01 01:00:00.000000000 +0100 +++ new/freeipmi-1.6.8/etc/bmc-watchdog.service.in 2021-03-28 05:52:25.000000000 +0200 @@ -0,0 +1,12 @@ +[Unit] +Description=BMC Watchdog Timer Daemon +After=network.target + +[Service] +Type=forking +PIDFile=/run/bmc-watchdog.pid +EnvironmentFile=-@X_SYSCONFDIR@/sysconfig/bmc-watchdog +ExecStart=@X_SBINDIR@/bmc-watchdog $OPTIONS + +[Install] +WantedBy=multi-user.target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/ipmidetectd.init new/freeipmi-1.6.8/etc/ipmidetectd.init --- old/freeipmi-1.6.7/etc/ipmidetectd.init 2021-02-10 20:21:50.000000000 +0100 +++ new/freeipmi-1.6.8/etc/ipmidetectd.init 2021-05-20 05:55:04.000000000 +0200 @@ -14,16 +14,16 @@ # Description: IPMI node detection monitoring daemon ### END INIT INFO -IPMIDETECTD=/usr/sbin/ipmidetectd -IPMIDETECTD_CONF=/etc/freeipmi/ipmidetectd.conf -LOCKFILE=/var/lock/subsys/ipmidetectd +IPMIDETECTD=/usr/local/sbin/ipmidetectd +IPMIDETECTD_CONF=/usr/local/etc/freeipmi/ipmidetectd.conf +LOCKFILE=/usr/local/var/lock/subsys/ipmidetectd [ -f $IPMIDETECTD ] || exit 5 [ -f $IPMIDETECTD_CONF ] || exit 6 # Load Redhat or Suse appropriate libs -if [ -f /etc/rc.d/init.d/functions ] ; then - . /etc/rc.d/init.d/functions +if [ -f /usr/local/etc/rc.d/init.d/functions ] ; then + . /usr/local/etc/rc.d/init.d/functions Xstart() { daemon $IPMIDETECTD RETVAL=$? @@ -51,8 +51,8 @@ Xexit() { exit $RETVAL } -elif [ -f /etc/rc.status ] ; then - . /etc/rc.status +elif [ -f /usr/local/etc/rc.status ] ; then + . /usr/local/etc/rc.status Xstart() { startproc $IPMIDETECTD rc_status -v diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/ipmidetectd.init.in new/freeipmi-1.6.8/etc/ipmidetectd.init.in --- old/freeipmi-1.6.7/etc/ipmidetectd.init.in 1970-01-01 01:00:00.000000000 +0100 +++ new/freeipmi-1.6.8/etc/ipmidetectd.init.in 2021-03-28 05:52:25.000000000 +0200 @@ -0,0 +1,113 @@ +#!/bin/sh +# $Id: ipmidetectd.init,v 1.1 2009-10-01 18:09:57 chu11 Exp $ +# +# chkconfig: - 70 40 +# description: ipmidetectd startup script +# +### BEGIN INIT INFO +# Provides: ipmidetectd +# Required-Start: $network $remote_fs $syslog +# Required-Stop: $network $remote_fs $syslog +# Default-Start: 3 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Start and stop ipmidetectd +# Description: IPMI node detection monitoring daemon +### END INIT INFO + +IPMIDETECTD=@X_SBINDIR@/ipmidetectd +IPMIDETECTD_CONF=@X_SYSCONFDIR@/freeipmi/ipmidetectd.conf +LOCKFILE=@X_LOCALSTATEDIR@/lock/subsys/ipmidetectd + +[ -f $IPMIDETECTD ] || exit 5 +[ -f $IPMIDETECTD_CONF ] || exit 6 + +# Load Redhat or Suse appropriate libs +if [ -f @X_SYSCONFDIR@/rc.d/init.d/functions ] ; then + . @X_SYSCONFDIR@/rc.d/init.d/functions + Xstart() { + daemon $IPMIDETECTD + RETVAL=$? + echo + [ $RETVAL -eq 0 ] && touch $LOCKFILE + } + Xstop() { + killproc ipmidetectd -TERM + RETVAL=$? + echo + [ $RETVAL -eq 0 ] && rm -f $LOCKFILE + } + Xstatus() { + status ipmidetectd + RETVAL=$? + return $RETVAL + } + Xcondrestart() { + if test -e $LOCKFILE; then + $0 stop + $0 start + RETVAL=$? + fi + } + Xexit() { + exit $RETVAL + } +elif [ -f @X_SYSCONFDIR@/rc.status ] ; then + . @X_SYSCONFDIR@/rc.status + Xstart() { + startproc $IPMIDETECTD + rc_status -v + } + Xstop() { + killproc -TERM $IPMIDETECTD + rc_status -v + } + Xstatus() { + echo -n "Checking for ipmidetectd: " + checkproc $IPMIDETECTD + rc_status -v + } + Xcondrestart() { + $0 status + if test $? = 0; then + $0 restart + else + rc_reset + fi + rc_status + } + Xexit() { + rc_exit + } +else + echo "Unknown distribution type" + exit 1 +fi + +RETVAL=0 + +case "$1" in + start) + echo -n "Starting ipmidetectd: " + Xstatus >/dev/null 2>&1 && exit 0 + Xstart + ;; + stop) + echo -n "Shutting down ipmidetectd: " + Xstop + ;; + restart) + $0 stop + $0 start + RETVAL=$? + ;; + status) + Xstatus + ;; + condrestart|try-restart|force-reload) + Xcondrestart + ;; + *) + echo "Usage: $0 {start|stop|restart|status|condrestart|try-restart|force-reload}" + exit 2 +esac +exit $RETVAL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/ipmidetectd.service new/freeipmi-1.6.8/etc/ipmidetectd.service --- old/freeipmi-1.6.7/etc/ipmidetectd.service 2021-02-10 20:21:50.000000000 +0100 +++ new/freeipmi-1.6.8/etc/ipmidetectd.service 2021-05-20 05:55:04.000000000 +0200 @@ -4,7 +4,7 @@ [Service] Type=forking -ExecStart=/usr/sbin/ipmidetectd +ExecStart=/usr/local/sbin/ipmidetectd [Install] WantedBy=multi-user.target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/ipmidetectd.service.in new/freeipmi-1.6.8/etc/ipmidetectd.service.in --- old/freeipmi-1.6.7/etc/ipmidetectd.service.in 1970-01-01 01:00:00.000000000 +0100 +++ new/freeipmi-1.6.8/etc/ipmidetectd.service.in 2021-03-28 05:52:25.000000000 +0200 @@ -0,0 +1,10 @@ +[Unit] +Description=IPMI Node Detection Monitoring Daemon +After=network.target + +[Service] +Type=forking +ExecStart=@X_SBINDIR@/ipmidetectd + +[Install] +WantedBy=multi-user.target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/ipmiseld.init new/freeipmi-1.6.8/etc/ipmiseld.init --- old/freeipmi-1.6.7/etc/ipmiseld.init 2021-02-10 20:21:50.000000000 +0100 +++ new/freeipmi-1.6.8/etc/ipmiseld.init 2021-05-20 05:55:04.000000000 +0200 @@ -14,16 +14,16 @@ # Description: IPMI SEL sylog logging daemon ### END INIT INFO -IPMISELD=/usr/sbin/ipmiseld -IPMISELD_CONF=/etc/freeipmi/ipmiseld.conf -LOCKFILE=/var/lock/subsys/ipmiseld +IPMISELD=/usr/local/sbin/ipmiseld +IPMISELD_CONF=/usr/local/etc/freeipmi/ipmiseld.conf +LOCKFILE=/usr/local/var/lock/subsys/ipmiseld [ -f $IPMISELD ] || exit 5 [ -f $IPMISELD_CONF ] || exit 6 # Load Redhat or Suse appropriate libs -if [ -f /etc/rc.d/init.d/functions ] ; then - . /etc/rc.d/init.d/functions +if [ -f /usr/local/etc/rc.d/init.d/functions ] ; then + . /usr/local/etc/rc.d/init.d/functions Xstart() { daemon $IPMISELD RETVAL=$? @@ -51,8 +51,8 @@ Xexit() { exit $RETVAL } -elif [ -f /etc/rc.status ] ; then - . /etc/rc.status +elif [ -f /usr/local/etc/rc.status ] ; then + . /usr/local/etc/rc.status Xstart() { startproc $IPMISELD rc_status -v diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/ipmiseld.init.in new/freeipmi-1.6.8/etc/ipmiseld.init.in --- old/freeipmi-1.6.7/etc/ipmiseld.init.in 1970-01-01 01:00:00.000000000 +0100 +++ new/freeipmi-1.6.8/etc/ipmiseld.init.in 2021-03-28 05:52:25.000000000 +0200 @@ -0,0 +1,113 @@ +#!/bin/sh +# $Id: ipmiseld.init,v 1.1 2009-10-01 18:09:57 chu11 Exp $ +# +# chkconfig: - 70 40 +# description: ipmiseld startup script +# +### BEGIN INIT INFO +# Provides: ipmiseld +# Required-Start: $network $remote_fs $syslog +# Required-Stop: $network $remote_fs $syslog +# Default-Start: 3 5 +# Default-Stop: 0 1 2 6 +# Short-Description: Start and stop ipmidetectd +# Description: IPMI SEL sylog logging daemon +### END INIT INFO + +IPMISELD=@X_SBINDIR@/ipmiseld +IPMISELD_CONF=@X_SYSCONFDIR@/freeipmi/ipmiseld.conf +LOCKFILE=@X_LOCALSTATEDIR@/lock/subsys/ipmiseld + +[ -f $IPMISELD ] || exit 5 +[ -f $IPMISELD_CONF ] || exit 6 + +# Load Redhat or Suse appropriate libs +if [ -f @X_SYSCONFDIR@/rc.d/init.d/functions ] ; then + . @X_SYSCONFDIR@/rc.d/init.d/functions + Xstart() { + daemon $IPMISELD + RETVAL=$? + echo + [ $RETVAL -eq 0 ] && touch $LOCKFILE + } + Xstop() { + killproc ipmiseld -TERM + RETVAL=$? + echo + [ $RETVAL -eq 0 ] && rm -f $LOCKFILE + } + Xstatus() { + status ipmiseld + RETVAL=$? + return $RETVAL + } + Xcondrestart() { + if test -e $LOCKFILE; then + $0 stop + $0 start + RETVAL=$? + fi + } + Xexit() { + exit $RETVAL + } +elif [ -f @X_SYSCONFDIR@/rc.status ] ; then + . @X_SYSCONFDIR@/rc.status + Xstart() { + startproc $IPMISELD + rc_status -v + } + Xstop() { + killproc -TERM $IPMISELD + rc_status -v + } + Xstatus() { + echo -n "Checking for ipmiseld: " + checkproc $IPMISELD + rc_status -v + } + Xcondrestart() { + $0 status + if test $? = 0; then + $0 restart + else + rc_reset + fi + rc_status + } + Xexit() { + rc_exit + } +else + echo "Unknown distribution type" + exit 1 +fi + +RETVAL=0 + +case "$1" in + start) + echo -n "Starting ipmiseld: " + Xstatus >/dev/null 2>&1 && exit 0 + Xstart + ;; + stop) + echo -n "Shutting down ipmiseld: " + Xstop + ;; + restart) + $0 stop + $0 start + RETVAL=$? + ;; + status) + Xstatus + ;; + condrestart|try-restart|force-reload) + Xcondrestart + ;; + *) + echo "Usage: $0 {start|stop|restart|status|condrestart|try-restart|force-reload}" + exit 2 +esac +exit $RETVAL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/ipmiseld.service new/freeipmi-1.6.8/etc/ipmiseld.service --- old/freeipmi-1.6.7/etc/ipmiseld.service 2021-02-10 20:21:50.000000000 +0100 +++ new/freeipmi-1.6.8/etc/ipmiseld.service 2021-05-20 05:55:04.000000000 +0200 @@ -4,7 +4,7 @@ [Service] Type=forking -ExecStart=/usr/sbin/ipmiseld +ExecStart=/usr/local/sbin/ipmiseld [Install] WantedBy=multi-user.target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/ipmiseld.service.in new/freeipmi-1.6.8/etc/ipmiseld.service.in --- old/freeipmi-1.6.7/etc/ipmiseld.service.in 1970-01-01 01:00:00.000000000 +0100 +++ new/freeipmi-1.6.8/etc/ipmiseld.service.in 2021-03-28 05:52:25.000000000 +0200 @@ -0,0 +1,10 @@ +[Unit] +Description=IPMI SEL syslog logging daemon +After=network.target + +[Service] +Type=forking +ExecStart=@X_SBINDIR@/ipmiseld + +[Install] +WantedBy=multi-user.target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/os-shutdown-event.service.in new/freeipmi-1.6.8/etc/os-shutdown-event.service.in --- old/freeipmi-1.6.7/etc/os-shutdown-event.service.in 1970-01-01 01:00:00.000000000 +0100 +++ new/freeipmi-1.6.8/etc/os-shutdown-event.service.in 2021-03-28 05:52:25.000000000 +0200 @@ -0,0 +1,17 @@ +[Unit] +Description=Send OS shutdown event to BMC +Documentation=man:bmc-device +RefuseManualStart=true +DefaultDependencies=no +Before=shutdown.target +ConditionFileIsExecutable=@X_SBINDIR@/bmc-device + +[Service] +Type=oneshot +# IPMI v2.0 rev 1.1 Table 42-3. +# OS Stop / Shutdown: 0x20; "OS Graceful Shutdown": 0x03 +Environment="STOP_EVENT=0x41 0x04 0x20 0x01 0x6f assertion 0x03 0x00 0x00" +ExecStart=@X_SBINDIR@/bmc-device --platform-event=${STOP_EVENT} + +[Install] +WantedBy=shutdown.target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/os-startup-event.service.in new/freeipmi-1.6.8/etc/os-startup-event.service.in --- old/freeipmi-1.6.7/etc/os-startup-event.service.in 1970-01-01 01:00:00.000000000 +0100 +++ new/freeipmi-1.6.8/etc/os-startup-event.service.in 2021-03-28 05:52:25.000000000 +0200 @@ -0,0 +1,16 @@ +[Unit] +Description=Send OS startup event to BMC +Documentation=man:bmc-device +RefuseManualStart=true +ConditionFileIsExecutable=@X_SBINDIR@/bmc-device + +[Service] +Type=oneshot +# IPMI v2.0 rev 1.1 Table 42-3. +# Base OS Boot/Installation Status: 0x1f; "C: boot completed": 0x01 +Environment="START_EVENT=0x41 0x04 0x1f 0x01 0x6f assertion 0x01 0x00 0x00" +ExecStart=@X_SBINDIR@/bmc-device --platform-event=${START_EVENT} + +[Install] +WantedBy=basic.target +Also=os-shutdown-event.service diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/etc/set-sysinfo-in-bmc.service.in new/freeipmi-1.6.8/etc/set-sysinfo-in-bmc.service.in --- old/freeipmi-1.6.7/etc/set-sysinfo-in-bmc.service.in 1970-01-01 01:00:00.000000000 +0100 +++ new/freeipmi-1.6.8/etc/set-sysinfo-in-bmc.service.in 2021-03-28 05:52:25.000000000 +0200 @@ -0,0 +1,17 @@ +[Unit] +Description=Set System information in BMC +Documentation=man:bmc-device + +ConditionFileIsExecutable=@X_SBINDIR@/bmc-device +ConditionFileNotEmpty=@X_SYSCONFDIR@/os-release + +[Service] +Type=oneshot +EnvironmentFile=@X_SYSCONFDIR@/os-release +ExecStart=@X_SBINDIR@/bmc-device --set-operating-system-name=${NAME} +ExecStart=@X_SBINDIR@/bmc-device --set-primary-operating-system-name=${NAME} +ExecStart=@X_SBINDIR@/bmc-device --set-present-os-version-number=${VERSION} +ExecStart=@X_SBINDIR@/bmc-device --set-system-name=%H + +[Install] +WantedBy=basic.target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/freeipmi.spec new/freeipmi-1.6.8/freeipmi.spec --- old/freeipmi-1.6.7/freeipmi.spec 2021-02-13 21:00:05.000000000 +0100 +++ new/freeipmi-1.6.8/freeipmi.spec 2021-05-20 05:55:04.000000000 +0200 @@ -3,7 +3,7 @@ # %define name freeipmi -%define version 1.6.7 +%define version 1.6.8 %if %{?_with_debug:1}%{!?_with_debug:0} %define release 1.debug%{?dist} %else @@ -564,7 +564,7 @@ - Obsolete old subpackage freeipmi-ipmimonitoring. * Tue Dec 18 2007 Albert Chu <[email protected]> 0.6.0 -- Use %{version} instead of 1.6.7 for substitution in paths. +- Use %{version} instead of 1.6.8 for substitution in paths. * Fri Dec 14 2007 Albert Chu <[email protected]> 0.6.0 - Update packaging for libfreeipmi reorganization diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/libfreeipmi/sensor-read/ipmi-sensor-read.c new/freeipmi-1.6.8/libfreeipmi/sensor-read/ipmi-sensor-read.c --- old/freeipmi-1.6.7/libfreeipmi/sensor-read/ipmi-sensor-read.c 2021-02-12 23:43:08.000000000 +0100 +++ new/freeipmi-1.6.8/libfreeipmi/sensor-read/ipmi-sensor-read.c 2021-05-20 05:45:05.000000000 +0200 @@ -40,6 +40,7 @@ #include "freeipmi/record-format/ipmi-sdr-record-format.h" #include "freeipmi/spec/ipmi-channel-spec.h" #include "freeipmi/spec/ipmi-comp-code-spec.h" +#include "freeipmi/spec/ipmi-ipmb-lun-spec.h" #include "freeipmi/spec/ipmi-slave-address-spec.h" #include "freeipmi/spec/ipmi-sensor-units-spec.h" #include "freeipmi/util/ipmi-sensor-and-event-code-tables-util.h" @@ -563,7 +564,7 @@ */ if (!(ctx->flags & IPMI_SENSOR_READ_FLAGS_ASSUME_BMC_OWNER)) { - if (slave_address == IPMI_SLAVE_ADDRESS_BMC) + if (slave_address == IPMI_SLAVE_ADDRESS_BMC && sensor_owner_lun == IPMI_BMC_IPMB_LUN_BMC) { if (_get_sensor_reading (ctx, sensor_number, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/freeipmi-1.6.7/man/bmc-watchdog.8.pre.in new/freeipmi-1.6.8/man/bmc-watchdog.8.pre.in --- old/freeipmi-1.6.7/man/bmc-watchdog.8.pre.in 2021-02-10 20:21:51.000000000 +0100 +++ new/freeipmi-1.6.8/man/bmc-watchdog.8.pre.in 2021-03-28 05:52:25.000000000 +0200 @@ -297,8 +297,7 @@ Setup a .B bmc-watchdog daemon that resets the machine after 15 minutes -(900 seconds) if the OS has crashed (see default bmc-watchdog rc -script /etc/init.d/bmc-watchdog for a more complete example): +(900 seconds) if the OS has crashed: bmc-watchdog -d -u 4 -p 0 -a 1 -i 900 #include <@top_srcdir@/man/manpage-common-diagnostics.man>
