Merge pull request #1745 from thypon/lighttpd

lighttpd: move to usr/bin. + systemd removal
This commit is contained in:
beefcurtains 2015-06-03 07:33:46 +00:00
commit c1d4de6d2c
2 changed files with 2 additions and 18 deletions

View file

@ -1,12 +0,0 @@
[Unit]
Description=A secure, fast, compliant and very flexible web-server
After=syslog.target network.target
[Service]
PrivateTmp=true
ExecStart=/usr/sbin/lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target

View file

@ -1,13 +1,12 @@
# Template file for 'lighttpd'
pkgname=lighttpd
version=1.4.35
revision=9
revision=11
makedepends="libmysqlclient-devel lua-devel libxml2-devel sqlite-devel gdbm-devel pcre-devel libressl-devel fcgi-devel"
hostmakedepends="automake pkg-config pcre-devel libtool"
conf_files="/etc/lighttpd/lighttpd.conf"
system_accounts="lighttpd"
lighttpd_homedir="/var/tmp/lighttpd"
build_options="systemd"
make_dirs="
/srv/www 0755 root root
/var/log/lighttpd 0750 lighttpd lighttpd"
@ -19,6 +18,7 @@ distfiles="http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${versi
checksum=4a71c1f6d8af41ed894b507720c4c17184dc320590013881d5170ca7f15c5bf7
build_style=gnu-configure
configure_args="
--sbindir=/usr/bin \
--with-gnu-ld \
--libdir=/usr/lib/lighttpd/modules/ \
--sysconfdir=/etc/lighttpd \
@ -45,8 +45,4 @@ pre_configure() {
post_install() {
vsv lighttpd
vinstall ${FILESDIR}/lighttpd.conf 644 etc/lighttpd
# Install systemd services
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/lighttpd.service 644 usr/lib/systemd/system
fi
}