summaryrefslogtreecommitdiff
path: root/elements/unmaintained/apache-httpd-server
diff options
context:
space:
mode:
Diffstat (limited to 'elements/unmaintained/apache-httpd-server')
-rw-r--r--elements/unmaintained/apache-httpd-server/apr.bst28
-rw-r--r--elements/unmaintained/apache-httpd-server/httpd-server.bst41
-rw-r--r--elements/unmaintained/apache-httpd-server/mod_wsgi-metrics.bst13
-rw-r--r--elements/unmaintained/apache-httpd-server/mod_wsgi.bst30
-rw-r--r--elements/unmaintained/apache-httpd-server/psutil.bst12
5 files changed, 124 insertions, 0 deletions
diff --git a/elements/unmaintained/apache-httpd-server/apr.bst b/elements/unmaintained/apache-httpd-server/apr.bst
new file mode 100644
index 00000000..8d68dd41
--- /dev/null
+++ b/elements/unmaintained/apache-httpd-server/apr.bst
@@ -0,0 +1,28 @@
+kind: autotools
+depends:
+- tools.bst
+- pcre-utils.bst
+- python2-core.bst
+sources:
+- kind: git
+ url: upstream:apache/apr
+ track: trunk
+ ref: 3c818c6d7351f0130282d212a69035642f5fecad
+config:
+ configure-commands:
+ - ./buildconf
+ - |
+ ./configure --prefix="%{prefix}" \
+ --disable-static \
+ --enable-threads \
+ --with-installbuilddir="%{prefix}"/share/apr-1/build
+ install-commands:
+ (>):
+ - |
+ for file in find_apr.m4 apr_common.m4 install.sh gen-build.py get-version.sh \
+ config.guess config.sub; do
+ cp build/"$file" "%{install-root}%{prefix}"/share/apr-1/build/"$file";
+ done
+ - ln -sf /usr/include/apr-2 "%{install-root}%{prefix}"/share/apr-1/build/
+ - cp include/private/apr_support.h "%{install-root}%{prefix}"/include/apr-2
+ - cp include/arch/unix/apr_private.h "%{install-root}%{prefix}"/include/apr-2
diff --git a/elements/unmaintained/apache-httpd-server/httpd-server.bst b/elements/unmaintained/apache-httpd-server/httpd-server.bst
new file mode 100644
index 00000000..a39b8d3c
--- /dev/null
+++ b/elements/unmaintained/apache-httpd-server/httpd-server.bst
@@ -0,0 +1,41 @@
+kind: autotools
+depends:
+- tools.bst
+- pcre-utils.bst
+- python2-core.bst
+- unmaintained/apache-httpd-server/apr.bst
+sources:
+- kind: git
+ url: upstream:apache/httpd
+ track: 2.4.10
+ ref: 6d8e0b2fd95268fcba96326ba9dce7bb8f712c19
+config:
+ configure-commands:
+ - ./buildconf --with-apr=/usr/share/apr-1
+ - |
+ ./configure --prefix="%{prefix}" \
+ --libexecdir="%{prefix}"/lib/httpd/modules \
+ --enable-layout=RPM \
+ --enable-mpms-shared=all \
+ --with-apr="%{prefix}"/bin/apr-2-config \
+ --enable-suexec --with-suexec \
+ --with-suexec-caller=apache \
+ --with-suexec-docroot=/var/www \
+ --with-suexec-logfile=/var/log/httpd/suexec.log \
+ --with-suexec-bin="%{prefix}"/sbin/suexec \
+ --with-suexec-uidmin=500 --with-suexec-gidmin=100\
+ --with-suexec-userdir=public_html \
+ --enable-pie \
+ --with-pcre \
+ --enable-mods-shared=all \
+ --enable-ssl --with-ssl \
+ --enable-case-filter --enable-case-filter-in \
+ --enable-cgid --enable-cgi\
+ --enable-so
+ install-commands:
+ (>):
+ - |
+ sed -i 's|#!/replace/with/path/to/perl/interpreter -w|#!/usr/bin/perl -w|g' \
+ "%{install-root}%{prefix}"/bin/apxs
+ - mkdir -p "%{install-root}"/etc/httpd/conf.d
+ - echo 'Include /etc/httpd/conf.d/*.conf' >> "%{install-root}"/etc/httpd/conf/httpd.conf
diff --git a/elements/unmaintained/apache-httpd-server/mod_wsgi-metrics.bst b/elements/unmaintained/apache-httpd-server/mod_wsgi-metrics.bst
new file mode 100644
index 00000000..cf63908a
--- /dev/null
+++ b/elements/unmaintained/apache-httpd-server/mod_wsgi-metrics.bst
@@ -0,0 +1,13 @@
+kind: distutils
+depends:
+- tools.bst
+- pcre-utils.bst
+- python2-core.bst
+- unmaintained/apache-httpd-server/psutil.bst
+sources:
+- kind: git
+ url: upstream:python-packages/mod_wsgi-metrics
+ track: 1.1.1
+ ref: ec715eb593255229f9f45f3f323edbb845c691d8
+variables:
+ python: python
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
diff --git a/elements/unmaintained/apache-httpd-server/psutil.bst b/elements/unmaintained/apache-httpd-server/psutil.bst
new file mode 100644
index 00000000..011d888e
--- /dev/null
+++ b/elements/unmaintained/apache-httpd-server/psutil.bst
@@ -0,0 +1,12 @@
+kind: distutils
+depends:
+- tools.bst
+- pcre-utils.bst
+- python2-core.bst
+sources:
+- kind: git
+ url: upstream:python-packages/psutil
+ track: release-2.2.0
+ ref: 2bc8555f0428af81c2d067aa76168ed7bc5e0179
+variables:
+ python: python