All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/suricata: fix build without geoip
@ 2019-10-07 19:42 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2019-10-07 19:42 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=9bab165ccbacdf94955eadda8b5e24233560af53
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Fixes:
 - http://autobuild.buildroot.org/results/a7a34f760ae5fe0922fdb720b8234dbcd85ed222

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 .../0002-configure.ac-fix-disable-geoip.patch      | 33 ++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/package/suricata/0002-configure.ac-fix-disable-geoip.patch b/package/suricata/0002-configure.ac-fix-disable-geoip.patch
new file mode 100644
index 0000000000..7dae57a875
--- /dev/null
+++ b/package/suricata/0002-configure.ac-fix-disable-geoip.patch
@@ -0,0 +1,33 @@
+From 4e8b006cdd30e43f3ab11296710170488fd5b5de Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Sun, 6 Oct 2019 09:53:23 +0200
+Subject: [PATCH] configure.ac: fix --disable-geoip
+
+$enableval should be used to know if the user has passed --enable-geoip
+or --disable-geoip
+
+Fixes:
+ - http://autobuild.buildroot.org/results/a7a34f760ae5fe0922fdb720b8234dbcd85ed222
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Upstream status: https://github.com/OISF/suricata/pull/4278
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 3df576d54..fa671024d 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2143,7 +2143,7 @@
+   # libmaxminddb
+     AC_ARG_ENABLE(geoip,
+ 	        AS_HELP_STRING([--enable-geoip],[Enable GeoIP support]),
+-	        [ enable_geoip="yes"],
++	        [ enable_geoip="$enableval"],
+ 	        [ enable_geoip="no"])
+     AC_ARG_ENABLE(libgeoip,
+     AS_HELP_STRING([--disable-libgeoip], [Disable libgeoip support]),
+-- 
+2.23.0
+

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-07 19:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07 19:42 [Buildroot] [git commit] package/suricata: fix build without geoip Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.