Re: Permanent apache patch

2007-06-25 Thread Josh

   This seems to be the case... with csup at least... I would imagine
   portsnap might bust it though.
   Thanks :)
   Lowell Gilbert wrote:

Roland Smith [1]<[EMAIL PROTECTED]> writes:



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


In the cases I know of, this will only happen if the same tool had
previously known about the file.  So just make sure you don't use a
filename that was ever in the tree in that particular directory.

References

   1. mailto:[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Permanent apache patch

2007-06-25 Thread Josh

   I just changed suexec.c so that it does does not need the cgi script
   it is executing to be owned by the user that it will run it as. This
   is because I am running php as a cgi, and I need a wrapper script, and
   I dont want to have the virtual host owner to be able to change the
   file to run something else.
   Grant Peel wrote:

   Curious, what does the patch do?

   - Original Message -

   From: [1]Josh

   To: [EMAIL PROTECTED]

   Sent: Monday, June 25, 2007 5:01 AM

   Subject: Permanent apache patch

 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?
 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?
 Thanks,
 Josh
 ___
 [EMAIL PROTECTED] mailing list
 [4]http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 "[EMAIL PROTECTED]"
   __

   Total Control Panel [6]Login
   To: [EMAIL PROTECTED] [8]Block messages from this sender
   (blacklist)
   From: [EMAIL PROTECTED] [10]Remove this sender
   from my whitelist

   You received this message because the sender is on your whitelist. 

References

   1. mailto:[EMAIL PROTECTED]
   2. mailto:freebsd-questions@freebsd.org
   3. mailto:freebsd-questions@freebsd.org
   4. http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   5. mailto:[EMAIL PROTECTED]
   6. https://asp-0.reflexion.net/login?domain=thenetnow.com
   7. https://asp-0.reflexion.net/address-properties?aID=10398309&wiz=1
   8. 
https://asp-0.reflexion.net/FooterAction?rID=10398309&aID=10398772&type=g&unexemptDomain=1
   9. https://asp-0.reflexion.net/address-properties?aID=10398772&wiz=1
  10. 
https://asp-0.reflexion.net/FooterAction?rID=10398309&aID=10398772&type=g&unexemptDomain=1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Permanent apache patch

2007-06-25 Thread Lowell Gilbert
Roland Smith <[EMAIL PROTECTED]> writes:

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

In the cases I know of, this will only happen if the same tool had
previously known about the file.  So just make sure you don't use a
filename that was ever in the tree in that particular directory.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Permanent apache patch

2007-06-25 Thread Roland Smith
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)


pgp6XFJOmUOUZ.pgp
Description: PGP signature