Skip to contentSkip to conversation

package/daq: remove package

PATCH New Bernd Kuhls 1 participant 3 messages Apr 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package/daq: remove package

As discussed on the mailinglist:
https://lists.buildroot.org/pipermail/buildroot/2026-April/799920.html

Cc Sergio Prado <[email protected]>
Cc Fabrice Fontaine <[email protected]>
---
 .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
.checkpackageignore +0 -2
index 6e57fb8d32..400e5895a5 100644
@@ -270,8 +270,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
Config.in.legacy +7 -0
index 078e2fdeac..25787f0588 100644
@@ -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_SNORT
 	bool "snort removed"
 	select BR2_LEGACY
DEVELOPERS +0 -1
index 94dfcd04e9..341d50ee2c 100644
@@ -3048,7 +3048,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/
package/Config.in +0 -1
index 310410359d..263554efdc 100644
@@ -1982,7 +1982,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"
package/daq/0001-Fix-build-against-the-musl-C-library.patch deleted +0 -54

54 lines not on this page · raw message

package/daq/0002-parallel-grammar.patch deleted +0 -29
deleted file mode 100644
index ba0e256f53..0000000000
@@ -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 <[email protected]>
-
---- 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
package/daq/0003-daq-fix-incompatible-pointer-type-error.patch deleted +0 -31
deleted file mode 100644
index a15d325cd6..0000000000
@@ -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 <[email protected]>
-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 <[email protected]>
----
- 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;
package/daq/Config.in deleted +0 -11
deleted file mode 100644
index ad294abd60..0000000000
@@ -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
package/daq/daq.hash deleted +0 -7
deleted file mode 100644
index 82323ed404..0000000000
@@ -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
package/daq/daq.mk deleted +0 -50

50 lines not on this page · raw message

package/daq3/Config.in +0 -2
index b53e5508fd..8025e48bc7 100644
@@ -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
Signature · 6 lines
2.47.3

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

PATCH 2/3 package/phidgetwebservice: remove package

As discussed on the mailinglist:
https://lists.buildroot.org/pipermail/buildroot/2026-April/799929.html

Cc Jonathan Ben Avraham <[email protected]>
---
 Config.in.legacy                              |  8 +++++++
 DEVELOPERS                                    |  1 -
 package/Config.in                             |  1 -
 package/phidgetwebservice/Config.in           | 23 -------------------
 .../phidgetwebservice/phidgetwebservice.hash  |  3 ---
 .../phidgetwebservice/phidgetwebservice.mk    | 14 -----------
 6 files changed, 8 insertions(+), 42 deletions(-)
 delete mode 100644 package/phidgetwebservice/Config.in
 delete mode 100644 package/phidgetwebservice/phidgetwebservice.hash
 delete mode 100644 package/phidgetwebservice/phidgetwebservice.mk
Config.in.legacy +8 -0
index 25787f0588..f6403d2580 100644
@@ -146,6 +146,14 @@ endif
 
 comment "Legacy options removed in 2026.05"
 
+config BR2_PACKAGE_PHIDGETWEBSERVICE
+	bool "phidgetwebservice"
+	select BR2_LEGACY
+	help
+	  phidgetwebservice was removed from Buildroot as it was
+	  insufficiently maintained. It can be re-added if someone
+	  volunteers to maintain it.
+
 config BR2_PACKAGE_DAQ
 	bool "daq removed"
 	select BR2_LEGACY
DEVELOPERS +0 -1
index 341d50ee2c..ff326a2a05 100644
@@ -1739,7 +1739,6 @@ F:	arch/Config.in.xtensa
 F:	package/autofs/
 F:	package/dawgdic/
 F:	package/libphidget/
-F:	package/phidgetwebservice/
 F:	package/rapidxml/
 
 N:	Joris Offouga <[email protected]>
