blob: 131d0475da9ae495ba411243ad48e57ef71ec77d (
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
|
name: httpd-server
kind: chunk
build-system: autotools
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"/lib/httpd/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
post-install-commands:
- |
sed -i 's|#!/replace/with/path/to/perl/interpreter -w|#!/usr/bin/perl -w|g' \
"$DESTDIR$PREFIX"/bin/apxs
- mkdir -p "$DESTDIR"/etc/httpd/conf.d
- echo 'Include /etc/httpd/conf.d/*.conf' >> "$DESTDIR"/etc/httpd/conf/httpd.conf
|