bsd <b...@todoo.biz> writes:

> Hello, 
>
> I have a patch for clamav that was submited by a developer of clamav. 
> I don't know how to apply It to the source code of the port. 
>
> What I would like to do: 
>
> 1. Get the source code 
> 2. cd to the source directory 
> 3. Apply the patch 
> 4. Recompile 
> 5. Test 

Hi,

as a starting point you could follow this procedure:

a) cd /usr/ports/security/clamav
b) make extract
c) cd work/clamav-whatever-version
d) patch -p0 < the.patch.file.provided.by.the.clamav.developer.diff
e) cd ../..
f) make install (as usual)

Hope this helps.

Best Regards
Leonidas Tsampros
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to