Date: Mon, 07 Aug 2023 14:07:51 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 272998] net-mgmt/net-snmp: fails to build with security/openssl30 (patch included) Message-ID: <bug-272998-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272998 Bug ID: 272998 Summary: net-mgmt/net-snmp: fails to build with security/openssl30 (patch included) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: fabian@wenks.ch CC: brnrd@freebsd.org, zi@FreeBSD.org CC: brnrd@freebsd.org, zi@FreeBSD.org Created attachment 243926 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243926&action= =3Dedit patch for snmplib/snmp_openssl.c As with the approaching end of life for OpenSSL 1.1.1, I tried to upgrade my ports to use security/openssl30 on FreeBSD 12.4. I did the following steps: $EDITOR /etc/make.conf -DEFAULT_VERSIONS+=3Dssl=3Dopenssl +DEFAULT_VERSIONS+=3Dssl=3Dopenssl30 make -C /usr/ports/security/openssl30 config (compare and adjust with security/openssl) nice -n 5 portupgrade -p -o security/openssl30 -f security/openssl nice -n 5 portupgrade -prf -x security/openssl30 security/openssl30 net-mgmt/nagios4 But the build with net-mgmt/net-snmp failed. I did found this entry https://github.com/net-snmp/net-snmp/issues/344 which points to this patch https://github.com/net-snmp/net-snmp/commit/19e75743173cb8d49d49fd685b8e024= 9e83cc820 so I created net-mgmt/net-snmp/files/patch-snmplib-snmp_openssl.c (attached) and now I could build net-snmp with openssl30. I have not tested if this still also build with openssl 1.1.1. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272998-7788>