Hi, Le mardi 23 août 2005 à 18:17 +0100, Zak Kipling a écrit : > Moritz Naumann wrote: [...] > The source package works well for me, with one caveat: it installs the > line: > > INSTALLDIR=[build-time install directory] > > in /etc/rkhunter.conf. This needs to be replaced with INSTALLDIR=/usr > before rkhunter will run successfully. I fixed this by adding: I was not aware of this problem, as my rkhunter.conf was already configured before I install my package.
> sed -i 's:^INSTALLDIR=$(CURDIR)/debian/rkhunter$$:INSTALLDIR=/usr:' \ > $(CURDIR)/debian/rkhunter/etc/rkhunter.conf > > below the ./installer.sh line in debian/rules. I added your correction and have just uploaded the 1.2.7-9 package to my repository. > The installed package then works fine for me although, as has been > commented earlier, the /usr/lib/rkhunter tree needs splitting between > /usr and /var so that /usr can be read-only. The entire /usr/lib/rkhunter/db directory should be in /var/lib/rkhunter, but as I don't know how to handle it with the install script that would need a major rewrite to do this. The cron script can also be improved (I have just copied the example from the homepage). > I'd been thinking about trying to package this for a while myself, so > it's good to see that people are already working on it. I'm quite > happy > to help out in any way though. As already proposed to Frederik, I am also ready to help as far as I can for this package. Maybe we can try and work together, and ask for a DD to sponsor once we obtain a ready-to-upload package, what do you think of it? Cheers, Julien