diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2017-05-23 20:14:42 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-27 22:59:28 +0200 |
commit | cef734e130eb7d9e83750ccf89c69c533b195747 (patch) | |
tree | 0a2de6d2769ad3bc855c1c4a9a4e49791aeb385b /app-forensics/aide/files | |
parent | net-im/ejabberd: Fix PAM authentication (diff) | |
download | gentoo-cef734e130eb7d9e83750ccf89c69c533b195747.tar.gz gentoo-cef734e130eb7d9e83750ccf89c69c533b195747.tar.bz2 gentoo-cef734e130eb7d9e83750ccf89c69c533b195747.zip |
app-forensics/aide: verbump to 0.16
Notable ebuild changes:
- fix deps;
- fix broken static USE;
- add e2fs USE to check file attributes on ext2/ext3/ext4;
- drop broken and completely useless nls USE;
- modernize ebuild, EAPI=6;
- drop useless dodoc, dohtml, fowners, fperms calls;
- stop repeating to users about example configuration;
- cleanup patches and send them upstream.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-forensics/aide/files')
3 files changed, 70 insertions, 0 deletions
diff --git a/app-forensics/aide/files/aide-0.16-add-missing-include.patch b/app-forensics/aide/files/aide-0.16-add-missing-include.patch new file mode 100644 index 000000000000..75f0403c968e --- /dev/null +++ b/app-forensics/aide/files/aide-0.16-add-missing-include.patch @@ -0,0 +1,24 @@ +commit 1cbb888d55388d6bb88141c946bd6993b3e9872f +Author: Ilya Tumaykin <itumaykin@gmail.com> +Date: Tue May 23 17:24:29 2017 +0300 + +db: add missing include + +url_fclose() function used in this file is defined in fopen.h. +See https://sourceforge.net/p/aide/bugs/99/ + +diff --git a/src/db.c b/src/db.c +index dd133d4..858240d 100644 +--- a/src/db.c ++++ b/src/db.c +@@ -28,6 +28,10 @@ + #include "db_disk.h" + #include "md.h" + ++#ifdef WITH_CURL ++#include "fopen.h" ++#endif ++ + #ifdef WITH_PSQL + #include "db_sql.h" + #endif diff --git a/app-forensics/aide/files/aide-0.16-fix-LIBS-LDFLAGS-mixing.patch b/app-forensics/aide/files/aide-0.16-fix-LIBS-LDFLAGS-mixing.patch new file mode 100644 index 000000000000..453abe5f1eae --- /dev/null +++ b/app-forensics/aide/files/aide-0.16-fix-LIBS-LDFLAGS-mixing.patch @@ -0,0 +1,23 @@ +commit 6da37687ba7cf259ac19cae2e1c16115b6848143 +Author: Ilya Tumaykin <itumaykin@gmail.com> +Date: Thu May 25 13:34:55 2017 +0300 + +build: fix incorrect LIBS/LDFLAGS mixing + +Otherwise build with LDFLAGS='-Wl,--as-needed' and curl support fails. +See https://bugs.gentoo.org/show_bug.cgi?id=271326 +and https://sourceforge.net/p/aide/bugs/96/ + +diff --git a/configure.ac b/configure.ac +index 3598ebe..0c5cb0c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -713,7 +713,7 @@ if test x$with_curl = xyes; then + AC_CHECK_HEADERS(curl/curl.h,, + [AC_MSG_ERROR([You don't have curl properly installed. Install it or try --without-curl.])]) + CFLAGS="$CFLAGS $CURL_CFLAGS" +- LDFLAGS="$LDFLAGS $CURL_LIBS" ++ LIBS="$LIBS $CURL_LIBS" + AC_CHECK_LIB(curl,curl_easy_init,havecurl=yes, + [AC_MSG_ERROR([You don't have curl properly installed. Install it or try --without-curl.])] + ) diff --git a/app-forensics/aide/files/aide-0.16-fix-acl-configure-option.patch b/app-forensics/aide/files/aide-0.16-fix-acl-configure-option.patch new file mode 100644 index 000000000000..a989e379039c --- /dev/null +++ b/app-forensics/aide/files/aide-0.16-fix-acl-configure-option.patch @@ -0,0 +1,23 @@ +commit 3d9746bccbb50809e4c3de90ab5145a17af39aeb +Author: Ilya Tumaykin <itumaykin@gmail.com> +Date: Thu May 25 14:38:02 2017 +0300 + +build: respect user choice for posix-acl configure option + +Otherwise acl support is enabled automagically, which is bad. +See https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies +and https://sourceforge.net/p/aide/bugs/97/ + +diff --git a/configure.ac b/configure.ac +index 3598ebe..c45bbee 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -450,7 +450,7 @@ AC_MSG_CHECKING(for posix-acl-support) + AC_ARG_WITH([posix-acl], + [AC_HELP_STRING([--with-posix-acl], + [use POSIX ACLs (no checking)])], +- [], ++ [with_posix_acl_support="$withval"], + [with_posix_acl_support=no] + ) + |