unspawn wrote:
> Now *that* would even be *more* welcome! Take your time, the next RKH
> release won't be any time RSN as I received a load of patches yesterday
> ;-p If you stumble on probs while patching this just ask on or offlist
> and we'll be happy to help you.

This seems to do the trick... :-)

Ben

--- rkhunter.orig       2006-09-18 11:10:47.000000000 +0100
+++ rkhunter    2006-09-18 11:31:09.000000000 +0100
@@ -2018,6 +2018,27 @@
            debugdate >> ${DEBUGFILE}
            logtext "Info: Found /etc/gentoo-release"
        fi
+
+        # cAos?
+        if [ -e "/etc/caos-release" ]
+          then
+            full_osname=`cat /etc/caos-release`
+            # Strip any colons
+            full_osname=`echo ${full_osname//:/}`
+            valid_os="1"
+            logtext "Info: Found /etc/caos-release"
+            uname_model=`uname -m`
+              case $uname_model in
+                i[0-9]86) architecture=i386; ;;
+                x86_64)   architecture=x86_64; ;;
+              esac
+            logtext "Architecture ${uname_model} (->${architecture})"
+            full_osname="${full_osname} (${architecture})"
+            USE_PATCHED_SOFTWARE=1
+        fi
+
+
+
     fi


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rkhunter-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to