summaryrefslogtreecommitdiffstats
path: root/extra/apache/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-08-31 21:12:47 +0200
committertnut <tnut at nutyx dot com>2011-08-31 21:12:47 +0200
commit26e816b3440e3ee38b4cbc66b66ae8fd28ac081e (patch)
treec3341c82fe62c7470f2284b0494726dcc230dee4 /extra/apache/Pkgfile
parent0a9177aad4b45b2cd723061383f356c6d41a60ab (diff)
downloadnutyx-extra-26e816b3440e3ee38b4cbc66b66ae8fd28ac081e.tar.gz
nutyx-extra-26e816b3440e3ee38b4cbc66b66ae8fd28ac081e.tar.bz2
nutyx-extra-26e816b3440e3ee38b4cbc66b66ae8fd28ac081e.tar.xz
nutyx-extra-26e816b3440e3ee38b4cbc66b66ae8fd28ac081e.zip
apache 2.2.20-1, maj sécurité CVE-2011-3192
Diffstat (limited to 'extra/apache/Pkgfile')
-rw-r--r--extra/apache/Pkgfile10
1 files changed, 4 insertions, 6 deletions
diff --git a/extra/apache/Pkgfile b/extra/apache/Pkgfile
index 7036ce61d..a480203b9 100644
--- a/extra/apache/Pkgfile
+++ b/extra/apache/Pkgfile
@@ -6,24 +6,23 @@
# Run on: apr,sqlite3,libpostgresql
name=apache
-version=2.2.17
+version=2.2.20
release=1
source=(http://archive.apache.org/dist/httpd/httpd-$version.tar.bz2 \
- http://www.linuxfromscratch.org/patches/blfs/svn/httpd-2.2.15-config-1.patch
- apache )
+ http://www.linuxfromscratch.org/patches/blfs/svn/httpd-2.2.17-bdb51-1.patch \
+ http://www.linuxfromscratch.org/patches/blfs/svn/httpd-2.2.17-config-1.patch )
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.15-config-1.patch
+ patch -Np1 -i ../httpd-2.2.17-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
@@ -35,6 +34,5 @@ build(){
# Installation of the script
cd ../$scripts-$scriptsversion
make DESTDIR=$PKG install-apache
- install -m755 ../apache $PKG/etc/rc.d/init.d/
}