diff options
Diffstat (limited to 'app-forensics/aide/files')
-rw-r--r-- | app-forensics/aide/files/aide-0.16-add-missing-include.patch | 24 | ||||
-rw-r--r-- | app-forensics/aide/files/aide-0.16-support-attr-2.4.48.patch | 28 | ||||
-rw-r--r-- | app-forensics/aide/files/aide.conf | 115 |
3 files changed, 0 insertions, 167 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 deleted file mode 100644 index 75f0403c968e..000000000000 --- a/app-forensics/aide/files/aide-0.16-add-missing-include.patch +++ /dev/null @@ -1,24 +0,0 @@ -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-support-attr-2.4.48.patch b/app-forensics/aide/files/aide-0.16-support-attr-2.4.48.patch deleted file mode 100644 index 8acb6e5b56b0..000000000000 --- a/app-forensics/aide/files/aide-0.16-support-attr-2.4.48.patch +++ /dev/null @@ -1,28 +0,0 @@ -Fix build against attr >= 2.4.48 - -Drop obsolete attr/xattr.h include as did attr upstream in attr-2.4.48. -See http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38 - -ENOATTR definition was moved to attr/attributes.h, thus include it. -attr < 2.4.48 keeps ENOATTR definition in attr/xattr.h, so define it -manually if necessary in order to preserve backwards compatibility. - -Bug: https://bugs.gentoo.org/648966 -Upstream-bug: https://sourceforge.net/p/aide/patches/23/ - -diff --git a/include/db_config.h b/include/db_config.h -index e92fe1c..7e5ff0d 100644 ---- a/include/db_config.h -+++ b/include/db_config.h -@@ -62,7 +62,10 @@ typedef struct acl_type { - - #ifdef WITH_XATTR /* Do generic user Xattrs. */ - #include <sys/xattr.h> --#include <attr/xattr.h> -+#include <attr/attributes.h> -+#ifndef ENOATTR -+# define ENOATTR ENODATA -+#endif - #endif - - typedef struct xattr_node diff --git a/app-forensics/aide/files/aide.conf b/app-forensics/aide/files/aide.conf deleted file mode 100644 index cef1813db9f8..000000000000 --- a/app-forensics/aide/files/aide.conf +++ /dev/null @@ -1,115 +0,0 @@ -# AIDE conf - -database=file:/var/lib/aide/aide.db -database_out=file:/var/lib/aide/aide.db.new - -# Change this to "no" or remove it to not gzip output -# (only useful on systems with few CPU cycles to spare) -gzip_dbout=yes - -# Here are all the things we can check - these are the default rules -# -#p: permissions -#i: inode -#n: number of links -#u: user -#g: group -#s: size -#b: block count -#m: mtime -#a: atime -#c: ctime -#S: check for growing size -#md5: md5 checksum -#sha1: sha1 checksum -#rmd160: rmd160 checksum -#tiger: tiger checksum -#R: p+i+n+u+g+s+m+c+md5 -#L: p+i+n+u+g -#E: Empty group -#>: Growing logfile p+u+g+i+n+S -#haval: haval checksum -#gost: gost checksum -#crc32: crc32 checksum - -# Defines formerly set here have been moved to /etc/default/aide. - -# Custom rules -Binlib = p+i+n+u+g+s+b+m+c+md5+sha1 -ConfFiles = p+i+n+u+g+s+b+m+c+md5+sha1 -Logs = p+i+n+u+g+S -Devices = p+i+n+u+g+s+b+c+md5+sha1 -Databases = p+n+u+g -StaticDir = p+i+n+u+g -ManPages = p+i+n+u+g+s+b+m+c+md5+sha1 - -# Next decide what directories/files you want in the database - -# Kernel, system map, etc. -=/boot$ Binlib -# Binaries -/bin Binlib -/sbin Binlib -/usr/bin Binlib -/usr/sbin Binlib -/usr/local/bin Binlib -/usr/local/sbin Binlib -#/usr/games Binlib -# Libraries -/lib Binlib -/usr/lib Binlib -/usr/local/lib Binlib -# Log files -=/var/log$ StaticDir -#!/var/log/ksymoops -/var/log/aide/aide.log(.[0-9])?(.gz)? Databases -/var/log/aide/error.log(.[0-9])?(.gz)? Databases -#/var/log/setuid.changes(.[0-9])?(.gz)? Databases -!/var/log/aide -/var/log Logs -# Devices -!/dev/pts -# If you get spurious warnings about being unable to mmap() /dev/cpu/mtrr, -# you may uncomment this to get rid of them. They're harmless but sometimes -# annoying. -#!/dev/cpu/mtrr -#!/dev/xconsole -/dev Devices -# Other miscellaneous files -/var/run$ StaticDir -!/var/run -# Test only the directory when dealing with /proc -/proc$ StaticDir -!/proc - -# You can look through these examples to get further ideas - -# MD5 sum files - especially useful with debsums -g -#/var/lib/dpkg/info/([^\.]+).md5sums u+g+s+m+md5+sha1 - -# Check crontabs -#/var/spool/anacron/cron.daily Databases -#/var/spool/anacron/cron.monthly Databases -#/var/spool/anacron/cron.weekly Databases -#/var/spool/cron Databases -#/var/spool/cron/crontabs Databases - -# manpages can be trojaned, especially depending on *roff implementation -#/usr/man ManPages -#/usr/share/man ManPages -#/usr/local/man ManPages - -# docs -#/usr/doc ManPages -#/usr/share/doc ManPages - -# check users' home directories -#/home Binlib - -# check sources for modifications -#/usr/src L -#/usr/local/src L - -# Check headers for same -#/usr/include L -#/usr/local/include L |