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 15:26:10 +00:00
|
|
|
# URL: http://httpd.apache.org/
|
2014-03-01 18:30:36 +01:00
|
|
|
# Depends on: apr libpcre openssl zlib libxml2
|
2006-02-23 15:26:10 +00:00
|
|
|
# Group: apache
|
|
|
|
|
|
|
|
name=apache
|
2015-01-30 18:38:10 +01:00
|
|
|
version=2.4.12
|
2010-07-27 13:37:19 +02:00
|
|
|
release=1
|
2006-02-23 15:26:10 +00: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 15:26:10 +00:00
|
|
|
|
|
|
|
build(){
|
|
|
|
cd httpd-$version
|
2006-11-25 16:14:10 +01:00
|
|
|
|
2006-02-23 15:26:10 +00: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 15:26:10 +00: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 15:26:10 +00: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 15:26:10 +00:00
|
|
|
make
|
2012-02-01 16:41:10 +01:00
|
|
|
make -j1 DESTDIR=$PKG install
|
2006-02-23 15:26:10 +00: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 15:26:10 +00:00
|
|
|
}
|