From 3e8a4a586eb38176aa0cb9d7492f98c49f79e4e68cf9bda48abafb495d5dced2 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 29 May 2023 10:31:38 +0000 Subject: [PATCH] Accepting request 1083575 from home:ateixeira:branches:hardware - Version update to 2.3.27 * Add redfish support for Cray r272z30, Cray windom, and Supermicro * H12DSG-O-CPU (#55, #47) * CI: Enable github workflow (#59, #58, #57, #56) * Misc fixes (#54, #52, #50, #46) - Add file permissions for %{_tmpfilesdir}/powerman.conf - Modified patch service-dynamic-user-configure.patch (refreshed) OBS-URL: https://build.opensuse.org/request/show/1083575 OBS-URL: https://build.opensuse.org/package/show/hardware/powerman?expand=0&rev=48 --- powerman-2.3.26.tar.gz | 3 --- powerman-2.3.27.tar.gz | 3 +++ powerman.changes | 11 +++++++++++ powerman.spec | 8 ++++---- service-dynamic-user-configure.patch | 23 +++++++++++------------ 5 files changed, 29 insertions(+), 19 deletions(-) delete mode 100644 powerman-2.3.26.tar.gz create mode 100644 powerman-2.3.27.tar.gz diff --git a/powerman-2.3.26.tar.gz b/powerman-2.3.26.tar.gz deleted file mode 100644 index 65102df..0000000 --- a/powerman-2.3.26.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:19e213127f468b835165b8e2082ff2dfff62d6832f3332160f2c6ba8b2d286ad -size 703605 diff --git a/powerman-2.3.27.tar.gz b/powerman-2.3.27.tar.gz new file mode 100644 index 0000000..3ff6a14 --- /dev/null +++ b/powerman-2.3.27.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1575f0c2cc49ba14482582b9bbba19e95496434f95d52de6ad2412e66200d2d8 +size 720220 diff --git a/powerman.changes b/powerman.changes index 9fc4a38..0736cd2 100644 --- a/powerman.changes +++ b/powerman.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Apr 28 17:36:06 UTC 2023 - Antonio Teixeira + +- Version update to 2.3.27 + * Add redfish support for Cray r272z30, Cray windom, and Supermicro + * H12DSG-O-CPU (#55, #47) + * CI: Enable github workflow (#59, #58, #57, #56) + * Misc fixes (#54, #52, #50, #46) +- Add file permissions for %{_tmpfilesdir}/powerman.conf +- Modified patch service-dynamic-user-configure.patch (refreshed) + ------------------------------------------------------------------- Sat Mar 4 07:01:36 UTC 2023 - Egbert Eich diff --git a/powerman.spec b/powerman.spec index 77ff52c..917e3a8 100644 --- a/powerman.spec +++ b/powerman.spec @@ -31,13 +31,13 @@ %endif Name: powerman -Version: 2.3.26 +Version: 2.3.27 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/%{version}/%{name}-%{version}.tar.gz +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 @@ -136,14 +136,14 @@ systemd-tmpfiles --create %{_tmpfilesdir}/powerman.conf %files %defattr(-,root,root) -%doc AUTHORS DISCLAIMER COPYING NEWS README TODO +%doc DISCLAIMER COPYING NEWS %{_bindir}/* %{_mandir}/man?/*.* %exclude %{_mandir}/man3/*.* %{_sbindir}/* %config %{_sysconfdir}/powerman/ %attr(0644,root,root) %{_unitdir}/%{name}.service -%{_tmpfilesdir}/powerman.conf +%attr(0644,root,root) %{_tmpfilesdir}/powerman.conf %{?have_sysuser:%{_sysusersdir}/system-user-%{name}.conf} %files devel diff --git a/service-dynamic-user-configure.patch b/service-dynamic-user-configure.patch index b666499..8c4be3f 100644 --- a/service-dynamic-user-configure.patch +++ b/service-dynamic-user-configure.patch @@ -1,7 +1,7 @@ Index: powerman-2.3.26/configure =================================================================== ---- powerman-2.3.26.orig/configure 2021-05-13 09:27:08.014457823 +0200 -+++ powerman-2.3.26/configure 2021-05-13 09:28:54.294979035 +0200 +--- powerman-2.3.26.orig/configure ++++ powerman-2.3.26/configure @@ -633,6 +633,7 @@ ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS @@ -10,7 +10,7 @@ Index: powerman-2.3.26/configure RUN_AS_USER pkgconfigdir WITH_PKG_CONFIG_FALSE -@@ -818,6 +819,7 @@ with_ncurses +@@ -820,6 +821,7 @@ with_systemdsystemunitdir with_tcp_wrappers with_pkgconfig_dir with_user @@ -18,7 +18,7 @@ Index: powerman-2.3.26/configure ' ac_precious_vars='build_alias host_alias -@@ -1501,6 +1503,7 @@ Optional Packages: +@@ -1503,6 +1505,7 @@ Optional Packages: where to install pkg-config *.pc files (EPREFIX/lib/pkgconfig) --with-user=username user for powerman daemon (daemon) @@ -26,7 +26,7 @@ Index: powerman-2.3.26/configure Some influential environment variables: CC C compiler command -@@ -13622,7 +13625,7 @@ fi +@@ -13865,7 +13868,7 @@ fi if test "${with_systemdsystemunitdir+set}" = set; then : withval=$with_systemdsystemunitdir; else @@ -35,7 +35,7 @@ Index: powerman-2.3.26/configure fi if test x"$with_systemdsystemunitdir" != xno; then : -@@ -14149,9 +14152,10 @@ fi +@@ -14307,9 +14310,10 @@ fi @@ -47,13 +47,13 @@ Index: powerman-2.3.26/configure { $as_echo "$as_me:${as_lineno-$LINENO}: checking user to run as" >&5 $as_echo_n "checking user to run as... " >&6; } -@@ -14174,12 +14178,33 @@ _ACEOF +@@ -14332,12 +14336,32 @@ _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${RUN_AS_USER}" >&5 $as_echo "${RUN_AS_USER}" >&6; } + { $as_echo "$as_me:$LINENO: checking group to run as" >&5 +$as_echo_n "checking group to run as... " >&6; } -+ + +# Check whether --with-group was given. +if test "${with_group+set}" = set; then : + withval=$with_group; case "${withval}" in @@ -73,16 +73,15 @@ Index: powerman-2.3.26/configure + { $as_echo "$as_me:$LINENO: result: ${RUN_AS_GROUP}" >&5 +$as_echo "${RUN_AS_GROUP}" >&6; } - ## # Epilogue. ## --ac_config_files="$ac_config_files Makefile examples/powerman_el72.spec libpowerman/Makefile libpowerman/libpowerman.pc liblsd/Makefile libcommon/Makefile powerman/Makefile powermand/Makefile httppower/Makefile snmppower/Makefile plmpower/Makefile etc/Makefile scripts/Makefile scripts/powerman scripts/tmpfiles.d/powerman.conf heartbeat/Makefile man/Makefile man/powerman.1 man/libpowerman.3 man/powerman.conf.5 man/powerman.dev.5 man/httppower.8 man/plmpower.8 man/powermand.8 man/vpcd.8 test/Makefile test/mcr.conf test/sierra.conf test/t07.conf test/t09.conf test/t10.conf test/t17.conf test/t18.conf test/t19.conf test/t20.conf test/t21.conf test/t22.conf test/t23.conf test/t24.conf test/t25.conf test/t26.conf test/t27.conf test/t28.conf test/t29.conf test/t30.conf test/t31.conf test/t32.conf test/t33.conf test/t34.conf test/t35.conf test/t36.conf test/t37.conf test/t38.conf test/t39.conf test/t40.conf test/t41.conf test/t42.conf test/t43.conf test/t44.conf test/t45.conf test/t46.conf test/t47.conf test/t48.conf test/t49.conf test/t50.conf test/t51.conf test/t53.conf test/t54.conf test/t55.conf test/t60.conf test/t61.conf test/test.conf test/test4.conf" -+ac_config_files="$ac_config_files Makefile examples/powerman_el72.spec libpowerman/Makefile libpowerman/libpowerman.pc liblsd/Makefile libcommon/Makefile powerman/Makefile powermand/Makefile httppower/Makefile snmppower/Makefile plmpower/Makefile etc/Makefile scripts/Makefile scripts/powerman scripts/powerman.service scripts/tmpfiles.d/powerman.conf heartbeat/Makefile man/Makefile man/powerman.1 man/libpowerman.3 man/powerman.conf.5 man/powerman.dev.5 man/httppower.8 man/plmpower.8 man/powermand.8 man/vpcd.8 test/Makefile test/mcr.conf test/sierra.conf test/t07.conf test/t09.conf test/t10.conf test/t17.conf test/t18.conf test/t19.conf test/t20.conf test/t21.conf test/t22.conf test/t23.conf test/t24.conf test/t25.conf test/t26.conf test/t27.conf test/t28.conf test/t29.conf test/t30.conf test/t31.conf test/t32.conf test/t33.conf test/t34.conf test/t35.conf test/t36.conf test/t37.conf test/t38.conf test/t39.conf test/t40.conf test/t41.conf test/t42.conf test/t43.conf test/t44.conf test/t45.conf test/t46.conf test/t47.conf test/t48.conf test/t49.conf test/t50.conf test/t51.conf test/t53.conf test/t54.conf test/t55.conf test/t60.conf test/t61.conf test/test.conf test/test4.conf" +-ac_config_files="$ac_config_files Makefile examples/powerman_el72.spec libpowerman/Makefile libpowerman/libpowerman.pc liblsd/Makefile libcommon/Makefile powerman/Makefile powermand/Makefile httppower/Makefile redfishpower/Makefile snmppower/Makefile plmpower/Makefile etc/Makefile scripts/Makefile scripts/powerman scripts/tmpfiles.d/powerman.conf heartbeat/Makefile man/Makefile man/powerman.1 man/libpowerman.3 man/powerman.conf.5 man/powerman.dev.5 man/httppower.8 man/redfishpower.8 man/plmpower.8 man/powermand.8 man/vpcd.8 test/Makefile test/mcr.conf test/sierra.conf test/t07.conf test/t09.conf test/t10.conf test/t17.conf test/t18.conf test/t19.conf test/t20.conf test/t21.conf test/t22.conf test/t23.conf test/t24.conf test/t25.conf test/t26.conf test/t27.conf test/t28.conf test/t29.conf test/t30.conf test/t31.conf test/t32.conf test/t33.conf test/t34.conf test/t35.conf test/t36.conf test/t37.conf test/t38.conf test/t39.conf test/t40.conf test/t41.conf test/t42.conf test/t43.conf test/t44.conf test/t46.conf test/t47.conf test/t48.conf test/t49.conf test/t50.conf test/t51.conf test/t53.conf test/t54.conf test/t55.conf test/t60.conf test/t61.conf test/t62.conf test/t63.conf test/test.conf test/test4.conf" ++ac_config_files="$ac_config_files Makefile examples/powerman_el72.spec libpowerman/Makefile libpowerman/libpowerman.pc liblsd/Makefile libcommon/Makefile powerman/Makefile powermand/Makefile httppower/Makefile redfishpower/Makefile snmppower/Makefile plmpower/Makefile etc/Makefile scripts/Makefile scripts/powerman scripts/powerman.service scripts/tmpfiles.d/powerman.conf heartbeat/Makefile man/Makefile man/powerman.1 man/libpowerman.3 man/powerman.conf.5 man/powerman.dev.5 man/httppower.8 man/redfishpower.8 man/plmpower.8 man/powermand.8 man/vpcd.8 test/Makefile test/mcr.conf test/sierra.conf test/t07.conf test/t09.conf test/t10.conf test/t17.conf test/t18.conf test/t19.conf test/t20.conf test/t21.conf test/t22.conf test/t23.conf test/t24.conf test/t25.conf test/t26.conf test/t27.conf test/t28.conf test/t29.conf test/t30.conf test/t31.conf test/t32.conf test/t33.conf test/t34.conf test/t35.conf test/t36.conf test/t37.conf test/t38.conf test/t39.conf test/t40.conf test/t41.conf test/t42.conf test/t43.conf test/t44.conf test/t46.conf test/t47.conf test/t48.conf test/t49.conf test/t50.conf test/t51.conf test/t53.conf test/t54.conf test/t55.conf test/t60.conf test/t61.conf test/t62.conf test/t63.conf test/test.conf test/test4.conf" cat >confcache <<\_ACEOF -@@ -15231,6 +15256,7 @@ do +@@ -15394,6 +15418,7 @@ do "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;; "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;; "scripts/powerman") CONFIG_FILES="$CONFIG_FILES scripts/powerman" ;;