Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 18EB8CD5BB1 for ; Sat, 23 May 2026 09:12:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id B698D40ED1; Sat, 23 May 2026 09:12:02 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id uFEJtlLaagzb; Sat, 23 May 2026 09:12:01 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 9B01840EDC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org; s=default; t=1779527521; bh=56M9vo1Xe4EuYZp0KvcETat1fZAXRAc0Vi4x1eid/PA=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=GmStG4rXDnSG8WzK4SnHmkQjKqXCDam5ECqKMsvfYq2Oq6fFeqryrF3lAU0n60R7I qYePq4cAvLjFyTtlhdvsV/peonMEF/pOqTx1ezmjucxK8GxwbNq0PbYvhH5A3KSbnR 6Aq74gV+2Yi8eZbIuqIMZEGJ2mc7jp9ulPeAtEFz56fL43XxSUGVzixFMSEbOb35lt C5J9cge4MTTzyseULIwKvRolNyxVJdAQ6nXEuWWzdjJAFGF+LdwMryHGaErh8vnPvn Q20U4ubEBCmHHj9Ghq2b47kP4cMExnjIIf10Zts6jhII0dJk4Rz3GExAt7kH39SaEd kJVghquXYlusg== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 9B01840EDC; Sat, 23 May 2026 09:12:01 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists1.osuosl.org (Postfix) with ESMTP id A810F263 for ; Sat, 23 May 2026 09:12:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 953B740EDD for ; Sat, 23 May 2026 09:12:00 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id NnGiAA_PRXTq for ; Sat, 23 May 2026 09:11:59 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57; helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 5C96340ED1 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 5C96340ED1 Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by smtp4.osuosl.org (Postfix) with ESMTPS id 5C96340ED1 for ; Sat, 23 May 2026 09:11:59 +0000 (UTC) Received: from fli4l.lan.fli4l (p54a1b5dd.dip0.t-ipconnect.de [84.161.181.221]) by dd20012.kasserver.com (Postfix) with ESMTPSA id 4ADFBA4C013E for ; Sat, 23 May 2026 11:11:57 +0200 (CEST) Received: from bruckner.lan.fli4l ([192.168.1.1]:36918) by fli4l.lan.fli4l with esmtp (Exim 4.99.3) (envelope-from ) id 1wQiOi-000000001HG-21TP for buildroot@buildroot.org; Sat, 23 May 2026 09:11:56 +0000 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 23 May 2026 11:11:52 +0200 Message-ID: <20260523091156.112718-1-bernd@kuhls.net> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-Spamd-Bar: + X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuhls.net; s=kas202511301023; t=1779527517; bh=QkIbfVEud1u4qcYv9fMbc5GTvwcRlJk5nfwm1gefOqU=; h=From:To:Subject:Date:From; b=Kloi3FalEsju+fAogr3rl0djd4IDOjenQMJ5Jl4JYnbIn40L88KsgZH7+kyCUfTpH Uqa/azVmjUAbTsUL2TdNUPkvBWeOGFrB6eCkb/Fwxg/2zAIvLBMrFuj7BUk5AV8JYt tL4b/bWIk+YFu4X+Opa3eJJmboptC0L0ULBQfuDHaw78Iay6dJxRZRs3fYE6nsHBNd 5ndUmA7GDd355WfcqjXke/JkPx4sZTUyMm+dmAo0/FSqWP6yjYfWJpAKZYE5tTrhkT 04b8EPE6gFqnL0PmisAEjDamh1kdkucw6U7K/N/J8vZ4z++D4dvdt8loygQFKq79CF Za9Y5+JbTzZEw== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=kuhls.net X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256 header.s=kas202511301023 header.b=Kloi3Fal Subject: [Buildroot] [PATCH 1/5] package/daq: remove package X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" As discussed on the mailinglist: https://lists.buildroot.org/pipermail/buildroot/2026-April/799920.html Signed-off-by: Bernd Kuhls --- .checkpackageignore | 2 - Config.in.legacy | 7 +++ DEVELOPERS | 1 - package/Config.in | 1 - ...Fix-build-against-the-musl-C-library.patch | 54 ------------------- package/daq/0002-parallel-grammar.patch | 29 ---------- ...-fix-incompatible-pointer-type-error.patch | 31 ----------- package/daq/Config.in | 11 ---- package/daq/daq.hash | 7 --- package/daq/daq.mk | 50 ----------------- package/daq3/Config.in | 2 - 11 files changed, 7 insertions(+), 188 deletions(-) delete mode 100644 package/daq/0001-Fix-build-against-the-musl-C-library.patch delete mode 100644 package/daq/0002-parallel-grammar.patch delete mode 100644 package/daq/0003-daq-fix-incompatible-pointer-type-error.patch delete mode 100644 package/daq/Config.in delete mode 100644 package/daq/daq.hash delete mode 100644 package/daq/daq.mk diff --git a/.checkpackageignore b/.checkpackageignore index 691e2b8138..822260dad0 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -269,8 +269,6 @@ package/dahdi-tools/0002-no-perl-manpages.patch lib_patch.Upstream package/dante/0001-fix-sparc-compile.patch lib_patch.Upstream package/dante/0002-osdep-m4-Remove-getaddrinfo-too-low-checks.patch lib_patch.Upstream package/dante/S50dante Shellcheck lib_sysv.Indent lib_sysv.Variables -package/daq/0001-Fix-build-against-the-musl-C-library.patch lib_patch.Upstream -package/daq/0002-parallel-grammar.patch lib_patch.Upstream package/darkhttpd/S50darkhttpd Shellcheck lib_sysv.Indent lib_sysv.Variables package/davfs2/0001-src-Makefile.am-do-not-hardcode-fstack-protector-str.patch lib_patch.Upstream package/dbus-cpp/0001-gcc4.7.patch lib_patch.Upstream diff --git a/Config.in.legacy b/Config.in.legacy index ef952ed524..12609ffb77 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2026.05" +config BR2_PACKAGE_DAQ + bool "daq removed" + select BR2_LEGACY + help + The only dependee, snort, has been removed. Look at daq3 + for an alternative. + config BR2_PACKAGE_FWTS_EFI_RUNTIME_MODULE bool "fwts efi_runtime kernel module removed" select BR2_LEGACY diff --git a/DEVELOPERS b/DEVELOPERS index 125e7f8248..c426563870 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -3037,7 +3037,6 @@ F: package/aoetools/ F: package/asn1c/ F: package/azure-iot-sdk-c/ F: package/curlpp/ -F: package/daq/ F: package/libgdiplus/ F: package/pimd/ F: package/sloci-image/ diff --git a/package/Config.in b/package/Config.in index 9cae377fb5..d6a6490c6c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1984,7 +1984,6 @@ menu "Networking" source "package/cppzmq/Config.in" source "package/curlpp/Config.in" source "package/czmq/Config.in" - source "package/daq/Config.in" source "package/daq3/Config.in" source "package/davici/Config.in" source "package/dht/Config.in" diff --git a/package/daq/0001-Fix-build-against-the-musl-C-library.patch b/package/daq/0001-Fix-build-against-the-musl-C-library.patch deleted file mode 100644 index 25f2f9c498..0000000000 --- a/package/daq/0001-Fix-build-against-the-musl-C-library.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 42efa6d76a3b52f35e576a6b941a9afb5b3879e9 Mon Sep 17 00:00:00 2001 -From: Sergio Prado -Date: Tue, 9 Jan 2018 21:39:27 -0200 -Subject: [PATCH] Fix build against the musl C library - -Signed-off-by: Sergio Prado ---- - os-daq-modules/daq_ipfw.c | 2 +- - os-daq-modules/daq_ipq.c | 2 +- - os-daq-modules/daq_nfq.c | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/os-daq-modules/daq_ipfw.c b/os-daq-modules/daq_ipfw.c -index 016beb06ad61..98f67717f646 100644 ---- a/os-daq-modules/daq_ipfw.c -+++ b/os-daq-modules/daq_ipfw.c -@@ -26,7 +26,7 @@ - - #include - #include --#include -+#include - - #include - #include -diff --git a/os-daq-modules/daq_ipq.c b/os-daq-modules/daq_ipq.c -index 77ec6e9505e5..b15e5cf82af0 100644 ---- a/os-daq-modules/daq_ipq.c -+++ b/os-daq-modules/daq_ipq.c -@@ -27,7 +27,7 @@ - - #include - #include --#include -+#include - - #include - -diff --git a/os-daq-modules/daq_nfq.c b/os-daq-modules/daq_nfq.c -index 33021c0ec991..0df1e61c74c4 100644 ---- a/os-daq-modules/daq_nfq.c -+++ b/os-daq-modules/daq_nfq.c -@@ -27,7 +27,7 @@ - - #include - #include --#include -+#include - - #include - --- -1.9.1 - diff --git a/package/daq/0002-parallel-grammar.patch b/package/daq/0002-parallel-grammar.patch deleted file mode 100644 index ba0e256f53..0000000000 --- a/package/daq/0002-parallel-grammar.patch +++ /dev/null @@ -1,29 +0,0 @@ -Fix parallel build - -https://bugs.gentoo.org/673390 - -Downloaded from -https://gitweb.gentoo.org/repo/gentoo.git/tree/net-libs/daq/files/daq-2.0.6-parallel-grammar.patch - -Patch was sent upstream: https://seclists.org/snort/2014/q3/1016 - -Signed-off-by: Bernd Kuhls - ---- a/sfbpf/Makefile.am -+++ b/sfbpf/Makefile.am -@@ -43,13 +43,14 @@ - libsfbpf_la_LDFLAGS = -version-info 0:1:0 @XCCFLAGS@ - - # use of $@ and $< here is a GNU idiom that borks BSD --sf_scanner.c: $(srcdir)/scanner.l -+sf_scanner.c: $(srcdir)/scanner.l tokdefs.h - @rm -f $(srcdir)/sf_scanner.c - $(srcdir)/runlex.sh $(V_LEX) -osf_scanner.c $(srcdir)/scanner.l - - sf_scanner.o: sf_scanner.c tokdefs.h - - tokdefs.h: sf_grammar.c -+ - sf_grammar.c: $(srcdir)/grammar.y - @rm -f sf_grammar.c tokdefs.h - $(V_YACC) -d $(srcdir)/grammar.y diff --git a/package/daq/0003-daq-fix-incompatible-pointer-type-error.patch b/package/daq/0003-daq-fix-incompatible-pointer-type-error.patch deleted file mode 100644 index a15d325cd6..0000000000 --- a/package/daq/0003-daq-fix-incompatible-pointer-type-error.patch +++ /dev/null @@ -1,31 +0,0 @@ -Fix daq incompatible pointer type error when gcc option -'-Wincompatible-pointer-types is set: - -| ../../daq-2.0.7/os-daq-modules/daq_nfq.c: In function 'SetPktHdr': -| ../../daq-2.0.7/os-daq-modules/daq_nfq.c:394:37: error: passing argument 2 - of 'nfq_get_payload' from incompatible pointer type [-Wincompatible-pointer-types] -| 394 | int len = nfq_get_payload(nfad, (char**)pkt); -| | ^~~~~~~~~~~ -| | | -| | char ** - -Signed-off-by: Kai Kang -Upstream: https://git.openembedded.org/meta-openembedded/tree/meta-networking/recipes-connectivity/daq/files/daq-fix-incompatible-pointer-type-error.patch?h=master -Signed-off-by: Thomas Perale ---- - os-daq-modules/daq_nfq.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/os-daq-modules/daq_nfq.c b/os-daq-modules/daq_nfq.c -index 4de94b6..a6de2f3 100644 ---- a/os-daq-modules/daq_nfq.c -+++ b/os-daq-modules/daq_nfq.c -@@ -391,7 +391,7 @@ static inline int SetPktHdr ( - DAQ_PktHdr_t* hdr, - uint8_t** pkt - ) { -- int len = nfq_get_payload(nfad, (char**)pkt); -+ int len = nfq_get_payload(nfad, (unsigned char**)pkt); - - if ( len <= 0 ) - return -1; diff --git a/package/daq/Config.in b/package/daq/Config.in deleted file mode 100644 index ad294abd60..0000000000 --- a/package/daq/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_DAQ - bool "daq" - depends on !BR2_STATIC_LIBS # dlfcn.h - help - DAQ is a Data Acquisition library for packet I/O from the - Snort project. - - https://www.snort.org - -comment "daq needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS diff --git a/package/daq/daq.hash b/package/daq/daq.hash deleted file mode 100644 index 82323ed404..0000000000 --- a/package/daq/daq.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://www.snort.org/downloads/snort/md5s -md5 60e5ddcafb985fac7374884d28f299d1 daq-2.0.7-modified.tar.gz -# Locally computed: -sha256 d1f6709bc5dbddee3fdf170cdc1e49fb926e2031d4869ecf367a8c47efc87279 daq-2.0.7-modified.tar.gz - -# Hash for license files: -sha256 07f28289c09fd9eb5a6ff7bc710ff40363601b1bbc6f3637d8ed412150e90819 COPYING diff --git a/package/daq/daq.mk b/package/daq/daq.mk deleted file mode 100644 index 27abd4d2f5..0000000000 --- a/package/daq/daq.mk +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# -# daq -# -################################################################################ - -DAQ_VERSION = 2.0.7 -# Upstream re-published a modified archive for the same 2.0.7 version, so change -# its name locally, to avoid conflict with older BR versions which had a hash -# for the previous archive. -DAQ_SOURCE = daq-2.0.7-modified.tar.gz -DAQ_SITE = https://www.snort.org/downloads/snort/daq-$(DAQ_VERSION).tar.gz?buildroot-path=filename -DAQ_LICENSE = GPL-2.0 -DAQ_LICENSE_FILES = COPYING -DAQ_INSTALL_STAGING = YES -DAQ_DEPENDENCIES = host-bison host-flex -# 0002-parallel-grammar.patch -# 2.0.7 needs autoreconf due to configure being older than configure.ac -DAQ_AUTORECONF = YES - -# disable ipq module as libipq is deprecated -DAQ_CONF_OPTS += --disable-ipq-module - -# Set --with-dnet-{includes,libraries} even if ipq and nfq modules are disabled -# otherwise daq will call 'dnet-config --cflags' and 'dnet-config --libs' which -# will result in a build failure if libdnet is installed on host -DAQ_CONF_OPTS += \ - --with-dnet-includes=$(STAGING_DIR)/usr/include \ - --with-dnet-libraries=$(STAGING_DIR)/usr/lib - -ifeq ($(BR2_PACKAGE_LIBDNET)$(BR2_PACKAGE_LIBNETFILTER_QUEUE),yy) -DAQ_DEPENDENCIES += libdnet libnetfilter_queue -DAQ_CONF_OPTS += --enable-nfq-module -else -DAQ_CONF_OPTS += --disable-nfq-module -endif - -ifeq ($(BR2_PACKAGE_LIBPCAP),y) -DAQ_DEPENDENCIES += libpcap -# assume these flags are available to prevent configure from running -# test programs while cross compiling -DAQ_CONF_ENV += \ - ac_cv_lib_pcap_pcap_lib_version=yes \ - daq_cv_libpcap_version_1x=yes -DAQ_CONF_OPTS += --enable-pcap-module -else -DAQ_CONF_OPTS += --disable-pcap-module -endif - -$(eval $(autotools-package)) diff --git a/package/daq3/Config.in b/package/daq3/Config.in index b53e5508fd..8025e48bc7 100644 --- a/package/daq3/Config.in +++ b/package/daq3/Config.in @@ -1,6 +1,5 @@ config BR2_PACKAGE_DAQ3 bool "daq3" - depends on !BR2_PACKAGE_DAQ depends on !BR2_STATIC_LIBS # dlfcn.h depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 depends on BR2_TOOLCHAIN_HAS_THREADS @@ -11,6 +10,5 @@ config BR2_PACKAGE_DAQ3 https://www.snort.org comment "daq3 needs a toolchain w/ dynamic library, gcc >= 4.9, threads" - depends on !BR2_PACKAGE_DAQ depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ || !BR2_TOOLCHAIN_HAS_THREADS -- 2.47.3 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot