From owner-freebsd-questions@FreeBSD.ORG Wed Apr 25 08:37:19 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F98416A402 for ; Wed, 25 Apr 2007 08:37:19 +0000 (UTC) (envelope-from o.greve@axis.nl) Received: from smtp.interstroom.nl (smtp1.interstroom.nl [80.85.129.3]) by mx1.freebsd.org (Postfix) with ESMTP id 466BB13C4BB for ; Wed, 25 Apr 2007 08:37:19 +0000 (UTC) (envelope-from o.greve@axis.nl) Received: from ip127-180.introweb.nl ([80.65.127.180]:49451 helo=[192.168.1.134]) by smtp.interstroom.nl with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.63) (envelope-from ) id 1Hgczw-0007ni-VJ; Wed, 25 Apr 2007 10:37:13 +0200 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> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <18654C7B-E1DC-4E3B-B884-F88487A0A1A9@axis.nl> Content-Transfer-Encoding: 7bit From: Olaf Greve Date: Wed, 25 Apr 2007 10:37:10 +0200 To: Frank Shute X-Mailer: Apple Mail (2.752.3) Cc: freebsd-questions@freebsd.org Subject: Re: How to manually patch/configure/compile Apache 2.2.4's mod_autoindex module? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2007 08:37:19 -0000 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