summaryrefslogtreecommitdiff
path: root/elements/unmaintained/apache-httpd-server/httpd-server.bst
diff options
context:
space:
mode:
Diffstat (limited to 'elements/unmaintained/apache-httpd-server/httpd-server.bst')
-rw-r--r--elements/unmaintained/apache-httpd-server/httpd-server.bst41
1 files changed, 41 insertions, 0 deletions
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