{"id":2175339,"url":"http://patchwork.ozlabs.org/api/1.0/patches/2175339/?format=json","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.0/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20251217192330.3769476-2-bernd@kuhls.net>","date":"2025-12-17T19:23:12","name":"[v3,01/18] package/libnids: remove package","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"5cfcd50cf40b7fe421a4d33d25d386ba543e95ce","submitter":{"id":86624,"url":"http://patchwork.ozlabs.org/api/1.0/people/86624/?format=json","name":"Bernd Kuhls","email":"bernd@kuhls.net"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20251217192330.3769476-2-bernd@kuhls.net/mbox/","series":[{"id":485754,"url":"http://patchwork.ozlabs.org/api/1.0/series/485754/?format=json","date":"2025-12-17T19:23:11","name":"Remove packages","version":3,"mbox":"http://patchwork.ozlabs.org/series/485754/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2175339/checks/","tags":{},"headers":{"Return-Path":"<buildroot-bounces@buildroot.org>","X-Original-To":["incoming-buildroot@patchwork.ozlabs.org","buildroot@buildroot.org"],"Delivered-To":["patchwork-incoming-buildroot@legolas.ozlabs.org","buildroot@buildroot.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=CUVAyWD3;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=140.211.166.136; helo=smtp3.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"],"Received":["from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4dWkHX2vmxz1xpw\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Thu, 18 Dec 2025 06:23:52 +1100 (AEDT)","from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 921AB610E7;\n\tWed, 17 Dec 2025 19:23:50 +0000 (UTC)","from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id WWNdcSFvfk4r; Wed, 17 Dec 2025 19:23:48 +0000 (UTC)","from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 5515660B89;\n\tWed, 17 Dec 2025 19:23:48 +0000 (UTC)","from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by lists1.osuosl.org (Postfix) with ESMTP id 81FE6375\n for <buildroot@buildroot.org>; Wed, 17 Dec 2025 19:23:46 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id 689C040475\n for <buildroot@buildroot.org>; Wed, 17 Dec 2025 19:23:46 +0000 (UTC)","from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id Bo93a4hlamyb for <buildroot@buildroot.org>;\n Wed, 17 Dec 2025 19:23:45 +0000 (UTC)","from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp2.osuosl.org (Postfix) with ESMTPS id 58038403D8\n for <buildroot@buildroot.org>; Wed, 17 Dec 2025 19:23:44 +0000 (UTC)","from fli4l.lan.fli4l (p54a1ba4b.dip0.t-ipconnect.de [84.161.186.75])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id E179DA4C4578;\n Wed, 17 Dec 2025 20:23:30 +0100 (CET)","from bruckner.lan.fli4l ([192.168.1.1]:51964)\n by fli4l.lan.fli4l with esmtp (Exim 4.99)\n (envelope-from <bernd@kuhls.net>) id 1vVx7S-000000000pX-0VXG;\n Wed, 17 Dec 2025 19:23:30 +0000"],"X-Virus-Scanned":["amavis at osuosl.org","amavis at osuosl.org"],"X-Comment":"SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ","DKIM-Filter":["OpenDKIM Filter v2.11.0 smtp3.osuosl.org 5515660B89","OpenDKIM Filter v2.11.0 smtp2.osuosl.org 58038403D8"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1765999428;\n\tbh=J9R3tsZ3V3nHr2TwrTAry6yioxXfkoSIZ/cLLFP/Fkk=;\n\th=From:To:Cc:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=CUVAyWD3YKWnQlnWKEHpo8auLXWPcg/GQNCfwGLfeLpbWT3ujLwN2PaGu/yu/nKlx\n\t VhR6Poesgm7m+mwNEb5uqP/TNyfwAMa5LF34YacYluF8b5ba2vm+ONBFe1Qo+b2Yll\n\t Refyd0r7LYEFCHTI2GZHjzP9k+0YA+3tJuLCCNZ+j1qOImpaly0h8qilCJq53UJPIZ\n\t bVCeRdrpScqwmcJL9wNsWC+DFE5F5eAujEJkyUzneMqfkGnKzqwk9Q7Aa1edFw0ZdV\n\t JHYYuWg1f3WOoa5dl3keBNPuK6EXyEK3BOzEhC0qud+F9SxLSpTqVgs2zn5JrniQAU\n\t IED7Jqk8/So9Q==","Received-SPF":"Pass (mailfrom) identity=mailfrom; client-ip=85.13.140.57;\n helo=dd20012.kasserver.com; envelope-from=bernd@kuhls.net;\n receiver=<UNKNOWN>","DMARC-Filter":"OpenDMARC Filter v1.4.2 smtp2.osuosl.org 58038403D8","From":"Bernd Kuhls <bernd@kuhls.net>","To":"buildroot@buildroot.org","Cc":"Guillaume William Brs <guillaume.bressaix@gmail.com>,\n Julien Olivain <ju.o@free.fr>, Gilles Talis <gilles.talis@gmail.com>,\n Rahul Bedarkar <rahulbedarkar89@gmail.com>,\n Jianhui Zhao <zhaojh329@gmail.com>, Romain Naour <romain.naour@gmail.com>,\n Jan Heylen <jan.heylen@nokia.com>,\n Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>,\n Simon Dawson <spdawson@gmail.com>, Ben Boeckel <mathstuf@gmail.com>","Date":"Wed, 17 Dec 2025 20:23:12 +0100","Message-ID":"<20251217192330.3769476-2-bernd@kuhls.net>","X-Mailer":"git-send-email 2.47.3","In-Reply-To":"<20251217192330.3769476-1-bernd@kuhls.net>","References":"<20251217192330.3769476-1-bernd@kuhls.net>","MIME-Version":"1.0","X-Spamd-Bar":"++","X-Mailman-Original-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=kuhls.net;\n s=kas202511301023; t=1765999410;\n bh=LSg5wn/9UxBOiiPjzPkbhAk9RwGV75ZJrGQ2Vda/aYk=;\n h=From:To:Cc:Subject:Date:In-Reply-To:From;\n b=ORNFwjEJgfgbBS+d7huXeZevn2jwyfqBEHspnshza3y79Vhs5Cf7v4jzRovdtLBXE\n XHM8d+/BASSaQA6KCXP8vrrxDmJvj7hnvMw5jmjj1vpIAa5w+K/EEvWZJqPAZ9qXVM\n hJz84cxwszBhmnxjN69O3iWFgQtx+elUGNPrAP16kq+s//8sBur/HreodZjdmiTGOH\n bq4AldhkGqygfdeQYQP6h+1o2SvevvtQMGmEMKKRTg4Sy/yNnl3RO+nZFrtFintIRR\n TpEjJJrfofxoWBvqW02h2Qj2778Ivgxv2VvVKfhHmFcdhsYX7W+QV0wwkYUY4VHG/k\n WSKuJWxaTl5eQ==","X-Mailman-Original-Authentication-Results":["smtp2.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net","smtp2.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256\n header.s=kas202511301023 header.b=ORNFwjEJ"],"Subject":"[Buildroot] [PATCH v3 01/18] package/libnids: remove package","X-BeenThere":"buildroot@buildroot.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.buildroot.org>","List-Unsubscribe":"<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>","List-Archive":"<http://lists.buildroot.org/pipermail/buildroot/>","List-Post":"<mailto:buildroot@buildroot.org>","List-Help":"<mailto:buildroot-request@buildroot.org?subject=help>","List-Subscribe":"<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@buildroot.org","Sender":"\"buildroot\" <buildroot-bounces@buildroot.org>"},"content":"Analysis of https://github.com/MITRECND/libnids:\n\"This repository was archived by the owner on May 20, 2025.\"\nlast commit: Dec 2020\nlast bug report: Jul 2024\nlast patch sent upstream: Jan 2024\n\nThe package is broken with gcc 15.x and no other package depends on it.\n\nFixes:\nhttps://autobuild.buildroot.net/results/f22/f22c8954894ab9ca57df07571726140c5bf3499a/\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n .checkpackageignore                           |  1 -\n Config.in.legacy                              |  6 +++\n DEVELOPERS                                    |  1 -\n package/Config.in                             |  1 -\n .../libnids/0001-libpcap-use-pkg-config.patch | 48 -------------------\n package/libnids/Config.in                     | 14 ------\n package/libnids/libnids.hash                  |  3 --\n package/libnids/libnids.mk                    | 43 -----------------\n 8 files changed, 6 insertions(+), 111 deletions(-)\n delete mode 100644 package/libnids/0001-libpcap-use-pkg-config.patch\n delete mode 100644 package/libnids/Config.in\n delete mode 100644 package/libnids/libnids.hash\n delete mode 100644 package/libnids/libnids.mk","diff":"diff --git a/.checkpackageignore b/.checkpackageignore\nindex efccc47a6c..7a03a5ca9b 100644\n--- a/.checkpackageignore\n+++ b/.checkpackageignore\n@@ -577,7 +577,6 @@ package/libmpeg2/0003-fix-arm-detection.patch lib_patch.Upstream\n package/libmpeg2/0004-fix-sparc.patch lib_patch.Upstream\n package/libnetfilter_conntrack/0001-conntrack-fix-build-with-kernel-5-15-and-musl.patch lib_patch.Upstream\n package/libnfc/0001-autotools-make-example-build-optional.patch lib_patch.Upstream\n-package/libnids/0001-libpcap-use-pkg-config.patch lib_patch.Upstream\n package/libnss/0001-Bug-1801182-Allow-overriding-OS_ARCH-OS_TEST-and-OS_.patch lib_patch.Upstream\n package/libodb-mysql/0001-fix-syntax-issue-while-checking-ldflags.patch lib_patch.Upstream\n package/libodb-mysql/0002-mariadb-FTBFS-fix.patch lib_patch.Upstream\ndiff --git a/Config.in.legacy b/Config.in.legacy\nindex da91b68087..29b3316a7a 100644\n--- a/Config.in.legacy\n+++ b/Config.in.legacy\n@@ -146,6 +146,12 @@ endif\n \n comment \"Legacy options removed in 2026.02\"\n \n+config BR2_PACKAGE_LIBNIDS\n+\tbool \"libnids has been removed\"\n+\tselect BR2_LEGACY\n+\thelp\n+\t  libnids is unmaintained and has been removed\n+\n config BR2_PACKAGE_MESA3D_VDPAU\n \tbool \"mesa3d Gallium VDPAU state tracker support removed\"\n \tselect BR2_LEGACY\ndiff --git a/DEVELOPERS b/DEVELOPERS\nindex 1b27df9beb..098370af6e 100644\n--- a/DEVELOPERS\n+++ b/DEVELOPERS\n@@ -1367,7 +1367,6 @@ N:\tGuillaume Chaye <guillaume.chaye@zeetim.com>\n F:\tpackage/sane-airscan/\n \n N:\tGuillaume William Brs <guillaume.bressaix@gmail.com>\n-F:\tpackage/libnids/\n F:\tpackage/libxcrypt/\n F:\tpackage/liquid-dsp/\n F:\tpackage/mbw/\ndiff --git a/package/Config.in b/package/Config.in\nindex 22970b4d45..80cd4c0466 100644\n--- a/package/Config.in\n+++ b/package/Config.in\n@@ -2072,7 +2072,6 @@ menu \"Networking\"\n \tsource \"package/libnfnetlink/Config.in\"\n \tsource \"package/libnftnl/Config.in\"\n \tsource \"package/libnice/Config.in\"\n-\tsource \"package/libnids/Config.in\"\n \tsource \"package/libnl/Config.in\"\n \tsource \"package/libnpupnp/Config.in\"\n \tsource \"package/liboping/Config.in\"\ndiff --git a/package/libnids/0001-libpcap-use-pkg-config.patch b/package/libnids/0001-libpcap-use-pkg-config.patch\ndeleted file mode 100644\nindex 8f8df478d1..0000000000\n--- a/package/libnids/0001-libpcap-use-pkg-config.patch\n+++ /dev/null\n@@ -1,48 +0,0 @@\n-configure.in: use pkg-config for libpcap detection\n-\n-The detection of libpcap was based in ${prefix}, which doesn't make\n-sense in a cross-compilation context and can cause host leakage into\n-the target build.\n-\n-So instead, let's use pkg-config to detect libpcap, since it is anyway\n-already use in this configure.in to detect libglib.\n-\n-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>\n-\n-Index: b/configure.in\n-===================================================================\n---- a/configure.in\n-+++ b/configure.in\n-@@ -75,25 +75,13 @@\n-      fi\n-      ;;\n-   esac ],\n--[ if test -f ${prefix}/include/pcap.h; then\n--     PCAP_CFLAGS=\"-I${prefix}/include\"\n--     PCAPLIB=\"-L${exec_prefix}/lib -lpcap\"\n--  elif test -f /usr/include/pcap/pcap.h; then\n--     PCAP_CFLAGS=\"-I/usr/include/pcap\"\n--     PCAPLIB=\"-lpcap\"\n--  else\n--\tTMP=$LIBS\n--\tLIBS=\"-lpcap $LIBS\"\n--\tAC_TRY_LINK([#include <pcap.h>], pcap_open_offline(\"\",\"\"),\n--\tLIBPCAP_FOUND=1,LIBPCAP_FOUND=0)\n--\tLIBS=$TMP\n--\tif test $LIBPCAP_FOUND = 1 ; then\n--\t\tPCAPLIB=\"-lpcap\"\n--\telse\n--\t\tAC_ERROR(libpcap not found)\n--\tfi\n--  fi\n--  AC_MSG_RESULT(yes) ]\n-+[\n-+    PKG_PROG_PKG_CONFIG\n-+    PKG_CHECK_MODULES(LIBPCAP, libpcap)\n-+    AC_MSG_RESULT(yes)\n-+    PCAP_CFLAGS=${LIBPCAP_CFLAGS}\n-+    PCAPLIB=${LIBPCAP_LIBS}\n-+]\n- )\n- AC_SUBST(PCAP_CFLAGS)\n- AC_SUBST(PCAPLIB)\ndiff --git a/package/libnids/Config.in b/package/libnids/Config.in\ndeleted file mode 100644\nindex 30528f4d07..0000000000\n--- a/package/libnids/Config.in\n+++ /dev/null\n@@ -1,14 +0,0 @@\n-config BR2_PACKAGE_LIBNIDS\n-\tbool \"libnids\"\n-\tselect BR2_PACKAGE_LIBPCAP\n-\thelp\n-\t  Libnids is an implementation of an E-component of Network\n-\t  Intrusion Detection System.\n-\n-\t  libnids watches all local network traffic, and provides\n-\t  convenient information on them to perform further analysis.\n-\n-\t  Libnids offers IP defragmentation, TCP stream assembly, TCP\n-\t  port scan detection.\n-\n-\t  http://libnids.sourceforge.net/\ndiff --git a/package/libnids/libnids.hash b/package/libnids/libnids.hash\ndeleted file mode 100644\nindex e51dbf151c..0000000000\n--- a/package/libnids/libnids.hash\n+++ /dev/null\n@@ -1,3 +0,0 @@\n-# Locally calculated\n-sha256  3f3e9f99a83cd37bc74af83d415c5e3a7505f5b190dfaf456b0849e0054f6733  libnids-1.26.tar.gz\n-sha256  91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad  COPYING\ndiff --git a/package/libnids/libnids.mk b/package/libnids/libnids.mk\ndeleted file mode 100644\nindex 712630bac8..0000000000\n--- a/package/libnids/libnids.mk\n+++ /dev/null\n@@ -1,43 +0,0 @@\n-################################################################################\n-#\n-# libnids\n-#\n-################################################################################\n-\n-LIBNIDS_VERSION = 1.26\n-LIBNIDS_SITE = $(call github,MITRECND,libnids,$(LIBNIDS_VERSION))\n-LIBNIDS_LICENSE = GPL-2.0\n-LIBNIDS_LICENSE_FILES = COPYING\n-LIBNIDS_CPE_ID_VALID = YES\n-LIBNIDS_INSTALL_STAGING = YES\n-LIBNIDS_DEPENDENCIES = host-pkgconf libpcap\n-LIBNIDS_AUTORECONF = YES\n-\n-# disable libnet if not available\n-# Tests in configure.in expect --with-libnet=$build_dir\n-# not an installation patch like in our context.\n-# We use with-libnet=yes to skip the unusual paths tests.\n-# But 'LNETLIB' gets left out, so we need to define it ourselves.\n-ifeq ($(BR2_PACKAGE_LIBNET),y)\n-LIBNIDS_DEPENDENCIES += libnet\n-LIBNIDS_CONF_OPTS += --enable-libnet --with-libnet=yes LNETLIB=-lnet\n-else\n-LIBNIDS_CONF_OPTS += --disable-libnet\n-endif\n-\n-# disable libglib2 if not available\n-# The test in configure.in is flawed: passing --enable-libglib would also\n-# disable it. Only when neither is passed will the autodetection test be\n-# executed.\n-ifeq ($(BR2_PACKAGE_LIBGLIB2),y)\n-LIBNIDS_DEPENDENCIES += libglib2\n-else\n-LIBNIDS_CONF_OPTS += --disable-libglib\n-endif\n-\n-# hand-written Makefile.in, not using automake, needs a custom\n-# variable for the installation path.\n-LIBNIDS_INSTALL_STAGING_OPTS = install_prefix=$(STAGING_DIR) install\n-LIBNIDS_INSTALL_TARGET_OPTS = install_prefix=$(TARGET_DIR) install\n-\n-$(eval $(autotools-package))\n","prefixes":["v3","01/18"]}