diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-09-04 20:10:37 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-09-04 20:10:37 +0200 |
commit | 190c262ce6326b6f38966c79ad5f4eefd00446d8 (patch) | |
tree | c17981de7423a65ac869f37bf74b42a5aad7fccf /extra/apache/Pkgfile | |
parent | e005dc65ca5fd98b3384e0d1842aac1b67f0b282 (diff) | |
download | nutyx-extra-190c262ce6326b6f38966c79ad5f4eefd00446d8.tar.gz nutyx-extra-190c262ce6326b6f38966c79ad5f4eefd00446d8.tar.bz2 nutyx-extra-190c262ce6326b6f38966c79ad5f4eefd00446d8.tar.xz nutyx-extra-190c262ce6326b6f38966c79ad5f4eefd00446d8.zip |
Ajout de apache#2.2.13-1
Diffstat (limited to 'extra/apache/Pkgfile')
-rw-r--r-- | extra/apache/Pkgfile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/extra/apache/Pkgfile b/extra/apache/Pkgfile new file mode 100644 index 000000000..7d7019540 --- /dev/null +++ b/extra/apache/Pkgfile @@ -0,0 +1,38 @@ +# Description: Serveur Apache HTTP version 2.2.x +# Maintainer: NuTyX coreteam / Linux from scratch +# Packager: thierryn1 at hispeed dot ch +# URL: http://httpd.apache.org/ +# Depends on: apr, openssl, zlib + +name=apache +version=2.2.13 +release=1 +source=(http://archive.apache.org/dist/httpd/httpd-$version.tar.bz2 \ + http://www.linuxfromscratch.org/patches/blfs/svn/httpd-2.2.8-config-1.patch + apache ) +build(){ + source /etc/blfs-bootscripts + wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 + tar xvf $scripts-$scriptsversion.tar.bz2 + cd httpd-$version + patch -Np1 -i ../httpd-2.2.8-config-1.patch + ./configure --enable-layout=FHS --enable-mods-shared=all + make + make DESTDIR=$PKG install + + mkdir -p $PKG/etc/ssl/{keys,certs} + # Installation + install -D -m 755 $SRC/apache $PKG/etc/rc.d/apache + chown -R root:root $PKG + sed -i "s/^LoadModule isapi_module/# &/" \ + $PKG/etc/apache/httpd.conf + sed -ri '/^(User|Group)/s/daemon/apache/' $PKG/etc/apache/httpd.conf + # sed -i '1s|local/||' $PKG/var/www/cgi-bin/printenv + rm -R $PKG/{srv/www/htdocs/*,usr/bin} + rm $PKG/srv/www/{error,icons}/README* + + # Installation of the script + cd ../$scripts-$scriptsversion + make DESTDIR=$PKG install-apache + install -m755 ../apache $PKG/etc/rc.d/init.d/ +} |