summaryrefslogtreecommitdiff
path: root/elements/unmaintained/apache-httpd-server/mod_wsgi.bst
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2017-11-26 23:40:38 +0000
committerJavier Jardón <jjardon@gnome.org>2017-12-12 15:58:11 +0000
commit7aad5150f69da42b84994c353283db5daf8e967f (patch)
tree813f30921faea689677aa308bd61488229266d06 /elements/unmaintained/apache-httpd-server/mod_wsgi.bst
parentfa91b837f4bf46b19678a2c3d6b56f73cdc786a6 (diff)
downloaddefinitions-7aad5150f69da42b84994c353283db5daf8e967f.tar.gz
Add BuildStream converted files
This is made by a conversion made in commit 8f8992a18d55c3abf28d4b6fc8036bd39d3dc1cf of definitions Check there to know what exact versions of YBD and defs2bst was used
Diffstat (limited to 'elements/unmaintained/apache-httpd-server/mod_wsgi.bst')
-rw-r--r--elements/unmaintained/apache-httpd-server/mod_wsgi.bst30
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