{"id":2221341,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2221341/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/patch/20260409084305.3960494-13-bernd@kuhls.net/","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.2/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":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260409084305.3960494-13-bernd@kuhls.net>","list_archive_url":null,"date":"2026-04-09T08:42:57","name":"[13/20] package/aircrack-ng: switch to pcre2","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"66d210deee37d99095486f43456db4611a105feb","submitter":{"id":86624,"url":"http://patchwork.ozlabs.org/api/1.2/people/86624/?format=json","name":"Bernd Kuhls","email":"bernd@kuhls.net"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20260409084305.3960494-13-bernd@kuhls.net/mbox/","series":[{"id":499260,"url":"http://patchwork.ozlabs.org/api/1.2/series/499260/?format=json","web_url":"http://patchwork.ozlabs.org/project/buildroot/list/?series=499260","date":"2026-04-09T08:42:45","name":"[01/20] package/shadowsocks-libev: bump version to 3.3.6","version":1,"mbox":"http://patchwork.ozlabs.org/series/499260/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2221341/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2221341/checks/","tags":{},"related":[],"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=Yr+Nst98;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"],"Received":["from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\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 4frtm64xhvz1yCv\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Thu, 09 Apr 2026 18:44:54 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 53C6540FD1;\n\tThu,  9 Apr 2026 08:44:53 +0000 (UTC)","from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id d1I8CGrNJxeI; Thu,  9 Apr 2026 08:44:52 +0000 (UTC)","from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 4C71B40FDF;\n\tThu,  9 Apr 2026 08:44:52 +0000 (UTC)","from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n by lists1.osuosl.org (Postfix) with ESMTP id 412B9237\n for <buildroot@buildroot.org>; Thu,  9 Apr 2026 08:44:50 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id 271BC60D92\n for <buildroot@buildroot.org>; Thu,  9 Apr 2026 08:44: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 GL9979I5OG_Z for <buildroot@buildroot.org>;\n Thu,  9 Apr 2026 08:44:49 +0000 (UTC)","from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57])\n by smtp3.osuosl.org (Postfix) with ESMTPS id E91FF60819\n for <buildroot@buildroot.org>; Thu,  9 Apr 2026 08:44:48 +0000 (UTC)","from fli4l.lan.fli4l (p4fd6ca66.dip0.t-ipconnect.de\n [79.214.202.102])\n by dd20012.kasserver.com (Postfix) with ESMTPSA id 40239A4C0938;\n Thu,  9 Apr 2026 10:43:19 +0200 (CEST)","from bruckner.lan.fli4l ([192.168.1.1]:35588)\n by fli4l.lan.fli4l with esmtp (Exim 4.99.1)\n (envelope-from <bernd@kuhls.net>) id 1wAkyh-000000004SH-25jM;\n Thu, 09 Apr 2026 08:43:07 +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 smtp4.osuosl.org 4C71B40FDF","OpenDKIM Filter v2.11.0 smtp3.osuosl.org E91FF60819"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1775724292;\n\tbh=FynoAtC9lINHleWq58ClLLwQOmsmjgixDSaTVZVGT6o=;\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=Yr+Nst98kizXuXAVLtgsYIcerH7/lO+ggb5V7xxjvfmoPudCRVD3A5cvtm9kxYMnp\n\t VHpbChGrBbjJuM3sycV9B0JH2WJE3OssOJewY7C8QZiVrZeuO9Wd/2tIbJbQMdho4a\n\t HiskgX82Gv8OcLUgyVbjCsDyMYrVAWX1bVEDtaQqa6ur33GIFeUWIAHJZ9rgDk/r+U\n\t /+jHP7bNvo4+SteY2y9ifFOM1J0vgzzzIl17YkRsh99iN0wY+2GFSGzwb3bwxPSi6y\n\t IJsFRF/19evkq7wMmj7VZmMJFreafCTsdHOOyYeWBLSZqokBzIVgPDOu4XT4yirBhx\n\t GgAoBw1lyDS0A==","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 smtp3.osuosl.org E91FF60819","From":"Bernd Kuhls <bernd@kuhls.net>","To":"buildroot@buildroot.org","Cc":"David GOUARIN <dgouarin@gmail.com>,\n Fabrice Fontaine <fontaine.fabrice@gmail.com>,\n Laurent Cans <laurent.cans@gmail.com>, Mario Lang <mlang@blind.guru>,\n Maxim Kochetkov <fido_max@inbox.ru>,\n Phil Eichinger <phil.eichinger@gmail.com>","Date":"Thu,  9 Apr 2026 10:42:57 +0200","Message-ID":"<20260409084305.3960494-13-bernd@kuhls.net>","X-Mailer":"git-send-email 2.47.3","In-Reply-To":"<20260409084305.3960494-1-bernd@kuhls.net>","References":"<20260409084305.3960494-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=1775724199;\n bh=yIBywHi+v6BTL6XihXsXQr8vhAfC9YbWxMzQwsEcQjs=;\n h=From:To:Cc:Subject:Date:In-Reply-To:From;\n b=N/lWT1H5qO2sx8JDUhFIJqYv9yVn1X1SRXHuKjNwUHyBVz2NZcomZVIgAhmIHGLQ1\n SYMd4UGitX7xU6rpTVVCDMZZtee8wadgxujb4BlQb+cDm8tgdXfAFdKo5aiqBbQWas\n wMo1nQgjA2u9CcPz6Rzqzt77F831HyLZeORKwl6tMSDEqXbYRhAlGxxD4zeHcJDkxF\n XfhDMIJeUe6tD61BcOvCa+NFzVDiA/X4opvTfuqUDV4Ud0wuQrIt+IFlnwCSDosaFI\n 3PgE/sbAtW4GhZJ5Kzk+qtmaiGdFqyHFSmuVUnCcuOHC6z3qBMVNY1GzrbrXXukAyc\n r5uadFKxf1JCQ==","X-Mailman-Original-Authentication-Results":["smtp3.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=kuhls.net","smtp3.osuosl.org;\n dkim=pass (2048-bit key) header.d=kuhls.net header.i=@kuhls.net\n header.a=rsa-sha256 header.s=kas202511301023 header.b=N/lWT1H5"],"Subject":"[Buildroot] [PATCH 13/20] package/aircrack-ng: switch to pcre2","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":"Added two upstream commits to support pcre2 and switch the package from\npcre to pcre2.\n\nSigned-off-by: Bernd Kuhls <bernd@kuhls.net>\n---\n .../0001-autotools-add-PCRE2-detection.patch  | 102 +++++++++++++\n ...icate-if-PCRE-or-PCRE2-is-being-used.patch | 142 ++++++++++++++++++\n package/aircrack-ng/aircrack-ng.mk            |   2 +-\n 3 files changed, 245 insertions(+), 1 deletion(-)\n create mode 100644 package/aircrack-ng/0001-autotools-add-PCRE2-detection.patch\n create mode 100644 package/aircrack-ng/0002-autotools-indicate-if-PCRE-or-PCRE2-is-being-used.patch","diff":"diff --git a/package/aircrack-ng/0001-autotools-add-PCRE2-detection.patch b/package/aircrack-ng/0001-autotools-add-PCRE2-detection.patch\nnew file mode 100644\nindex 0000000000..e99663c39e\n--- /dev/null\n+++ b/package/aircrack-ng/0001-autotools-add-PCRE2-detection.patch\n@@ -0,0 +1,102 @@\n+From 6b05dc10cdcf45d50bc8f9dd74667a3ff399a059 Mon Sep 17 00:00:00 2001\n+From: Andras Gemes <andrasgemes@outlook.com>\n+Date: Fri, 20 Jan 2023 14:52:12 +0100\n+Subject: [PATCH] autotools: add PCRE2 detection\n+\n+Upstream: https://github.com/aircrack-ng/aircrack-ng/commit/6b05dc10cdcf45d50bc8f9dd74667a3ff399a059\n+\n+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>\n+---\n+ build/m4/aircrack_ng_pcre2.m4 | 61 +++++++++++++++++++++++++++++++++++\n+ configure.ac                  |  2 ++\n+ 2 files changed, 63 insertions(+)\n+ create mode 100644 build/m4/aircrack_ng_pcre2.m4\n+\n+diff --git a/build/m4/aircrack_ng_pcre2.m4 b/build/m4/aircrack_ng_pcre2.m4\n+new file mode 100644\n+index 0000000000..f61c0f656d\n+--- /dev/null\n++++ b/build/m4/aircrack_ng_pcre2.m4\n+@@ -0,0 +1,61 @@\n++dnl Aircrack-ng\n++dnl\n++dnl Copyright (C) 2023 Andras Gemes <andrasgemes@outlook.com>\n++dnl\n++dnl Autotool support was written by: Joseph Benden <joe@benden.us>\n++dnl\n++dnl This program is free software; you can redistribute it and/or modify\n++dnl it under the terms of the GNU General Public License as published by\n++dnl the Free Software Foundation; either version 2 of the License, or\n++dnl (at your option) any later version.\n++dnl\n++dnl This program is distributed in the hope that it will be useful,\n++dnl but WITHOUT ANY WARRANTY; without even the implied warranty of\n++dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n++dnl GNU General Public License for more details.\n++dnl\n++dnl You should have received a copy of the GNU General Public License\n++dnl along with this program; if not, write to the Free Software\n++dnl Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA\n++dnl\n++dnl In addition, as a special exception, the copyright holders give\n++dnl permission to link the code of portions of this program with the\n++dnl OpenSSL library under certain conditions as described in each\n++dnl individual source file, and distribute linked combinations\n++dnl including the two.\n++dnl\n++dnl You must obey the GNU General Public License in all respects\n++dnl for all of the code used other than OpenSSL.\n++dnl\n++dnl If you modify file(s) with this exception, you may extend this\n++dnl exception to your dnl version of the file(s), but you are not obligated\n++dnl to do so.\n++dnl\n++dnl If you dnl do not wish to do so, delete this exception statement from your\n++dnl version.\n++dnl\n++dnl If you delete this exception statement from all source files in the\n++dnl program, then also delete it here.\n++\n++AC_DEFUN([AIRCRACK_NG_PCRE2], [\n++AC_ARG_ENABLE(static-pcre2,\n++    AS_HELP_STRING([--enable-static-pcre2],\n++\t\t[Enable statically linked PCRE2 libpcre2-8.]),\n++    [static_pcre2=$enableval], [static_pcre2=no])\n++\n++if test \"x$static_pcre2\" != \"xno\"; then\n++\tAC_REQUIRE([AX_EXT_HAVE_STATIC_LIB_DETECT])\n++\tAX_EXT_HAVE_STATIC_LIB(PCRE2, ${DEFAULT_STATIC_LIB_SEARCH_PATHS}, pcre2 libpcre2-8, pcre2_version)\n++\tif test \"x$PCRE2_FOUND\" = xyes; then\n++\t\tHAVE_PCRE2=yes\n++\telse\n++\t\tHAVE_PCRE2=no\n++\tfi\n++else\n++\tPKG_CHECK_MODULES(PCRE2, libpcre2-8, HAVE_PCRE2=yes, HAVE_PCRE2=no)\n++fi\n++\n++AS_IF([test \"x$HAVE_PCRE2\" = \"xyes\"], [\n++    AC_DEFINE([HAVE_PCRE2], [1], [Define this if you have libpcre2-8 on your system])\n++])\n++])\n+\\ No newline at end of file\n+diff --git a/configure.ac b/configure.ac\n+index 06aca4e466..6d8e0e5677 100644\n+--- a/configure.ac\n++++ b/configure.ac\n+@@ -143,6 +143,7 @@ AIRCRACK_NG_EXT_SCRIPTS\n+ AIRCRACK_NG_HWLOC\n+ AIRCRACK_NG_PCAP\n+ AIRCRACK_NG_PCRE\n++AIRCRACK_NG_PCRE2\n+ AIRCRACK_NG_RFKILL\n+ AIRCRACK_NG_SQLITE\n+ AIRCRACK_NG_ZLIB\n+@@ -319,6 +320,7 @@ ${PACKAGE} ${VERSION}\n+     Jemalloc:                    ${JEMALLOC}\n+     Pcap:                        ${PCAP_FOUND}\n+     Pcre:                        ${HAVE_PCRE}\n++    Pcre2:                       ${HAVE_PCRE2}\n+     Sqlite:                      ${HAVE_SQLITE3}\n+     Tcmalloc:                    ${TCMALLOC}\n+     Zlib:                        ${HAVE_ZLIB}\ndiff --git a/package/aircrack-ng/0002-autotools-indicate-if-PCRE-or-PCRE2-is-being-used.patch b/package/aircrack-ng/0002-autotools-indicate-if-PCRE-or-PCRE2-is-being-used.patch\nnew file mode 100644\nindex 0000000000..455e211115\n--- /dev/null\n+++ b/package/aircrack-ng/0002-autotools-indicate-if-PCRE-or-PCRE2-is-being-used.patch\n@@ -0,0 +1,142 @@\n+From b381ef3f6b6cc83a4aa016f4c0aebb58fcffcf3f Mon Sep 17 00:00:00 2001\n+From: Andras Gemes <andrasgemes@outlook.com>\n+Date: Mon, 23 Jan 2023 16:58:38 +0100\n+Subject: [PATCH] autotools: indicate if PCRE or PCRE2 is being used\n+\n+Upstream: https://github.com/aircrack-ng/aircrack-ng/commit/b381ef3f6b6cc83a4aa016f4c0aebb58fcffcf3f\n+\n+Signed-off-by: Bernd Kuhls <bernd@kuhls.net>\n+---\n+ build/m4/aircrack_ng_pcre.m4  | 28 ++++++++++++++--\n+ build/m4/aircrack_ng_pcre2.m4 | 61 -----------------------------------\n+ configure.ac                  |  3 +-\n+ 3 files changed, 26 insertions(+), 66 deletions(-)\n+ delete mode 100644 build/m4/aircrack_ng_pcre2.m4\n+\n+diff --git a/build/m4/aircrack_ng_pcre.m4 b/build/m4/aircrack_ng_pcre.m4\n+index 72f09b98ff..af3e24b4bc 100644\n+--- a/build/m4/aircrack_ng_pcre.m4\n++++ b/build/m4/aircrack_ng_pcre.m4\n+@@ -55,7 +55,29 @@ else\n+ \tPKG_CHECK_MODULES(PCRE, libpcre, HAVE_PCRE=yes, HAVE_PCRE=no)\n+ fi\n+ \n+-AS_IF([test \"x$HAVE_PCRE\" = \"xyes\"], [\n++AC_ARG_ENABLE(static-pcre2,\n++    AS_HELP_STRING([--enable-static-pcre2],\n++\t\t[Enable statically linked PCRE2 libpcre2-8.]),\n++    [static_pcre2=$enableval], [static_pcre2=no])\n++\n++if test \"x$static_pcre2\" != \"xno\"; then\n++\tAC_REQUIRE([AX_EXT_HAVE_STATIC_LIB_DETECT])\n++\tAX_EXT_HAVE_STATIC_LIB(PCRE2, ${DEFAULT_STATIC_LIB_SEARCH_PATHS}, pcre2 libpcre2-8, pcre2_version)\n++\tif test \"x$PCRE2_FOUND\" = xyes; then\n++\t\tHAVE_PCRE2=yes\n++\telse\n++\t\tHAVE_PCRE2=no\n++\tfi\n++else\n++\tPKG_CHECK_MODULES(PCRE2, libpcre2-8, HAVE_PCRE2=yes, HAVE_PCRE2=no)\n++fi\n++\n++if test \"x$HAVE_PCRE\" = \"xyes\" && test \"x$HAVE_PCRE2\" = \"xyes\"; then\n++    AC_DEFINE([HAVE_PCRE2], [1], [Define this if you have libpcre2-8 on your system])\n++    PCRE2_NOTE=\"(Pcre and Pcre2 found, using Pcre2)\"\n++elif test \"x$HAVE_PCRE\" = \"xyes\"; then\n+     AC_DEFINE([HAVE_PCRE], [1], [Define this if you have libpcre on your system])\n+-])\n+-])\n++elif test \"x$HAVE_PCRE2\" = \"xyes\"; then\n++    AC_DEFINE([HAVE_PCRE2], [1], [Define this if you have libpcre2-8 on your system])\n++fi\n++])\n+\\ No newline at end of file\n+diff --git a/build/m4/aircrack_ng_pcre2.m4 b/build/m4/aircrack_ng_pcre2.m4\n+deleted file mode 100644\n+index f61c0f656d..0000000000\n+--- a/build/m4/aircrack_ng_pcre2.m4\n++++ /dev/null\n+@@ -1,61 +0,0 @@\n+-dnl Aircrack-ng\n+-dnl\n+-dnl Copyright (C) 2023 Andras Gemes <andrasgemes@outlook.com>\n+-dnl\n+-dnl Autotool support was written by: Joseph Benden <joe@benden.us>\n+-dnl\n+-dnl This program is free software; you can redistribute it and/or modify\n+-dnl it under the terms of the GNU General Public License as published by\n+-dnl the Free Software Foundation; either version 2 of the License, or\n+-dnl (at your option) any later version.\n+-dnl\n+-dnl This program is distributed in the hope that it will be useful,\n+-dnl but WITHOUT ANY WARRANTY; without even the implied warranty of\n+-dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+-dnl GNU General Public License for more details.\n+-dnl\n+-dnl You should have received a copy of the GNU General Public License\n+-dnl along with this program; if not, write to the Free Software\n+-dnl Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA\n+-dnl\n+-dnl In addition, as a special exception, the copyright holders give\n+-dnl permission to link the code of portions of this program with the\n+-dnl OpenSSL library under certain conditions as described in each\n+-dnl individual source file, and distribute linked combinations\n+-dnl including the two.\n+-dnl\n+-dnl You must obey the GNU General Public License in all respects\n+-dnl for all of the code used other than OpenSSL.\n+-dnl\n+-dnl If you modify file(s) with this exception, you may extend this\n+-dnl exception to your dnl version of the file(s), but you are not obligated\n+-dnl to do so.\n+-dnl\n+-dnl If you dnl do not wish to do so, delete this exception statement from your\n+-dnl version.\n+-dnl\n+-dnl If you delete this exception statement from all source files in the\n+-dnl program, then also delete it here.\n+-\n+-AC_DEFUN([AIRCRACK_NG_PCRE2], [\n+-AC_ARG_ENABLE(static-pcre2,\n+-    AS_HELP_STRING([--enable-static-pcre2],\n+-\t\t[Enable statically linked PCRE2 libpcre2-8.]),\n+-    [static_pcre2=$enableval], [static_pcre2=no])\n+-\n+-if test \"x$static_pcre2\" != \"xno\"; then\n+-\tAC_REQUIRE([AX_EXT_HAVE_STATIC_LIB_DETECT])\n+-\tAX_EXT_HAVE_STATIC_LIB(PCRE2, ${DEFAULT_STATIC_LIB_SEARCH_PATHS}, pcre2 libpcre2-8, pcre2_version)\n+-\tif test \"x$PCRE2_FOUND\" = xyes; then\n+-\t\tHAVE_PCRE2=yes\n+-\telse\n+-\t\tHAVE_PCRE2=no\n+-\tfi\n+-else\n+-\tPKG_CHECK_MODULES(PCRE2, libpcre2-8, HAVE_PCRE2=yes, HAVE_PCRE2=no)\n+-fi\n+-\n+-AS_IF([test \"x$HAVE_PCRE2\" = \"xyes\"], [\n+-    AC_DEFINE([HAVE_PCRE2], [1], [Define this if you have libpcre2-8 on your system])\n+-])\n+-])\n+\\ No newline at end of file\n+diff --git a/configure.ac b/configure.ac\n+index 6d8e0e5677..9d1d148cfd 100644\n+--- a/configure.ac\n++++ b/configure.ac\n+@@ -143,7 +143,6 @@ AIRCRACK_NG_EXT_SCRIPTS\n+ AIRCRACK_NG_HWLOC\n+ AIRCRACK_NG_PCAP\n+ AIRCRACK_NG_PCRE\n+-AIRCRACK_NG_PCRE2\n+ AIRCRACK_NG_RFKILL\n+ AIRCRACK_NG_SQLITE\n+ AIRCRACK_NG_ZLIB\n+@@ -320,7 +319,7 @@ ${PACKAGE} ${VERSION}\n+     Jemalloc:                    ${JEMALLOC}\n+     Pcap:                        ${PCAP_FOUND}\n+     Pcre:                        ${HAVE_PCRE}\n+-    Pcre2:                       ${HAVE_PCRE2}\n++    Pcre2:                       ${HAVE_PCRE2} ${PCRE2_NOTE}\n+     Sqlite:                      ${HAVE_SQLITE3}\n+     Tcmalloc:                    ${TCMALLOC}\n+     Zlib:                        ${HAVE_ZLIB}\ndiff --git a/package/aircrack-ng/aircrack-ng.mk b/package/aircrack-ng/aircrack-ng.mk\nindex 6ce738bbab..cd3abe5f08 100644\n--- a/package/aircrack-ng/aircrack-ng.mk\n+++ b/package/aircrack-ng/aircrack-ng.mk\n@@ -13,7 +13,7 @@ AIRCRACK_NG_DEPENDENCIES = \\\n \t$(if $(BR2_PACKAGE_CMOCKA),cmocka) \\\n \t$(if $(BR2_PACKAGE_LIBNL),libnl) \\\n \t$(if $(BR2_PACKAGE_OPENSSL),openssl) \\\n-\t$(if $(BR2_PACKAGE_PCRE),pcre) \\\n+\t$(if $(BR2_PACKAGE_PCRE2),pcre2) \\\n \t$(if $(BR2_PACKAGE_ZLIB),zlib) \\\n \thost-pkgconf\n AIRCRACK_NG_AUTORECONF = YES\n","prefixes":["13/20"]}