Hello community,
here is the log from the commit of package ipmitool for openSUSE:Factory checked in at 2017-08-10 14:05:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ipmitool (Old)
and /work/SRC/openSUSE:Factory/.ipmitool.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ipmitool"
Thu Aug 10 14:05:07 2017 rev:31 rq:514253 version:1.8.18
Changes:
--------
--- /work/SRC/openSUSE:Factory/ipmitool/ipmitool.changes 2015-10-20 00:05:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ipmitool.new/ipmitool.changes 2017-08-10 14:12:59.764910129 +0200
@@ -1,0 +2,102 @@
+Thu Jul 27 18:58:24 UTC 2017 - tchvatal@suse.com
+
+- Switch to OBS service to generate the tarball and changelog
+ automatically from git "osc service dr"
+- Update to version git checkout 20170406.ecb4cfb:
+ * Prevent autoreconf from complaining about missing NEWS
+ * Add git hash and dirty mark to ipmitool version
+- Remove patch ipmitool_1_8_18_ecb4cfbff855_to_HEAD.patch as the
+ patch is directly in the tarball
+- Rename patch:
+ ipmitool_adjust_suse.paths to ipmitool_adjust_suse_paths.patch
+- Drop the --pic switch as it was only for static library
+- Reduce the suse_version for 1210 check to switch systemd on as
+ the package is not building on sle11 anyway
+ * properly depend on systemd-rpm-macros and not full systemd
+- Enable switch for file-security to be more strict on open files
+
+-------------------------------------------------------------------
+Wed Jul 5 14:07:41 UTC 2017 - trenn@suse.de
+
+- Update to latest git HEAD revision of 1.8.18 version
+ commit ecb4cfbff855bb24099f2a80a6dd558518702c7d
+All these patches are now included in one big revision (1.8.18) to
+HEAD patch:
+D 0001-fix-typo.patch
+D 0002-added-microTCA-major-version.patch
+D 0003-replaced-removed-defines-which-are-already-present-i.patch
+D 0004-fix-typo.patch
+D 0006-ID-461-OpenSSL-1.1-compatibility-error-storage-size-.patch
+D 0007-ID-461-Make-compiler-happier-about-changes-related-t.patch
+D 0008-ID-474-Compile-fix-on-nonlinux-systems.patch
+D 0009-Add-bootstrap-support-for-Mac.patch
+D 0013-ID-478-ekanalyzer-Fixed-decoding-of-FRU-fields.patch
+D 0014-ID-479-ekanalyzer-fix-processing-of-custom-mfg.-fiel.patch
+D 0015-ID-477-fru-Fix-decoding-of-non-text-data-in-get_fru_.patch
+D 0017-ID-480-ipmitool-coredumps-in-EVP_CIPHER_CTX_init.patch
+
+This is the big revision (1.8.18) to HEAD patch:
+A ipmitool_1_8_18_ecb4cfbff855_to_HEAD.patch
+
+- Note: the tarball has been generated with git archive from the git
+ repo. It slightly differs (.gitignore and configure.ac) from what
+ was in osc before. No idea why, but the change is tiny and does not matter.
+
+-------------------------------------------------------------------
+Fri Apr 28 15:22:39 UTC 2017 - trenn@suse.de
+
+- Lower prio of message from error to debug (bsc#948540)
+A hpm_x_compatibility_msg_is_debug_only.patch
+
+-------------------------------------------------------------------
+Tue Mar 28 16:41:02 UTC 2017 - trenn@suse.de
+
+- Update to latest git HEAD version adding quite some fixes (fate#321578)
+* Add:
+0001-fix-typo.patch
+0002-added-microTCA-major-version.patch
+0003-replaced-removed-defines-which-are-already-present-i.patch
+0004-fix-typo.patch
+0006-ID-461-OpenSSL-1.1-compatibility-error-storage-size-.patch
+0007-ID-461-Make-compiler-happier-about-changes-related-t.patch
+0008-ID-474-Compile-fix-on-nonlinux-systems.patch
+0009-Add-bootstrap-support-for-Mac.patch
+0013-ID-478-ekanalyzer-Fixed-decoding-of-FRU-fields.patch
+0014-ID-479-ekanalyzer-fix-processing-of-custom-mfg.-fiel.patch
+0015-ID-477-fru-Fix-decoding-of-non-text-data-in-get_fru_.patch
+0017-ID-480-ipmitool-coredumps-in-EVP_CIPHER_CTX_init.patch
+
+
+-------------------------------------------------------------------
+Wed Jan 25 12:23:27 UTC 2017 - felix.gerling@suse.com
+
+- Update to latest version: 1.8.18 (fate#321579)
+D 0001-Incorporate-upstream-comments-to-289-add-whitespace.patch
+
+-------------------------------------------------------------------
+Tue May 3 13:08:43 UTC 2016 - trenn@suse.de
+
+- Update to latest version: 1.8.17
+D ipmitool-1.8.10-implicit-fortify-decl.patch
+D ipmitool-1_8_16_HEAD.patch
+D latest_compile_fixes.patch
+D ipmitool-sol_memleak.patch
+D ipmitool-1_8_15_HEAD.patch
+- Remove whitespace changes from:
+M 0001-Incorporate-upstream-comments-to-289-add-whitespace.patch
+
+-------------------------------------------------------------------
+Thu Feb 25 11:57:55 UTC 2016 - trenn@suse.de
+
+- Update to latest ipmitool source code
+ commit 9020b67347f46554009591ae91e4fa8875c65dfa
+ Date: Tue Jan 12 21:16:37 2016 +0500
+- Fix memleak: bnc#968105
+Add: ipmitool-sol_memleak.patch
+
+-------------------------------------------------------------------
+Wed Feb 24 20:34:19 CET 2016 - ro@suse.de
+
+- do not use systemd macros for non-systemd distributions
+
+-------------------------------------------------------------------
Old:
----
0001-Incorporate-upstream-comments-to-289-add-whitespace.patch
ipmitool-1.8.10-implicit-fortify-decl.patch
ipmitool-1.8.15.tar.bz2
ipmitool-1_8_15_HEAD.patch
ipmitool_adjust_suse.paths
latest_compile_fixes.patch
New:
----
_service
hpm_x_compatibility_msg_is_debug_only.patch
ipmitool-1.8.18.tar.xz
ipmitool_adjust_suse_paths.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ipmitool.spec ++++++
--- /var/tmp/diff_new_pack.5VkSB1/_old 2017-08-10 14:13:00.504805951 +0200
+++ /var/tmp/diff_new_pack.5VkSB1/_new 2017-08-10 14:13:00.508805388 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ipmitool
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,34 +17,25 @@
Name: ipmitool
-BuildRequires: libtool
-BuildRequires: openssl-devel
-BuildRequires: readline-devel
-%if 0%{?suse_version} >= 1210
-BuildRequires: systemd
-%endif
-Url: http://ipmitool.sourceforge.net/
+Version: 1.8.18
+Release: 0
Summary: Utility for IPMI Control
License: BSD-3-Clause
Group: System/Management
-Version: 1.8.15
-Release: 0
-Source: http://heanet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
+Url: http://ipmitool.sourceforge.net/
+Source: %{name}/%{name}-%{version}.tar.xz
Source1: ipmievd.service
Source2: ipmievd.sysconf
-Patch1: ipmitool-1_8_15_HEAD.patch
-Patch3: fwum_enhance_output.patch
-Patch6: fix_file_permissions.patch
-Patch8: several_more_compile_fixes.patch
-Patch9: ipmitool_adjust_suse.paths
-Patch10: 0001-Incorporate-upstream-comments-to-289-add-whitespace.patch
-Patch11: ipmitool-1.8.10-implicit-fortify-decl.patch
-Patch12: latest_compile_fixes.patch
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-# bmc-snmp-proxy needs /usr/sbin/snmpd
+Patch100: fwum_enhance_output.patch
+Patch101: fix_file_permissions.patch
+Patch102: several_more_compile_fixes.patch
+Patch103: ipmitool_adjust_suse_paths.patch
+Patch104: hpm_x_compatibility_msg_is_debug_only.patch
+BuildRequires: libtool
+BuildRequires: openssl-devel
+BuildRequires: readline-devel
+BuildRequires: systemd-rpm-macros
Requires: net-snmp
-# ToDo: Convert old init scripts to systemd with next submit iteration
%{?systemd_requires}
%description
@@ -63,49 +54,37 @@
Log (SEL), printing Field Replaceable Unit (FRU) information, reading
and setting LAN configuration, and chassis power control.
-
-
%prep
%setup -q
-%patch1 -p1
-%patch3 -p1
-%patch6 -p1
-%patch8 -p1
-%patch9 -p1
-%patch10 -p1
-%patch11 -p0
-%patch12 -p1
+%autopatch -p1
%build
-touch INSTALL NEWS
autoreconf -fiv
-%configure --with-pic
-%{__make} %{?jobs:-j%jobs}
+# file-security: enables more security checks on files
+%configure \
+ --enable-file-security
+make %{?_smp_mflags}
%install
-make DESTDIR=$RPM_BUILD_ROOT install
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/ipmitool
-# exchange-bmc-os-info service
+%make_install
+rm -rf %{buildroot}%{_datadir}/doc/ipmitool
-install -D -m 0755 contrib/exchange-bmc-os-info.init.redhat "$RPM_BUILD_ROOT\
-"/%{_sbindir}/exchange-bmc-os-info
-install -D -m 0644 contrib/exchange-bmc-os-info.service.redhat "$RPM_BUILD_ROOT"/usr/lib/systemd/system/exchange-bmc-os-info.service
-install -D -m 0644 contrib/exchange-bmc-os-info.sysconf "$RPM_BUILD_ROOT"/%{_sysconfdir}/exchange-bmc-os-info
-ln -sf %_sbindir/service ${RPM_BUILD_ROOT}%{_sbindir}/rcexchange-bmc-os-info
+# exchange-bmc-os-info service
+install -D -m 0755 contrib/exchange-bmc-os-info.init.redhat %{buildroot}/%{_sbindir}/exchange-bmc-os-info
+install -D -m 0644 contrib/exchange-bmc-os-info.service.redhat %{buildroot}%{_unitdir}/exchange-bmc-os-info.service
+install -D -m 0644 contrib/exchange-bmc-os-info.sysconf %{buildroot}/%{_sysconfdir}/exchange-bmc-os-info
+ln -sf service %{buildroot}%{_sbindir}/rcexchange-bmc-os-info
# ipmievd service
-install -D -m 644 %{S:1} "$RPM_BUILD_ROOT"/usr/lib/systemd/system/ipmievd.service
-install -D -m 644 %{S:2} "$RPM_BUILD_ROOT"/%{_sysconfdir}/ipmievd
-ln -sf %_sbindir/service ${RPM_BUILD_ROOT}%{_sbindir}/rcipmievd
+install -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ipmievd.service
+install -D -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/ipmievd
+ln -sf service %{buildroot}%{_sbindir}/rcipmievd
# bmc-snmp-proxy
-install -D -m 755 contrib/bmc-snmp-proxy "$RPM_BUILD_ROOT"/%{_sbindir}/bmc-snmp-proxy
-install -D -m 644 contrib/bmc-snmp-proxy.service "$RPM_BUILD_ROOT"/usr/lib/systemd/system/bmc-snmp-proxy.service
-install -D -m 755 contrib/bmc-snmp-proxy.sysconf "$RPM_BUILD_ROOT"/%{_sysconfdir}/bmc-snmp-proxy
-ln -sf %_sbindir/service ${RPM_BUILD_ROOT}%{_sbindir}/rcbmc-snmp-proxy
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+install -D -m 755 contrib/bmc-snmp-proxy %{buildroot}/%{_sbindir}/bmc-snmp-proxy
+install -D -m 644 contrib/bmc-snmp-proxy.service %{buildroot}%{_unitdir}/bmc-snmp-proxy.service
+install -D -m 755 contrib/bmc-snmp-proxy.sysconf %{buildroot}/%{_sysconfdir}/bmc-snmp-proxy
+ln -sf service %{buildroot}%{_sbindir}/rcbmc-snmp-proxy
%pre
%service_add_pre bmc-snmp-proxy.service exchange-bmc-os-info.service ipmievd.service
@@ -120,7 +99,6 @@
%service_del_postun bmc-snmp-proxy.service exchange-bmc-os-info.service ipmievd.service
%files
-%defattr(644,root,root)
%doc AUTHORS COPYING README
%{_datadir}/ipmitool
%attr(755,root,root) %{_bindir}/ipmitool
@@ -133,10 +111,10 @@
%config(noreplace) %{_sysconfdir}/exchange-bmc-os-info
%config(noreplace) %{_sysconfdir}/bmc-snmp-proxy
%config(noreplace) %{_sysconfdir}/ipmievd
-%{_prefix}/lib/systemd/system/exchange-bmc-os-info.service
-%{_prefix}/lib/systemd/system/ipmievd.service
-%{_prefix}/lib/systemd/system/bmc-snmp-proxy.service
-%doc %{_mandir}/man1/*
-%doc %{_mandir}/man8/*
+%{_unitdir}/exchange-bmc-os-info.service
+%{_unitdir}/ipmievd.service
+%{_unitdir}/bmc-snmp-proxy.service
+%{_mandir}/man1/*
+%{_mandir}/man8/*
%changelog
++++++ _service ++++++
<services>
<service mode="disabled" name="tar_scm">
<param name="url">https://git.code.sf.net/p/ipmitool/source</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="filename">ipmitool</param>
<param name="versionformat">1.8.18</param>
</service>
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
</services>
++++++ fix_file_permissions.patch ++++++
--- /var/tmp/diff_new_pack.5VkSB1/_old 2017-08-10 14:13:00.568796941 +0200
+++ /var/tmp/diff_new_pack.5VkSB1/_new 2017-08-10 14:13:00.572796378 +0200
@@ -1,8 +1,8 @@
-Index: ipmitool-1.8.15/lib/helper.c
+Index: ipmitool-1.8.18/lib/helper.c
===================================================================
---- ipmitool-1.8.15.orig/lib/helper.c 2015-01-14 14:28:25.104693872 +0100
-+++ ipmitool-1.8.15/lib/helper.c 2015-01-14 14:28:30.392693957 +0100
-@@ -659,7 +659,6 @@
+--- ipmitool-1.8.18.orig/lib/helper.c
++++ ipmitool-1.8.18/lib/helper.c
+@@ -829,7 +829,6 @@ ipmi_start_daemon(struct ipmi_intf *intf
#endif
chdir("/");
@@ -10,11 +10,11 @@
for (fd=0; fd<64; fd++) {
if (fd != intf->fd)
-Index: ipmitool-1.8.15/src/ipmievd.c
+Index: ipmitool-1.8.18/src/ipmievd.c
===================================================================
---- ipmitool-1.8.15.orig/src/ipmievd.c 2015-01-14 14:28:25.112693873 +0100
-+++ ipmitool-1.8.15/src/ipmievd.c 2015-01-14 14:28:30.392693957 +0100
-@@ -701,6 +701,7 @@
+--- ipmitool-1.8.18.orig/src/ipmievd.c
++++ ipmitool-1.8.18/src/ipmievd.c
+@@ -701,6 +701,7 @@ ipmievd_main(struct ipmi_event_intf * ei
int i, rc;
int daemon = 1;
struct sigaction act;
@@ -22,7 +22,7 @@
memset(pidfile, 0, 64);
sprintf(pidfile, "%s%d", DEFAULT_PIDFILE, eintf->intf->devnum);
-@@ -762,8 +763,9 @@
+@@ -763,8 +764,9 @@ ipmievd_main(struct ipmi_event_intf * ei
ipmi_start_daemon(eintf->intf);
++++++ fwum_enhance_output.patch ++++++
--- /var/tmp/diff_new_pack.5VkSB1/_old 2017-08-10 14:13:00.592793562 +0200
+++ /var/tmp/diff_new_pack.5VkSB1/_new 2017-08-10 14:13:00.596792999 +0200
@@ -1,8 +1,8 @@
-Index: ipmitool-1.8.15/lib/ipmi_fwum.c
+Index: ipmitool-1.8.16/lib/ipmi_fwum.c
===================================================================
---- ipmitool-1.8.15.orig/lib/ipmi_fwum.c 2015-01-14 14:28:25.108693872 +0100
-+++ ipmitool-1.8.15/lib/ipmi_fwum.c 2015-01-14 14:28:27.080693904 +0100
-@@ -1099,12 +1099,14 @@
+--- ipmitool-1.8.16.orig/lib/ipmi_fwum.c 2015-11-22 13:50:54.000000000 +0100
++++ ipmitool-1.8.16/lib/ipmi_fwum.c 2016-02-25 13:25:35.907249893 +0100
+@@ -1098,12 +1098,14 @@ ipmi_kfwum_checkfwcompat(tKFWUM_BoardInf
int compatible = 0;
if (boardInfo.iana != firmInfo.iana) {
lprintf(LOG_ERR,
@@ -19,7 +19,7 @@
compatible = (-1);
}
if (compatible != 0) {
-@@ -1122,6 +1124,10 @@
+@@ -1121,6 +1123,10 @@ printf_kfwum_info(tKFWUM_BoardInfo board
printf(
"Target IANA number : %u\n", boardInfo.iana);
printf(
++++++ hpm_x_compatibility_msg_is_debug_only.patch ++++++
Signed-off-by: Thomas Renninger