package/snort: build with OpenAppID support if luajit/openssl is enabled
authorSergio Prado <sergio.prado@e-labworks.com>
Thu, 21 Feb 2019 20:27:26 +0000 (17:27 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 23 Feb 2019 13:51:48 +0000 (14:51 +0100)
commit0d9a2defb64e10e8167888d5758a45a58dba18cd
treecdb1fbee4d885f6239882c033ced89a0a151fef9
parent58a2000be892bb4eb854e9800339fe2a0c43dbec
package/snort: build with OpenAppID support if luajit/openssl is enabled

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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch [new file with mode: 0644]
package/snort/snort.mk