Permanent apache patch

Roland Smith rsmith at xs4all.nl
Mon Jun 25 15:53:14 UTC 2007


On Mon, Jun 25, 2007 at 09:01:21PM +1200, Josh wrote:
>  Gidday there,
> 
>  I have my own change to suexec in apache 2.0 from ports.
> 
>  What I want to know is the best way to have my patch applied each time I 
>  compile apache, without too much effort from me?

The best way is to get the patch added into the port, if the maintainer
is willing. :-) 

>  Eg, say for the sake of example my patch is in /usr/local/src/foopatch/
> 
>  How would I get the ports system to apply it each time I compiled apache?

Just put it in the files subdirectory under the port directory, just
before you build the port. Look at other patches to see from which
directory they are applied, and make yours match.

Unfortunately most port update tools will delete files that are not in
the master tree. 

Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070625/a77df2c6/attachment.pgp


More information about the freebsd-questions mailing list