diff options
author | Sam James <sam@gentoo.org> | 2022-03-11 11:00:35 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-11 11:01:01 +0000 |
commit | 06cefe1606470b4b93e12aef21b1e9733c7e55c9 (patch) | |
tree | eac89ff461ad789b6b674e61189bf88ec5b1b577 /app-forensics/aide/files | |
parent | dev-util/cmake: add 3.23.0_rc3 (diff) | |
download | gentoo-06cefe1606470b4b93e12aef21b1e9733c7e55c9.tar.gz gentoo-06cefe1606470b4b93e12aef21b1e9733c7e55c9.tar.bz2 gentoo-06cefe1606470b4b93e12aef21b1e9733c7e55c9.zip |
app-forensics/aide: add 0.17.4
Closes: https://bugs.gentoo.org/771924
Bug: https://bugs.gentoo.org/829268
Bug: https://bugs.gentoo.org/831658
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-forensics/aide/files')
-rw-r--r-- | app-forensics/aide/files/aide-0.17.4-bashism.patch | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/app-forensics/aide/files/aide-0.17.4-bashism.patch b/app-forensics/aide/files/aide-0.17.4-bashism.patch new file mode 100644 index 000000000000..050d218cf1ba --- /dev/null +++ b/app-forensics/aide/files/aide-0.17.4-bashism.patch @@ -0,0 +1,58 @@ +Fixed upstream, so backport to 0.17.4 of +https://github.com/aide/aide/commit/5161886c49060228811eee6da319844ef62dff6d +https://github.com/aide/aide/commit/007eb4f32e8874ce457b4f15d9789c2a9d61731b +--- a/configure.ac ++++ b/configure.ac +@@ -329,7 +329,7 @@ fi + AC_CHECK_HEADERS(syslog.h inttypes.h fcntl.h ctype.h) + + PCRELIB="-lpcre" +-if test "$aide_static_choice" == "yes"; then ++if test "$aide_static_choice" = "yes"; then + PCRELIB="$PCRELIB -pthread" + fi + AC_CHECK_LIB(pcre, pcre_exec, [ +@@ -426,14 +426,14 @@ AS_IF([test "x$with_selinux_support" != xno], + AC_DEFINE(WITH_SELINUX,1,[use SELinux]) + [AC_MSG_RESULT(yes) + if test "x$PKG_CONFIG" != xno && $PKG_CONFIG --exists libselinux; then +- if test "$aide_static_choice" == "yes"; then ++ if test "$aide_static_choice" = "yes"; then + SELINUXLIB=$(${PKG_CONFIG} --libs libselinux --static) + else + SELINUXLIB=$(${PKG_CONFIG} --libs libselinux) + fi + else + SELINUXLIB="-lselinux" +- if test "$aide_static_choice" == "yes"; then ++ if test "$aide_static_choice" = "yes"; then + saveLIBS=$LIBS + LIBS="-static $SELINUXLIB" + AC_SEARCH_LIBS([lgetfilecon_raw], [], [], [SELINUXLIB="$SELINUXLIB -lpthread"]) +@@ -555,7 +555,7 @@ AC_ARG_ENABLE([default_db], + [do not set default values for database_in and database_out config options]), + [enable_default_db=$enableval],[enable_default_db=yes]) + +-if test "$enable_default_db" == "yes"; then ++if test "$enable_default_db" = "yes"; then + + if test "x$sysconfdir" != x'${prefix}/etc'; then + evalled_sysconfdir=`eval echo "$sysconfdir"` +@@ -592,7 +592,7 @@ AC_ARG_WITH([curl], + [use curl library for http, https and ftp database backend (default: no)]), + [with_curl=$withval], [with_curl=no]) + AS_IF([test "x$with_curl" = "xyes"], [ +- if test "$aide_static_choice" == "yes"; then ++ if test "$aide_static_choice" = "yes"; then + PKG_CHECK_MODULES_STATIC(CURL, [libcurl], , [AC_MSG_RESULT([libcurl not found by pkg-config - Try --without-curl or add directory containing libcurl.pc to PKG_CONFIG_PATH environment variable])]) + else + PKG_CHECK_MODULES(CURL, [libcurl], , [AC_MSG_RESULT([libcurl not found by pkg-config - Try --without-curl or add directory containing libcurl.pc to PKG_CONFIG_PATH environment variable])]) +@@ -671,7 +671,7 @@ AS_IF([test "x$with_audit" != xno], + AC_MSG_ERROR(You don't have libaudit properly installed. Install it if you need it.) + ) + AUDITLIB="-laudit" +- if test "$aide_static_choice" == "yes"; then ++ if test "$aide_static_choice" = "yes"; then + saveLIBS=$LIBS + LIBS="-static $AUDITLIB" + AC_CHECK_LIB([audit], [audit_log_user_message], [], [ |