diff options
Diffstat (limited to 'elements/unmaintained/apache-httpd-server/mod_wsgi.bst')
-rw-r--r-- | elements/unmaintained/apache-httpd-server/mod_wsgi.bst | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/elements/unmaintained/apache-httpd-server/mod_wsgi.bst b/elements/unmaintained/apache-httpd-server/mod_wsgi.bst new file mode 100644 index 00000000..fa2fa5e6 --- /dev/null +++ b/elements/unmaintained/apache-httpd-server/mod_wsgi.bst @@ -0,0 +1,30 @@ +kind: autotools +depends: +- tools.bst +- pcre-utils.bst +- python2-core.bst +- unmaintained/apache-httpd-server/apr.bst +- unmaintained/apache-httpd-server/httpd-server.bst +- unmaintained/apache-httpd-server/mod_wsgi-metrics.bst +sources: +- kind: git + url: upstream:python-packages/mod_wsgi + track: 4.4.5 + ref: 1be8b37aaf07d8cb3083da99d6fda12375221b07 +config: + configure-commands: + - | + ./configure --prefix="%{prefix}" \ + --with-apxs=/usr/bin/apxs + install-commands: + (>): + - | + install -D -m 644 /proc/self/fd/0 <<'EOF' "%{install-root}"/etc/httpd/conf.d/wsgi.conf + # NOTE: mod_wsgi can not coexist in the same apache process as + # mod_wsgi_python3. Only load if mod_wsgi_python3 is not + # already loaded. + + <IfModule !wsgi_module> + LoadModule wsgi_module /usr/lib/httpd/modules/mod_wsgi.so + </IfModule> + EOF |