Disable DES for F35+

This commit is contained in:
Josef Řídký 2021-06-01 09:09:57 +02:00
parent 2f2718771d
commit 3b0b966b01
1 changed files with 7 additions and 3 deletions

View File

@ -10,7 +10,7 @@
Summary: A collection of SNMP protocol tools and libraries
Name: net-snmp
Version: 5.9.1
Release: 2%{?dist}
Release: 3%{?dist}
Epoch: 1
License: BSD
@ -50,7 +50,7 @@ Patch20: net-snmp-5.9-aes-config.patch
Patch21: net-snmp-5.8-clientaddr-error-message.patch
Patch22: net-snmp-5.9-ECC-cert.patch
Patch23: net-snmp-5.9-intermediate-certs.patch
#Patch24: net-snmp-5.9.1-remove-des.patch
Patch24: net-snmp-5.9.1-remove-des.patch
# Modern RPM API means at least EL6
Patch101: net-snmp-5.8-modern-rpm-api.patch
@ -225,7 +225,7 @@ cp %{SOURCE10} .
%patch21 -p1 -b .clientaddr-error-message
%patch22 -p1 -b .ECC-cert
%patch23 -p1 -b .intermediate-certs
#%patch24 -p1 -b .remove-des
%patch24 -p1 -b .remove-des
%patch101 -p1 -b .modern-rpm-api
%patch102 -p1
@ -260,6 +260,7 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib"
--enable-local-smux \
--enable-mfd-rewrites \
--enable-ucd-snmp-compatibility \
--disable-des \
--sysconfdir=%{_sysconfdir} \
--with-cflags="$RPM_OPT_FLAGS -fPIE" \
--with-ldflags="$RPM_LD_FLAGS -lm" \
@ -493,6 +494,9 @@ LD_LIBRARY_PATH=%{buildroot}/%{_libdir} make test
%{_libdir}/libnetsnmptrapd*.so.%{soname}*
%changelog
* Tue Jun 01 2021 Josef Ridky <jridky@redhat.com> - 1:5.9.1-3
- disable DES for F35+
* Tue Jun 01 2021 Josef Ridky <jridky@redhat.com> - 1:5.9.1-2
- restore DES for F34 and F33