From: Thierry Parmentelat Date: Mon, 27 May 2013 05:33:20 +0000 (+0200) Subject: build mod_python for people who would rather not use wsgi X-Git-Tag: 5.2.3~20 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=e67b04a822ba1a3d0d6c5e628dcae6bc7de06309 build mod_python for people who would rather not use wsgi --- diff --git a/lxc-tags.mk b/lxc-tags.mk index 4a7fbbf2..01b2125e 100644 --- a/lxc-tags.mk +++ b/lxc-tags.mk @@ -23,6 +23,7 @@ vsys-scripts-GITPATH := git://git.planet-lab.org/vsys-scripts.git@vsy bind_public-GITPATH := git://git.planet-lab.org/bind_public.git@bind_public-0.1-2 sliver-openvswitch-GITPATH := git://git.onelab.eu/sliver-openvswitch.git@sliver-openvswitch-1.10.90-2 plcapi-GITPATH := git://git.planet-lab.org/plcapi.git@master +mod_python-GITPATH := git://git.onelab.eu/od_python.git@master drupal-GITPATH := git://git.planet-lab.org/drupal.git@drupal-4.7-15 plewww-GITPATH := git://git.planet-lab.org/plewww.git@plewww-5.2-2 www-register-wizard-SVNPATH := http://svn.planet-lab.org/svn/www-register-wizard/tags/www-register-wizard-4.3-5 diff --git a/lxc.mk b/lxc.mk index baac8732..02a5e37e 100644 --- a/lxc.mk +++ b/lxc.mk @@ -260,7 +260,21 @@ plcapi-SPEC := plcapi.spec ALL += plcapi IN_MYPLC += plcapi - +# +# mod_python +# +# this was dropped in fedora18, at which point the intention has been to +# move to wsgi instead; however our using wsgi currently looks unstable +# so you have the option to install this manually, in which case myplc will +# swap to using mod_python - see plc.d/httpd +ifeq "$DISTRO" "Fedora" +ifneq "$(DISTRONAME)" "f16" +mod_python-MODULES := mod_python +mod_python-SPEC := mod_python.spec +mod_python-BUILD-FROM-SRPM := yes +ALL += mod_python +endif +endif # # drupal