From patchwork Mon Nov 30 06:43:09 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Murray X-Patchwork-Id: 106369 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.27395.1796021030068957790 for ; Sun, 29 Nov 2026 22:43:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=W6FLM547; spf=pass (domain: konsulko.com, ip: 209.85.221.53, mailfrom: scott.murray@konsulko.com) Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-4a34ffd3e39so5439358f8f.0 for ; Sun, 29 Nov 2026 22:43:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1796021028; x=1796625828; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=OmtR98qx+YjloZCJlNNA+9LatqFeBud0H2K8nR3nOM8=; b=W6FLM547k+RJvClO6W7aLBL0iw7xEBDpNVS9FuX9ubabrcsiRtY99U2taFwKY5pQDJ M3kqJbwJhti0JcZfy+H9wbU9prgcHVvyBAj5SX0KpLdJcSkqfv8uZJq/srqqPh1+6nV/ IalUcMXMjm6X7FIL6YCuTu7+DGvAQKMudFRR0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796021028; x=1796625828; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=OmtR98qx+YjloZCJlNNA+9LatqFeBud0H2K8nR3nOM8=; b=C1ozgRSffxP8NMtAEGwqG9KykIceFdKCV8zyI/Rsuss6TEiBr/AL9dKo0cHjul9EzQ 6GuT4kHRXpw/xYl4mFpKJcv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pwtZg jzz/wEazTguIyc1UsNSrhy1jJfR+xDg== X-Received: by 2002:a05:6000:3107:b0:4aa:1ae2:ff2a with SMTP id ffacd0b85a97d-4abaa977260mr75510088f8f.2.1796021028212; Sun, 29 Nov 2026 22:43:48 -0800 (PST) Return-Path: Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab65cb41f4sm60434756f8f.7.2026.11.29.22.43.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 22:43:47 -0800 (PST) From: Scott Murray To: yocto-patches@lists.yoctoproject.org Subject: [meta-security][scarthgap][PATCH 24/27] aide: Upgrade to 0.19.3 Date: Mon, 30 Nov 2026 08:43:09 +0200 Message-ID: X-Mailer: git-send-email 2.47.3 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Mon, 30 Nov 2026 06:43:51 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/5624 Release notes: https://github.com/aide/aide/releases/tag/v0.19 https://github.com/aide/aide/releases/tag/v0.19.1 https://github.com/aide/aide/releases/tag/v0.19.2 https://github.com/aide/aide/releases/tag/v0.19.3 Signed-off-by: Scott Murray --- .../aide/aide/0001-Fixes-build-issues.patch | 37 +++++++++++++++++ recipes-ids/aide/aide/m4_allow.patch | 40 ------------------- .../aide/{aide_0.18.8.bb => aide_0.19.3.bb} | 15 ++++--- 3 files changed, 44 insertions(+), 48 deletions(-) create mode 100644 recipes-ids/aide/aide/0001-Fixes-build-issues.patch delete mode 100644 recipes-ids/aide/aide/m4_allow.patch rename recipes-ids/aide/{aide_0.18.8.bb => aide_0.19.3.bb} (85%) diff --git a/recipes-ids/aide/aide/0001-Fixes-build-issues.patch b/recipes-ids/aide/aide/0001-Fixes-build-issues.patch new file mode 100644 index 0000000..399df76 --- /dev/null +++ b/recipes-ids/aide/aide/0001-Fixes-build-issues.patch @@ -0,0 +1,37 @@ +From d7c7cb223ddb8b816332532c9d8f79f3ba16c911 Mon Sep 17 00:00:00 2001 +From: Scott Murray +Date: Sun, 26 Apr 2026 05:15:36 +0300 +Subject: [PATCH] Fixes build issues + +Upstream-Status: Inappropriate [next version has many changes to configure.ac] +Signed-off-by: Armin Kuster +(Updated for 0.19.3) +Signed-off-by: Scott Murray +--- + configure.ac | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index eb39aaa..c538c58 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -14,6 +14,7 @@ dnl The name of the configure h-file. + AC_CONFIG_HEADERS(include/config.h) + + dnl Checks for programs. ++m4_pattern_allow([AC_MSG_ERROR]) + AC_PROG_CC + if test "x$ac_cv_prog_cc_c99" = xno; then + AC_MSG_ERROR([AIDE needs a C99 compatible compiler]) +@@ -282,8 +283,6 @@ AC_CHECK_HEADERS(syslog.h inttypes.h fcntl.h ctype.h) + + AIDE_PKG_CHECK_MANDATORY(pcre2, PCRE2, libpcre2-8) + +-AX_PTHREAD(compoptionstring="${compoptionstring}use pthread: mandatory\\n", [AC_MSG_ERROR([AIDE requires pthread])]) +- + AC_ARG_WITH([fstype], + AS_HELP_STRING([--without-fstype], + [Disable file system type support for restricted rules (Linux only)]), +-- +2.47.3 + diff --git a/recipes-ids/aide/aide/m4_allow.patch b/recipes-ids/aide/aide/m4_allow.patch deleted file mode 100644 index 6f0b97b..0000000 --- a/recipes-ids/aide/aide/m4_allow.patch +++ /dev/null @@ -1,40 +0,0 @@ -Fixes build issues - -Upstream-Status: Inappropriate [next version has many changes to configure.ac] -Signed-off-by: Armin Kuster - -Index: aide-0.18.8/configure.ac -=================================================================== ---- aide-0.18.8.orig/configure.ac -+++ aide-0.18.8/configure.ac -@@ -14,6 +14,7 @@ dnl The name of the configure h-file. - AC_CONFIG_HEADERS(include/config.h) - - dnl Checks for programs. -+m4_pattern_allow([AC_MSG_ERROR]) - AC_PROG_CC - if test "x$ac_cv_prog_cc_c99" = xno; then - AC_MSG_ERROR([AIDE needs a C99 compatible compiler]) -@@ -246,6 +247,7 @@ if test "$aide_static_choice" != "yes"; - fi - - dnl This macro is new in autoconf-2.13 -+m4_pattern_allow([AC_DEFINE]) - AC_SEARCH_LIBS(syslog, bsd socket inet, [AC_DEFINE(HAVE_SYSLOG,1,[syslog available?])]) - AC_CHECK_FUNCS(vsyslog) - -@@ -320,14 +322,10 @@ fi - AC_CHECK_HEADERS(syslog.h inttypes.h fcntl.h ctype.h) - - AIDE_PKG_CHECK_MANDATORY(pcre2, PCRE2, libpcre2-8) -- - AC_MSG_CHECKING(for pthread for multithreading) - AC_ARG_WITH([pthread], AS_HELP_STRING([--with-pthread], [use pthread for multithreading (default: yes)]), [with_pthread=$withval], [with_pthread=yes]) - AC_MSG_RESULT([$with_pthread]) - compoptionstring="${compoptionstring}use pthread: $with_pthread\\n" --AS_IF([test x"$with_pthread" = xyes], [ -- AX_PTHREAD([AC_DEFINE(WITH_PTHREAD,1,[use pthread])], [AC_MSG_ERROR([AIDE requires pthread])]) --]) - - AIDE_PKG_CHECK(zlib, zlib compression, yes, ZLIB, zlib) - diff --git a/recipes-ids/aide/aide_0.18.8.bb b/recipes-ids/aide/aide_0.19.3.bb similarity index 85% rename from recipes-ids/aide/aide_0.18.8.bb rename to recipes-ids/aide/aide_0.19.3.bb index a420955..1ada720 100644 --- a/recipes-ids/aide/aide_0.18.8.bb +++ b/recipes-ids/aide/aide_0.19.3.bb @@ -6,17 +6,17 @@ LICENSE = "GPL-2.0-only" DEPENDS = "bison-native libpcre2" SRC_URI = "https://github.com/aide/aide/releases/download/v${PV}/${BPN}-${PV}.tar.gz \ + file://0001-Fixes-build-issues.patch \ file://aide.conf \ - file://m4_allow.patch \ - " +" -SRC_URI[sha256sum] = "16662dc632d17e2c5630b801752f97912a8e22697c065ebde175f1cc37b83a60" +SRC_URI[sha256sum] = "6513170bb5b8c22802dd1b72f02d8aa9f432aef2b4470522db03e755212a3f47" UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" inherit autotools pkgconfig aide-base -PACKAGECONFIG ??=" gcrypt zlib e2fsattrs posix capabilities curl pthread \ +PACKAGECONFIG ??= " nettle zlib e2fsattrs posix-acl capabilities curl \ ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \ " @@ -25,12 +25,11 @@ PACKAGECONFIG[zlib] = "--with-zlib, --without-zlib, zlib, zlib " PACKAGECONFIG[xattr] = "--with-xattr, --without-xattr, attr, attr" PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl, libcurl" PACKAGECONFIG[audit] = "--with-audit, --without-audit,audit" -PACKAGECONFIG[gcrypt] = "--with-gcrypt, --without-gcrypt, libgcrypt, libgcrypt" -PACKAGECONFIG[mhash] = "--with-mhash, --without-mhash, libmhash, libmhash" +PACKAGECONFIG[gcrypt] = "--with-gcrypt, --without-gcrypt, libgcrypt, libgcrypt, , nettle" +PACKAGECONFIG[nettle] = "--with-nettle, --without-nettle, nettle, nettle, , gcrypt" PACKAGECONFIG[e2fsattrs] = "--with-e2fsattrs, --without-e2fsattrs, e2fsprogs, e2fsprogs" PACKAGECONFIG[capabilities] = "--with-capabilities, --without-capabilities, libcap, libcap" -PACKAGECONFIG[posix] = "--with-posix-acl, --without-posix-acl, acl, acl" -PACKAGECONFIG[pthread] = "--with-pthread," +PACKAGECONFIG[posix-acl] = "--with-posix-acl, --without-posix-acl, acl, acl" do_install[nostamp] = "1"