package/Config.in +0 -1
index 263554efdc..e60e9d811e 100644
@@ -2579,7 +2579,6 @@ endif
 	source "package/p910nd/Config.in"
 	source "package/parprouted/Config.in"
 	source "package/passt/Config.in"
-	source "package/phidgetwebservice/Config.in"
 	source "package/phytool/Config.in"
 	source "package/pimd/Config.in"
 	source "package/pixiewps/Config.in"
package/phidgetwebservice/Config.in deleted +0 -23
deleted file mode 100644
index b052f180f0..0000000000
@@ -1,23 +0,0 @@
-config BR2_PACKAGE_PHIDGETWEBSERVICE
-	bool "phidgetwebservice"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb, libphidget
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libphidget -> libusb
-	depends on !BR2_STATIC_LIBS # libphidget
-	select BR2_PACKAGE_LIBPHIDGET
-	help
-	  phidgetwebservice (the Phidget WebService) provides an HTTP
-	  front-end to the libphidget device control API. This
-	  provides an alternative to the libphidget C linkage
-	  interface for controlling locally attached Phidgets USB
-	  devices and it also allows you to control Phidget USB
-	  devices remotely when the host running the phidgetwebservice
-	  has an exposed network interface.
-
-	  The phidgetwebservice client program uses the libphidget
-	  HTTP functions to send commands to the phidgetwebservice.
-
-	  http://phidgets.com/
-
-comment "phidgetwebservice needs a toolchain w/ threads, dynamic library, gcc >= 4.9"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
package/phidgetwebservice/phidgetwebservice.hash deleted +0 -3
deleted file mode 100644
index 49017f2994..0000000000
@@ -1,3 +0,0 @@
-# locally computed
-sha256  aa63cbd2ab87182d6e0c05d553ee4c8cc73d268516d8e0a1e881baed391c081d  phidgetwebservice_2.1.9.20190409.tar.gz
-sha256  ea8af5e789cb2d4e9b10bce3874982ade163b749b6bfbdb32e2df21c4d106de1  COPYING
package/phidgetwebservice/phidgetwebservice.mk deleted +0 -14
deleted file mode 100644
index b5f335c4ec..0000000000
@@ -1,14 +0,0 @@
-################################################################################
-#
-# phidgetwebservice
-#
-################################################################################
-
-PHIDGETWEBSERVICE_VERSION = 2.1.9.20190409
-PHIDGETWEBSERVICE_SOURCE = phidgetwebservice_$(PHIDGETWEBSERVICE_VERSION).tar.gz
-PHIDGETWEBSERVICE_SITE = https://www.phidgets.com/downloads/phidget21/servers/linux/phidgetwebservice
-PHIDGETWEBSERVICE_DEPENDENCIES = libphidget
-PHIDGETWEBSERVICE_LICENSE = LGPL-3.0
-PHIDGETWEBSERVICE_LICENSE_FILES = COPYING
-
-$(eval $(autotools-package))
Signature · 6 lines
2.47.3

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

PATCH 3/3 package/libphidget: remove package

In reply to Bernd Kuhls

As discussed on the mailinglist:
https://lists.buildroot.org/pipermail/buildroot/2026-April/799929.html

Cc Jonathan Ben Avraham <[email protected]>
---
 Config.in.legacy                   |  8 ++++++++
 DEVELOPERS                         |  1 -
 package/Config.in                  |  1 -
 package/libphidget/Config.in       | 29 -----------------------------
 package/libphidget/libphidget.hash |  3 ---
 package/libphidget/libphidget.mk   | 16 ----------------
 6 files changed, 8 insertions(+), 50 deletions(-)
 delete mode 100644 package/libphidget/Config.in
 delete mode 100644 package/libphidget/libphidget.hash
 delete mode 100644 package/libphidget/libphidget.mk
Config.in.legacy +8 -0
index f6403d2580..84f4596385 100644
@@ -146,6 +146,14 @@ endif
 
 comment "Legacy options removed in 2026.05"
 
