2014-03-01 18:30:36 +01:00
|
|
|
# Description: Apache HTTP server version 2.4.x
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
# URL: http://httpd.apache.org/
|
2014-03-01 18:30:36 +01:00
|
|
|
# Depends on: apr libpcre openssl zlib libxml2
|
2006-02-23 16:26:10 +01:00
|
|
|
# Group: apache
|
|
|
|
|
|
|
|
name=apache
|
2015-10-14 11:51:11 +02:00
|
|
|
version=2.4.17
|
2015-12-07 19:28:21 +01:00
|
|
|
release=2
|
2006-02-23 16:26:10 +01:00
|
|
|
source=(http://www.apache.org/dist/httpd/httpd-$version.tar.bz2 \
|
2014-03-01 18:30:36 +01:00
|
|
|
crux.layout apache)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build(){
|
|
|
|
cd httpd-$version
|
2006-11-25 16:14:10 +01:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
cat $SRC/crux.layout >> config.layout
|
2014-03-01 18:30:36 +01:00
|
|
|
sed -ri '/^(User|Group)/s/daemon/www/' docs/conf/httpd.conf.in
|
2006-11-25 16:14:10 +01:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
./configure --enable-layout=CRUX \
|
|
|
|
--with-apr=/usr \
|
|
|
|
--with-apr-util=/usr \
|
2008-12-15 18:47:07 +01:00
|
|
|
--with-pcre=/usr \
|
2006-02-23 16:26:10 +01:00
|
|
|
--enable-so \
|
|
|
|
--enable-modules=all \
|
|
|
|
--enable-mods-shared=all \
|
2014-03-01 18:30:36 +01:00
|
|
|
--enable-mpms-shared=all
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
2012-02-01 16:41:10 +01:00
|
|
|
make -j1 DESTDIR=$PKG install
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
install -D -m 755 $SRC/apache $PKG/etc/rc.d/apache
|
|
|
|
|
2014-03-01 18:30:36 +01:00
|
|
|
rm -r $PKG/var/www/htdocs/*
|
2007-09-09 10:25:21 +02:00
|
|
|
rm $PKG/var/www/{error,icons}/README*
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|