2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Hızlı,güvenli ve esnek web sunucu uygulaması
|
|
|
|
|
# URL: http://www.lighttpd.net/
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: pcre
|
2018-08-08 14:18:27 +02:00
|
|
|
|
# Grup: ağ
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=lighttpd
|
|
|
|
|
surum=1.4.45
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(http://download.$isim.net/$isim/releases-1.4.x/$isim-$surum.tar.xz \
|
|
|
|
|
$isim.conf )
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd $isim-$surum
|
|
|
|
|
./configure --prefix=/usr --libdir=/usr/lib/$isim --with-openssl \
|
|
|
|
|
--mandir=/usr/man --with-pcre
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
install -D -m 644 $SRC/$isim.conf $PKG/etc/$isim.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
|
|
|
|
|
}
|