On Sun, 2008-02-03 at 23:22 +0100, j.echter wrote: > > File not found: > /var/tmp/rkhunter-1.3.0/usr/local/share/man/man8/rkhunter.8 > Okay. right before you run the 'rpmbuild' command, type in:
MANPATH=/usr/share/man:/usr/local/man:/usr/X11R6/man:/opt/gnome/share/man export MANPATH Then run the 'rpmbuild -ta ...'. On RedHat systems they use the 'brp-compress' utility for dealing with man pages, and it looks in certain directories. However, with the RKH spec file the utility does not see our man page, so it does nothing. Under openSuSE (10.2 anyway), their utility is /usr/sbin/Clean, and it uses the current MANPATH variable for its list of directories to look in. By default the root manpath contains '/usr/local/share/man', which is where our man page is located. So, their utility runs, finds the man page, compresses it, and then rpm complains that it cannot find one of the packages files (the un-compressed man page). The redhat brp-compress utility will take care of already compressed man pages, but because it isn't using MANPATH it doesn't see the compressed man page. Basically it's a slight incompatability between RedHat and openSuSE. What is required is for the spec file to change the MANPATH for opensuse. unSpawn may well know how this can be done, I don't off the top of my head, but I'll have a look around. John. -- --------------------------------------------------------------- John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914 E-mail: [EMAIL PROTECTED] Fax: +44 (0)1752 233839 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Rkhunter-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rkhunter-users