+config BR2_PACKAGE_LIBPHIDGET
+	bool "libphidget"
+	select BR2_LEGACY
+	help
+	  libphidget was removed from Buildroot as it was
+	  insufficiently maintained. It can be re-added if someone
+	  volunteers to maintain it.
+
 config BR2_PACKAGE_PHIDGETWEBSERVICE
 	bool "phidgetwebservice"
 	select BR2_LEGACY
DEVELOPERS +0 -1
index ff326a2a05..db781444a9 100644
@@ -1738,7 +1738,6 @@ N:	Jonathan Ben Avraham <[email protected]>
 F:	arch/Config.in.xtensa
 F:	package/autofs/
 F:	package/dawgdic/
-F:	package/libphidget/
 F:	package/rapidxml/
 
 N:	Joris Offouga <[email protected]>
package/Config.in +0 -1
index e60e9d811e..2866015a3d 100644
@@ -1845,7 +1845,6 @@ menu "Hardware handling"
 	source "package/libnfc/Config.in"
 	source "package/libnvme/Config.in"
 	source "package/libpciaccess/Config.in"
-	source "package/libphidget/Config.in"
 	source "package/libpri/Config.in"
 	source "package/libqmi/Config.in"
 	source "package/libqrtr-glib/Config.in"
package/libphidget/Config.in deleted +0 -29
deleted file mode 100644
index ab1e3e31b1..0000000000
@@ -1,29 +0,0 @@
-config BR2_PACKAGE_LIBPHIDGET
-	bool "libphidget"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
-	depends on !BR2_STATIC_LIBS
-	select BR2_PACKAGE_LIBUSB
-	help
-	  The libphidget library provides an API for controlling
-	  Phidgets USB devices. The library translates API function
-	  calls to libusb function calls to control attached Phidgets
-	  devices that provide GPIO's, DAC's, accelerometers, servo
-	  motors, and other capabilities either singly or on combo
-	  devices.
-
-	  To use libphidget for controlling locally attached devices you
-	  need to set up the userspace USB device tree /dev/bus/usb. See
-	  file udev/99-phidgets.rules.
-
-	  The libphidget library also contains an API for sending
-	  commands to a local or remote phidgetwebservice using HTTP.
-	  The phidgetwebservice then translates HTTP requests to
-	  libphidget API function calls to control locally attached
-	  Phidgets devices.
-
-	  http://phidgets.com/
-
-comment "libphidget needs a toolchain w/ threads, dynamic library, gcc >= 4.9"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
package/libphidget/libphidget.hash deleted +0 -3
deleted file mode 100644
index 7c2f67af7f..0000000000
@@ -1,3 +0,0 @@
-# locally computed
-sha256  b1682ffb4a9a7d4589ec24256cbd30af1342880914117d3e3f4814e70049238c  libphidget22-1.24.20260127.tar.gz
-sha256  7c1c42a1485cd44f9b8275931e645962b7af86c524c0b683ab9fba62e7e3ece5  COPYING
package/libphidget/libphidget.mk deleted +0 -16
deleted file mode 100644
index f81080e1da..0000000000
@@ -1,16 +0,0 @@
-################################################################################
-#
-# libphidget
-#
-################################################################################
-
-LIBPHIDGET_VERSION = 1.24.20260127
-LIBPHIDGET_SOURCE = libphidget22-$(LIBPHIDGET_VERSION).tar.gz
-LIBPHIDGET_SITE = https://www.phidgets.com/downloads/phidget22/libraries/linux/libphidget22
-LIBPHIDGET_DEPENDENCIES = libusb
-LIBPHIDGET_CONF_OPTS = --disable-ldconfig
-LIBPHIDGET_INSTALL_STAGING = YES
-LIBPHIDGET_LICENSE = BSD-3-Clause
-LIBPHIDGET_LICENSE_FILES = COPYING
-
-$(eval $(autotools-package))
Signature · 6 lines
2.47.3

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