Date: Fri, 03 Sep 2010 15:20:31 +0300 From: Leonidas Tsampros <ltsampros@upnet.gr> To: bsd <bsd@todoo.biz> Cc: Liste FreeBSD <freebsd-questions@freebsd.org> Subject: Re: Applying a patch to a port Message-ID: <8762ynxblc.fsf@ltsampros-laptop.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <4AB42548-002B-41A5-8603-638CF97DC7E9@todoo.biz> (bsd@todoo.biz's message of "Fri, 3 Sep 2010 09:53:19 %2B0200") References: <4AB42548-002B-41A5-8603-638CF97DC7E9@todoo.biz>
next in thread | previous in thread | raw e-mail | index | archive | help
bsd <bsd@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8762ynxblc.fsf>