From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] package/snort: build with OpenAppID support if luajit/openssl is enabled
Date: Fri, 22 Feb 2019 09:04:28 +0100 [thread overview]
Message-ID: <20190222090428.0547fedb@windsurf> (raw)
In-Reply-To: <1550780846-7463-3-git-send-email-sergio.prado@e-labworks.com>
Hello Sergio,
Thanks for the patch.
On Thu, 21 Feb 2019 17:27:26 -0300
Sergio Prado <sergio.prado@e-labworks.com> wrote:
> Since version 2.9.12, OpenAppID [1] is enabled by default.
>
> OpenAppID depends on luajit and openssl. If we leave it enabled by
> default, snort would require luajit. Since luajit is not available on
> all architectures, that would limit the usage of the snort package.
>
> Since not all users will need/use OpenAppID, let's leave it disabled by
> default. To build with OpenAppID support, the user will need to enable
> luajit and libssl.
>
> Also, it is necessary to apply a patch to fix a compile error when
> building OpenAppID with uclibc and musl. The build fails when
> dereferencing the rpcent structure because rpc.h is not been included.
>
> [1] https://www.snort.org/downloads/openappid/9553
>
> Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Shouldn't this be squashed into PATCH 1/2 ? Indeed, if I applied just
PATCH 1/2, then I suppose snort will no longer build on architectures
that don't support Luajit.
Alternatively PATCH 1/2 could have an unconditional
--disable-open-appid, and then PATCH 2/2 adds the logic to enable
OpenAppID support when possible.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-02-22 8:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-21 20:27 [Buildroot] [PATCH 0/2] package/snort: bump to version 2.9.12 Sergio Prado
2019-02-21 20:27 ` [Buildroot] [PATCH 1/2] " Sergio Prado
2019-02-23 13:51 ` Thomas Petazzoni
2019-02-21 20:27 ` [Buildroot] [PATCH 2/2] package/snort: build with OpenAppID support if luajit/openssl is enabled Sergio Prado
2019-02-22 8:04 ` Thomas Petazzoni [this message]
2019-02-22 8:54 ` Sergio Prado
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190222090428.0547fedb@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox