summaryrefslogtreecommitdiffstats
path: root/package/snort
Commit message (Collapse)AuthorAgeFilesLines
* snort: fix build on sparc v8Fabrice Fontaine2018-05-131-0/+28
| | | | | | | | | | | Add patch to remove -mcpu=v9 before checking sparc architecture Fixes: - http://autobuild.buildroot.net/results/59625daa154e3136171dcb89bdc3b8b31dc85021 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* snort: avoid detecting the host pcreThomas Petazzoni2018-04-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | The pcre configure script does this: if test "x$with_libpcre_libraries" != "xno"; then LDFLAGS="${LDFLAGS} -L${with_libpcre_libraries}" else LDFLAGS="${LDFLAGS} `pcre-config --libs`" fi So if you don't pass --with-libpcre-libraries, it calls pcre-config as available in the PATH. So it picks up pcre-config from $(HOST_DIR) or the system, which return results inappropriate for cross-compilation. So, let's explicitly pass --with-libpcre-includes and --with-libpcre-libraries to avoid those issues. Fixes: http://autobuild.buildroot.net/results/3df11c48c8e2f795f478d1ee666dda9de19133d0/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/snort: select libdnet packageRomain Naour2018-04-011-0/+1
| | | | | | | | | | | | | "libdnet is in the dependency chain of snort that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in" Fixes: http://autobuild.buildroot.net/results/9cf/9cf5883d1ed95d3d76d529a9a25f0e600adf25cd Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Sergio Prado <sergio.prado@e-labworks.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/snort: new packageSergio Prado2018-04-017-0/+429
Tested on Beaglebone Black. Build-tested with test-pkg. Patch to fix cross-compilation errors submitted upstream [1]. [1] https://lists.snort.org/pipermail/snort-devel/2018-January/011025.html Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> [Romain: - split patch by build issues - convert AC_RUN_IFELSE to AC_CHECK_MEMBERS (ThomasP) - convert AC_RUN_IFELSE to AC_COMPILE_IFELSE (ThomasP) - remove most make variable from SNORT_CONF_ENV - remove SNORT_SOURCE default value] Signed-off-by: Romain Naour <romain.naour@smile.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
OpenPOWER on IntegriCloud