Accepting request 1069386 from home:eeich:branches:hardware
- Replace-deprecated-usmHMACMD5AuthProtocol-Protocol-by-SNMP_DEFAULT_AUTH_PROTO.patch Replace deprecated usmHMACMD5AuthProtocol Protocol by SNMP_DEFAULT_AUTH_PROTO. - Utilize sysuser infrastructure to set user/group powerman. OBS-URL: https://build.opensuse.org/request/show/1069386 OBS-URL: https://build.opensuse.org/package/show/hardware/powerman?expand=0&rev=46
This commit is contained in:
parent
aa3833e43c
commit
91721ca628
@ -0,0 +1,28 @@
|
||||
From: Egbert Eich <eich@suse.com>
|
||||
Date: Sat Mar 4 07:59:09 2023 +0100
|
||||
Subject: Replace deprecated usmHMACMD5AuthProtocol Protocol by SNMP_DEFAULT_AUTH_PROTO
|
||||
Patch-mainline: Not yet
|
||||
Git-commit: 01428c387fc149489536ba9a9ea17095f5a20bc5
|
||||
References:
|
||||
|
||||
Signed-off-by: Egbert Eich <eich@suse.com>
|
||||
Signed-off-by: Egbert Eich <eich@suse.de>
|
||||
---
|
||||
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)
|
||||
session.securityNameLen = strlen (av[1]);
|
||||
|
||||
session.securityLevel = SNMP_SEC_LEVEL_AUTHNOPRIV;
|
||||
- session.securityAuthProto = usmHMACMD5AuthProtocol;
|
||||
+ session.securityAuthProto = SNMP_DEFAULT_AUTH_PROTO;
|
||||
session.securityAuthProtoLen =
|
||||
- sizeof (usmHMACMD5AuthProtocol) / sizeof (oid);
|
||||
+ sizeof (SNMP_DEFAULT_AUTH_PROTO) / sizeof (oid);
|
||||
session.securityAuthKeyLen = USM_AUTH_KU_LEN;
|
||||
|
||||
if (generate_Ku (session.securityAuthProto,
|
@ -1,7 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 4 07:01:36 UTC 2023 - Egbert Eich <eich@suse.com>
|
||||
|
||||
- Replace-deprecated-usmHMACMD5AuthProtocol-Protocol-by-SNMP_DEFAULT_AUTH_PROTO.patch
|
||||
Replace deprecated usmHMACMD5AuthProtocol Protocol by
|
||||
SNMP_DEFAULT_AUTH_PROTO.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 15 14:20:41 UTC 2021 - Egbert Eich <eich@suse.com>
|
||||
|
||||
- Utilize sysuser infrastructure to set user/group powerman.
|
||||
- Utilize sysuser infrastructure to set user/group powerman.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 13:06:07 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
@ -41,6 +41,7 @@ Source0: https://github.com/chaos/%{name}/releases/download/%{version}/%{
|
||||
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
|
||||
BuildRequires: automake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: ncurses-devel
|
||||
@ -84,6 +85,7 @@ Header files, pkg-config file and man pages for developing applications using Po
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
|
Loading…
Reference in New Issue
Block a user