blob: a39b8d3c0bfcbad085839214cd0786e825642783 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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
|