[Bug 236337] [patch] security/suricata: Enable build with python 3.x

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 6 20:31:26 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236337

            Bug ID: 236337
           Summary: [patch] security/suricata: Enable build with python
                    3.x
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: garga at FreeBSD.org
                CC: franco at opnsense.org
                CC: franco at opnsense.org
             Flags: maintainer-feedback?(franco at opnsense.org)

Created attachment 202662
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202662&action=edit
Suricata build with python 3

Currently there are 2 things blocking the build with python 3.x:

1. configure script can't find python 3 binary
2. python script used to create rust c headers is broken with python 3.x

Item #2 was already fixed upstream at commit [1]

To fix #1 I've added a REINPLACE_CMD call at post-patch, when PYTHON option is
enabled, to replace hardcoded python binary options by ${PYTHON_VERSION} that
will contain desired python binary name.

[1]
https://github.com/OISF/suricata/commit/93c956ebdfc1eb252c68f6dce782c37939904fa3

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


More information about the freebsd-ports-bugs mailing list