Date: Tue, 10 Jun 2008 18:09:23 -0400 From: "Philip M. Gollucci" <pgollucci@p6m7g8.com> To: =?ISO-8859-1?Q?Romain_Tarti=E8re?= <romain@blogreen.org> Cc: apache@freebsd.org Subject: Re: Porting modules depending on a patched apache install Message-ID: <484EFB93.9010304@p6m7g8.com> In-Reply-To: <20080610141207.GA38613@marvin.blogreen.org> References: <20080610141207.GA38613@marvin.blogreen.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?484EFB93.9010304>