From owner-freebsd-apache@FreeBSD.ORG Tue Jun 10 22:09:25 2008 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5798B1065687 for ; Tue, 10 Jun 2008 22:09:25 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from EXHUB015-3.exch015.msoutlookonline.net (exhub015-3.exch015.msoutlookonline.net [207.5.72.95]) by mx1.freebsd.org (Postfix) with ESMTP id 45EC18FC0C for ; Tue, 10 Jun 2008 22:09:25 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from philip.hq.rws (74.93.213.161) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.1.278.0; Tue, 10 Jun 2008 15:09:24 -0700 Message-ID: <484EFB93.9010304@p6m7g8.com> Date: Tue, 10 Jun 2008 18:09:23 -0400 From: "Philip M. Gollucci" Organization: P6M7G8 Consulting User-Agent: Thunderbird 2.0.0.12 (X11/20080414) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Romain_Tarti=E8re?= References: <20080610141207.GA38613@marvin.blogreen.org> In-Reply-To: <20080610141207.GA38613@marvin.blogreen.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit Cc: apache@freebsd.org Subject: Re: Porting modules depending on a patched apache install X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2008 22:09:25 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Romain Tartière wrote: | Hello | | I would like to give a try to mod_caldav [1], which depends on | mod_dav_acl [2], which require a patched version of Apache to build and | run. | | In other word, the mod_dav_acl tarball contains a patch that you have to | apply to Apache source before you can build the module. | | | I would like to know how to handle this situation if I want to create | FreeBSD ports for these modules. | | Kind regards, | Romain | | References: | 1. http://sourceforge.net/projects/modcaldav | 2. http://sourceforge.net/projects/moddavacl 1) Realistically, you'd need to roll your own www/apacheXX+mod_dav_acl port and it would not be a SLAVE port of anyother www/apacheXX port. Then mod_caldav would BUILD/RUN_DEPENDS on that port. 2) You could try submitting a patch that does WITH_FOO_BAR=yes conditional to one the www/apacheXX ports. IF set, it applies your patch. Later, your mod_dav_acl would need to check somehow if that patch had been applied. If not, set IGNORE="Need www/apacheXX WITH_FOO_BAR support enabled" to stop the build. the mod_dav_acl port should always set the WITH_FOO_BAR=yes flag so that all of the following sequences would work: a) $ cd www/mod_cal_dav ; make b) $ cd www/mod_dav_acl ; make $ cd www/mod_cal_dav ; make c) $ cd /www/apacheXX ; make WITH_FOO_BAR=yes $ cd www/mod_dav_acl ; make $ cd www/mod_cal_dav ; make - -- - ------------------------------------------------------------------------ Philip M. Gollucci (philip@ridecharge.com) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iD8DBQFITvuTdbiP+9ubjBwRAtopAJ9ihkZlat2/a7hL17seqStRDU9NkgCgkCQr Lb8Lpk6YFcmxqAP6uFtvm4U= =dCo+ -----END PGP SIGNATURE-----