2009-01-14 22:04:18 +01:00
|
|
|
# Description: Secure, fast, compliant and very flexible web server
|
|
|
|
# URL: http://www.lighttpd.net/
|
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
|
|
|
# Depends on: libpcre
|
|
|
|
|
|
|
|
name=lighttpd
|
2020-12-31 11:35:52 +00:00
|
|
|
version=1.4.58
|
2009-01-14 22:04:18 +01:00
|
|
|
release=1
|
2020-02-01 23:04:26 +11:00
|
|
|
source=(https://download.$name.net/$name/releases-1.4.x/$name-$version.tar.xz \
|
2009-01-14 22:04:18 +01:00
|
|
|
$name.conf \
|
|
|
|
$name.rc)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2019-03-30 12:25:24 +01:00
|
|
|
./configure --prefix=/usr --libdir=/usr/lib/$name --with-openssl --with-pcre
|
2009-01-14 22:04:18 +01:00
|
|
|
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
|
2015-07-26 18:20:27 +02:00
|
|
|
#touch $PKG/var/run/lighttpd.pid
|
2009-01-14 22:04:18 +01:00
|
|
|
touch $PKG/etc/ssl/certs/lighttpd.pem
|
|
|
|
chmod 0600 $PKG/etc/ssl/certs/lighttpd.pem
|
|
|
|
}
|