Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package powerman for openSUSE:Factory 
checked in at 2024-05-21 18:35:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/powerman (Old)
 and      /work/SRC/openSUSE:Factory/.powerman.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "powerman"

Tue May 21 18:35:37 2024 rev:32 rq:1175369 version:2.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/powerman/powerman.changes        2024-03-07 
22:03:15.064609570 +0100
+++ /work/SRC/openSUSE:Factory/.powerman.new.1880/powerman.changes      
2024-05-21 18:36:10.409795112 +0200
@@ -1,0 +2,20 @@
+Tue May 14 19:04:31 UTC 2024 - Antonio Teixeira <[email protected]>
+
+- Update to version 2.4.2:
+  * New features
+    * redfishpower: cache host resolution lookups (#190)
+    * redfishpower: support new --resolve-hosts option (#188)
+    * redfishpower: support message timeout config (#186)
+  * Fixes
+    * redfishpower: increase default message timeout (#191)
+    * redfishpower: output more detailed error messages (#183)
+- Changelog for 2.4.1 and 2.4.0:
+  * Too many changes, see NEWS.md
+- Removed patches:
+  * service-dynamic-user-autofiles.patch
+  * service-dynamic-user-configure.patch
+- Refreshed patches:
+  * 
Replace-deprecated-usmHMACMD5AuthProtocol-Protocol-by-SNMP_DEFAULT_AUTH_PROTO.patch
+  * harden_powerman.service.patch
+
+-------------------------------------------------------------------

Old:
----
  powerman-2.3.27.tar.gz
  service-dynamic-user-autofiles.patch
  service-dynamic-user-configure.patch

New:
----
  powerman-2.4.2.tar.gz

BETA DEBUG BEGIN:
  Old:- Removed patches:
  * service-dynamic-user-autofiles.patch
  * service-dynamic-user-configure.patch
  Old:  * service-dynamic-user-autofiles.patch
  * service-dynamic-user-configure.patch
- Refreshed patches:
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ powerman.spec ++++++
--- /var/tmp/diff_new_pack.eokbF7/_old  2024-05-21 18:36:10.973815753 +0200
+++ /var/tmp/diff_new_pack.eokbF7/_new  2024-05-21 18:36:10.977815900 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package powerman
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,22 +31,23 @@
 %endif
 
 Name:           powerman
-Version:        2.3.27
+Version:        2.4.2
 Release:        0
 Summary:        Centralized Power Control for Clusters
 License:        GPL-2.0-or-later
 Group:          Productivity/Clustering/HA
 URL:            https://github.com/chaos/powerman
-Source0:        
https://github.com/chaos/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
-Patch1:         service-dynamic-user-autofiles.patch
-Patch2:         service-dynamic-user-configure.patch
-Patch3:         harden_powerman.service.patch
-Patch4:         
Replace-deprecated-usmHMACMD5AuthProtocol-Protocol-by-SNMP_DEFAULT_AUTH_PROTO.patch
+Source:         
https://github.com/chaos/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
+Patch1:         harden_powerman.service.patch
+Patch2:         
Replace-deprecated-usmHMACMD5AuthProtocol-Protocol-by-SNMP_DEFAULT_AUTH_PROTO.patch
 BuildRequires:  automake
+BuildRequires:  bison
 BuildRequires:  fdupes
+BuildRequires:  flex
 BuildRequires:  ncurses-devel
 BuildRequires:  pkg-config
 BuildRequires:  tcpd-devel
+BuildRequires:  pkgconfig(jansson)
 BuildRequires:  pkgconfig(libcurl)
 %{?have_sysuser:BuildRequires:  sysuser-tools}
 %if 0%{?_with_snmppower}
@@ -82,6 +83,8 @@
 
 %prep
 %autosetup -p1
+# git is used to set package version in AC_INIT. That fails so we manually set 
the version.
+sed -i "s;m4_esyscmd(\[git describe --always.*\]);\[%{version}\];" configure.ac
 
 %build
 %configure \
@@ -89,6 +92,7 @@
        --with-httppower \
        --with-user=%{powerman_u} \
        --with-group=%{powerman_g} \
+    --with-systemdsystemunitdir=%{_unitdir} \
 %{?_with_snmppower:--with-snmppower} \
 %{?_with_genders:--with-genders} \
 %{?_with_tcp_wrappers:--with-tcp-wrappers} \
@@ -132,7 +136,8 @@
 
 %files
 %defattr(-,root,root)
-%doc DISCLAIMER COPYING NEWS
+%doc DISCLAIMER NEWS.md
+%license COPYING
 %{_bindir}/*
 %{_mandir}/man?/*.*
 %exclude %{_mandir}/man3/*.*
@@ -140,6 +145,7 @@
 %config %{_sysconfdir}/powerman/
 %attr(0644,root,root) %{_unitdir}/%{name}.service
 %attr(0644,root,root) %{_tmpfilesdir}/powerman.conf
+%ghost %{_rundir}/powerman
 %{?have_sysuser:%{_sysusersdir}/system-user-%{name}.conf}
 
 %files devel

++++++ 
Replace-deprecated-usmHMACMD5AuthProtocol-Protocol-by-SNMP_DEFAULT_AUTH_PROTO.patch
 ++++++
--- /var/tmp/diff_new_pack.eokbF7/_old  2024-05-21 18:36:10.997816632 +0200
+++ /var/tmp/diff_new_pack.eokbF7/_new  2024-05-21 18:36:11.001816778 +0200
@@ -8,13 +8,13 @@
 Signed-off-by: Egbert Eich <[email protected]>
 Signed-off-by: Egbert Eich <[email protected]>
 ---
- snmppower/snmppower.c | 4 ++--
+ src/snmppower/snmppower.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
-diff --git a/snmppower/snmppower.c b/snmppower/snmppower.c
-index 652b806..eb30dc4 100644
---- a/snmppower/snmppower.c
-+++ b/snmppower/snmppower.c
-@@ -207,9 +207,9 @@ start_v3 (char **av, char *hostname, struct snmp_session 
**ssp)
+Index: b/src/snmppower/snmppower.c
+===================================================================
+--- a/src/snmppower/snmppower.c
++++ b/src/snmppower/snmppower.c
+@@ -192,9 +192,9 @@ start_v3 (char **av, char *hostname, str
      session.securityNameLen = strlen (av[1]);
  
      session.securityLevel = SNMP_SEC_LEVEL_AUTHNOPRIV;

++++++ harden_powerman.service.patch ++++++
--- /var/tmp/diff_new_pack.eokbF7/_old  2024-05-21 18:36:11.009817071 +0200
+++ /var/tmp/diff_new_pack.eokbF7/_new  2024-05-21 18:36:11.013817217 +0200
@@ -1,10 +1,10 @@
-Index: powerman-2.3.26/scripts/powerman.service.in
+Index: b/etc/powerman.service.in
 ===================================================================
---- powerman-2.3.26.orig/scripts/powerman.service.in
-+++ powerman-2.3.26/scripts/powerman.service.in
+--- a/etc/powerman.service.in
++++ b/etc/powerman.service.in
 @@ -5,6 +5,17 @@ After=syslog.target network.target
  [Service]
- Type=forking
+ Environment=SHELL=/bin/sh
  PrivateTmp=yes
 +# added automatically, for details please see
 +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
@@ -19,5 +19,5 @@
 +# end of automatic additions 
  User=@RUN_AS_USER@
  Group=@RUN_AS_GROUP@
- ExecStart=/usr/sbin/powermand
+ ExecStart=@X_SBINDIR@/powermand
 

++++++ powerman-2.3.27.tar.gz -> powerman-2.4.2.tar.gz ++++++
++++ 158949 lines of diff (skipped)

Reply via email to