diff options
Diffstat (limited to 'app-forensics/rkhunter/files')
-rw-r--r-- | app-forensics/rkhunter/files/rkhunter-ppc64.patch | 7 | ||||
-rw-r--r-- | app-forensics/rkhunter/files/rkhunter.conf.patch | 31 | ||||
-rw-r--r-- | app-forensics/rkhunter/files/rkhunter.cron.patch | 40 |
3 files changed, 78 insertions, 0 deletions
diff --git a/app-forensics/rkhunter/files/rkhunter-ppc64.patch b/app-forensics/rkhunter/files/rkhunter-ppc64.patch new file mode 100644 index 000000000000..70a5896abf77 --- /dev/null +++ b/app-forensics/rkhunter/files/rkhunter-ppc64.patch @@ -0,0 +1,7 @@ +--- rkhunter.orig/files/os.dat 2007-06-15 04:51:07.000000000 +0800 ++++ rkhunter/files/os.dat 2008-05-04 00:11:31.000000000 +0800 +@@ -233,3 +233,4 @@ + 988:Debian stable (arm):/usr/bin/md5sum:/bin: + 989:Debian stable (powerpc):/usr/bin/md5sum:/bin: + 990:Debian stable (x86_64):/usr/bin/md5sum:/bin: ++991:Gentoo Linux 1.6 (powerpc64):/usr/bin/md5sum:/bin: diff --git a/app-forensics/rkhunter/files/rkhunter.conf.patch b/app-forensics/rkhunter/files/rkhunter.conf.patch new file mode 100644 index 000000000000..0b5465590c2a --- /dev/null +++ b/app-forensics/rkhunter/files/rkhunter.conf.patch @@ -0,0 +1,31 @@ +--- rkhunter.conf.old 2009-01-07 17:33:11.000000000 +0100 ++++ rkhunter.conf 2009-01-07 17:36:58.000000000 +0100 +@@ -19,6 +19,7 @@ + # describing the option will say if this is so. + # + ++INSTALLDIR=/usr + + # + # If this option is set to 1, it specifies that the mirrors file +@@ -84,17 +85,17 @@ MAIL_CMD=mail -s "[rkhunter] Warnings fo + # important files will be written to this directory, so be + # sure that the directory permissions are tight. + # +-#TMPDIR=/var/lib/rkhunter/tmp ++TMPDIR=/var/lib/rkhunter/tmp + + # + # Specify the database directory to use. + # +-#DBDIR=/var/lib/rkhunter/db ++DBDIR=/var/lib/rkhunter/db + + # + # Specify the script directory to use. + # +-#SCRIPTDIR=/usr/local/lib/rkhunter/scripts ++SCRIPTDIR=/usr/lib/rkhunter/scripts + + # + # Specify the root directory to use. diff --git a/app-forensics/rkhunter/files/rkhunter.cron.patch b/app-forensics/rkhunter/files/rkhunter.cron.patch new file mode 100644 index 000000000000..87dced7509a1 --- /dev/null +++ b/app-forensics/rkhunter/files/rkhunter.cron.patch @@ -0,0 +1,40 @@ +--- files/rkhunter.cron 2005-09-02 12:05:27.000000000 +0200 ++++ files/rkhunter.cron 2009-01-12 17:57:10.000000000 +0100 +@@ -1,12 +1,13 @@ + #!/bin/bash +-# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/files/rkhunter.cron.patch,v 1.1 2009/01/17 20:55:15 patrick Exp $ ++# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/files/rkhunter.cron.patch,v 1.1 2009/01/17 20:55:15 patrick Exp $ + # original author: Aaron Walker <ka0ttic@gentoo.org> + + ########################## Begin Configuration ############################### + + # Default options - more options may be added depending on the + # configuration variables you set below +-RKHUNTER_OPTS="-c --cronjob --skip-keypress" ++# --cronjob implies -c, --nocolor, --sk ++RKHUNTER_OPTS="--cronjob --summary" + + # Set this to 'yes' to enable ; this script does nothing otherwise + ENABLE=no +@@ -60,7 +61,7 @@ fi + + # moved this out of config section since it'll + # probably never need to be changed +-RKHUNTER_EXEC="/usr/bin/rkhunter" ++RKHUNTER_EXEC="/usr/sbin/rkhunter" + + # sanity check + if [[ ! -x "${RKHUNTER_EXEC}" ]] ; then +@@ -91,9 +92,9 @@ case "${VERBOSITY}" in + # warnings and errors only + 1) RKHUNTER_OPTS="${RKHUNTER_OPTS} --quiet" ;; + # default rkhunter output (no extra options) +- 2) ;; +- # default to option 3 (report-mode) +- *) RKHUNTER_OPTS="${RKHUNTER_OPTS} --report-mode" ;; ++# 2) ;; ++ # default to option 3 ++ *) ;; + esac + + # save old log |