opt/lighttpd/Pkgfile
Simone Rota 026e67e6ba [notify] lighttpd: updated to 1.4.19
Version 1.4.19 includes fixes to the following minor security issues:

http://www.lighttpd.net/security/lighttpd_sa_2008_01.txt
http://www.lighttpd.net/security/lighttpd_sa_2008_02.txt
http://www.lighttpd.net/security/lighttpd_sa_2008_03.txt

Also note that it is now explicitely built without libpcre
(mostly used by mod_cache)
2008-03-13 15:10:54 +01:00

30 lines
890 B
Plaintext

# Description: Secure, fast, compliant and very flexible web server
# URL: http://www.lighttpd.net/
# Maintainer: Simone Rota, sip at crux dot nu
# Packager: Jukka Heino, jukka dot heino at gmail dot com
# Depends on:
name=lighttpd
version=1.4.19
release=1
source=(http://www.$name.net/download/$name-$version.tar.gz \
$name.conf \
$name.rc)
build() {
cd $name-$version
./configure --prefix=/usr --libdir=/usr/lib/$name --with-openssl \
--mandir=/usr/man --without-pcre
make
make DESTDIR=$PKG install
install -D -m 644 $SRC/$name.conf $PKG/etc/$name.conf
install -D -m 755 $SRC/$name.rc $PKG/etc/rc.d/$name
install -d $PKG/var/www/{htdocs,logs}
install -d $PKG/var/run
install -d $PKG/etc/ssl/certs
touch $PKG/var/run/lighttpd.pid
touch $PKG/etc/ssl/certs/lighttpd.pem
chmod 0600 $PKG/etc/ssl/certs/lighttpd.pem
}