Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package eth-ff for openSUSE:Factory checked in at 2023-02-02 18:09:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/eth-ff (Old) and /work/SRC/openSUSE:Factory/.eth-ff.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "eth-ff" Thu Feb 2 18:09:05 2023 rev:3 rq:1062637 version:11.3.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/eth-ff/eth-ff.changes 2022-09-30 17:57:46.429245965 +0200 +++ /work/SRC/openSUSE:Factory/.eth-ff.new.32243/eth-ff.changes 2023-02-02 18:23:41.989748375 +0100 @@ -1,0 +2,6 @@ +Fri Jan 27 09:16:29 UTC 2023 - Nicolas Morey <nicolas.mo...@suse.com> + +- Add topology-fix-support-for-disabled-MD5-authentication.patch to fix + compilation issues with net-snmp with disabled MD5 authentication. + +------------------------------------------------------------------- New: ---- topology-fix-support-for-disabled-MD5-authentication.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ eth-ff.spec ++++++ --- /var/tmp/diff_new_pack.dp4Qtv/_old 2023-02-02 18:23:42.413750963 +0100 +++ /var/tmp/diff_new_pack.dp4Qtv/_new 2023-02-02 18:23:42.421751012 +0100 @@ -1,7 +1,7 @@ # # spec file for package eth-ff # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,6 +32,7 @@ Source1: eth-ff.rpmlintrc Patch1: eth-ff-suse-build-fixes.patch Patch2: eth-ff-add-shebang-for-exp-files.patch +Patch3: topology-fix-support-for-disabled-MD5-authentication.patch BuildRequires: gcc-c++ BuildRequires: infiniband-diags-devel BuildRequires: libexpat-devel @@ -71,6 +72,7 @@ %setup -q -n %{name}-%{version}%{git_ver} %patch1 %patch2 +%patch3 %build export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-address-of-packed-member" ++++++ topology-fix-support-for-disabled-MD5-authentication.patch ++++++ commit ba2486d3f78e2292e2b057ea37763c9c658cbcee Author: Nicolas Morey <nmo...@suse.com> Date: Fri Jan 27 10:13:12 2023 +0100 topology: fix support for disabled MD5 authentication Signed-off-by: Nicolas Morey <nmo...@suse.com> diff --git Topology/hpnmgt_snmp.c Topology/hpnmgt_snmp.c index e5bd84b9a6cb..b6a7b29d276d 100644 --- Topology/hpnmgt_snmp.c +++ Topology/hpnmgt_snmp.c @@ -2139,9 +2139,14 @@ HMGT_STATUS_T collect_data(SNMPHost *hosts, SNMPOid *sw_oids, SNMPOid *nic_oids, //Authentication Protocol if ( (secLevel == SNMP_SEC_LEVEL_AUTHNOPRIV) || (secLevel == SNMP_SEC_LEVEL_AUTHPRIV) ) { if (strcmp(fabric->SnmpAuthenticationProtocol, "MD5") == 0) { +#ifndef NETSNMP_DISABLE_MD5 authProtocol = usmHMACMD5AuthProtocol; authProtocolLength = USM_AUTH_PROTO_MD5_LEN; DBGPRINT("Running MD5 authentication \n"); +#else + fprintf(stderr, "%s: MD5 authentication selected but disabled in net-snmp\n", __func__); + configParseError = 1; +#endif } else if (strcmp(fabric->SnmpAuthenticationProtocol, "SHA") == 0) { authProtocol = usmHMACSHA1AuthProtocol; authProtocolLength = USM_AUTH_PROTO_SHA_LEN;