public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/5] package/rubix: remove package
@ 2026-04-07  8:49 Bernd Kuhls
  2026-04-07  8:49 ` [Buildroot] [PATCH 2/5] package/openswan: " Bernd Kuhls
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Bernd Kuhls @ 2026-04-07  8:49 UTC (permalink / raw)
  To: buildroot

The last release dates back to 2008 and we see build errors with gcc
14.x:

cube.c: In function 'load_cube':
cube.c:260:26: error: passing argument 2 of 'strstr' makes pointer from
 integer without a cast [-Wint-conversion]
  260 |     ptr = strstr(buffer, '=');

Fixes:
https://autobuild.buildroot.net/results/0a8/0a86f131afa72ca1be73a10635c95ca7974b49f8/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 .checkpackageignore                           |   2 -
 Config.in.legacy                              |   7 +
 package/Config.in                             |   1 -
 .../0001-dont-use-legacy-functions.patch      |  18 ---
 package/rubix/0002-misc-fixes.patch           | 135 ------------------
 package/rubix/Config.in                       |   8 --
 package/rubix/rubix.hash                      |   3 -
 package/rubix/rubix.mk                        |  30 ----
 8 files changed, 7 insertions(+), 197 deletions(-)
 delete mode 100644 package/rubix/0001-dont-use-legacy-functions.patch
 delete mode 100644 package/rubix/0002-misc-fixes.patch
 delete mode 100644 package/rubix/Config.in
 delete mode 100644 package/rubix/rubix.hash
 delete mode 100644 package/rubix/rubix.mk

diff --git a/.checkpackageignore b/.checkpackageignore
index e9a002f766..3622341e74 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -841,8 +841,6 @@ package/rocksdb/0001-build_tools-build_detect_platform-fix-C-tests.patch lib_pat
 package/rpcbind/0001-Remove-yellow-pages-support.patch lib_patch.Upstream
 package/rpcbind/S30rpcbind lib_sysv.EmptyLastLine lib_sysv.Indent lib_sysv.Variables
 package/rt-tests/0001-Fix-a-build-issue-with-uClibc-ng.patch lib_patch.Upstream
-package/rubix/0001-dont-use-legacy-functions.patch lib_patch.Upstream
-package/rubix/0002-misc-fixes.patch lib_patch.Sob lib_patch.Upstream
 package/rygel/S99rygel Shellcheck lib_sysv.Indent lib_sysv.Variables
 package/s6-linux-init/0001-configure-add-D_GNU_SOURCE.patch lib_patch.Upstream
 package/samba4/0001-build-find-pre-built-heimdal-build-tools-in-case-of-.patch lib_patch.Upstream
diff --git a/Config.in.legacy b/Config.in.legacy
index 518251c816..fb1938b6e3 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2026.05"
 
+config BR2_PACKAGE_RUBIX
+	bool "rubix removed"
+	select BR2_LEGACY
+	help
+	  Rubix was no longer maintained upstream, so it has
+	  been dropped.
+
 config BR2_PACKAGE_LLAMA_CPP_SERVER
 	bool "llama-cpp option removed"
 	select BR2_PACKAGE_LLAMA_CPP_TOOLS
diff --git a/package/Config.in b/package/Config.in
index 484229539f..dc68e1b912 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -292,7 +292,6 @@ menu "Games"
 	source "package/opentyrian/Config.in"
 	source "package/opentyrian-data/Config.in"
 	source "package/prboom/Config.in"
-	source "package/rubix/Config.in"
 	source "package/sl/Config.in"
 	source "package/solarus/Config.in"
 	source "package/stella/Config.in"
diff --git a/package/rubix/0001-dont-use-legacy-functions.patch b/package/rubix/0001-dont-use-legacy-functions.patch
deleted file mode 100644
index 9c34aee6d3..0000000000
--- a/package/rubix/0001-dont-use-legacy-functions.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Use strstr() instead of index(), since index() is a legacy function
-and it may not be available in uClibc, depending on the configuration.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
-Index: rubix-1.0.5/cube.c
-===================================================================
---- rubix-1.0.5.orig/cube.c	2010-02-14 14:19:05.000000000 +0100
-+++ rubix-1.0.5/cube.c	2010-02-14 14:19:14.000000000 +0100
-@@ -257,7 +257,7 @@
-     if (i==-1) goto finish;
-     if (buffer[0]=='%') goto new_section;
-     buffer[0]=toupper(buffer[0]);
--    ptr = index(buffer, '=');
-+    ptr = strstr(buffer, '=');
-     if (ptr) {
-       ++ptr;
-       while (isspace(*ptr)) ++ptr;
diff --git a/package/rubix/0002-misc-fixes.patch b/package/rubix/0002-misc-fixes.patch
deleted file mode 100644
index 3ce6dad220..0000000000
--- a/package/rubix/0002-misc-fixes.patch
+++ /dev/null
@@ -1,135 +0,0 @@
-diff -Nrup rubix-1.0.5/fillpoly.c rubix-1.0.5-avr32/fillpoly.c
---- rubix-1.0.5/fillpoly.c	2003-10-12 15:41:43.000000000 -0400
-+++ rubix-1.0.5-avr32/fillpoly.c	2008-02-29 12:39:51.000000000 -0500
-@@ -435,7 +435,7 @@ void fill_lines(device *d, int thecol)
- 			);
- #endif
-     }
--  } else if (d->depth==16) { /* here 16bpp */
-+  } else if ((d->depth==16) | (d->depth==15)) { /* here 16bpp */
-     register int i;
- #ifndef PC_ARCHI
-     register int j;
-diff -Nrup rubix-1.0.5/line.c rubix-1.0.5-avr32/line.c
---- rubix-1.0.5/line.c	2003-10-12 14:15:19.000000000 -0400
-+++ rubix-1.0.5-avr32/line.c	2008-02-29 12:39:51.000000000 -0500
-@@ -1317,7 +1317,7 @@ void drawline(device *d, line *l)
- #endif
-   if (d->depth==8)
-     drawline8(d, l);
--  else if (d->depth==16)
-+  else if ((d->depth==16) | (d->depth==15))
-     drawline16(d, l);
-   else if (d->depth==24)
-     drawline24(d, l);
-diff -Nrup rubix-1.0.5/Makefile rubix-1.0.5-avr32/Makefile
---- rubix-1.0.5/Makefile	2003-12-04 14:27:58.000000000 -0500
-+++ rubix-1.0.5-avr32/Makefile	2008-02-29 12:58:30.000000000 -0500
-@@ -11,21 +11,17 @@
- # Customize to fit your needs (especially if it does not work for now).
- 
- LANGUAGE=ENGLISH
--GAMESDIR=/usr/games
- 
- #architecture=-DPC_ARCHI
- 
- # For Solaris
- #EXTRALIBS=-lsocket
- 
--CC=gcc
- CFLAGS=-Wall -O3 -fomit-frame-pointer -ffast-math \
-    -DGAMESDIR="\"$(GAMESDIR)\"" \
-    -D$(LANGUAGE) $(architecture)
- 
- #CFLAGS=-Wall -g -ffast-math -Iplayer $(architecture)
--XINC=-I/usr/X11R6/include
--XLIB=-L/usr/X11R6/lib -lX11
- 
- #the following should not be changed.
- 
-@@ -37,7 +33,7 @@ rubix : $(OBJ)
- 
- install :
- 	mkdir -p $(GAMESDIR)
--	install -c -s rubix $(GAMESDIR)
-+	install -c rubix $(GAMESDIR)
- 
- clean :
- 	rm -f *.o *~ core *.bak *.dat gmon.out
-diff -Nrup rubix-1.0.5/screen.c rubix-1.0.5-avr32/screen.c
---- rubix-1.0.5/screen.c	2004-04-26 04:26:05.000000000 -0400
-+++ rubix-1.0.5-avr32/screen.c	2008-02-29 12:39:51.000000000 -0500
-@@ -80,11 +80,17 @@ void error_statement(SCREEN *s)
- 
- int reset_data_buffers(SCREEN *s)
- {     
-+  int temp;
- 
-   if (s->im)
-     XDestroyImage(s->im);
-+  if (s->depth == 15) {
-+		temp=16;
-+  } else {
-+		temp=s->depth;
-+  }
- 
--  s->buffer=(char *)malloc(((SCREEN_X+7)/8)*SCREEN_Y*s->depth);
-+  s->buffer=(char *)malloc(((SCREEN_X+7)/8)*SCREEN_Y*temp);
- 
-   if (!s->buffer) {
-     error_statement(s);
-@@ -106,7 +112,7 @@ int reset_data_buffers(SCREEN *s)
-    */
-   /* Sed - december 2003 - no it has to be 8 */
-   s->im=XCreateImage(s->d, DefaultVisual(s->d, DefaultScreen(s->d)), 
--		     s->depth==32?24:s->depth, ZPixmap,
-+		     s->depth, ZPixmap,
- 		     0, s->buffer, SCREEN_X, SCREEN_Y, 8, 0);
- 
-   if (!s->im) {
-@@ -139,8 +145,8 @@ int init_screen(SCREEN *s)
- 
-   s->depth=DefaultDepth(s->d, DefaultScreen(s->d));
-   
--  if (s->depth!=8 && s->depth!=16 && s->depth!=24) {
--    fprintf(stderr, "screen depth not supported (only 8, 16 and 24bpp (which means 32bpp too) handled\n");
-+  if (s->depth!=8 && s->depth!=15 && s->depth!=16 && s->depth!=24) {
-+    fprintf(stderr, "screen depth not supported (only 8, 15, 16 and 24bpp (which means 32bpp too) handled\n");
-     XCloseDisplay(s->d);
-     s->d=(Display *)0;
-     return -1;
-@@ -182,10 +188,10 @@ int init_screen(SCREEN *s)
-    
-   /* let's create and map our window */
-   s->w=XCreateWindow(s->d, DefaultRootWindow(s->d), 0, 0, 
--		       SCREEN_X, SCREEN_Y, 3, s->depth==32?24:s->depth,
-+		       SCREEN_X, SCREEN_Y, 3, s->depth,
- 		       CopyFromParent, CopyFromParent, 0, NULL);
-   s->h=XCreateWindow(s->d, DefaultRootWindow(s->d), 0, 0, 
--		       HELP_X, HELP_Y, 3, s->depth==32?24:s->depth,
-+		       HELP_X, HELP_Y, 3, s->depth,
- 		       CopyFromParent, CopyFromParent, 0, NULL);     
-    
-   xch.res_name = "rubix";
-@@ -946,13 +952,18 @@ void close_screen(SCREEN *s)
- void clear_screen(SCREEN *s)
- {
-   /* fill s->im with pixel[10], avoid XPutPixel which is rather slow... */
--  int i, w, dw;
-+  int i, w, dw, temp;
-+  if (s->depth == 15) {
-+	temp = 16;
-+  } else {
-+	temp = s->depth;
-+  }
-   w = (SCREEN_X+7)/8;
--  dw = s->depth/8;
-+  dw = temp/8;
-   XPutPixel(s->im, 0, 0, pixel[10]);
-   for (i=1; i<8*w; i++)
-      memcpy(s->buffer + i*dw, s->buffer, dw);
--  w = w * s->depth;
-+  w = w * temp;
-   for (i=1; i<SCREEN_Y; i++)
-      memcpy(s->buffer + i*w, s->buffer, w);
- }
diff --git a/package/rubix/Config.in b/package/rubix/Config.in
deleted file mode 100644
index e814a95f57..0000000000
--- a/package/rubix/Config.in
+++ /dev/null
@@ -1,8 +0,0 @@
-config BR2_PACKAGE_RUBIX
-	bool "rubix"
-	depends on BR2_PACKAGE_XORG7
-	select BR2_PACKAGE_XLIB_LIBX11
-	help
-	  A 3D rubiks cube game for X
-
-	  http://sed.free.fr/rubix
diff --git a/package/rubix/rubix.hash b/package/rubix/rubix.hash
deleted file mode 100644
index 8ff5431824..0000000000
--- a/package/rubix/rubix.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# Locally calculated
-sha256  ccff4c98373f76c6bab751f5f5a60df7ad8691c79b56157e4aba2dd76f501a87  rubix-1.0.6.tar.bz2
-sha256  429d04118c02bc92d834c430601f8c0c8df1ab27e3617ec73ad3f66c5953475d  LICENCE
diff --git a/package/rubix/rubix.mk b/package/rubix/rubix.mk
deleted file mode 100644
index 937339f546..0000000000
--- a/package/rubix/rubix.mk
+++ /dev/null
@@ -1,30 +0,0 @@
-################################################################################
-#
-# rubix
-#
-################################################################################
-
-RUBIX_VERSION = 1.0.6
-RUBIX_SOURCE = rubix-$(RUBIX_VERSION).tar.bz2
-RUBIX_SITE = http://sed.free.fr/rubix
-RUBIX_LICENSE = Public Domain
-RUBIX_LICENSE_FILES = LICENCE
-RUBIX_DEPENDENCIES = xlib_libX11
-
-RUBIX_MAKE_OPTS = \
-	CC="$(TARGET_CC)" \
-	XINC="-I$(STAGING_DIR)/usr/include/X11" \
-	XLIB="-L$(STAGING_DIR)/usr/lib -lX11"
-
-RUBIX_INSTALL_TARGET_OPTS = GAMESDIR=$(TARGET_DIR)/usr/games install
-
-define RUBIX_BUILD_CMDS
-	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(RUBIX_MAKE_OPTS) rubix
-endef
-
-define RUBIX_INSTALL_TARGET_CMDS
-	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(RUBIX_MAKE_OPTS) \
-		$(RUBIX_INSTALL_TARGET_OPTS)
-endef
-
-$(eval $(generic-package))
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/5] package/openswan: remove package
  2026-04-07  8:49 [Buildroot] [PATCH 1/5] package/rubix: remove package Bernd Kuhls
@ 2026-04-07  8:49 ` Bernd Kuhls
  2026-04-07  8:50 ` [Buildroot] [PATCH 3/5] package/sphinxbase: " Bernd Kuhls
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Bernd Kuhls @ 2026-04-07  8:49 UTC (permalink / raw)
  To: buildroot

last release: Jan 2021
last commit: Feb 2021
open issues: 122 (youngest from Aug 2024)
open PR: 2 (youngest from Feb 2021)

Debian removed the package in 2014:
https://tracker.debian.org/pkg/openswan

Fedora removed the package in 2013:
https://src.fedoraproject.org/rpms/openswan/commits/rawhide
"Obsoleted by libreswan"

https://github.com/libreswan/libreswan
"Libreswan was forked from Openswan 2.6.38"

The Openswan package causes autobuilder errors with gcc 14.x.
The earliest build error to be found dates back to Jul 2024:
https://autobuild.buildroot.net/results/8f1/8f109654affea46a18d42bf494d1f3a83084fcdc/build-end.log

/home/autobuild/autobuild/instance-7/output-1/build/openswan-3.0.0/programs/pluto/crypto.c:99:18:
 error: initialization of 'void (*)(void *, const u_char *, size_t)'
 {aka 'void (*)(void *, const unsigned char *, unsigned int)'} from
 incompatible pointer type 'void (*)(void *, const unsigned char *,
 long unsigned int)' [-Wincompatible-pointer-types]
   99 |     hash_update: osMD5Update,

Fixes:
https://autobuild.buildroot.net/results/bac/bacc1790d17992413503a4d62fe11ec56d0a8edc/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 .checkpackageignore                           |  1 -
 Config.in.legacy                              |  7 +++
 package/Config.in                             |  1 -
 ...constants.c-workaround-missing-ns_t_.patch | 29 ------------
 package/openswan/Config.in                    | 15 -------
 package/openswan/openswan.hash                |  4 --
 package/openswan/openswan.mk                  | 44 -------------------
 7 files changed, 7 insertions(+), 94 deletions(-)
 delete mode 100644 package/openswan/0001-lib-libopenswan-constants.c-workaround-missing-ns_t_.patch
 delete mode 100644 package/openswan/Config.in
 delete mode 100644 package/openswan/openswan.hash
 delete mode 100644 package/openswan/openswan.mk

diff --git a/.checkpackageignore b/.checkpackageignore
index 3622341e74..7f54d8195d 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -720,7 +720,6 @@ package/openrc/0003-init.d-agetty-replace-sbin-agetty-by-sbin-getty.patch lib_pa
 package/openrc/0004-init.d-agetty-start-agetty-after-all-sevices.patch lib_patch.Upstream
 package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch lib_patch.Upstream
 package/openrc/0006-Also-create-run-lock-subsys-directory.patch lib_patch.Upstream
-package/openswan/0001-lib-libopenswan-constants.c-workaround-missing-ns_t_.patch lib_patch.Upstream
 package/opentyrian/0001-Move-definitions-that-don-t-need-to-be-exposed-from-opl-h-to-opl-c.patch lib_patch.Upstream
 package/openvmtools/0001-no_cflags_werror.patch lib_patch.Upstream
 package/openvmtools/0002-dont-force-cppflags.patch lib_patch.Upstream
diff --git a/Config.in.legacy b/Config.in.legacy
index fb1938b6e3..64112f97c5 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2026.05"
 
+config BR2_PACKAGE_OPENSWAN
+	bool "openswan removed"
+	select BR2_LEGACY
+	help
+	  Openswan was no longer maintained upstream, so it has
+	  been dropped.
+
 config BR2_PACKAGE_RUBIX
 	bool "rubix removed"
 	select BR2_LEGACY
diff --git a/package/Config.in b/package/Config.in
index dc68e1b912..774f77c106 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2577,7 +2577,6 @@ endif
 	source "package/openobex/Config.in"
 	source "package/openresolv/Config.in"
 	source "package/openssh/Config.in"
-	source "package/openswan/Config.in"
 	source "package/openvpn/Config.in"
 	source "package/p910nd/Config.in"
 	source "package/parprouted/Config.in"
diff --git a/package/openswan/0001-lib-libopenswan-constants.c-workaround-missing-ns_t_.patch b/package/openswan/0001-lib-libopenswan-constants.c-workaround-missing-ns_t_.patch
deleted file mode 100644
index ea50dd11ad..0000000000
--- a/package/openswan/0001-lib-libopenswan-constants.c-workaround-missing-ns_t_.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 66f8abe037970dda50fbc460edb2a2fa9f391d8a Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-Date: Wed, 3 Aug 2022 19:14:25 +0200
-Subject: [PATCH] lib/libopenswan/constants.c: workaround missing ns_t_tkey
- definition in uClibc < 1.0.41
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
----
- lib/libopenswan/constants.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/lib/libopenswan/constants.c b/lib/libopenswan/constants.c
-index 90c973b5f..04e68da42 100644
---- a/lib/libopenswan/constants.c
-+++ b/lib/libopenswan/constants.c
-@@ -1411,7 +1411,9 @@ static const char *const rr_qtype_name[] = {
- 	NULL
-     };
- 
--enum_names rr_qtype_names = { ns_t_tkey, ns_t_any
-+/* ns_t_tkey is 249, but its definition is missing from uClibc <
-+ * 1.0.41, so let's hardcode it */
-+enum_names rr_qtype_names = { 249 /* ns_t_tkey */, ns_t_any
- 			      , rr_qtype_name, &rr_type_names };
- 
- static const char *const rr_class_name[] = {
--- 
-2.37.1
-
diff --git a/package/openswan/Config.in b/package/openswan/Config.in
deleted file mode 100644
index 31c4a66b35..0000000000
--- a/package/openswan/Config.in
+++ /dev/null
@@ -1,15 +0,0 @@
-config BR2_PACKAGE_OPENSWAN
-	bool "openswan"
-	depends on BR2_USE_MMU # iproute2
-	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # iproute2
-	select BR2_PACKAGE_GMP
-	select BR2_PACKAGE_IPROUTE2
-	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
-	help
-	  Openswan is an implementation of IPsec for Linux
-
-	  http://www.openswan.org
-
-comment "openswan needs a toolchain w/ headers >= 3.4"
-	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
diff --git a/package/openswan/openswan.hash b/package/openswan/openswan.hash
deleted file mode 100644
index 574009ebfb..0000000000
--- a/package/openswan/openswan.hash
+++ /dev/null
@@ -1,4 +0,0 @@
-# Locally calculated
-sha256  69fe7a71e54aaf0ea93b874db4963057c1ff4904b3617b36f2c9be2010c23331  openswan-3.0.0.tar.gz
-sha256  1c36ae1e7b0f6cce4b4ffe969b71f83635734804acdd38544443564b00f8783a  COPYING
-sha256  d7d012ef3be47faffba4d97a83d4986c9f4a63ac997ebf5961d33852e5f1801a  LICENSE
diff --git a/package/openswan/openswan.mk b/package/openswan/openswan.mk
deleted file mode 100644
index 64218810f8..0000000000
--- a/package/openswan/openswan.mk
+++ /dev/null
@@ -1,44 +0,0 @@
-################################################################################
-#
-# openswan
-#
-################################################################################
-
-OPENSWAN_VERSION = 3.0.0
-OPENSWAN_SITE = $(call github,xelerance,Openswan,v$(OPENSWAN_VERSION))
-OPENSWAN_LICENSE = GPL-2.0+, BSD-3-Clause
-OPENSWAN_LICENSE_FILES = COPYING LICENSE
-OPENSWAN_CPE_ID_VENDOR = xelerance
-
-OPENSWAN_DEPENDENCIES = host-bison host-flex gmp iproute2
-OPENSWAN_MAKE_OPTS = ARCH=$(BR2_ARCH) CC="$(TARGET_CC)" POD2MAN="" XMLTO="" \
-	USERCOMPILE="$(TARGET_CFLAGS) $(if $(BR2_TOOLCHAIN_SUPPORTS_PIE),-fPIE)" \
-	USERLINK="$(TARGET_LDFLAGS) $(if $(BR2_TOOLCHAIN_SUPPORTS_PIE),-fPIE)" \
-	INC_USRLOCAL=/usr USE_KLIPS=false USE_MAST=false USE_NM=false \
-	USE_NOMANINSTALL=true WERROR=""
-
-ifeq ($(BR2_PACKAGE_LIBCURL),y)
-OPENSWAN_DEPENDENCIES += libcurl
-OPENSWAN_MAKE_OPTS += USE_LIBCURL=true
-endif
-
-ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
-OPENSWAN_DEPENDENCIES += libxcrypt
-endif
-
-ifeq ($(BR2_PACKAGE_OPENSSL),y)
-OPENSWAN_DEPENDENCIES += openssl
-OPENSWAN_MAKE_OPTS += HAVE_OPENSSL=true
-endif
-
-define OPENSWAN_BUILD_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) \
-		$(OPENSWAN_MAKE_OPTS) programs
-endef
-
-define OPENSWAN_INSTALL_TARGET_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) \
-		$(OPENSWAN_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
-endef
-
-$(eval $(generic-package))
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 3/5] package/sphinxbase: remove package
  2026-04-07  8:49 [Buildroot] [PATCH 1/5] package/rubix: remove package Bernd Kuhls
  2026-04-07  8:49 ` [Buildroot] [PATCH 2/5] package/openswan: " Bernd Kuhls
@ 2026-04-07  8:50 ` Bernd Kuhls
  2026-04-07  8:50 ` [Buildroot] [PATCH 4/5] package/cegui: " Bernd Kuhls
  2026-04-07  8:50 ` [Buildroot] [PATCH 5/5] package/snort: " Bernd Kuhls
  3 siblings, 0 replies; 6+ messages in thread
From: Bernd Kuhls @ 2026-04-07  8:50 UTC (permalink / raw)
  To: buildroot; +Cc: Jonathan Ben Avraham

The upstream github repo https://github.com/cmusphinx/sphinxbase
"was archived by the owner on Jun 9, 2022."

Remove an unmaintained package which also causes build errors due to
changes to a released tarball.

Jonathan Ben-Avraham answered by email, which maybe is still sitting in
a queue on the buildroot mailinglist, on Feb, 21st, 2026:
"I was the package submitter. Please remove the package."

Fixes:
https://autobuild.buildroot.net/results/b45/b45eebbcc86f33741053bb6f9b89e16c7041c470/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Cc: Jonathan Ben Avraham <yba@tkos.co.il>
---
 Config.in.legacy                   |  7 +++++++
 DEVELOPERS                         |  1 -
 package/Config.in                  |  1 -
 package/sphinxbase/Config.in       | 13 -------------
 package/sphinxbase/sphinxbase.hash |  3 ---
 package/sphinxbase/sphinxbase.mk   | 19 -------------------
 6 files changed, 7 insertions(+), 37 deletions(-)
 delete mode 100644 package/sphinxbase/Config.in
 delete mode 100644 package/sphinxbase/sphinxbase.hash
 delete mode 100644 package/sphinxbase/sphinxbase.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index 64112f97c5..d13d4ee88f 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2026.05"
 
+config BR2_PACKAGE_SPHINXBASE
+	bool "sphinxbase removed"
+	select BR2_LEGACY
+	help
+	  sphinxbase was no longer maintained upstream, so it has
+	  been dropped.
+
 config BR2_PACKAGE_OPENSWAN
 	bool "openswan removed"
 	select BR2_LEGACY
diff --git a/DEVELOPERS b/DEVELOPERS
index 6fd01545c5..f2548f676b 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1740,7 +1740,6 @@ F:	package/dawgdic/
 F:	package/libphidget/
 F:	package/phidgetwebservice/
 F:	package/rapidxml/
-F:	package/sphinxbase/
 
 N:	Joris Offouga <offougajoris@gmail.com>
 F:	package/python-colorlog/
diff --git a/package/Config.in b/package/Config.in
index 774f77c106..3e330b2fcf 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2278,7 +2278,6 @@ endif
 	source "package/ruy/Config.in"
 	source "package/shapelib/Config.in"
 	source "package/skalibs/Config.in"
-	source "package/sphinxbase/Config.in"
 	source "package/startup-notification/Config.in"
 	source "package/tbb/Config.in"
 	source "package/tensorflow-lite/Config.in"
diff --git a/package/sphinxbase/Config.in b/package/sphinxbase/Config.in
deleted file mode 100644
index 00a19f6178..0000000000
--- a/package/sphinxbase/Config.in
+++ /dev/null
@@ -1,13 +0,0 @@
-config BR2_PACKAGE_SPHINXBASE
-	bool "sphinxbase"
-	depends on BR2_TOOLCHAIN_HAS_THREADS
-	help
-	  CMUSphinx toolkit is a leading speech recognition toolkit
-	  with various tools used to build speech applications. CMU
-	  Sphinx toolkit has a number of packages for different tasks
-	  and applications.
-
-	  http://cmusphinx.sourceforge.net/
-
-comment "sphinxbase needs a toolchain with threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/sphinxbase/sphinxbase.hash b/package/sphinxbase/sphinxbase.hash
deleted file mode 100644
index 433fba685d..0000000000
--- a/package/sphinxbase/sphinxbase.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# Locally computed
-sha256  06971dbe272d2f73bde0ef7b3538c0c8f8ea885cb171fd6b17a5975bced66e64  sphinxbase-5prealpha.tar.gz
-sha256  26f12e0152a5d58c69904e439761a1b2fbb9267b5f04674dbf93667e3e6dd043  src/libsphinxbase/util/bio.c
diff --git a/package/sphinxbase/sphinxbase.mk b/package/sphinxbase/sphinxbase.mk
deleted file mode 100644
index 86f9089b48..0000000000
--- a/package/sphinxbase/sphinxbase.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-################################################################################
-#
-# sphinxbase
-#
-################################################################################
-
-SPHINXBASE_VERSION = 5prealpha
-SPHINXBASE_SITE = http://downloads.sourceforge.net/project/cmusphinx/sphinxbase/5prealpha
-SPHINXBASE_LICENSE = BSD-2-Clause
-# Note http://sourceforge.net/p/cmusphinx/bugs/441/ "LICENSE file missing in"
-# 5prealpha tarballs". The license is contained in the copyright notice at the
-# top of each source file. For example:
-SPHINXBASE_LICENSE_FILES = src/libsphinxbase/util/bio.c
-
-SPHINXBASE_DEPENDENCIES = host-bison
-
-SPHINXBASE_CONF_OPTS = --without-python --without-lapack
-
-$(eval $(autotools-package))
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 4/5] package/cegui: remove package
  2026-04-07  8:49 [Buildroot] [PATCH 1/5] package/rubix: remove package Bernd Kuhls
  2026-04-07  8:49 ` [Buildroot] [PATCH 2/5] package/openswan: " Bernd Kuhls
  2026-04-07  8:50 ` [Buildroot] [PATCH 3/5] package/sphinxbase: " Bernd Kuhls
@ 2026-04-07  8:50 ` Bernd Kuhls
  2026-04-07  8:50 ` [Buildroot] [PATCH 5/5] package/snort: " Bernd Kuhls
  3 siblings, 0 replies; 6+ messages in thread
From: Bernd Kuhls @ 2026-04-07  8:50 UTC (permalink / raw)
  To: buildroot

The package has no buildroot maintainer and causes many build errors:
https://autobuild.buildroot.net/?reason=cegui%

We remove the package for now, no other package depends on it.

Fixes:
https://autobuild.buildroot.net/results/248/248fabed54239e3f4cfe68c3b964a2b6a52c9dd5/
and many more.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 Config.in.legacy                           |  8 ++
 package/Config.in                          |  1 -
 package/cegui/0001-Fix-cmake-4-build.patch | 28 -------
 package/cegui/Config.in                    | 24 ------
 package/cegui/cegui.hash                   |  3 -
 package/cegui/cegui.mk                     | 95 ----------------------
 6 files changed, 8 insertions(+), 151 deletions(-)
 delete mode 100644 package/cegui/0001-Fix-cmake-4-build.patch
 delete mode 100644 package/cegui/Config.in
 delete mode 100644 package/cegui/cegui.hash
 delete mode 100644 package/cegui/cegui.mk

diff --git a/Config.in.legacy b/Config.in.legacy
index d13d4ee88f..bca5a12436 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,14 @@ endif
 
 comment "Legacy options removed in 2026.05"
 
+config BR2_PACKAGE_CEGUI
+	bool "cegui"
+	select BR2_LEGACY
+	help
+	  cegui was removed from Buildroot as it was insufficiently
+	  maintained. It can be re-added if someone volunteers to
+	  maintain it.
+
 config BR2_PACKAGE_SPHINXBASE
 	bool "sphinxbase removed"
 	select BR2_LEGACY
diff --git a/package/Config.in b/package/Config.in
index 3e330b2fcf..9afcf74af9 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -334,7 +334,6 @@ comment "Graphic applications"
 	source "package/wmenu/Config.in"
 
 comment "Graphic libraries"
-	source "package/cegui/Config.in"
 	source "package/efl/Config.in"
 	source "package/fb-test-app/Config.in"
 	source "package/fbdump/Config.in"
diff --git a/package/cegui/0001-Fix-cmake-4-build.patch b/package/cegui/0001-Fix-cmake-4-build.patch
deleted file mode 100644
index 952b17e494..0000000000
--- a/package/cegui/0001-Fix-cmake-4-build.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 6c0e6d8ffb3c13cd7fb08c8ef217daf45eabdf99 Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <bernd@kuhls.net>
-Date: Tue, 2 Dec 2025 20:38:29 +0100
-Subject: [PATCH] Fix cmake 4 build
-
-Upstream: https://github.com/cegui/cegui/pull/1334
-
-Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
----
- CMakeLists.txt | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 418931822..645ff6cf7 100755
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1,7 +1,7 @@
- ################################################################################
- # Top-level CMakeLists.txt file for Crazy Eddie's GUI System
- ################################################################################
--cmake_minimum_required(VERSION 3.1)
-+cmake_minimum_required(VERSION 3.5)
- 
- if (APPLE AND NOT CMAKE_OSX_ARCHITECTURES)
-     set( CMAKE_OSX_ARCHITECTURES ${CMAKE_HOST_SYSTEM_PROCESSOR} CACHE STRING "Build architectures for Mac OS X")
--- 
-2.47.3
-
diff --git a/package/cegui/Config.in b/package/cegui/Config.in
deleted file mode 100644
index 20b865835b..0000000000
--- a/package/cegui/Config.in
+++ /dev/null
@@ -1,24 +0,0 @@
-comment "cegui needs a toolchain w/ C++, threads, dynamic library, wchar, gcc >= 5"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \
-			|| BR2_STATIC_LIBS || !BR2_USE_WCHAR \
-			|| !BR2_TOOLCHAIN_GCC_AT_LEAST_5
-
-config BR2_PACKAGE_CEGUI
-	bool "cegui"
-	depends on BR2_INSTALL_LIBSTDCPP
-	depends on !BR2_STATIC_LIBS
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++11 PR59987
-	depends on BR2_TOOLCHAIN_HAS_THREADS
-	depends on BR2_USE_WCHAR
-	select BR2_PACKAGE_GLM
-	select BR2_PACKAGE_LIBGLFW if BR2_PACKAGE_HAS_LIBGL # SampleBrowser dependency
-	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
-	help
-	  Crazy Eddie's GUI System is a free library providing windowing
-	  and widgets for graphics APIs / engines where such
-	  functionality is not natively available, or severely lacking.
-	  The library is object orientated, written in C++, and targeted
-	  at games developers who should be spending their time creating
-	  great games, not building GUI sub-systems!
-
-	  http://www.cegui.org.uk/
diff --git a/package/cegui/cegui.hash b/package/cegui/cegui.hash
deleted file mode 100644
index be0939148c..0000000000
--- a/package/cegui/cegui.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# Locally computed:
-sha256  9460cbbe7fc3bb3cf6abfd7f5a9c5f135b20e9898400bd698a5fa0d0fe879865  cegui-e7a03afc70c6182a091ff31accb9d77c6bdf6f60.tar.gz
-sha256  cc869e2ece8ad039f6d7fd17259db4ea0ae0a502d02a1bb506c0168deb12e40d  COPYING
diff --git a/package/cegui/cegui.mk b/package/cegui/cegui.mk
deleted file mode 100644
index 9b2a1704b6..0000000000
--- a/package/cegui/cegui.mk
+++ /dev/null
@@ -1,95 +0,0 @@
-################################################################################
-#
-# cegui
-#
-################################################################################
-
-CEGUI_VERSION = e7a03afc70c6182a091ff31accb9d77c6bdf6f60
-CEGUI_SITE = $(call github,cegui,cegui,$(CEGUI_VERSION))
-CEGUI_LICENSE = MIT
-CEGUI_LICENSE_FILES = COPYING
-CEGUI_INSTALL_STAGING = YES
-CEGUI_CONF_OPTS = \
-	-DCEGUI_BUILD_RESOURCE_PROVIDER_MINIZIP=OFF \
-	-DCEGUI_BUILD_IMAGECODEC_FREEIMAGE=OFF \
-	-DCEGUI_BUILD_RENDERER_IRRLICHT=OFF \
-	-DCEGUI_BUILD_RENDERER_OGRE=OFF \
-	-DCEGUI_BUILD_RENDERER_OPENGLES=OFF \
-	-DCEGUI_BUILD_XMLPARSER_XERCES=OFF \
-	-DCEGUI_USE_FRIBIDI=OFF \
-	-DCEGUI_BUILD_APPLICATION_TEMPLATES=OFF \
-	-DCEGUI_BUILD_PYTHON_MODULES_SWIG=OFF
-CEGUI_DEPENDENCIES = glm \
-	$(if $(BR2_PACKAGE_LIBGLFW),libglfw) \
-	$(if $(BR2_PACKAGE_HAS_LIBGL),libgl) \
-	$(if $(BR2_PACKAGE_HAS_LIBGLES),libgles) \
-	$(if $(BR2_PACKAGE_LIBICONV),libiconv)
-
-# libepoxy support cannot be enabled together with libglew
-ifeq ($(BR2_PACKAGE_LIBGLEW)$(BR2_PACKAGE_LIBGLU),yy)
-CEGUI_DEPENDENCIES += libglew libglu
-CEGUI_CONF_OPTS += -DCEGUI_USE_GLEW=ON -DCEGUI_USE_EPOXY=OFF \
-	-DCEGUI_BUILD_RENDERER_OPENGL=ON \
-	-DCEGUI_BUILD_RENDERER_OPENGL3=ON
-else ifeq ($(BR2_PACKAGE_LIBEPOXY),y)
-CEGUI_DEPENDENCIES += libepoxy
-# old OpenGL renderer module is only supported using GLEW
-CEGUI_CONF_OPTS += -DCEGUI_USE_EPOXY=ON -DCEGUI_USE_GLEW=OFF \
-	-DCEGUI_BUILD_RENDERER_OPENGL=OFF \
-	-DCEGUI_BUILD_RENDERER_OPENGL3=ON
-else
-CEGUI_CONF_OPTS += -DCEGUI_USE_EPOXY=OFF -DCEGUI_USE_GLEW=OFF \
-	-DCEGUI_BUILD_RENDERER_OPENGL=OFF \
-	-DCEGUI_BUILD_RENDERER_OPENGL3=OFF
-endif
-
-ifeq ($(BR2_PACKAGE_EXPAT),y)
-CEGUI_DEPENDENCIES += expat
-CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_EXPAT=ON
-else
-CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_EXPAT=OFF
-endif
-
-ifeq ($(BR2_PACKAGE_SDL2)$(BR2_PACKAGE_SDL2_IMAGE),yy)
-CEGUI_DEPENDENCIES += sdl2 sdl2_image
-CEGUI_CONF_OPTS += -DCEGUI_BUILD_IMAGECODEC_SDL2=ON
-else
-CEGUI_CONF_OPTS += -DCEGUI_BUILD_IMAGECODEC_SDL2=OFF
-endif
-
-ifeq ($(BR2_PACKAGE_PCRE),y)
-CEGUI_DEPENDENCIES += pcre
-CEGUI_CONF_OPTS += -DCEGUI_REGEX_MATCHER=PCRE
-else
-CEGUI_CONF_OPTS += -DCEGUI_REGEX_MATCHER=std
-endif
-
-ifeq ($(BR2_PACKAGE_FREETYPE),y)
-CEGUI_DEPENDENCIES += freetype
-CEGUI_CONF_OPTS += -DCEGUI_USE_FREETYPE=ON
-else
-CEGUI_CONF_OPTS += -DCEGUI_USE_FREETYPE=OFF
-endif
-
-ifeq ($(BR2_PACKAGE_LIBXML2),y)
-CEGUI_DEPENDENCIES += libxml2
-CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_LIBXML2=ON
-else
-CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_LIBXML2=OFF
-endif
-
-ifeq ($(BR2_PACKAGE_PUGIXML),y)
-CEGUI_DEPENDENCIES += pugixml
-CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_PUGIXML=ON
-else
-CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_PUGIXML=OFF
-endif
-
-ifeq ($(BR2_PACKAGE_TINYXML2),y)
-CEGUI_DEPENDENCIES += tinyxml2
-CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_TINYXML2=ON
-else
-CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_TINYXML2=OFF
-endif
-
-$(eval $(cmake-package))
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 5/5] package/snort: remove package
  2026-04-07  8:49 [Buildroot] [PATCH 1/5] package/rubix: remove package Bernd Kuhls
                   ` (2 preceding siblings ...)
  2026-04-07  8:50 ` [Buildroot] [PATCH 4/5] package/cegui: " Bernd Kuhls
@ 2026-04-07  8:50 ` Bernd Kuhls
  2026-04-07 20:01   ` Arnout Vandecappelle via buildroot
  3 siblings, 1 reply; 6+ messages in thread
From: Bernd Kuhls @ 2026-04-07  8:50 UTC (permalink / raw)
  To: buildroot; +Cc: Sergio Prado, Fabrice Fontaine

Snort is not maintained for a while now and blocks the removal of the
pcre(v1) package so we remove it from buildroot.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Cc: Sergio Prado <sergio.prado@e-labworks.com>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 .checkpackageignore                           |   8 -
 Config.in.legacy                              |   7 +
 DEVELOPERS                                    |   1 -
 package/Config.in                             |   1 -
 ...in-Avoid-path-poisoning-with-libpcap.patch |  35 ---
 ...ow-to-override-the-INADDR_NONE-check.patch |  44 ----
 ...vert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch | 239 ------------------
 ...vert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch |  48 ----
 package/snort/0005-fix-sparc.patch            |  30 ---
 ...r-when-building-against-uclibc-or-mu.patch |  34 ---
 ...en-building-on-a-Fedora-host-machine.patch |  77 ------
 package/snort/0008-Fix-NO-OPTIMIZE.patch      |  24 --
 package/snort/0009-gcc-15-fix.patch           |  36 ---
 package/snort/Config.in                       |  27 --
 package/snort/snort.hash                      |   9 -
 package/snort/snort.mk                        |  49 ----
 package/snort3/Config.in                      |   2 -
 17 files changed, 7 insertions(+), 664 deletions(-)
 delete mode 100644 package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch
 delete mode 100644 package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch
 delete mode 100644 package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch
 delete mode 100644 package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch
 delete mode 100644 package/snort/0005-fix-sparc.patch
 delete mode 100644 package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch
 delete mode 100644 package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch
 delete mode 100644 package/snort/0008-Fix-NO-OPTIMIZE.patch
 delete mode 100644 package/snort/0009-gcc-15-fix.patch
 delete mode 100644 package/snort/Config.in
 delete mode 100644 package/snort/snort.hash
 delete mode 100644 package/snort/snort.mk

diff --git a/.checkpackageignore b/.checkpackageignore
index 7f54d8195d..6599435b62 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -874,14 +874,6 @@ package/smcroute/S41smcroute NotExecutable lib_sysv.Indent lib_sysv.Variables
 package/smstools3/0001-fix-Makefile.patch lib_patch.Upstream
 package/smstools3/0002-fix-build-with-gcc-10.x.patch lib_patch.Upstream
 package/smstools3/S50smsd Shellcheck lib_sysv.Variables
-package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch lib_patch.Upstream
-package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch lib_patch.Upstream
-package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch lib_patch.Upstream
-package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch lib_patch.Upstream
-package/snort/0005-fix-sparc.patch lib_patch.Upstream
-package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch lib_patch.Upstream
-package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch lib_patch.Upstream
-package/snort/0008-Fix-NO-OPTIMIZE.patch lib_patch.Upstream
 package/solarus/0001-cmake-remove-Werror.patch lib_patch.Upstream
 package/solarus/0002-Add-a-basic-FindOpenGLES2.cmake.patch lib_patch.Sob lib_patch.Upstream
 package/sox/0001-Make-SoX-support-uclibc-based-toolchains.patch lib_patch.Upstream
diff --git a/Config.in.legacy b/Config.in.legacy
index bca5a12436..ea96c801d9 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2026.05"
 
+config BR2_PACKAGE_SNORT
+	bool "snort removed"
+	select BR2_LEGACY
+	help
+	  snort was no longer maintained upstream, so it has been
+	  dropped.
+
 config BR2_PACKAGE_CEGUI
 	bool "cegui"
 	select BR2_LEGACY
diff --git a/DEVELOPERS b/DEVELOPERS
index f2548f676b..18197347a1 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -3051,7 +3051,6 @@ F:	package/daq/
 F:	package/libgdiplus/
 F:	package/pimd/
 F:	package/sloci-image/
-F:	package/snort/
 F:	package/stella/
 F:	package/tio/
 F:	package/traceroute/
diff --git a/package/Config.in b/package/Config.in
index 9afcf74af9..f12112c1d6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2614,7 +2614,6 @@ endif
 	source "package/smcroute/Config.in"
 	source "package/sngrep/Config.in"
 	source "package/snmpclitools/Config.in"
-	source "package/snort/Config.in"
 	source "package/snort3/Config.in"
 	source "package/socat/Config.in"
 	source "package/socketcand/Config.in"
diff --git a/package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch b/package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch
deleted file mode 100644
index 286b6f5883..0000000000
--- a/package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 732459ca3423799ae3386df3de3f5d6ea2af1b95 Mon Sep 17 00:00:00 2001
-From: Romain Naour <romain.naour@smile.fr>
-Date: Sun, 1 Apr 2018 15:18:51 +0200
-Subject: [PATCH] configure.in: Avoid path poisoning with libpcap
-
-Prevent usage of unsafe libpcap header path when cross compiling.
-
-Signed-off-by: Romain Naour <romain.naour@smile.fr>
-Cc: Sergio Prado <sergio.prado@e-labworks.com>
----
-From http://patchwork.ozlabs.org/patch/860363/
----
- configure.in | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/configure.in b/configure.in
-index 4b3a5db..1e940b1 100644
---- a/configure.in
-+++ b/configure.in
-@@ -70,8 +70,10 @@ case "$host" in
-   *-linux*)
-     linux="yes"
-     AC_DEFINE([LINUX],[1],[Define if Linux])
--    AC_SUBST(extra_incl)
--    extra_incl="-I/usr/include/pcap"
-+    if test -z "x$with_libpcap_includes"; then
-+        AC_SUBST(extra_incl)
-+        extra_incl="-I/usr/include/pcap"
-+    fi
-     ;;
-   *-hpux10*|*-hpux11*)
-     AC_DEFINE([HPUX],[1],[Define if HP-UX 10 or 11])
--- 
-2.14.3
-
diff --git a/package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch b/package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch
deleted file mode 100644
index 6575154240..0000000000
--- a/package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From a6817677a42d1294f1a3ce7b9f46b10ec557ddfa Mon Sep 17 00:00:00 2001
-From: Romain Naour <romain.naour@smile.fr>
-Date: Sun, 1 Apr 2018 15:23:59 +0200
-Subject: [PATCH] configure.in: Allow to override the INADDR_NONE check
-
-Prevent configure script from trying to run programs in a cross
-compilation environment to check if INADDR_NONE is defined.
-
-In the context of Buildroot, INADDR_NONE is always defined.
-The snort package will set have_inaddr_none=yes in
-SNORT_CONF_ENV.
-
-Signed-off-by: Romain Naour <romain.naour@smile.fr>
-Cc: Sergio Prado <sergio.prado@e-labworks.com>
----
- configure.in | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/configure.in b/configure.in
-index 1e940b1..938409f 100644
---- a/configure.in
-+++ b/configure.in
-@@ -284,8 +284,8 @@ AC_CHECK_TYPES([int8_t,int16_t,int32_t,int64_t])
- AC_CHECK_TYPES([boolean])
- 
- # In case INADDR_NONE is not defined (like on Solaris)
-+AC_CACHE_CHECK([for INADDR_NONE], [have_inaddr_none], [
- have_inaddr_none="no"
--AC_MSG_CHECKING([for INADDR_NONE])
- AC_RUN_IFELSE(
- [AC_LANG_PROGRAM(
- [[
-@@ -298,7 +298,7 @@ AC_RUN_IFELSE(
-     return 0;
- ]])],
- [have_inaddr_none="yes"],
--[have_inaddr_none="no"])
-+[have_inaddr_none="no"])])
- AC_MSG_RESULT($have_inaddr_none)
- if test "x$have_inaddr_none" = "xno"; then
- 	AC_DEFINE([INADDR_NONE],[-1],[For INADDR_NONE definition])
--- 
-2.14.3
-
diff --git a/package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch b/package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch
deleted file mode 100644
index 059190ff6d..0000000000
--- a/package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch
+++ /dev/null
@@ -1,239 +0,0 @@
-From 1ef6bdaeb0463a208a14e5d90646ce337df738fc Mon Sep 17 00:00:00 2001
-From: Romain Naour <romain.naour@smile.fr>
-Date: Sun, 1 Apr 2018 15:38:55 +0200
-Subject: [PATCH] configure.in: convert AC_RUN_IFELSE to AC_CHECK_MEMBERS
-
-With AC_CHECK_MEMBERS, we don't need to compile and run a test program
-to check if a daq structure element is defined.
-
-Also check DAQ_Data_Channel_Params_t with params.flags
-
-typedef struct _DAQ_Data_Channel_Params_t
-{
-    unsigned flags;     /* DAQ_DATA_CHANNEL_* flags*/
-    unsigned timeout_ms;/* timeout of the data channel in milliseconds */
-    unsigned length;    /* [Future] length of the data associated with the data channel */
-    uint8_t* data;      /* [Future] opaque data blob to return with the data channel */
-} DAQ_Data_Channel_Params_t;
-
-https://github.com/Xiche/libdaq/blob/master/api/daq_common.h
-
-Signed-off-by: Romain Naour <romain.naour@smile.fr>
-Cc: Sergio Prado <sergio.prado@e-labworks.com>
----
- configure.in | 143 +++++++++++++++++------------------------------------------
- 1 file changed, 41 insertions(+), 102 deletions(-)
-
-diff --git a/configure.in b/configure.in
-index 938409f..571322b 100644
---- a/configure.in
-+++ b/configure.in
-@@ -718,17 +718,11 @@ fi
- AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta] [daq_dp_add_dc])
- 
- AC_MSG_CHECKING([for daq real addresses])
--AC_RUN_IFELSE(
--[AC_LANG_PROGRAM(
--[[
--#include <daq.h>
--]],
--[[
--   DAQ_PktHdr_t hdr;
--   hdr.n_real_dPort = 0;
--]])],
--[have_daq_real_addresses="yes"],
--[have_daq_real_addresses="no"])
-+
-+AC_CHECK_MEMBERS([DAQ_PktHdr_t hdr.n_real_dPort],
-+    [have_daq_real_addresses="yes"],
-+    [have_daq_real_addresses="no"],
-+    [[#include <daq.h>]])
- AC_MSG_RESULT($have_daq_real_addresses)
- if test "x$have_daq_real_addresses" = "xyes"; then
-     AC_DEFINE([HAVE_DAQ_REAL_ADDRESSES],[1],
-@@ -756,17 +750,11 @@ if test "x$ac_cv_func_daq_dp_add_dc" = "xyes"; then
- fi
- 
- AC_MSG_CHECKING([for daq address space ID])
--AC_RUN_IFELSE(
--[AC_LANG_PROGRAM(
--[[
--#include <daq.h>
--]],
--[[
--   DAQ_PktHdr_t hdr;
--   hdr.address_space_id = 0;
--]])],
--[have_daq_address_space_id="yes"],
--[have_daq_address_space_id="no"])
-+
-+AC_CHECK_MEMBERS([DAQ_PktHdr_t hdr.address_space_id],
-+    [have_daq_address_space_id="yes"],
-+    [have_daq_address_space_id="no"],
-+    [[#include <daq.h>]])
- AC_MSG_RESULT($have_daq_address_space_id)
- if test "x$have_daq_address_space_id" = "xyes"; then
-     AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
-@@ -774,17 +762,10 @@ if test "x$have_daq_address_space_id" = "xyes"; then
- fi
- 
- AC_MSG_CHECKING([for daq flow ID])
--AC_RUN_IFELSE(
--[AC_LANG_PROGRAM(
--[[
--#include <daq.h>
--]],
--[[
--   DAQ_PktHdr_t hdr;
--   hdr.flow_id = 0;
--]])],
--[have_daq_flow_id="yes"],
--[have_daq_flow_id="no"])
-+AC_CHECK_MEMBERS([DAQ_PktHdr_t hdr.flow_id],
-+    [have_daq_flow_id="yes"],
-+    [have_daq_flow_id="no"],
-+    [[#include <daq.h>]])
- AC_MSG_RESULT($have_daq_flow_id)
- if test "x$have_daq_flow_id" = "xyes"; then
-     AC_DEFINE([HAVE_DAQ_FLOW_ID],[1],
-@@ -792,19 +773,10 @@ if test "x$have_daq_flow_id" = "xyes"; then
- fi
- 
- AC_MSG_CHECKING([for daq extended flow modifiers])
--AC_RUN_IFELSE(
--[AC_LANG_PROGRAM(
--[[
--#include <daq.h>
--]],
--[[
--   DAQ_ModFlow_t mod;
--   mod.type = 0;
--   mod.length = 0;
--   mod.value = NULL;
--]])],
--[have_daq_ext_modflow="yes"],
--[have_daq_ext_modflow="no"])
-+AC_CHECK_MEMBERS([DAQ_ModFlow_t mod.type, DAQ_ModFlow_t mod.length, DAQ_ModFlow_t mod.value],
-+    [have_daq_ext_modflow="yes"],
-+    [have_daq_ext_modflow="no"],
-+    [[#include <daq.h>]])
- AC_MSG_RESULT($have_daq_ext_modflow)
- if test "x$have_daq_ext_modflow" = "xyes"; then
-     CCONFIGFLAGS="${CCONFIGFLAGS} -DHAVE_DAQ_EXT_MODFLOW"
-@@ -813,19 +785,11 @@ if test "x$have_daq_ext_modflow" = "xyes"; then
- fi
- 
- AC_MSG_CHECKING([for daq query flow])
--AC_RUN_IFELSE(
--[AC_LANG_PROGRAM(
--[[
--#include <daq.h>
--]],
--[[
--   DAQ_QueryFlow_t mod;
--   mod.type = 0;
--   mod.length = 0;
--   mod.value = NULL;
--]])],
--[have_daq_queryflow="yes"],
--[have_daq_queryflow="no"])
-+
-+AC_CHECK_MEMBERS([DAQ_QueryFlow_t mod.type, DAQ_QueryFlow_t mod.length, DAQ_QueryFlow_t mod.value],
-+    [have_daq_queryflow="yes"],
-+    [have_daq_queryflow="no"],
-+    [[#include <daq.h>]])
- AC_MSG_RESULT($have_daq_queryflow)
- if test "x$have_daq_queryflow" = "xyes"; then
-     CCONFIGFLAGS="${CCONFIGFLAGS} -DHAVE_DAQ_QUERYFLOW"
-@@ -834,16 +798,11 @@ if test "x$have_daq_queryflow" = "xyes"; then
- fi
- 
- AC_MSG_CHECKING([for daq data channel flags])
--AC_RUN_IFELSE(
--[AC_LANG_PROGRAM(
--[[
--#include <daq.h>
--]],
--[[
--   DAQ_Data_Channel_Params_t params;
--]])],
--[have_daq_data_channel_flags="yes"],
--[have_daq_data_channel_flags="no"])
-+
-+AC_CHECK_MEMBERS([DAQ_Data_Channel_Params_t params.flags],
-+    [have_daq_data_channel_flags="yes"],
-+    [have_daq_data_channel_flags="no"],
-+    [[#include <daq.h>]])
- AC_MSG_RESULT($have_daq_data_channel_flags)
- if test "x$have_daq_data_channel_flags" = "xyes"; then
-     CCONFIGFLAGS="${CCONFIGFLAGS} -DHAVE_DAQ_DATA_CHANNEL_PARAMS"
-@@ -852,17 +811,10 @@ if test "x$have_daq_data_channel_flags" = "xyes"; then
- fi
- 
- AC_MSG_CHECKING([for separate IP versions on pinhole endpoints])
--AC_RUN_IFELSE(
--[AC_LANG_PROGRAM(
--[[
--#include <daq.h>
--]],
--[[
--   DAQ_DP_key_t dpKey;
--   dpKey.src_af = 0;
--]])],
--[have_daq_data_channel_separate_ip_versions="yes"],
--[have_daq_data_channel_separate_ip_versions="no"])
-+AC_CHECK_MEMBERS([DAQ_DP_key_t dpKey.src_af],
-+    [have_daq_data_channel_separate_ip_versions="yes"],
-+    [have_daq_data_channel_separate_ip_versions="no"],
-+    [[#include <daq.h>]])
- AC_MSG_RESULT($have_daq_data_channel_separate_ip_versions)
- if test "x$have_daq_data_channel_separate_ip_versions" = "xyes"; then
-     CCONFIGFLAGS="${CCONFIGFLAGS} -DHAVE_DAQ_DATA_CHANNEL_SEPARATE_IP_VERSIONS"
-@@ -889,17 +841,10 @@ if test "x$have_daq_verdict_retry" = "xyes"; then
- fi
- 
- AC_MSG_CHECKING([for daq packet trace])
--AC_RUN_IFELSE(
--[AC_LANG_PROGRAM(
--[[
--#include <daq.h>
--]],
--[[
--   DAQ_PktHdr_t hdr;
--   hdr.flags = DAQ_PKT_FLAG_TRACE_ENABLED;
--]])],
--[have_daq_packet_trace="yes"],
--[have_daq_packet_trace="no"])
-+AC_CHECK_MEMBERS([DAQ_PktHdr_t hdr.flags],
-+    [have_daq_packet_trace="yes"],
-+    [have_daq_packet_trace="no"],
-+    [[#include <daq.h>]])
- AC_MSG_RESULT($have_daq_packet_trace)
- if test "x$have_daq_packet_trace" = "xyes"; then
-     AC_DEFINE([HAVE_DAQ_PKT_TRACE],[1],
-@@ -909,17 +854,11 @@ else
- fi
- 
- AC_MSG_CHECKING([for daq verdict reason])
--AC_RUN_IFELSE(
--[AC_LANG_PROGRAM(
--[[
--#include <daq.h>
--]],
--[[
--   DAQ_ModFlow_t fl;
--   fl.type = DAQ_MODFLOW_TYPE_VER_REASON;
--]])],
--[have_daq_verdict_reason="yes"],
--[have_daq_verdict_reason="no"])
-+
-+AC_CHECK_MEMBERS([DAQ_ModFlow_t fl.type],
-+    [have_daq_verdict_reason="yes"],
-+    [have_daq_verdict_reason="no"],
-+    [[#include <daq.h>]])
- AC_MSG_RESULT($have_daq_verdict_reason)
- if test "x$have_daq_verdict_reason" = "xyes"; then
-     AC_DEFINE([HAVE_DAQ_VERDICT_REASON],[1],
--- 
-2.14.3
-
diff --git a/package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch b/package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch
deleted file mode 100644
index 9c5e611b03..0000000000
--- a/package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 075b5cf8d3940ed2c39fb37c1e14a652e4a6f2fc Mon Sep 17 00:00:00 2001
-From: Romain Naour <romain.naour@smile.fr>
-Date: Sun, 1 Apr 2018 16:21:31 +0200
-Subject: [PATCH] configure.in: convert AC_RUN_IFELSE to AC_COMPILE_IFELSE
-
-Prevent configure script from trying to run programs in a cross
-compilation environment.
-
-Signed-off-by: Romain Naour <romain.naour@smile.fr>
-Cc: Sergio Prado <sergio.prado@e-labworks.com>
----
- configure.in | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/configure.in b/configure.in
-index 571322b..e489037 100644
---- a/configure.in
-+++ b/configure.in
-@@ -431,7 +431,7 @@ if test "x$LPCAP" = "xno"; then
- fi
- 
- AC_MSG_CHECKING([for pcap_lex_destroy])
--AC_RUN_IFELSE(
-+AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM(
- [[
- #include <pcap.h>
-@@ -823,7 +823,7 @@ if test "x$have_daq_data_channel_separate_ip_versions" = "xyes"; then
- fi
- 
- AC_MSG_CHECKING([for DAQ_VERDICT_RETRY])
--AC_RUN_IFELSE(
-+AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM(
- [[
- #include <daq.h>
-@@ -886,7 +886,7 @@ if eval "echo $host_cpu|grep -i sparc >/dev/null"; then
-     OLD_CFLAGS="$CFLAGS"
-     CFLAGS="$CFLAGS -mcpu=v9 "
-     AC_MSG_CHECKING([for sparc %time register])
--    AC_RUN_IFELSE(
-+    AC_COMPILE_IFELSE(
-     [AC_LANG_PROGRAM(
-     [[]],
-     [[
--- 
-2.14.3
-
diff --git a/package/snort/0005-fix-sparc.patch b/package/snort/0005-fix-sparc.patch
deleted file mode 100644
index 56a294976c..0000000000
--- a/package/snort/0005-fix-sparc.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-When checking if the architecture supports the %time register
-instruction, do not force -mcpu to v9 while doing so. Otherwise it's
-like "let's see if this v9 instruction exists when I force the compiler
-to think I'm using v9", which is non-sensical.
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-[Dario: make the patch to be applied with fuzz factor 0]
-Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
-
-diff -Naurp ./snort-2.9.11.1-orig/configure.in snort-2.9.11.1/configure.in
---- ./snort-2.9.11.1-orig/configure.in	2018-05-10 12:20:19.253510678 +0200
-+++ snort-2.9.11.1/configure.in	2018-05-10 12:40:18.547584998 +0200
-@@ -900,8 +900,6 @@
- 
- # check for sparc %time register
- if eval "echo $host_cpu|grep -i sparc >/dev/null"; then
--    OLD_CFLAGS="$CFLAGS"
--    CFLAGS="$CFLAGS -mcpu=v9 "
-     AC_MSG_CHECKING([for sparc %time register])
-     AC_COMPILE_IFELSE(
-     [AC_LANG_PROGRAM(
-@@ -915,8 +913,6 @@
-     AC_MSG_RESULT($sparcv9)
-     if test "x$sparcv9" = "xyes"; then
-         AC_DEFINE([SPARCV9],[1],[For sparc v9 with %time register])
--    else
--        CFLAGS="$OLD_CFLAGS"
-     fi
- fi
- 
diff --git a/package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch b/package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch
deleted file mode 100644
index ce9d5526c8..0000000000
--- a/package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From dc2f54097da3cd493b8f4d06a14ef40be484d24f Mon Sep 17 00:00:00 2001
-From: Sergio Prado <sergio.prado@e-labworks.com>
-Date: Thu, 21 Feb 2019 15:02:08 -0300
-Subject: [PATCH] Fix compile error when building against uclibc or musl
-
-The build fails when dereferencing the rpcent structure with uclibc or musl C libraries.
-
-../../../src/dynamic-preprocessors/appid/service_plugins/service_rpc.c:241:20:
-error: dereferencing pointer to incomplete type ‘struct rpcent’
-             if (rpc->r_name)
-
-That's because rpc.h should be included when using these C libraries.
-
-Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
----
- src/dynamic-preprocessors/appid/service_plugins/service_rpc.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/dynamic-preprocessors/appid/service_plugins/service_rpc.c b/src/dynamic-preprocessors/appid/service_plugins/service_rpc.c
-index 81bc8a5db8ab..2e45246083a8 100644
---- a/src/dynamic-preprocessors/appid/service_plugins/service_rpc.c
-+++ b/src/dynamic-preprocessors/appid/service_plugins/service_rpc.c
-@@ -32,7 +32,7 @@
- #include "flow.h"
- #include "service_api.h"
- 
--#if defined(FREEBSD) || defined(OPENBSD)
-+#if defined(FREEBSD) || defined(OPENBSD) || (defined(LINUX) && defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__) || !defined(__GLIBC__))
- #include "rpc/rpc.h"
- #endif
- 
--- 
-2.7.4
-
diff --git a/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch b/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch
deleted file mode 100644
index 66d4fa2839..0000000000
--- a/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-From eae97632157b73f0ca7c099232617b2777d0fa54 Mon Sep 17 00:00:00 2001
-From: Sergio Prado <sergio.prado@e-labworks.com>
-Date: Sat, 21 Dec 2019 12:00:42 -0300
-Subject: [PATCH] Fix error when building on a Fedora host machine.
-
-Remove the code that adds unsafe header/library path when
-cross-compiling on a Fedora host machine.
-
-Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
-[Fabrice: Update for 2.9.18.1 (also fix build on Centos host machine)]
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
----
- configure.in | 24 ------------------------
- 1 file changed, 24 deletions(-)
-
-diff --git a/configure.in b/configure.in
-index e6586f399898..fb35d4d7e3e3 100644
---- a/configure.in
-+++ b/configure.in
-@@ -957,54 +957,6 @@ if test "x$enable_dlclose" = "xno"; then
-     AC_DEFINE([DISABLE_DLCLOSE_FOR_VALGRIND_TESTING],[1],[Don't close opened shared objects for valgrind leak testing of dynamic libraries])
- fi
- 
--##################################################
--# Fedora 28+ does not have inbuilt SunRPC support#
--# in glibc and is separately availble in tirpc   #
--# package. Make sure we've got the library and   #
--# link it                                        #
--##################################################
--
--if test -f /etc/fedora-release ; then
--    DISTRO_VERSION=$(awk '{ print $3 }' /etc/fedora-release)
--    if test $DISTRO_VERSION -ge 28 ; then
--        TIRPC=""
--        AC_CHECK_LIB(tirpc,bindresvport,, TIRPC="no")
--        echo "$TIRPC"
--        if test "x$TIRPC" = "xno"; then
--            echo
--            echo " ERROR! tirpc not found, get it by running "
--            echo " yum install libtirpc-devel "
--            exit
--        fi
--        LIBS="${LIBS} -ltirpc"
--        extra_incl="-I/usr/include/tirpc"
--    fi
--fi
--
--##################################################
--# Centos 8+ does not have inbuilt SunRPC support  #
--# in glibc and is separately availble in tirpc   #
--# package. Make sure we've got the library and   #
--# link it                                        #
--##################################################
--if test -f /etc/centos-release ; then
--    LINUX_FLAVOUR=$(awk '{ print $1 }' /etc/centos-release)
--    DISTRO_VERSION=`cut -d ' ' -f 4 /etc/centos-release | cut -d '.' -f 1`
--    if [[ "$LINUX_FLAVOUR" == "CentOS" ]] && [[ $DISTRO_VERSION -ge 8 ]]; then
--        TIRPC=""
--        AC_CHECK_LIB(tirpc,bindresvport,, TIRPC="no")
--        echo "$TIRPC"
--        if test "x$TIRPC" = "xno"; then
--            echo
--            echo " ERROR! tirpc not found, get it by running "
--            echo " yum install libtirpc-devel or dnf install libtirpc-devel"
--            exit
--        fi
--        LIBS="${LIBS} -ltirpc"
--        extra_incl="-I/usr/include/tirpc"
--    fi
--fi
--
- Z_LIB=""
- AC_CHECK_HEADERS(zlib.h,, Z_LIB="no")
- if test "x$Z_LIB" = "xno"; then
--- 
-2.17.1
-
diff --git a/package/snort/0008-Fix-NO-OPTIMIZE.patch b/package/snort/0008-Fix-NO-OPTIMIZE.patch
deleted file mode 100644
index 936973fdd6..0000000000
--- a/package/snort/0008-Fix-NO-OPTIMIZE.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Fix NO_OPTIMIZE
-
-Fix the following build failure when NO_OPTIMIZE is enabled (e.g. on
-sparc) and -Ofast:
-
-cc1: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast'
-
-Fixes:
- - http://autobuild.buildroot.org/results/e1a330e1a899fcdf4900e9156d62c90813321e30
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-
-diff -Nura snort-2.9.19.orig/configure.in snort-2.9.19/configure.in
---- snort-2.9.19.orig/configure.in	2022-08-09 20:21:00.236777320 +0200
-+++ snort-2.9.19/configure.in	2022-08-09 20:29:02.260993315 +0200
-@@ -1694,7 +1694,7 @@
- 
- # Set to no optimization regardless of what user or autostuff set
- if test "x$NO_OPTIMIZE" = "xyes"; then
--    CFLAGS=`echo $CFLAGS | sed -e "s/-O./-O0/"`
-+    CFLAGS=`echo $CFLAGS | sed -e "s/-O[0-9a-z]*/-O0/"`
- 
-     # in case user override doesn't include -O
-     if echo $CFLAGS | grep -qve -O0 ; then
diff --git a/package/snort/0009-gcc-15-fix.patch b/package/snort/0009-gcc-15-fix.patch
deleted file mode 100644
index 227ad5ffc5..0000000000
--- a/package/snort/0009-gcc-15-fix.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Fix build with gcc-15.x
-
-Adapted from: https://lists.openembedded.org/g/openembedded-devel/topic/meta_oe_patch_2_8_snort/112466576
-
-Upstream-Status: Backport [resolved in snort3 https://github.com/snort3/snort3/commit/c3cc27355ac302bd24ee3e9d613166898ec2be64]
-
-Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
-
-Downloaded from
-https://gitweb.gentoo.org/repo/gentoo.git/tree/net-analyzer/snort/files/snort-2.9.20-gcc-15-fix.patch?id=410cb3ac09ab3d55e96876634c4d58005d9ead89
-
-Upstream: https://github.com/snort3/snort3/commit/c3cc27355ac302bd24ee3e9d613166898ec2be64
-
-Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
-
---- a/src/dynamic-preprocessors/dcerpc2/spp_dce2.c
-+++ b/src/dynamic-preprocessors/dcerpc2/spp_dce2.c
-@@ -160,7 +160,7 @@ static void DCE2_ReloadSwapFree(void *);
- static void DCE2_AddPortsToPaf(struct _SnortConfig *, DCE2_Config *, tSfPolicyId);
- static void DCE2_ScAddPortsToPaf(struct _SnortConfig *, void *);
- static uint32_t max(uint32_t a, uint32_t b);
--static uint32_t DCE2_GetReloadSafeMemcap();
-+static uint32_t DCE2_GetReloadSafeMemcap(tSfPolicyUserContextId pConfig);
- 
- static bool dce2_file_cache_is_enabled = false;
- static bool dce2_file_cache_was_enabled = false;
---- a/src/preprocessors/HttpInspect/include/file_decomp_PDF.h
-+++ b/src/preprocessors/HttpInspect/include/file_decomp_PDF.h
-@@ -80,6 +80,6 @@ fd_status_t File_Decomp_Init_PDF( fd_session_p_t SessionPtr );
- 
- fd_status_t File_Decomp_End_PDF( fd_session_p_t SessionPtr );
- 
--fd_status_t File_Decomp_PDF();
-+fd_status_t File_Decomp_PDF( fd_session_p_t SessionPtr );
- 
- #endif /* FILE_DECOMP_PDF_H */
diff --git a/package/snort/Config.in b/package/snort/Config.in
deleted file mode 100644
index fc74efcfed..0000000000
--- a/package/snort/Config.in
+++ /dev/null
@@ -1,27 +0,0 @@
-config BR2_PACKAGE_SNORT
-	bool "snort"
-	depends on BR2_USE_WCHAR
-	depends on BR2_USE_MMU # fork()
-	depends on !BR2_STATIC_LIBS # daq
-	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc
-	select BR2_PACKAGE_LIBDNET
-	select BR2_PACKAGE_LIBPCAP
-	select BR2_PACKAGE_DAQ
-	select BR2_PACKAGE_PCRE
-	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
-	select BR2_PACKAGE_ZLIB
-	help
-	  Snort is a free and open source network intrusion
-	  prevention system (IPS) and network intrusion detection
-	  system (IDS). It can perform protocol analysis, content
-	  searching/matching, and can be used to detect a variety
-	  of attacks and probes, such as buffer overflows, stealth
-	  port scans, CGI attacks, SMB probes, OS fingerprinting
-	  attempts, and much more.
-
-	  https://www.snort.org
-
-comment "snort needs a toolchain w/ wchar, threads, dynamic library"
-	depends on BR2_USE_MMU
-	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || \
-		!(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
diff --git a/package/snort/snort.hash b/package/snort/snort.hash
deleted file mode 100644
index a807d051d9..0000000000
--- a/package/snort/snort.hash
+++ /dev/null
@@ -1,9 +0,0 @@
-# From https://www.snort.org/downloads/snort/md5s
-md5  b52cdf14e97ef953c800c3ef123beaa5  snort-2.9.20.tar.gz
-
-# Locally computed:
-sha256  29400e13f53b1831e0b8b10ec1224a1cbaa6dc1533a5322a20dd80bb84b4981c  snort-2.9.20.tar.gz
-
-# Hash for license files:
-sha256  f98260a6d3e5ef4ede8a2a6b698e5ac91d64c09243f7171e1c5b17b920a835c7  LICENSE
-sha256  3f1cbfb20bb2c608e1a474421880d08b8cba6abb00ab7736d22c481d71656a6d  COPYING
diff --git a/package/snort/snort.mk b/package/snort/snort.mk
deleted file mode 100644
index 8ce8ed5fa6..0000000000
--- a/package/snort/snort.mk
+++ /dev/null
@@ -1,49 +0,0 @@
-################################################################################
-#
-# snort
-#
-################################################################################
-
-SNORT_VERSION = 2.9.20
-SNORT_SITE = https://www.snort.org/downloads/snort
-SNORT_LICENSE = GPL-2.0
-SNORT_LICENSE_FILES = LICENSE COPYING
-SNORT_CPE_ID_VENDOR = snort
-SNORT_SELINUX_MODULES = snort
-
-SNORT_DEPENDENCIES = libpcap libdnet daq pcre zlib host-pkgconf
-
-# patching configure.in
-SNORT_AUTORECONF = YES
-
-SNORT_CONF_OPTS = \
-	--with-libpcre-includes=$(STAGING_DIR)/usr/include \
-	--with-libpcre-libraries=$(STAGING_DIR)/usr/lib \
-	--with-libpcap-includes=$(STAGING_DIR)/usr/include/pcap \
-	--disable-static-daq
-
-ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
-SNORT_CFLAGS += -O0
-endif
-
-ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
-SNORT_DEPENDENCIES += libtirpc
-SNORT_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`
-SNORT_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`
-endif
-
-# luajit and openssl should be enabled to build with
-# OpenAppID support
-ifeq ($(BR2_PACKAGE_LUAJIT)$(BR2_PACKAGE_OPENSSL),yy)
-SNORT_DEPENDENCIES += luajit openssl
-SNORT_CONF_OPTS += --enable-open-appid
-else
-SNORT_CONF_OPTS += --disable-open-appid
-endif
-
-SNORT_CONF_ENV = \
-	CFLAGS="$(TARGET_CFLAGS) $(SNORT_CFLAGS)" \
-	LIBS="$(SNORT_LIBS)" \
-	have_inaddr_none=yes
-
-$(eval $(autotools-package))
diff --git a/package/snort3/Config.in b/package/snort3/Config.in
index 8dae65381e..4680b13a4d 100644
--- a/package/snort3/Config.in
+++ b/package/snort3/Config.in
@@ -2,7 +2,6 @@ config BR2_PACKAGE_SNORT3
 	bool "snort3"
 	depends on !BR2_PACKAGE_LUA # luajit
 	depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS # luajit
-	depends on !(BR2_PACKAGE_DAQ || BR2_PACKAGE_SNORT)
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on !BR2_STATIC_LIBS # daq3
@@ -38,7 +37,6 @@ config BR2_PACKAGE_SNORT3
 comment "snort3 needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.9"
 	depends on !BR2_PACKAGE_LUA
 	depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
-	depends on !(BR2_PACKAGE_DAQ || BR2_PACKAGE_SNORT)
 	depends on BR2_USE_MMU
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
 		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [Buildroot] [PATCH 5/5] package/snort: remove package
  2026-04-07  8:50 ` [Buildroot] [PATCH 5/5] package/snort: " Bernd Kuhls
@ 2026-04-07 20:01   ` Arnout Vandecappelle via buildroot
  0 siblings, 0 replies; 6+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2026-04-07 20:01 UTC (permalink / raw)
  To: Bernd Kuhls, buildroot; +Cc: Sergio Prado, Fabrice Fontaine



On 07/04/2026 10:50, Bernd Kuhls wrote:
> Snort is not maintained for a while now and blocks the removal of the
> pcre(v1) package so we remove it from buildroot.

  Applied all 5 to master, thanks.

  With the removal of snort, daq also becomes redundant.

  Also,

[snip]
> +config BR2_PACKAGE_SNORT
> +	bool "snort removed"
> +	select BR2_LEGACY
> +	help
> +	  snort was no longer maintained upstream, so it has been
> +	  dropped.

  I added here:

Look at snort3 for an alternative.


  You can do the same when removing daq (refer to daq3).

  Regards,
  Arnout

> +
>   config BR2_PACKAGE_CEGUI
>   	bool "cegui"
>   	select BR2_LEGACY
> diff --git a/DEVELOPERS b/DEVELOPERS
> index f2548f676b..18197347a1 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -3051,7 +3051,6 @@ F:	package/daq/
>   F:	package/libgdiplus/
>   F:	package/pimd/
>   F:	package/sloci-image/
> -F:	package/snort/
>   F:	package/stella/
>   F:	package/tio/
>   F:	package/traceroute/
> diff --git a/package/Config.in b/package/Config.in
> index 9afcf74af9..f12112c1d6 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -2614,7 +2614,6 @@ endif
>   	source "package/smcroute/Config.in"
>   	source "package/sngrep/Config.in"
>   	source "package/snmpclitools/Config.in"
> -	source "package/snort/Config.in"
>   	source "package/snort3/Config.in"
>   	source "package/socat/Config.in"
>   	source "package/socketcand/Config.in"
> diff --git a/package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch b/package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch
> deleted file mode 100644
> index 286b6f5883..0000000000
> --- a/package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch
> +++ /dev/null
> @@ -1,35 +0,0 @@
> -From 732459ca3423799ae3386df3de3f5d6ea2af1b95 Mon Sep 17 00:00:00 2001
> -From: Romain Naour <romain.naour@smile.fr>
> -Date: Sun, 1 Apr 2018 15:18:51 +0200
> -Subject: [PATCH] configure.in: Avoid path poisoning with libpcap
> -
> -Prevent usage of unsafe libpcap header path when cross compiling.
> -
> -Signed-off-by: Romain Naour <romain.naour@smile.fr>
> -Cc: Sergio Prado <sergio.prado@e-labworks.com>
> ----
> -From http://patchwork.ozlabs.org/patch/860363/
> ----
> - configure.in | 6 ++++--
> - 1 file changed, 4 insertions(+), 2 deletions(-)
> -
> -diff --git a/configure.in b/configure.in
> -index 4b3a5db..1e940b1 100644
> ---- a/configure.in
> -+++ b/configure.in
> -@@ -70,8 +70,10 @@ case "$host" in
> -   *-linux*)
> -     linux="yes"
> -     AC_DEFINE([LINUX],[1],[Define if Linux])
> --    AC_SUBST(extra_incl)
> --    extra_incl="-I/usr/include/pcap"
> -+    if test -z "x$with_libpcap_includes"; then
> -+        AC_SUBST(extra_incl)
> -+        extra_incl="-I/usr/include/pcap"
> -+    fi
> -     ;;
> -   *-hpux10*|*-hpux11*)
> -     AC_DEFINE([HPUX],[1],[Define if HP-UX 10 or 11])
> ---
> -2.14.3
> -
> diff --git a/package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch b/package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch
> deleted file mode 100644
> index 6575154240..0000000000
> --- a/package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch
> +++ /dev/null
> @@ -1,44 +0,0 @@
> -From a6817677a42d1294f1a3ce7b9f46b10ec557ddfa Mon Sep 17 00:00:00 2001
> -From: Romain Naour <romain.naour@smile.fr>
> -Date: Sun, 1 Apr 2018 15:23:59 +0200
> -Subject: [PATCH] configure.in: Allow to override the INADDR_NONE check
> -
> -Prevent configure script from trying to run programs in a cross
> -compilation environment to check if INADDR_NONE is defined.
> -
> -In the context of Buildroot, INADDR_NONE is always defined.
> -The snort package will set have_inaddr_none=yes in
> -SNORT_CONF_ENV.
> -
> -Signed-off-by: Romain Naour <romain.naour@smile.fr>
> -Cc: Sergio Prado <sergio.prado@e-labworks.com>
> ----
> - configure.in | 4 ++--
> - 1 file changed, 2 insertions(+), 2 deletions(-)
> -
> -diff --git a/configure.in b/configure.in
> -index 1e940b1..938409f 100644
> ---- a/configure.in
> -+++ b/configure.in
> -@@ -284,8 +284,8 @@ AC_CHECK_TYPES([int8_t,int16_t,int32_t,int64_t])
> - AC_CHECK_TYPES([boolean])
> -
> - # In case INADDR_NONE is not defined (like on Solaris)
> -+AC_CACHE_CHECK([for INADDR_NONE], [have_inaddr_none], [
> - have_inaddr_none="no"
> --AC_MSG_CHECKING([for INADDR_NONE])
> - AC_RUN_IFELSE(
> - [AC_LANG_PROGRAM(
> - [[
> -@@ -298,7 +298,7 @@ AC_RUN_IFELSE(
> -     return 0;
> - ]])],
> - [have_inaddr_none="yes"],
> --[have_inaddr_none="no"])
> -+[have_inaddr_none="no"])])
> - AC_MSG_RESULT($have_inaddr_none)
> - if test "x$have_inaddr_none" = "xno"; then
> - 	AC_DEFINE([INADDR_NONE],[-1],[For INADDR_NONE definition])
> ---
> -2.14.3
> -
> diff --git a/package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch b/package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch
> deleted file mode 100644
> index 059190ff6d..0000000000
> --- a/package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch
> +++ /dev/null
> @@ -1,239 +0,0 @@
> -From 1ef6bdaeb0463a208a14e5d90646ce337df738fc Mon Sep 17 00:00:00 2001
> -From: Romain Naour <romain.naour@smile.fr>
> -Date: Sun, 1 Apr 2018 15:38:55 +0200
> -Subject: [PATCH] configure.in: convert AC_RUN_IFELSE to AC_CHECK_MEMBERS
> -
> -With AC_CHECK_MEMBERS, we don't need to compile and run a test program
> -to check if a daq structure element is defined.
> -
> -Also check DAQ_Data_Channel_Params_t with params.flags
> -
> -typedef struct _DAQ_Data_Channel_Params_t
> -{
> -    unsigned flags;     /* DAQ_DATA_CHANNEL_* flags*/
> -    unsigned timeout_ms;/* timeout of the data channel in milliseconds */
> -    unsigned length;    /* [Future] length of the data associated with the data channel */
> -    uint8_t* data;      /* [Future] opaque data blob to return with the data channel */
> -} DAQ_Data_Channel_Params_t;
> -
> -https://github.com/Xiche/libdaq/blob/master/api/daq_common.h
> -
> -Signed-off-by: Romain Naour <romain.naour@smile.fr>
> -Cc: Sergio Prado <sergio.prado@e-labworks.com>
> ----
> - configure.in | 143 +++++++++++++++++------------------------------------------
> - 1 file changed, 41 insertions(+), 102 deletions(-)
> -
> -diff --git a/configure.in b/configure.in
> -index 938409f..571322b 100644
> ---- a/configure.in
> -+++ b/configure.in
> -@@ -718,17 +718,11 @@ fi
> - AC_CHECK_FUNCS([daq_hup_apply] [daq_acquire_with_meta] [daq_dp_add_dc])
> -
> - AC_MSG_CHECKING([for daq real addresses])
> --AC_RUN_IFELSE(
> --[AC_LANG_PROGRAM(
> --[[
> --#include <daq.h>
> --]],
> --[[
> --   DAQ_PktHdr_t hdr;
> --   hdr.n_real_dPort = 0;
> --]])],
> --[have_daq_real_addresses="yes"],
> --[have_daq_real_addresses="no"])
> -+
> -+AC_CHECK_MEMBERS([DAQ_PktHdr_t hdr.n_real_dPort],
> -+    [have_daq_real_addresses="yes"],
> -+    [have_daq_real_addresses="no"],
> -+    [[#include <daq.h>]])
> - AC_MSG_RESULT($have_daq_real_addresses)
> - if test "x$have_daq_real_addresses" = "xyes"; then
> -     AC_DEFINE([HAVE_DAQ_REAL_ADDRESSES],[1],
> -@@ -756,17 +750,11 @@ if test "x$ac_cv_func_daq_dp_add_dc" = "xyes"; then
> - fi
> -
> - AC_MSG_CHECKING([for daq address space ID])
> --AC_RUN_IFELSE(
> --[AC_LANG_PROGRAM(
> --[[
> --#include <daq.h>
> --]],
> --[[
> --   DAQ_PktHdr_t hdr;
> --   hdr.address_space_id = 0;
> --]])],
> --[have_daq_address_space_id="yes"],
> --[have_daq_address_space_id="no"])
> -+
> -+AC_CHECK_MEMBERS([DAQ_PktHdr_t hdr.address_space_id],
> -+    [have_daq_address_space_id="yes"],
> -+    [have_daq_address_space_id="no"],
> -+    [[#include <daq.h>]])
> - AC_MSG_RESULT($have_daq_address_space_id)
> - if test "x$have_daq_address_space_id" = "xyes"; then
> -     AC_DEFINE([HAVE_DAQ_ADDRESS_SPACE_ID],[1],
> -@@ -774,17 +762,10 @@ if test "x$have_daq_address_space_id" = "xyes"; then
> - fi
> -
> - AC_MSG_CHECKING([for daq flow ID])
> --AC_RUN_IFELSE(
> --[AC_LANG_PROGRAM(
> --[[
> --#include <daq.h>
> --]],
> --[[
> --   DAQ_PktHdr_t hdr;
> --   hdr.flow_id = 0;
> --]])],
> --[have_daq_flow_id="yes"],
> --[have_daq_flow_id="no"])
> -+AC_CHECK_MEMBERS([DAQ_PktHdr_t hdr.flow_id],
> -+    [have_daq_flow_id="yes"],
> -+    [have_daq_flow_id="no"],
> -+    [[#include <daq.h>]])
> - AC_MSG_RESULT($have_daq_flow_id)
> - if test "x$have_daq_flow_id" = "xyes"; then
> -     AC_DEFINE([HAVE_DAQ_FLOW_ID],[1],
> -@@ -792,19 +773,10 @@ if test "x$have_daq_flow_id" = "xyes"; then
> - fi
> -
> - AC_MSG_CHECKING([for daq extended flow modifiers])
> --AC_RUN_IFELSE(
> --[AC_LANG_PROGRAM(
> --[[
> --#include <daq.h>
> --]],
> --[[
> --   DAQ_ModFlow_t mod;
> --   mod.type = 0;
> --   mod.length = 0;
> --   mod.value = NULL;
> --]])],
> --[have_daq_ext_modflow="yes"],
> --[have_daq_ext_modflow="no"])
> -+AC_CHECK_MEMBERS([DAQ_ModFlow_t mod.type, DAQ_ModFlow_t mod.length, DAQ_ModFlow_t mod.value],
> -+    [have_daq_ext_modflow="yes"],
> -+    [have_daq_ext_modflow="no"],
> -+    [[#include <daq.h>]])
> - AC_MSG_RESULT($have_daq_ext_modflow)
> - if test "x$have_daq_ext_modflow" = "xyes"; then
> -     CCONFIGFLAGS="${CCONFIGFLAGS} -DHAVE_DAQ_EXT_MODFLOW"
> -@@ -813,19 +785,11 @@ if test "x$have_daq_ext_modflow" = "xyes"; then
> - fi
> -
> - AC_MSG_CHECKING([for daq query flow])
> --AC_RUN_IFELSE(
> --[AC_LANG_PROGRAM(
> --[[
> --#include <daq.h>
> --]],
> --[[
> --   DAQ_QueryFlow_t mod;
> --   mod.type = 0;
> --   mod.length = 0;
> --   mod.value = NULL;
> --]])],
> --[have_daq_queryflow="yes"],
> --[have_daq_queryflow="no"])
> -+
> -+AC_CHECK_MEMBERS([DAQ_QueryFlow_t mod.type, DAQ_QueryFlow_t mod.length, DAQ_QueryFlow_t mod.value],
> -+    [have_daq_queryflow="yes"],
> -+    [have_daq_queryflow="no"],
> -+    [[#include <daq.h>]])
> - AC_MSG_RESULT($have_daq_queryflow)
> - if test "x$have_daq_queryflow" = "xyes"; then
> -     CCONFIGFLAGS="${CCONFIGFLAGS} -DHAVE_DAQ_QUERYFLOW"
> -@@ -834,16 +798,11 @@ if test "x$have_daq_queryflow" = "xyes"; then
> - fi
> -
> - AC_MSG_CHECKING([for daq data channel flags])
> --AC_RUN_IFELSE(
> --[AC_LANG_PROGRAM(
> --[[
> --#include <daq.h>
> --]],
> --[[
> --   DAQ_Data_Channel_Params_t params;
> --]])],
> --[have_daq_data_channel_flags="yes"],
> --[have_daq_data_channel_flags="no"])
> -+
> -+AC_CHECK_MEMBERS([DAQ_Data_Channel_Params_t params.flags],
> -+    [have_daq_data_channel_flags="yes"],
> -+    [have_daq_data_channel_flags="no"],
> -+    [[#include <daq.h>]])
> - AC_MSG_RESULT($have_daq_data_channel_flags)
> - if test "x$have_daq_data_channel_flags" = "xyes"; then
> -     CCONFIGFLAGS="${CCONFIGFLAGS} -DHAVE_DAQ_DATA_CHANNEL_PARAMS"
> -@@ -852,17 +811,10 @@ if test "x$have_daq_data_channel_flags" = "xyes"; then
> - fi
> -
> - AC_MSG_CHECKING([for separate IP versions on pinhole endpoints])
> --AC_RUN_IFELSE(
> --[AC_LANG_PROGRAM(
> --[[
> --#include <daq.h>
> --]],
> --[[
> --   DAQ_DP_key_t dpKey;
> --   dpKey.src_af = 0;
> --]])],
> --[have_daq_data_channel_separate_ip_versions="yes"],
> --[have_daq_data_channel_separate_ip_versions="no"])
> -+AC_CHECK_MEMBERS([DAQ_DP_key_t dpKey.src_af],
> -+    [have_daq_data_channel_separate_ip_versions="yes"],
> -+    [have_daq_data_channel_separate_ip_versions="no"],
> -+    [[#include <daq.h>]])
> - AC_MSG_RESULT($have_daq_data_channel_separate_ip_versions)
> - if test "x$have_daq_data_channel_separate_ip_versions" = "xyes"; then
> -     CCONFIGFLAGS="${CCONFIGFLAGS} -DHAVE_DAQ_DATA_CHANNEL_SEPARATE_IP_VERSIONS"
> -@@ -889,17 +841,10 @@ if test "x$have_daq_verdict_retry" = "xyes"; then
> - fi
> -
> - AC_MSG_CHECKING([for daq packet trace])
> --AC_RUN_IFELSE(
> --[AC_LANG_PROGRAM(
> --[[
> --#include <daq.h>
> --]],
> --[[
> --   DAQ_PktHdr_t hdr;
> --   hdr.flags = DAQ_PKT_FLAG_TRACE_ENABLED;
> --]])],
> --[have_daq_packet_trace="yes"],
> --[have_daq_packet_trace="no"])
> -+AC_CHECK_MEMBERS([DAQ_PktHdr_t hdr.flags],
> -+    [have_daq_packet_trace="yes"],
> -+    [have_daq_packet_trace="no"],
> -+    [[#include <daq.h>]])
> - AC_MSG_RESULT($have_daq_packet_trace)
> - if test "x$have_daq_packet_trace" = "xyes"; then
> -     AC_DEFINE([HAVE_DAQ_PKT_TRACE],[1],
> -@@ -909,17 +854,11 @@ else
> - fi
> -
> - AC_MSG_CHECKING([for daq verdict reason])
> --AC_RUN_IFELSE(
> --[AC_LANG_PROGRAM(
> --[[
> --#include <daq.h>
> --]],
> --[[
> --   DAQ_ModFlow_t fl;
> --   fl.type = DAQ_MODFLOW_TYPE_VER_REASON;
> --]])],
> --[have_daq_verdict_reason="yes"],
> --[have_daq_verdict_reason="no"])
> -+
> -+AC_CHECK_MEMBERS([DAQ_ModFlow_t fl.type],
> -+    [have_daq_verdict_reason="yes"],
> -+    [have_daq_verdict_reason="no"],
> -+    [[#include <daq.h>]])
> - AC_MSG_RESULT($have_daq_verdict_reason)
> - if test "x$have_daq_verdict_reason" = "xyes"; then
> -     AC_DEFINE([HAVE_DAQ_VERDICT_REASON],[1],
> ---
> -2.14.3
> -
> diff --git a/package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch b/package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch
> deleted file mode 100644
> index 9c5e611b03..0000000000
> --- a/package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch
> +++ /dev/null
> @@ -1,48 +0,0 @@
> -From 075b5cf8d3940ed2c39fb37c1e14a652e4a6f2fc Mon Sep 17 00:00:00 2001
> -From: Romain Naour <romain.naour@smile.fr>
> -Date: Sun, 1 Apr 2018 16:21:31 +0200
> -Subject: [PATCH] configure.in: convert AC_RUN_IFELSE to AC_COMPILE_IFELSE
> -
> -Prevent configure script from trying to run programs in a cross
> -compilation environment.
> -
> -Signed-off-by: Romain Naour <romain.naour@smile.fr>
> -Cc: Sergio Prado <sergio.prado@e-labworks.com>
> ----
> - configure.in | 6 +++---
> - 1 file changed, 3 insertions(+), 3 deletions(-)
> -
> -diff --git a/configure.in b/configure.in
> -index 571322b..e489037 100644
> ---- a/configure.in
> -+++ b/configure.in
> -@@ -431,7 +431,7 @@ if test "x$LPCAP" = "xno"; then
> - fi
> -
> - AC_MSG_CHECKING([for pcap_lex_destroy])
> --AC_RUN_IFELSE(
> -+AC_COMPILE_IFELSE(
> - [AC_LANG_PROGRAM(
> - [[
> - #include <pcap.h>
> -@@ -823,7 +823,7 @@ if test "x$have_daq_data_channel_separate_ip_versions" = "xyes"; then
> - fi
> -
> - AC_MSG_CHECKING([for DAQ_VERDICT_RETRY])
> --AC_RUN_IFELSE(
> -+AC_COMPILE_IFELSE(
> - [AC_LANG_PROGRAM(
> - [[
> - #include <daq.h>
> -@@ -886,7 +886,7 @@ if eval "echo $host_cpu|grep -i sparc >/dev/null"; then
> -     OLD_CFLAGS="$CFLAGS"
> -     CFLAGS="$CFLAGS -mcpu=v9 "
> -     AC_MSG_CHECKING([for sparc %time register])
> --    AC_RUN_IFELSE(
> -+    AC_COMPILE_IFELSE(
> -     [AC_LANG_PROGRAM(
> -     [[]],
> -     [[
> ---
> -2.14.3
> -
> diff --git a/package/snort/0005-fix-sparc.patch b/package/snort/0005-fix-sparc.patch
> deleted file mode 100644
> index 56a294976c..0000000000
> --- a/package/snort/0005-fix-sparc.patch
> +++ /dev/null
> @@ -1,30 +0,0 @@
> -When checking if the architecture supports the %time register
> -instruction, do not force -mcpu to v9 while doing so. Otherwise it's
> -like "let's see if this v9 instruction exists when I force the compiler
> -to think I'm using v9", which is non-sensical.
> -
> -Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> -[Dario: make the patch to be applied with fuzz factor 0]
> -Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> -
> -diff -Naurp ./snort-2.9.11.1-orig/configure.in snort-2.9.11.1/configure.in
> ---- ./snort-2.9.11.1-orig/configure.in	2018-05-10 12:20:19.253510678 +0200
> -+++ snort-2.9.11.1/configure.in	2018-05-10 12:40:18.547584998 +0200
> -@@ -900,8 +900,6 @@
> -
> - # check for sparc %time register
> - if eval "echo $host_cpu|grep -i sparc >/dev/null"; then
> --    OLD_CFLAGS="$CFLAGS"
> --    CFLAGS="$CFLAGS -mcpu=v9 "
> -     AC_MSG_CHECKING([for sparc %time register])
> -     AC_COMPILE_IFELSE(
> -     [AC_LANG_PROGRAM(
> -@@ -915,8 +913,6 @@
> -     AC_MSG_RESULT($sparcv9)
> -     if test "x$sparcv9" = "xyes"; then
> -         AC_DEFINE([SPARCV9],[1],[For sparc v9 with %time register])
> --    else
> --        CFLAGS="$OLD_CFLAGS"
> -     fi
> - fi
> -
> diff --git a/package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch b/package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch
> deleted file mode 100644
> index ce9d5526c8..0000000000
> --- a/package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch
> +++ /dev/null
> @@ -1,34 +0,0 @@
> -From dc2f54097da3cd493b8f4d06a14ef40be484d24f Mon Sep 17 00:00:00 2001
> -From: Sergio Prado <sergio.prado@e-labworks.com>
> -Date: Thu, 21 Feb 2019 15:02:08 -0300
> -Subject: [PATCH] Fix compile error when building against uclibc or musl
> -
> -The build fails when dereferencing the rpcent structure with uclibc or musl C libraries.
> -
> -../../../src/dynamic-preprocessors/appid/service_plugins/service_rpc.c:241:20:
> -error: dereferencing pointer to incomplete type ‘struct rpcent’
> -             if (rpc->r_name)
> -
> -That's because rpc.h should be included when using these C libraries.
> -
> -Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
> ----
> - src/dynamic-preprocessors/appid/service_plugins/service_rpc.c | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/src/dynamic-preprocessors/appid/service_plugins/service_rpc.c b/src/dynamic-preprocessors/appid/service_plugins/service_rpc.c
> -index 81bc8a5db8ab..2e45246083a8 100644
> ---- a/src/dynamic-preprocessors/appid/service_plugins/service_rpc.c
> -+++ b/src/dynamic-preprocessors/appid/service_plugins/service_rpc.c
> -@@ -32,7 +32,7 @@
> - #include "flow.h"
> - #include "service_api.h"
> -
> --#if defined(FREEBSD) || defined(OPENBSD)
> -+#if defined(FREEBSD) || defined(OPENBSD) || (defined(LINUX) && defined(__UCLIBC__) && !defined(__UCLIBC_HAS_RPC__) || !defined(__GLIBC__))
> - #include "rpc/rpc.h"
> - #endif
> -
> ---
> -2.7.4
> -
> diff --git a/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch b/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch
> deleted file mode 100644
> index 66d4fa2839..0000000000
> --- a/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch
> +++ /dev/null
> @@ -1,77 +0,0 @@
> -From eae97632157b73f0ca7c099232617b2777d0fa54 Mon Sep 17 00:00:00 2001
> -From: Sergio Prado <sergio.prado@e-labworks.com>
> -Date: Sat, 21 Dec 2019 12:00:42 -0300
> -Subject: [PATCH] Fix error when building on a Fedora host machine.
> -
> -Remove the code that adds unsafe header/library path when
> -cross-compiling on a Fedora host machine.
> -
> -Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
> -[Fabrice: Update for 2.9.18.1 (also fix build on Centos host machine)]
> -Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ----
> - configure.in | 24 ------------------------
> - 1 file changed, 24 deletions(-)
> -
> -diff --git a/configure.in b/configure.in
> -index e6586f399898..fb35d4d7e3e3 100644
> ---- a/configure.in
> -+++ b/configure.in
> -@@ -957,54 +957,6 @@ if test "x$enable_dlclose" = "xno"; then
> -     AC_DEFINE([DISABLE_DLCLOSE_FOR_VALGRIND_TESTING],[1],[Don't close opened shared objects for valgrind leak testing of dynamic libraries])
> - fi
> -
> --##################################################
> --# Fedora 28+ does not have inbuilt SunRPC support#
> --# in glibc and is separately availble in tirpc   #
> --# package. Make sure we've got the library and   #
> --# link it                                        #
> --##################################################
> --
> --if test -f /etc/fedora-release ; then
> --    DISTRO_VERSION=$(awk '{ print $3 }' /etc/fedora-release)
> --    if test $DISTRO_VERSION -ge 28 ; then
> --        TIRPC=""
> --        AC_CHECK_LIB(tirpc,bindresvport,, TIRPC="no")
> --        echo "$TIRPC"
> --        if test "x$TIRPC" = "xno"; then
> --            echo
> --            echo " ERROR! tirpc not found, get it by running "
> --            echo " yum install libtirpc-devel "
> --            exit
> --        fi
> --        LIBS="${LIBS} -ltirpc"
> --        extra_incl="-I/usr/include/tirpc"
> --    fi
> --fi
> --
> --##################################################
> --# Centos 8+ does not have inbuilt SunRPC support  #
> --# in glibc and is separately availble in tirpc   #
> --# package. Make sure we've got the library and   #
> --# link it                                        #
> --##################################################
> --if test -f /etc/centos-release ; then
> --    LINUX_FLAVOUR=$(awk '{ print $1 }' /etc/centos-release)
> --    DISTRO_VERSION=`cut -d ' ' -f 4 /etc/centos-release | cut -d '.' -f 1`
> --    if [[ "$LINUX_FLAVOUR" == "CentOS" ]] && [[ $DISTRO_VERSION -ge 8 ]]; then
> --        TIRPC=""
> --        AC_CHECK_LIB(tirpc,bindresvport,, TIRPC="no")
> --        echo "$TIRPC"
> --        if test "x$TIRPC" = "xno"; then
> --            echo
> --            echo " ERROR! tirpc not found, get it by running "
> --            echo " yum install libtirpc-devel or dnf install libtirpc-devel"
> --            exit
> --        fi
> --        LIBS="${LIBS} -ltirpc"
> --        extra_incl="-I/usr/include/tirpc"
> --    fi
> --fi
> --
> - Z_LIB=""
> - AC_CHECK_HEADERS(zlib.h,, Z_LIB="no")
> - if test "x$Z_LIB" = "xno"; then
> ---
> -2.17.1
> -
> diff --git a/package/snort/0008-Fix-NO-OPTIMIZE.patch b/package/snort/0008-Fix-NO-OPTIMIZE.patch
> deleted file mode 100644
> index 936973fdd6..0000000000
> --- a/package/snort/0008-Fix-NO-OPTIMIZE.patch
> +++ /dev/null
> @@ -1,24 +0,0 @@
> -Fix NO_OPTIMIZE
> -
> -Fix the following build failure when NO_OPTIMIZE is enabled (e.g. on
> -sparc) and -Ofast:
> -
> -cc1: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast'
> -
> -Fixes:
> - - http://autobuild.buildroot.org/results/e1a330e1a899fcdf4900e9156d62c90813321e30
> -
> -Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> -
> -diff -Nura snort-2.9.19.orig/configure.in snort-2.9.19/configure.in
> ---- snort-2.9.19.orig/configure.in	2022-08-09 20:21:00.236777320 +0200
> -+++ snort-2.9.19/configure.in	2022-08-09 20:29:02.260993315 +0200
> -@@ -1694,7 +1694,7 @@
> -
> - # Set to no optimization regardless of what user or autostuff set
> - if test "x$NO_OPTIMIZE" = "xyes"; then
> --    CFLAGS=`echo $CFLAGS | sed -e "s/-O./-O0/"`
> -+    CFLAGS=`echo $CFLAGS | sed -e "s/-O[0-9a-z]*/-O0/"`
> -
> -     # in case user override doesn't include -O
> -     if echo $CFLAGS | grep -qve -O0 ; then
> diff --git a/package/snort/0009-gcc-15-fix.patch b/package/snort/0009-gcc-15-fix.patch
> deleted file mode 100644
> index 227ad5ffc5..0000000000
> --- a/package/snort/0009-gcc-15-fix.patch
> +++ /dev/null
> @@ -1,36 +0,0 @@
> -Fix build with gcc-15.x
> -
> -Adapted from: https://lists.openembedded.org/g/openembedded-devel/topic/meta_oe_patch_2_8_snort/112466576
> -
> -Upstream-Status: Backport [resolved in snort3 https://github.com/snort3/snort3/commit/c3cc27355ac302bd24ee3e9d613166898ec2be64]
> -
> -Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
> -
> -Downloaded from
> -https://gitweb.gentoo.org/repo/gentoo.git/tree/net-analyzer/snort/files/snort-2.9.20-gcc-15-fix.patch?id=410cb3ac09ab3d55e96876634c4d58005d9ead89
> -
> -Upstream: https://github.com/snort3/snort3/commit/c3cc27355ac302bd24ee3e9d613166898ec2be64
> -
> -Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> -
> ---- a/src/dynamic-preprocessors/dcerpc2/spp_dce2.c
> -+++ b/src/dynamic-preprocessors/dcerpc2/spp_dce2.c
> -@@ -160,7 +160,7 @@ static void DCE2_ReloadSwapFree(void *);
> - static void DCE2_AddPortsToPaf(struct _SnortConfig *, DCE2_Config *, tSfPolicyId);
> - static void DCE2_ScAddPortsToPaf(struct _SnortConfig *, void *);
> - static uint32_t max(uint32_t a, uint32_t b);
> --static uint32_t DCE2_GetReloadSafeMemcap();
> -+static uint32_t DCE2_GetReloadSafeMemcap(tSfPolicyUserContextId pConfig);
> -
> - static bool dce2_file_cache_is_enabled = false;
> - static bool dce2_file_cache_was_enabled = false;
> ---- a/src/preprocessors/HttpInspect/include/file_decomp_PDF.h
> -+++ b/src/preprocessors/HttpInspect/include/file_decomp_PDF.h
> -@@ -80,6 +80,6 @@ fd_status_t File_Decomp_Init_PDF( fd_session_p_t SessionPtr );
> -
> - fd_status_t File_Decomp_End_PDF( fd_session_p_t SessionPtr );
> -
> --fd_status_t File_Decomp_PDF();
> -+fd_status_t File_Decomp_PDF( fd_session_p_t SessionPtr );
> -
> - #endif /* FILE_DECOMP_PDF_H */
> diff --git a/package/snort/Config.in b/package/snort/Config.in
> deleted file mode 100644
> index fc74efcfed..0000000000
> --- a/package/snort/Config.in
> +++ /dev/null
> @@ -1,27 +0,0 @@
> -config BR2_PACKAGE_SNORT
> -	bool "snort"
> -	depends on BR2_USE_WCHAR
> -	depends on BR2_USE_MMU # fork()
> -	depends on !BR2_STATIC_LIBS # daq
> -	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS # libtirpc
> -	select BR2_PACKAGE_LIBDNET
> -	select BR2_PACKAGE_LIBPCAP
> -	select BR2_PACKAGE_DAQ
> -	select BR2_PACKAGE_PCRE
> -	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
> -	select BR2_PACKAGE_ZLIB
> -	help
> -	  Snort is a free and open source network intrusion
> -	  prevention system (IPS) and network intrusion detection
> -	  system (IDS). It can perform protocol analysis, content
> -	  searching/matching, and can be used to detect a variety
> -	  of attacks and probes, such as buffer overflows, stealth
> -	  port scans, CGI attacks, SMB probes, OS fingerprinting
> -	  attempts, and much more.
> -
> -	  https://www.snort.org
> -
> -comment "snort needs a toolchain w/ wchar, threads, dynamic library"
> -	depends on BR2_USE_MMU
> -	depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || \
> -		!(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
> diff --git a/package/snort/snort.hash b/package/snort/snort.hash
> deleted file mode 100644
> index a807d051d9..0000000000
> --- a/package/snort/snort.hash
> +++ /dev/null
> @@ -1,9 +0,0 @@
> -# From https://www.snort.org/downloads/snort/md5s
> -md5  b52cdf14e97ef953c800c3ef123beaa5  snort-2.9.20.tar.gz
> -
> -# Locally computed:
> -sha256  29400e13f53b1831e0b8b10ec1224a1cbaa6dc1533a5322a20dd80bb84b4981c  snort-2.9.20.tar.gz
> -
> -# Hash for license files:
> -sha256  f98260a6d3e5ef4ede8a2a6b698e5ac91d64c09243f7171e1c5b17b920a835c7  LICENSE
> -sha256  3f1cbfb20bb2c608e1a474421880d08b8cba6abb00ab7736d22c481d71656a6d  COPYING
> diff --git a/package/snort/snort.mk b/package/snort/snort.mk
> deleted file mode 100644
> index 8ce8ed5fa6..0000000000
> --- a/package/snort/snort.mk
> +++ /dev/null
> @@ -1,49 +0,0 @@
> -################################################################################
> -#
> -# snort
> -#
> -################################################################################
> -
> -SNORT_VERSION = 2.9.20
> -SNORT_SITE = https://www.snort.org/downloads/snort
> -SNORT_LICENSE = GPL-2.0
> -SNORT_LICENSE_FILES = LICENSE COPYING
> -SNORT_CPE_ID_VENDOR = snort
> -SNORT_SELINUX_MODULES = snort
> -
> -SNORT_DEPENDENCIES = libpcap libdnet daq pcre zlib host-pkgconf
> -
> -# patching configure.in
> -SNORT_AUTORECONF = YES
> -
> -SNORT_CONF_OPTS = \
> -	--with-libpcre-includes=$(STAGING_DIR)/usr/include \
> -	--with-libpcre-libraries=$(STAGING_DIR)/usr/lib \
> -	--with-libpcap-includes=$(STAGING_DIR)/usr/include/pcap \
> -	--disable-static-daq
> -
> -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
> -SNORT_CFLAGS += -O0
> -endif
> -
> -ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
> -SNORT_DEPENDENCIES += libtirpc
> -SNORT_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`
> -SNORT_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`
> -endif
> -
> -# luajit and openssl should be enabled to build with
> -# OpenAppID support
> -ifeq ($(BR2_PACKAGE_LUAJIT)$(BR2_PACKAGE_OPENSSL),yy)
> -SNORT_DEPENDENCIES += luajit openssl
> -SNORT_CONF_OPTS += --enable-open-appid
> -else
> -SNORT_CONF_OPTS += --disable-open-appid
> -endif
> -
> -SNORT_CONF_ENV = \
> -	CFLAGS="$(TARGET_CFLAGS) $(SNORT_CFLAGS)" \
> -	LIBS="$(SNORT_LIBS)" \
> -	have_inaddr_none=yes
> -
> -$(eval $(autotools-package))
> diff --git a/package/snort3/Config.in b/package/snort3/Config.in
> index 8dae65381e..4680b13a4d 100644
> --- a/package/snort3/Config.in
> +++ b/package/snort3/Config.in
> @@ -2,7 +2,6 @@ config BR2_PACKAGE_SNORT3
>   	bool "snort3"
>   	depends on !BR2_PACKAGE_LUA # luajit
>   	depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS # luajit
> -	depends on !(BR2_PACKAGE_DAQ || BR2_PACKAGE_SNORT)
>   	depends on BR2_USE_MMU # fork()
>   	depends on BR2_INSTALL_LIBSTDCPP
>   	depends on !BR2_STATIC_LIBS # daq3
> @@ -38,7 +37,6 @@ config BR2_PACKAGE_SNORT3
>   comment "snort3 needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.9"
>   	depends on !BR2_PACKAGE_LUA
>   	depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
> -	depends on !(BR2_PACKAGE_DAQ || BR2_PACKAGE_SNORT)
>   	depends on BR2_USE_MMU
>   	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
>   		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-04-07 20:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-07  8:49 [Buildroot] [PATCH 1/5] package/rubix: remove package Bernd Kuhls
2026-04-07  8:49 ` [Buildroot] [PATCH 2/5] package/openswan: " Bernd Kuhls
2026-04-07  8:50 ` [Buildroot] [PATCH 3/5] package/sphinxbase: " Bernd Kuhls
2026-04-07  8:50 ` [Buildroot] [PATCH 4/5] package/cegui: " Bernd Kuhls
2026-04-07  8:50 ` [Buildroot] [PATCH 5/5] package/snort: " Bernd Kuhls
2026-04-07 20:01   ` Arnout Vandecappelle via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox