Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2007 10:37:10 +0200
From:      Olaf Greve <o.greve@axis.nl>
To:        Frank Shute <frank@esperance-linux.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to manually patch/configure/compile Apache 2.2.4's mod_autoindex module?
Message-ID:  <18654C7B-E1DC-4E3B-B884-F88487A0A1A9@axis.nl>
In-Reply-To: <20070425025931.GA13642@melon.esperance-linux.co.uk>
References:  <38A9B70D-9BF1-4F29-8123-D82907AE07BA@axis.nl> <20070425025931.GA13642@melon.esperance-linux.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Frank,

Tnx a lot for your answers!

 >Have a look at:
 >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports- 
using.html
 >in particular:
 >4.5.2.1 Overriding the Default Ports Directories
 >
 >You basically copy the port wholesale to somewhere in your directory
 >tree and build your "new" patched port with WRKDIRPREFIX set.....I
 >think.

Hmmm, I read it, and though it looks somewhat promising, I wonder if  
that'll work... The issue is that when first patching the C file, and  
then just trying a "make" it does nothing. When doing a "make clean",  
it will get all sources freshly again (hence undoing the patches made  
to the C file). From what I gather from the section you refer to, it  
will simply use a different working directory and/or install  
directory. However, wouldn't that try to simply install a newly build  
entire Apache 2.2.4 version next to the existing one (be it in a  
different directory, or not), with the difference that it is freshly  
built out of a different working directory (but still using the same  
fresh new sources)?

For obvious reasons, I'm somewhat apprehensive about trying this on  
my live server (though I could possibly (ab)use my fallback server  
for it), and was kind of hoping there would be an easy way to just  
compile the mod_autoindex module, using the patched source...

It appears I may have to fiddle around somewhat more with this,  
unless someone knows of a good way to achieve just that...?

Cheers!
Olafo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18654C7B-E1DC-4E3B-B884-F88487A0A1A9>