On Wed, 31 Dec 2008 22:12:09 +0000, John Horne wrote
> On Wed, 2008-12-31 at 13:17 -0500, Phil Schaffner wrote:
> > Dimitri Yioulos wrote:
> > ...
> > >
> > > Not to look the proverbial gift horse in the mouth, but with previous 
> > > versions
> > > of RKH, I could create an RPM using rpmbuild.  With this version, I 
> > > can't.  
> > > Is that something that might be added going forward?  I like to use RPMs 
> > > on
> > > my systems whenever possible.  Of course, if I'm the only one requesting
> > > this, then forget it (but it would be nice  :-)  ).
> >
> You should be able to build an RPM from the source. Although the RKH
> team do not support this as such, we do maintain the rkhunter.spec file.
>
> >
> > On CentOS 5.2 "rpmbuild -ba rkhunter.spec" using the .spec from the
> > tarball worked fine, although trying to build directly with "rpmbuild
> > -ta rkhunter-1.3.4.tar.gz" failed with errors "... No such file or
> > directory".
> >
> I can't reproduce this. I have built the RPM successfully on Fedora 9
> (64-bit) and CentOS 5.2 (64-bit) using both the 'rpmbuild -ba' and '-ta'
> methods. No problems.
>
> Can you email me the output of the 'rpmbuild -ta ...' command so I can
> see exactly where it is failing.
>
> The rkhunter.spec file only had 1 change that I can remember. That was
> changing the cron.daily file name from something like '01-rkhunter' to
> just 'rkhunter' (this then allows it to run after any prelinking cron
> job and avoids some of the prelinking errors users were getting). As
> such there is virtually no difference between this release and the last
> one.
>
> John.
>
> --

John,

Here's my output from "rpmbuild -tb --clean rkhunter-1.3.4.tar.gz":

[r...@danvers ~]# rpmbuild -tb --clean rkhunter-1.3.4.tar.gz
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)

This didn't happen with previous releases; rpm always built successfully with 
above command.

Dimitri 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------------------------------------------------------------------------------
_______________________________________________
Rkhunter-users mailing list
Rkhunter-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to