Changes

From SME Server
Jump to navigationJump to search
966 bytes added ,  15:33, 16 December 2014
Line 235: Line 235:     
--------
 
--------
 +
 +
==== Import a new source tarball for clamav====
 +
when you need to import a new version of clamav, these steps are done at the buildserver level. Once the the new source created, you can retrieve the cvs update in your personal build box and request via plage a build.
 +
 +
'''Obviously all of that are done with developer access'''
 +
 +
wget http://sourceforge.net/projects/clamav/files/clamav/0.98.5/clamav-0.98.5.tar.gz/download
 +
wget http://database.clamav.net/main.cvd
 +
wget http://database.clamav.net/daily.cvd
 +
 +
make new-source FILES="clamav-0.98.5.tar.gz main.cvd daily.cvd"
 +
cvs commit -m "Import new source for clamav 0.98.5"
 +
 +
then in your personal build system
 +
 +
cd ~/work/smeserver/rpms/clamav/sme9
 +
cvs update -dPA
 +
 +
you have to modify the spec file for the changelog and any needed customisations
 +
 +
make commit -m '* Tue Dec 16 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.98.5-1.sme
 +
- Updated to release 0.98.5 [SME: 8729]'
 +
make tag
 +
make build
 +
    
==== Patching an upstream package ====
 
==== Patching an upstream package ====
Line 341: Line 366:     
------
 
------
 +
 
====Import of perl-Passwd-Unix====
 
====Import of perl-Passwd-Unix====
 
One important part is updating the 'modules' file in CVS to allow the buildsys to build to correctly.
 
One important part is updating the 'modules' file in CVS to allow the buildsys to build to correctly.

Navigation menu