Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Mar 2019 20:31:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236337] [patch] security/suricata: Enable build with python 3.x
Message-ID:  <bug-236337-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236337

            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@FreeBSD.org
          Reporter: garga@FreeBSD.org
                CC: franco@opnsense.org
                CC: franco@opnsense.org
             Flags: maintainer-feedback?(franco@opnsense.org)

Created attachment 202662
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202662&action=
=3Dedit
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} th=
at
will contain desired python binary name.

[1]
https://github.com/OISF/suricata/commit/93c956ebdfc1eb252c68f6dce782c379399=
04fa3

--=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-236337-7788>