From nobody Mon Aug 07 14:07:51 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RKJ7D2N5bz4pgS1 for ; Mon, 7 Aug 2023 14:07:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RKJ7D1JpVz4Hlq for ; Mon, 7 Aug 2023 14:07:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691417272; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Tl6c2+CbdWy2VXs9umvTUFwOD5zOEuWFykMlrdFeMVI=; b=KEyhbvqR/idzxC1aDfTqODngz3iQ3TqmDwJXFFmFUwD6SyqLReUgLt0kRPx7u3Qp/rBb2O IZsMj/VoaR3RVHnAsgK7gP6IuzgmjHcKs8EVdJSVTaIIrXv2gFjh0xhU/wR7EGO6LSIIAO AEAVIuzyu0EGDxLPHBq1CznS+Nq2akJj2llPZnBsu5COnnX5RTeRPRd7i8wS4Uas1oq4pE uo0x0s+ssv9sfj8AB22MYwfLV43ODQkVu9cICqQLEyBFb9gaUtReMA/h7OXz1sXLZWyYcM uz8y8ibJ9HunKfe8ahj0HtktrxZ8jSemzO7pGAVKOkHbxKVNzqtkElafFG13OQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691417272; a=rsa-sha256; cv=none; b=WGxxJf700GCBLWW4yAIEOe/eyxpttDzyWGKjcr/A5R+l14eqlboTGSVTzy9mMeie3E/Uqj BP4qJikcOdertXHeUo2qailwTC6V1qBK2D1eH5DRo5W0YiZALQAnKS3lg3Z7upM920/Bph gyasxE4hZkQG4fAb+FketZ9g9VEfBIKvDznn4jDWFo/FWnfxt0xRonUK+BSjKGgpyedJiP TmWDckY7i9Q/04evmagG3K9KOH8m/N7tw4Tol7DWGKANQ3wLKBLzWu+f7qShNms8cAW/it 50SX1O64FeQrVqkVPKw3fNOIqpN2LSP3QlPM2Yh4eL94TJ+Jd+cA0OK3mEm0mw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RKJ7D0BGkzvMd for ; Mon, 7 Aug 2023 14:07:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 377E7pOx002276 for ; Mon, 7 Aug 2023 14:07:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 377E7pxC002275 for ports-bugs@FreeBSD.org; Mon, 7 Aug 2023 14:07:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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) Date: Mon, 07 Aug 2023 14:07:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fabian@wenks.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 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.=