2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Hızlı,güvenli ve esnek web sunucu uygulaması
|
2017-08-09 18:21:23 +02:00
|
|
|
|
# URL: http://www.lighttpd.net/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: pcre
|
2017-08-09 18:21:23 +02:00
|
|
|
|
|
|
|
|
|
name=lighttpd
|
|
|
|
|
version=1.4.45
|
|
|
|
|
release=1
|
|
|
|
|
source=(http://download.$name.net/$name/releases-1.4.x/$name-$version.tar.xz \
|
|
|
|
|
$name.conf )
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-08-09 18:21:23 +02:00
|
|
|
|
cd $name-$version
|
|
|
|
|
./configure --prefix=/usr --libdir=/usr/lib/$name --with-openssl \
|
|
|
|
|
--mandir=/usr/man --with-pcre
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
install -D -m 644 $SRC/$name.conf $PKG/etc/$name.conf
|
|
|
|
|
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
|
|
|
|
|
cd /sources/milis.git/ayarlar/servisler
|
|
|
|
|
make DESTDIR=$PKG kur-lighttpd
|
|
|
|
|
}
|