Porting modules depending on a patched apache install

Philip M. Gollucci pgollucci at p6m7g8.com
Tue Jun 10 22:09:25 UTC 2008


-----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 at 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-----


More information about the freebsd-apache mailing list