diff options
Diffstat (limited to 'app-forensics/rkhunter/files')
6 files changed, 1 insertions, 138 deletions
diff --git a/app-forensics/rkhunter/files/digest-rkhunter-1.1.9 b/app-forensics/rkhunter/files/digest-rkhunter-1.1.9 deleted file mode 100644 index cb3a531b86db..000000000000 --- a/app-forensics/rkhunter/files/digest-rkhunter-1.1.9 +++ /dev/null @@ -1 +0,0 @@ -MD5 2e24806cb1267124fba6132009e30f1b rkhunter-1.1.9.tar.gz 115254 diff --git a/app-forensics/rkhunter/files/digest-rkhunter-1.2.1 b/app-forensics/rkhunter/files/digest-rkhunter-1.2.1 deleted file mode 100644 index 8ea579b18081..000000000000 --- a/app-forensics/rkhunter/files/digest-rkhunter-1.2.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 a5591b84c41a736b1e0ae64947f65b76 rkhunter-1.2.1.tar.gz 119709 diff --git a/app-forensics/rkhunter/files/digest-rkhunter-1.2.3 b/app-forensics/rkhunter/files/digest-rkhunter-1.2.3 deleted file mode 100644 index 8b5bf2898959..000000000000 --- a/app-forensics/rkhunter/files/digest-rkhunter-1.2.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 404ae3f5cde3ede8e3be1ee1f04f52d5 rkhunter-1.2.3.tar.gz 169545 diff --git a/app-forensics/rkhunter/files/digest-rkhunter-1.2.4 b/app-forensics/rkhunter/files/digest-rkhunter-1.2.4 new file mode 100644 index 000000000000..b14e33886d52 --- /dev/null +++ b/app-forensics/rkhunter/files/digest-rkhunter-1.2.4 @@ -0,0 +1 @@ +MD5 d3f653233376af34bcdd2837cff56a3a rkhunter-1.2.4.tar.gz 170394 diff --git a/app-forensics/rkhunter/files/rkhunter-1.1.9-specify-logfile.patch b/app-forensics/rkhunter/files/rkhunter-1.1.9-specify-logfile.patch deleted file mode 100644 index 82dfe1fa9474..000000000000 --- a/app-forensics/rkhunter/files/rkhunter-1.1.9-specify-logfile.patch +++ /dev/null @@ -1,66 +0,0 @@ -diff -urN rkhunter.orig/files/development/rkhunter.8 rkhunter/files/development/rkhunter.8 ---- rkhunter.orig/files/development/rkhunter.8 2004-12-28 09:04:06.000000000 -0500 -+++ rkhunter/files/development/rkhunter.8 2004-12-28 23:48:02.100576696 -0500 -@@ -54,9 +54,10 @@ - Use another configuration file, instead of the default one - .TP - .B ----createlogfile -+--createlogfile <file> - A plain text file summarizing \fBrkhunter\fP's findings will be --output to the path/filename specified after the switch -+output to the path/filename specified after the switch. If no filename -+is specified, a default of /var/log/rkhunter.log is used. - .TP - .B - --cronjob -diff -urN rkhunter.orig/files/rkhunter rkhunter/files/rkhunter ---- rkhunter.orig/files/rkhunter 2004-12-28 12:45:21.000000000 -0500 -+++ rkhunter/files/rkhunter 2004-12-28 23:26:33.507472624 -0500 -@@ -146,6 +146,11 @@ - --createlogfile | --createlog | --create-log | --create-logfile) - DEBUG=1 - DEBUGLOG=1 -+ if [[ "$2" != -* ]] -+ then -+ shift -+ LOGFILE=$1 -+ fi - ;; - --dbdir) - shift -@@ -225,12 +230,21 @@ - # Through the drain... - DEBUGFILE="/dev/null" - else -- if [ -d "/var/log" ] -+ if [ -n "${LOGFILE}" ] - then -- DEBUGFILE="/var/log/rkhunter.log" -+ if ( [[ "${LOGFILE}" == */* ]] && [ -d "${LOGFILE%/*}" ] ) || [ -w ./ ] -+ then -+ DEBUGFILE="${LOGFILE}" -+ fi -+ -+ elif [ -d "/var/log" ] -+ then -+ DEBUGFILE="/var/log/rkhunter.log" -+ [ -n "${LOGFILE}" ] && echo \ -+ "${LOGFILE%/*} doesn't exist... trying ${DEBUGFILE}" - else - echo "/var/log doesn't exists... no log file created" -- DEBUGFILE="/dev/null" -+ DEBUGFILE="/dev/null" - fi - # Clear debug file - if [ -f ${DEBUGFILE} ]; then -@@ -4949,7 +4963,8 @@ - echo $ECHOOPT "" - echo $ECHOOPT "Valid parameters:" - echo $ECHOOPT "--checkall (-c) : Check system" -- echo $ECHOOPT "--createlogfile* : Create logfile" -+ echo $ECHOOPT "--createlogfile <file>* : Create logfile (file is optional, defaults to" -+ echo $ECHOOPT " : /var/log/rkhunter.log)" - echo $ECHOOPT "--cronjob : Run as cronjob (removes colored layout)" - echo $ECHOOPT "--display-logfile : Show logfile at end of the output" - echo $ECHOOPT "--help (-h) : Show this help" diff --git a/app-forensics/rkhunter/files/rkhunter-1.2.0-specify-logfile.patch b/app-forensics/rkhunter/files/rkhunter-1.2.0-specify-logfile.patch deleted file mode 100644 index 64d5f24715c0..000000000000 --- a/app-forensics/rkhunter/files/rkhunter-1.2.0-specify-logfile.patch +++ /dev/null @@ -1,69 +0,0 @@ -diff --exclude='*~' -urN rkhunter.orig/files/development/rkhunter.8 rkhunter/files/development/rkhunter.8 ---- rkhunter.orig/files/development/rkhunter.8 2005-02-10 22:35:07.000000000 -0500 -+++ rkhunter/files/development/rkhunter.8 2005-02-11 00:16:43.261318112 -0500 -@@ -60,9 +60,10 @@ - Use another configuration file, instead of the default one - .TP - .B ----createlogfile -+--createlogfile <file> - A plain text file summarizing \fBrkhunter\fP's findings will be --output to the path/filename specified after the switch -+output to the path/filename specified after the switch. If no -+filename is specified, a default of /var/log/rkhunter.log is used. - .TP - .B - --cronjob -diff --exclude='*~' -urN rkhunter.orig/files/rkhunter rkhunter/files/rkhunter ---- rkhunter.orig/files/rkhunter 2005-02-10 22:35:07.000000000 -0500 -+++ rkhunter/files/rkhunter 2005-02-11 00:46:10.174706448 -0500 -@@ -1,4 +1,4 @@ --#!/bin/sh -+#!/bin/bash - - ################################################################################# - # -@@ -151,6 +151,11 @@ - --createlogfile | --createlog | --create-log | --create-logfile) - DEBUG=1 - DEBUGLOG=1 -+ if [[ "$2" != -* ]] -+ then -+ shift -+ LOGFILE=$1 -+ fi - ;; - --dbdir) - shift -@@ -230,9 +235,19 @@ - # Through the drain... - DEBUGFILE="/dev/null" - else -- if [ -d "/var/log" ] -+ if [[ -n "${LOGFILE}" ]] - then -- DEBUGFILE="/var/log/rkhunter.log" -+ if ( [[ "${LOGFILE}" == */* ]] && [ -d "${LOGFILE%/*}" ] ) || [ -w ./ ] -+ then -+ DEBUGFILE="${LOGFILE}" -+ fi -+ -+ elif [[ -d "/var/log" ]] -+ then -+ DEBUGFILE="/var/log/rkhunter.log" -+ [[ -n "${LOGFILE}" ]] && echo \ -+ "${LOGFILE%/*} doesn't exist... trying ${DEBUGFILE}" -+ - else - echo "/var/log doesn't exists... no log file created" - DEBUGFILE="/dev/null" -@@ -4982,7 +4997,8 @@ - echo $ECHOOPT "" - echo $ECHOOPT "Valid parameters:" - echo $ECHOOPT "--checkall (-c) : Check system" -- echo $ECHOOPT "--createlogfile* : Create logfile" -+ echo $ECHOOPT "--createlogfile <file>* : Create logfile (file is optional, defaults to" -+ echo $ECHOOPT " : /var/log/rkhunter.log)" - echo $ECHOOPT "--cronjob : Run as cronjob (removes colored layout)" - echo $ECHOOPT "--display-logfile : Show logfile at end of the output" - echo $ECHOOPT "--help (-h) : Show this help" |