[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#243938: Existing packages

Le mardi 23 août 2005 à 20:00 +0200, Julien Valroff a écrit :
> > 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.
I have changed my mind and better edited the installer patch with the
right value. This might not be the good solution as I hardcoded '/usr'
in the patch.

> > 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.
Done, as no need to edit the installer again; I used the mv command to
move the db and tmp right after the installer run (as I did already
anyway with lib and bin directories :). And then I used sed to change
the default paths in rkhunter.conf (+ added a note for the users of the
old versions).
I don't know if it is "clean", what do you think?

I have uploaded the 1.2.7-10 version to my repository.


Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: