blob: 66514a7f99d3755198108268bf02be742259c6e4 (
plain)
1 # Description: Apache HTTP server version 2.4.x
2 # Maintainer: Juergen Daubert, jue at crux dot nu
3 # URL: http://httpd.apache.org/
4 # Depends on: apr libpcre openssl libxml2
5 # Group: apache
6
7 name=apache
8 version=2.4.39
9 release=1
10 source=(http://www.apache.org/dist/httpd/httpd-$version.tar.bz2 \
11 crux.layout apache)
12
13 build(){
14 cd httpd-$version
15
16 cat $SRC/crux.layout >> config.layout
17 sed -ri '/^(User|Group)/s/daemon/www/' docs/conf/httpd.conf.in
18
19 ./configure --enable-layout=CRUX \
20 --with-apr=/usr \
21 --with-apr-util=/usr \
22 --with-pcre=/usr \
23 --enable-so \
24 --enable-modules=all \
25 --enable-mods-shared=all \
26 --enable-mpms-shared=all
27 make
28 make -j1 DESTDIR=$PKG install
29
30 install -D -m 755 $SRC/apache $PKG/etc/rc.d/apache
31
32 rm -r $PKG/var/www/htdocs/*
33 rm $PKG/var/www/{error,icons}/README*
34
35 chmod -R g-s $PKG/var/www/
36 }
|