summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-ids/aide/aide/0001-Fixes-build-issues.patch37
-rw-r--r--recipes-ids/aide/aide/m4_allow.patch40
-rw-r--r--recipes-ids/aide/aide_0.19.3.bb (renamed from recipes-ids/aide/aide_0.18.8.bb)15
3 files changed, 44 insertions, 48 deletions
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 @@
1From d7c7cb223ddb8b816332532c9d8f79f3ba16c911 Mon Sep 17 00:00:00 2001
2From: Scott Murray <scott.murray@konsulko.com>
3Date: Sun, 26 Apr 2026 05:15:36 +0300
4Subject: [PATCH] Fixes build issues
5
6Upstream-Status: Inappropriate [next version has many changes to configure.ac]
7Signed-off-by: Armin Kuster <akuster@mvista.com>
8(Updated for 0.19.3)
9Signed-off-by: Scott Murray <scott.murray@konsulko.com>
10---
11 configure.ac | 3 +--
12 1 file changed, 1 insertion(+), 2 deletions(-)
13
14diff --git a/configure.ac b/configure.ac
15index eb39aaa..c538c58 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -14,6 +14,7 @@ dnl The name of the configure h-file.
19 AC_CONFIG_HEADERS(include/config.h)
20
21 dnl Checks for programs.
22+m4_pattern_allow([AC_MSG_ERROR])
23 AC_PROG_CC
24 if test "x$ac_cv_prog_cc_c99" = xno; then
25 AC_MSG_ERROR([AIDE needs a C99 compatible compiler])
26@@ -282,8 +283,6 @@ AC_CHECK_HEADERS(syslog.h inttypes.h fcntl.h ctype.h)
27
28 AIDE_PKG_CHECK_MANDATORY(pcre2, PCRE2, libpcre2-8)
29
30-AX_PTHREAD(compoptionstring="${compoptionstring}use pthread: mandatory\\n", [AC_MSG_ERROR([AIDE requires pthread])])
31-
32 AC_ARG_WITH([fstype],
33 AS_HELP_STRING([--without-fstype],
34 [Disable file system type support for restricted rules (Linux only)]),
35--
362.47.3
37
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 @@
1Fixes build issues
2
3Upstream-Status: Inappropriate [next version has many changes to configure.ac]
4Signed-off-by: Armin Kuster <akuster@mvista.com>
5
6Index: aide-0.18.8/configure.ac
7===================================================================
8--- aide-0.18.8.orig/configure.ac
9+++ aide-0.18.8/configure.ac
10@@ -14,6 +14,7 @@ dnl The name of the configure h-file.
11 AC_CONFIG_HEADERS(include/config.h)
12
13 dnl Checks for programs.
14+m4_pattern_allow([AC_MSG_ERROR])
15 AC_PROG_CC
16 if test "x$ac_cv_prog_cc_c99" = xno; then
17 AC_MSG_ERROR([AIDE needs a C99 compatible compiler])
18@@ -246,6 +247,7 @@ if test "$aide_static_choice" != "yes";
19 fi
20
21 dnl This macro is new in autoconf-2.13
22+m4_pattern_allow([AC_DEFINE])
23 AC_SEARCH_LIBS(syslog, bsd socket inet, [AC_DEFINE(HAVE_SYSLOG,1,[syslog available?])])
24 AC_CHECK_FUNCS(vsyslog)
25
26@@ -320,14 +322,10 @@ fi
27 AC_CHECK_HEADERS(syslog.h inttypes.h fcntl.h ctype.h)
28
29 AIDE_PKG_CHECK_MANDATORY(pcre2, PCRE2, libpcre2-8)
30-
31 AC_MSG_CHECKING(for pthread for multithreading)
32 AC_ARG_WITH([pthread], AS_HELP_STRING([--with-pthread], [use pthread for multithreading (default: yes)]), [with_pthread=$withval], [with_pthread=yes])
33 AC_MSG_RESULT([$with_pthread])
34 compoptionstring="${compoptionstring}use pthread: $with_pthread\\n"
35-AS_IF([test x"$with_pthread" = xyes], [
36- AX_PTHREAD([AC_DEFINE(WITH_PTHREAD,1,[use pthread])], [AC_MSG_ERROR([AIDE requires pthread])])
37-])
38
39 AIDE_PKG_CHECK(zlib, zlib compression, yes, ZLIB, zlib)
40
diff --git a/recipes-ids/aide/aide_0.18.8.bb b/recipes-ids/aide/aide_0.19.3.bb
index 2912cb2..9a94ce2 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"
6DEPENDS = "bison-native libpcre2" 6DEPENDS = "bison-native libpcre2"
7 7
8SRC_URI = "https://github.com/aide/aide/releases/download/v${PV}/${BPN}-${PV}.tar.gz \ 8SRC_URI = "https://github.com/aide/aide/releases/download/v${PV}/${BPN}-${PV}.tar.gz \
9 file://0001-Fixes-build-issues.patch \
9 file://aide.conf \ 10 file://aide.conf \
10 file://m4_allow.patch \ 11"
11 "
12 12
13SRC_URI[sha256sum] = "16662dc632d17e2c5630b801752f97912a8e22697c065ebde175f1cc37b83a60" 13SRC_URI[sha256sum] = "6513170bb5b8c22802dd1b72f02d8aa9f432aef2b4470522db03e755212a3f47"
14 14
15UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" 15UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
16 16
17inherit autotools pkgconfig aide-base 17inherit autotools pkgconfig aide-base
18 18
19PACKAGECONFIG ??= " gcrypt zlib e2fsattrs posix capabilities curl pthread \ 19PACKAGECONFIG ??= " nettle zlib e2fsattrs posix-acl capabilities curl \
20 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)} \ 20 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux audit', '', d)} \
21 ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \ 21 ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'xattr', '', d)} \
22 " 22 "
@@ -25,12 +25,11 @@ PACKAGECONFIG[zlib] = "--with-zlib, --without-zlib, zlib, zlib "
25PACKAGECONFIG[xattr] = "--with-xattr, --without-xattr, attr, attr" 25PACKAGECONFIG[xattr] = "--with-xattr, --without-xattr, attr, attr"
26PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl, libcurl" 26PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl, libcurl"
27PACKAGECONFIG[audit] = "--with-audit, --without-audit,audit" 27PACKAGECONFIG[audit] = "--with-audit, --without-audit,audit"
28PACKAGECONFIG[gcrypt] = "--with-gcrypt, --without-gcrypt, libgcrypt, libgcrypt" 28PACKAGECONFIG[gcrypt] = "--with-gcrypt, --without-gcrypt, libgcrypt, libgcrypt, , nettle"
29PACKAGECONFIG[mhash] = "--with-mhash, --without-mhash, libmhash, libmhash" 29PACKAGECONFIG[nettle] = "--with-nettle, --without-nettle, nettle, nettle, , gcrypt"
30PACKAGECONFIG[e2fsattrs] = "--with-e2fsattrs, --without-e2fsattrs, e2fsprogs, e2fsprogs" 30PACKAGECONFIG[e2fsattrs] = "--with-e2fsattrs, --without-e2fsattrs, e2fsprogs, e2fsprogs"
31PACKAGECONFIG[capabilities] = "--with-capabilities, --without-capabilities, libcap, libcap" 31PACKAGECONFIG[capabilities] = "--with-capabilities, --without-capabilities, libcap, libcap"
32PACKAGECONFIG[posix] = "--with-posix-acl, --without-posix-acl, acl, acl" 32PACKAGECONFIG[posix-acl] = "--with-posix-acl, --without-posix-acl, acl, acl"
33PACKAGECONFIG[pthread] = "--with-pthread,"
34 33
35do_install[nostamp] = "1" 34do_install[nostamp] = "1"
36 35