Package: rkhunter
Version: 1.2.8-4

I am trying to use rkhunter on ia64 unstable and ran into similar errors that 
others have reported when a line for their arch needs to be added to os.dat. 
This was strange because it looks like you have already added those. I poked 
around a bit and saw that the rkhunter program itself has logic to determine 
what distro/arch/version/etc that it's on (around line 1871). It looks like 
this case statement needs to be expanded to include all of Debian's 
architectures. Attached is a diff of what I think it needs to look like, 
please review.

So the other thing that occurred to me in this process is that it might be 
nice if the source could handle being backported to sarge, so maybe there 
should be "3.1" lines in os.dat for all the architectures supported in sarge? 
Those could probably even go in the upstream os.dat.

Thanks,

-- 
Matt Taggart
[EMAIL PROTECTED]

--- rkhunter.orig       2006-06-05 23:13:22.000000000 -0500
+++ rkhunter    2006-06-06 01:56:36.000000000 -0500
@@ -1869,10 +1869,15 @@
 
            uname_model=`uname -m`
            case $uname_model in
-               i[0-9]86)               architecture=i386; ;;
+               alpha)                  architecture=alpha; ;;          
+               arm*|sa110)             architecture=arm; ;;
+               mips*)                  architecture=mips; ;;           
+               i[3-6]86)               architecture=i386; ;;
+               ia64)                   architecture=ia64; ;;           
+               parisc*)                architecture=hppa; ;;           
+               ppc*)                   architecture=powerpc; ;;
+               s390*)                  architecture=s390; ;;
                sun4u|sparc64)          architecture=sparc64; ;;
-               arm*)                   architecture=arm; ;;
-               ppc)                    architecture=powerpc; ;;
                x86_64)                 architecture=x86_64; ;;         
            esac
 

Reply via email to