From nobody Fri Nov 10 09:36:47 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 4SRYcb5yzyz517Kf for ; Fri, 10 Nov 2023 09:36:47 +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 4SRYcb3rBPz3DB4 for ; Fri, 10 Nov 2023 09:36:47 +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=1699609007; 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=dNsVsLcMLOWyhJpsSUTujuAc6jCkl0iwbRZ9eVaVgqE=; b=ixJQ09+Jwp09DqZr29a3hggKgogcdv75XrGmgBnSHOjLIjXBNbZO73tHdcPbPuaMfus2um dTJGV6dVayrAWa3Gbe0DJ3DKaCdrqHeGFQakWoUA+y6REjiQSJqE/siQpQC9lSw+s0lmYR sxOhRxJH076goEJvpmdcWj0jYG6I1FXcIATiVAeAX4F42b0ozbZysIHYhGfu6+izIUZ/Qc lb0+zW6ch6ZmQWHi0T5x7a+gZkdzJfsFGB5GkPOeqbGs84AIHhpEykBU4XVBMefRl4dbBd 7Ueh0BWE8DnsYYS9J4LsREySqyP3k05XWiKN94kmoteRWAfCaUAcntKrzhVxiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699609007; a=rsa-sha256; cv=none; b=R1J4Qt+CNBFpOkw5ZYCNZvqp2Hd4F71BDBKOZrUk860Ac8BVQ6KXrFjsyJAvOEdRol3UN8 QC+FpwqQDU9P/tqjc+T9fuyDFoDkUuv1ro4SsLnUvA4IuzqO1XNFFi7qIzssQRjKyYlkQV f5utrgn411jcjlvmjYOciJQC17r0QYvv1v/XFCipU8q2qIkqZHuE1kOBuSWQnAZjtccy0p sPLG6qBKy4GMkkV+4HMPk+lbM7p2TyGRiZnUlBxuG6w7IVFsCE2KtGiQdZvRdZx9Z9X7cz 3w/iSNIzLPm58aU/BokD4RFBdTkYPNPRX2XMFs4RwiCq7fm3jWzVbFp3XGnB3g== 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 4SRYcb2wnHzsCR for ; Fri, 10 Nov 2023 09:36:47 +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 3AA9alf1045700 for ; Fri, 10 Nov 2023 09:36:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AA9al7A045699 for ports-bugs@FreeBSD.org; Fri, 10 Nov 2023 09:36:47 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 275008] security/wazuh-agent: fix ssl=openssl build Date: Fri, 10 Nov 2023 09:36:47 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: franco@opnsense.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: acm@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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=3D275008 Bug ID: 275008 Summary: security/wazuh-agent: fix ssl=3Dopenssl build Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: acm@FreeBSD.org Reporter: franco@opnsense.org Flags: maintainer-feedback?(acm@FreeBSD.org) Assignee: acm@FreeBSD.org Created attachment 246230 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246230&action= =3Dedit header include fix in Makefile Hi, The native build uses embedded OpenSSL but fails to propagate embedded libr= ary include paths before the system paths are merged leading wazuh-agent to bui= ld against the headers in /usr/local/include which includes OpenSSL on ssl=3Dopenssl* use. for ssl=3Dopenssl111 this is not overly harmful since = the the headers match the expectations, but for ssl=3Dopenssl the faulty headers wi= ll cause a linker error eventually. The solution is to enforce OSSEC_CFLAGS e= arly for all the embedded code. The patch includes "makepatch" output for unrelated files. These can obvio= usly be left out if desired. Note this is an upstream issue in their Makefile and should probably be addressed by them as well. Cheers, Franco --=20 You are receiving this mail because: You are the assignee for the bug.=