On Tue, 2005-07-26 at 10:43 +0100, Brian Morrison wrote: > On Tue, 26 Jul 2005 11:18:06 +0200 in > [EMAIL PROTECTED] "Salvatore Basso" > <[EMAIL PROTECTED]> wrote: > > > Hi, in the "binary packages and ports" I don't find rpm file for > > version 0.86.2 (in particular for Fedora Core 2), but there will be ?? > > thanks. > > Well, you could just download the new source tarball, modify the .spec > file to look for that source version, and use rpmbuild -bb to rebuild > the rpms on your system.
I use rpmbuild -ba so that I can just do an rpmbuild --rebuild on all of my other platforms. > > That's what I do, works perfectly. Ditto. The complete steps are: 1. Install a recent version source package: rpm -ivh clamav-0.86.1.src.rpm 2. Download the source tarball and the signature file (anyone else have trouble with Galeon crashing when downloading the .sig files from Sourceforge? I probably need to open a bug on that...) Put these in the SOURCES directory. 3. Edit the SPECS/clamav.spec file with the new version number, and update the comments at the bottom. 4. rpmbuild --target i686 -ba SPECS/clamav.spec 5. scp the RPMS/i686/*clam*86.2* files to any boxes running the same version as my build box. 6. run rpm -Fvh *clam*86.2* on all of those boxes. 7. restart the freshclam and clamd services 8. copy the SRPMS/clamav*86.2* file to any other version build box, 9. run rpmbuild --target foo --rebuild clamav*86.2* 10. repeat steps 5 - 9 as needed. I've thought about making a urpmi repository for all of my packages - just haven't gotten around to it. _______________________________________________ http://lurker.clamav.net/list/clamav-users.html