Skip to contentSkip to conversation

package/libpcap: add host variant

PATCH Superseded Fabrice Fontaine 1 participant 2 messages Oct 17, 2021

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v5 1/2 package/libpcap: add host variant

host-libpcap is needed to build host-zeek

---
 package/libpcap/libpcap.mk | 9 +++++++++
 1 file changed, 9 insertions(+)
package/libpcap/libpcap.mk +9 -0
index 1e02ec56e0..21422b2c0a 100644
@@ -11,6 +11,7 @@ LIBPCAP_LICENSE_FILES = LICENSE
 LIBPCAP_CPE_ID_VENDOR = tcpdump
 LIBPCAP_INSTALL_STAGING = YES
 LIBPCAP_DEPENDENCIES = host-flex host-bison host-pkgconf
+HOST_LIBPCAP_DEPENDENCIES = host-flex host-bison host-pkgconf
 
 # ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
 # provided by autoconf relies on wchar_t.
@@ -23,6 +24,13 @@ LIBPCAP_CONF_OPTS = --disable-yydebug --with-pcap=linux --without-dag \
 	--without-dpdk
 # Disable dbus to break recursive dependencies
 LIBPCAP_CONF_OPTS += --disable-dbus
+HOST_LIBPCAP_CONF_OPTS = \
+	--disable-bluetooth \
+	--disable-dbus \
+	--disable-yydebug \
+	--with-pcap=linux \
+	--without-dag \
+	--without-libnl
 LIBPCAP_CONFIG_SCRIPTS = pcap-config
 
 # Omit -rpath from pcap-config output
@@ -50,3 +58,4 @@ LIBPCAP_CFLAGS += -fPIC
 endif
 
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v5 2/2 package/zeek: new package

The Zeek Network Security Monitor

Zeek is a powerful network analysis framework that is much different from the typical IDS you may know. (Zeek is the new name for the long-established Bro system.)

---
Changes v4 -> v5:
- host-python3 is mandatory

Changes v3 -> v4:
- Bump to latest version (4.1.1) and drop patch (already in version)
- python 2 support dropped since
https://github.com/zeek/zeek/commit/eeec219a66ed89235093fb63753d6baf6c21de78
- BSD-3-Clause added since
https://github.com/zeek/zeek/commit/d070709c573fc01a40735a6c921a9095988306cc

Changes v2 -> v3 (after review of Thomas Petazzoni):
- Bump to version 3.2.2 (security fixes)
- Add host-zeek dependencies
- Install bifcl and binpac to HOST_DIR

Changes v1 -> v2:
- Bump to version 3.2.0
- Drop second and third patches (already in version)
- Update ZEEK_SITE
- Update indentation in hash file (two spaces)
- Update third party licences

 DEVELOPERS             |  1 +
 package/Config.in      |  1 +
 package/zeek/Config.in | 43 +++++++++++++++++++
 package/zeek/zeek.hash |  6 +++
 package/zeek/zeek.mk   | 93 ++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 144 insertions(+)
 create mode 100644 package/zeek/Config.in
 create mode 100644 package/zeek/zeek.hash
 create mode 100644 package/zeek/zeek.mk
DEVELOPERS +1 -0
index 19f6d95270..30383af538 100644
@@ -919,6 +919,7 @@ F:	package/tinycbor/
 F:	package/tinydtls/
 F:	package/tinymembench/
 F:	package/whois/
+F:	package/zeek/
 
 N:	Fabrice Goucem <[email protected]>
 F:	board/freescale/imx6ullevk/
package/Config.in +1 -0
index 48f365d773..93f42cb74e 100644
@@ -2366,6 +2366,7 @@ endif
 	source "package/xinetd/Config.in"
 	source "package/xl2tp/Config.in"
 	source "package/xtables-addons/Config.in"
+	source "package/zeek/Config.in"
 	source "package/znc/Config.in"
 
 endmenu
package/zeek/Config.in new file +43 -0

43 lines not on this page · raw message

package/zeek/zeek.hash new file +6 -0
new file mode 100644
index 0000000000..05e57b5024
@@ -0,0 +1,6 @@
+# Locally computed:
+sha256  8c0afc999a8dd1c1f677a5cf818479b99c2d527e679e1ef99fb1b03f989c0373  zeek-4.1.1.tar.gz
+
+# Hash for license files:
+sha256  b2817e2fb935805ec9fc0e90c6b971efd810d9aedfc646bc5fcb535221e0266a  COPYING
+sha256  1a451eca7b3826a7df62991ba90dd6d23ff03d28c2eefb7f8c4f8b1eac97a61b  COPYING.3rdparty
package/zeek/zeek.mk new file +93 -0

93 lines not on this page · raw message

Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot