Skip to contentSkip to conversation

package/rubix: remove package

PATCH Applied Bernd Kuhls 2 participants 6 messages Apr 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 package/rubix: remove package

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/

---
 .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
.checkpackageignore +0 -2
index e9a002f766..3622341e74 100644
@@ -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
Config.in.legacy +7 -0
index 518251c816..fb1938b6e3 100644
@@ -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
package/Config.in +0 -1
index 484229539f..dc68e1b912 100644
@@ -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"
package/rubix/0001-dont-use-legacy-functions.patch deleted +0 -18
deleted file mode 100644
index 9c34aee6d3..0000000000
@@ -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 <[email protected]>
-
-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;
package/rubix/0002-misc-fixes.patch deleted +0 -135

135 lines not on this page · raw message

package/rubix/Config.in deleted +0 -8
deleted file mode 100644
index e814a95f57..0000000000
@@ -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
package/rubix/rubix.hash deleted +0 -3
deleted file mode 100644
index 8ff5431824..0000000000
@@ -1,3 +0,0 @@
-# Locally calculated
-sha256  ccff4c98373f76c6bab751f5f5a60df7ad8691c79b56157e4aba2dd76f501a87  rubix-1.0.6.tar.bz2
-sha256  429d04118c02bc92d834c430601f8c0c8df1ab27e3617ec73ad3f66c5953475d  LICENCE
package/rubix/rubix.mk deleted +0 -30
deleted file mode 100644
index 937339f546..0000000000
@@ -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))
Signature · 6 lines
2.47.3

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

PATCH 2/5 package/openswan: remove package

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/

---
 .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
.checkpackageignore +0 -1
index 3622341e74..7f54d8195d 100644
@@ -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
Config.in.legacy +7 -0
index fb1938b6e3..64112f97c5 100644
@@ -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
package/Config.in +0 -1
index dc68e1b912..774f77c106 100644
@@ -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"
package/openswan/0001-lib-libopenswan-constants.c-workaround-missing-ns_t_.patch deleted +0 -29
deleted file mode 100644
index ea50dd11ad..0000000000
@@ -1,29 +0,0 @@
-From 66f8abe037970dda50fbc460edb2a2fa9f391d8a Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <[email protected]>
-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 <[email protected]>
----
- 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
-
package/openswan/Config.in deleted +0 -15
deleted file mode 100644
index 31c4a66b35..0000000000
@@ -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
package/openswan/openswan.hash deleted +0 -4
deleted file mode 100644
index 574009ebfb..0000000000
@@ -1,4 +0,0 @@
-# Locally calculated
-sha256  69fe7a71e54aaf0ea93b874db4963057c1ff4904b3617b36f2c9be2010c23331  openswan-3.0.0.tar.gz
-sha256  1c36ae1e7b0f6cce4b4ffe969b71f83635734804acdd38544443564b00f8783a  COPYING
-sha256  d7d012ef3be47faffba4d97a83d4986c9f4a63ac997ebf5961d33852e5f1801a  LICENSE
package/openswan/openswan.mk deleted +0 -44

44 lines not on this page · raw message

Signature · 6 lines
2.47.3

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

PATCH 3/5 package/sphinxbase: remove package

In reply to Bernd Kuhls

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/

Cc Jonathan Ben Avraham <[email protected]>
---
 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
Config.in.legacy +7 -0
index 64112f97c5..d13d4ee88f 100644
@@ -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
DEVELOPERS +0 -1
index 6fd01545c5..f2548f676b 100644
@@ -1740,7 +1740,6 @@ F:	package/dawgdic/
 F:	package/libphidget/
 F:	package/phidgetwebservice/
 F:	package/rapidxml/
-F:	package/sphinxbase/
 
 N:	Joris Offouga <[email protected]>
 F:	package/python-colorlog/
package/Config.in +0 -1
index 774f77c106..3e330b2fcf 100644
@@ -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"
package/sphinxbase/Config.in deleted +0 -13
deleted file mode 100644
index 00a19f6178..0000000000
@@ -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
package/sphinxbase/sphinxbase.hash deleted +0 -3
deleted file mode 100644
index 433fba685d..0000000000
@@ -1,3 +0,0 @@
-# Locally computed
-sha256  06971dbe272d2f73bde0ef7b3538c0c8f8ea885cb171fd6b17a5975bced66e64  sphinxbase-5prealpha.tar.gz
-sha256  26f12e0152a5d58c69904e439761a1b2fbb9267b5f04674dbf93667e3e6dd043  src/libsphinxbase/util/bio.c
package/sphinxbase/sphinxbase.mk deleted +0 -19
deleted file mode 100644
index 86f9089b48..0000000000
@@ -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))
Signature · 6 lines
2.47.3

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

PATCH 4/5 package/cegui: remove package

In reply to Bernd Kuhls

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.

---
 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
Config.in.legacy +8 -0
index d13d4ee88f..bca5a12436 100644
@@ -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
package/Config.in +0 -1
index 3e330b2fcf..9afcf74af9 100644
@@ -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"
package/cegui/0001-Fix-cmake-4-build.patch deleted +0 -28
deleted file mode 100644
index 952b17e494..0000000000
@@ -1,28 +0,0 @@
-From 6c0e6d8ffb3c13cd7fb08c8ef217daf45eabdf99 Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <[email protected]>
-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 <[email protected]>
----
- 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
-
package/cegui/Config.in deleted +0 -24
deleted file mode 100644
index 20b865835b..0000000000
@@ -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/
package/cegui/cegui.hash deleted +0 -3
deleted file mode 100644
index be0939148c..0000000000
@@ -1,3 +0,0 @@
-# Locally computed:
-sha256  9460cbbe7fc3bb3cf6abfd7f5a9c5f135b20e9898400bd698a5fa0d0fe879865  cegui-e7a03afc70c6182a091ff31accb9d77c6bdf6f60.tar.gz
-sha256  cc869e2ece8ad039f6d7fd17259db4ea0ae0a502d02a1bb506c0168deb12e40d  COPYING
package/cegui/cegui.mk deleted +0 -95

95 lines not on this page · raw message

Signature · 6 lines
2.47.3

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

PATCH 5/5 package/snort: remove package

In reply to Bernd Kuhls

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

Cc Sergio Prado <[email protected]>
Cc Fabrice Fontaine <[email protected]>
---
 .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
.checkpackageignore +0 -8
index 7f54d8195d..6599435b62 100644
@@ -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
Config.in.legacy +7 -0
index bca5a12436..ea96c801d9 100644
@@ -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
DEVELOPERS +0 -1
index f2548f676b..18197347a1 100644
@@ -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/
package/Config.in +0 -1
index 9afcf74af9..f12112c1d6 100644
@@ -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"
package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch deleted +0 -35
deleted file mode 100644
index 286b6f5883..0000000000
@@ -1,35 +0,0 @@
-From 732459ca3423799ae3386df3de3f5d6ea2af1b95 Mon Sep 17 00:00:00 2001
-From: Romain Naour <[email protected]>
-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 <[email protected]>
-Cc: Sergio Prado <[email protected]>
----
-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
-
package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch deleted +0 -44

44 lines not on this page · raw message

package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch deleted +0 -239

239 lines not on this page · raw message

package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch deleted +0 -48

48 lines not on this page · raw message

package/snort/0005-fix-sparc.patch deleted +0 -30
deleted file mode 100644
index 56a294976c..0000000000
@@ -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 <[email protected]>
-[Dario: make the patch to be applied with fuzz factor 0]
-Signed-off-by: Dario Binacchi <[email protected]>
-
-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
- 
package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch deleted +0 -34
deleted file mode 100644
index ce9d5526c8..0000000000
@@ -1,34 +0,0 @@
-From dc2f54097da3cd493b8f4d06a14ef40be484d24f Mon Sep 17 00:00:00 2001
-From: Sergio Prado <[email protected]>
-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 <[email protected]>
----
- 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
-
package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch deleted +0 -77

77 lines not on this page · raw message

package/snort/0008-Fix-NO-OPTIMIZE.patch deleted +0 -24
deleted file mode 100644
index 936973fdd6..0000000000
@@ -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 <[email protected]>
-
-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
package/snort/0009-gcc-15-fix.patch deleted +0 -36
deleted file mode 100644
index 227ad5ffc5..0000000000
@@ -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 <[email protected]>
-
-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 <[email protected]>
-
---- 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 */
package/snort/Config.in deleted +0 -27
deleted file mode 100644
index fc74efcfed..0000000000
@@ -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)
package/snort/snort.hash deleted +0 -9
deleted file mode 100644
index a807d051d9..0000000000
@@ -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
package/snort/snort.mk deleted +0 -49

49 lines not on this page · raw message

package/snort3/Config.in +0 -2
index 8dae65381e..4680b13a4d 100644
@@ -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 || \
Signature · 6 lines
2.47.3

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

Re: [Buildroot] [PATCH 5/5] package/snort: remove package

Quoted 2 lines · Bernd Kuhls

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.in.legacy endif · line 154

Quoted 6 lines
Config.in.legacy +6 -0
+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

Quoted 765 lines
Config.in.legacy +1 -0
+
  config BR2_PACKAGE_CEGUI
  	bool "cegui"
  	select BR2_LEGACY
DEVELOPERS +0 -1
index f2548f676b..18197347a1 100644
@@ -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/
package/Config.in +0 -1
index 9afcf74af9..f12112c1d6 100644
@@ -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"
package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch deleted +0 -35
deleted file mode 100644
index 286b6f5883..0000000000
@@ -1,35 +0,0 @@
-From 732459ca3423799ae3386df3de3f5d6ea2af1b95 Mon Sep 17 00:00:00 2001
-From: Romain Naour <[email protected]>
-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 <[email protected]>
-Cc: Sergio Prado <[email protected]>
----
-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
-
package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch deleted +0 -44
deleted file mode 100644
index 6575154240..0000000000
@@ -1,44 +0,0 @@
-From a6817677a42d1294f1a3ce7b9f46b10ec557ddfa Mon Sep 17 00:00:00 2001
-From: Romain Naour <[email protected]>
-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 <[email protected]>
-Cc: Sergio Prado <[email protected]>
----
- 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
-
package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch deleted +0 -239
deleted file mode 100644
index 059190ff6d..0000000000
@@ -1,239 +0,0 @@
-From 1ef6bdaeb0463a208a14e5d90646ce337df738fc Mon Sep 17 00:00:00 2001
-From: Romain Naour <[email protected]>
-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 <[email protected]>
-Cc: Sergio Prado <[email protected]>
----
- 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
-
package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch deleted +0 -48
deleted file mode 100644
index 9c5e611b03..0000000000
@@ -1,48 +0,0 @@
-From 075b5cf8d3940ed2c39fb37c1e14a652e4a6f2fc Mon Sep 17 00:00:00 2001
-From: Romain Naour <[email protected]>
-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 <[email protected]>
-Cc: Sergio Prado <[email protected]>
----
- 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
-
package/snort/0005-fix-sparc.patch deleted +0 -30
deleted file mode 100644
index 56a294976c..0000000000
@@ -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 <[email protected]>
-[Dario: make the patch to be applied with fuzz factor 0]
-Signed-off-by: Dario Binacchi <[email protected]>
-
-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
-
package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch deleted +0 -34
deleted file mode 100644
index ce9d5526c8..0000000000
@@ -1,34 +0,0 @@
-From dc2f54097da3cd493b8f4d06a14ef40be484d24f Mon Sep 17 00:00:00 2001
-From: Sergio Prado <[email protected]>
-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 <[email protected]>
----
- 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
-
package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch deleted +0 -77
deleted file mode 100644
index 66d4fa2839..0000000000
@@ -1,77 +0,0 @@
-From eae97632157b73f0ca7c099232617b2777d0fa54 Mon Sep 17 00:00:00 2001
-From: Sergio Prado <[email protected]>
-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 <[email protected]>
-[Fabrice: Update for 2.9.18.1 (also fix build on Centos host machine)]
-Signed-off-by: Fabrice Fontaine <[email protected]>
----
- 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
-
package/snort/0008-Fix-NO-OPTIMIZE.patch deleted +0 -24
deleted file mode 100644
index 936973fdd6..0000000000
@@ -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 <[email protected]>
-
-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
package/snort/0009-gcc-15-fix.patch deleted +0 -36
deleted file mode 100644
index 227ad5ffc5..0000000000
@@ -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 <[email protected]>
-
-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 <[email protected]>
-
---- 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 */
package/snort/Config.in deleted +0 -27
deleted file mode 100644
index fc74efcfed..0000000000
@@ -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)
package/snort/snort.hash deleted +0 -9
deleted file mode 100644
index a807d051d9..0000000000
@@ -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
package/snort/snort.mk deleted +0 -49
deleted file mode 100644
index 8ce8ed5fa6..0000000000
@@ -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))
package/snort3/Config.in +0 -1
index 8dae65381e..4680b13a4d 100644
@@ -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

package/snort3/Config.in config BR2_PACKAGE_SNORT3 · line 42

Quoted 7 lines
package/snort3/Config.in +0 -1
@@ -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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot