[Bug 280238] security/crowdsec-firewall-bouncer: not WITH_PIE safe

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 12 Jul 2024 11:25:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280238

            Bug ID: 280238
           Summary: security/crowdsec-firewall-bouncer: not WITH_PIE safe
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: netchild@FreeBSD.org
                CC: marco@crowdsec.net
             Flags: maintainer-feedback?(marco@crowdsec.net)
                CC: marco@crowdsec.net

Hi,

the port fails to build when WITH_PIE=yes is set.

I suggest to add PIE_UNSAFE=yes to the port Makefile (or fix the build with
WITH_PIE, but the easy stuff of adding --buildmode=pie is already in
Mk/USES/go.mk and it seems to be not trivial to get this to work in the generic
case --
https://dubo-dubon-duponey.medium.com/a-beginners-guide-to-cross-compiling-static-cgo-pie-binaries-golang-1-16-792eea92d5aa).

Bye,
Alexander.

-- 
You are receiving this mail because:
You are the assignee for the bug.