Merge pull request #1745 from thypon/lighttpd
lighttpd: move to usr/bin. + systemd removal
This commit is contained in:
commit
c1d4de6d2c
2 changed files with 2 additions and 18 deletions
|
@ -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
|
|
|
@ -1,13 +1,12 @@
|
||||||
# Template file for 'lighttpd'
|
# Template file for 'lighttpd'
|
||||||
pkgname=lighttpd
|
pkgname=lighttpd
|
||||||
version=1.4.35
|
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"
|
makedepends="libmysqlclient-devel lua-devel libxml2-devel sqlite-devel gdbm-devel pcre-devel libressl-devel fcgi-devel"
|
||||||
hostmakedepends="automake pkg-config pcre-devel libtool"
|
hostmakedepends="automake pkg-config pcre-devel libtool"
|
||||||
conf_files="/etc/lighttpd/lighttpd.conf"
|
conf_files="/etc/lighttpd/lighttpd.conf"
|
||||||
system_accounts="lighttpd"
|
system_accounts="lighttpd"
|
||||||
lighttpd_homedir="/var/tmp/lighttpd"
|
lighttpd_homedir="/var/tmp/lighttpd"
|
||||||
build_options="systemd"
|
|
||||||
make_dirs="
|
make_dirs="
|
||||||
/srv/www 0755 root root
|
/srv/www 0755 root root
|
||||||
/var/log/lighttpd 0750 lighttpd lighttpd"
|
/var/log/lighttpd 0750 lighttpd lighttpd"
|
||||||
|
@ -19,6 +18,7 @@ distfiles="http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${versi
|
||||||
checksum=4a71c1f6d8af41ed894b507720c4c17184dc320590013881d5170ca7f15c5bf7
|
checksum=4a71c1f6d8af41ed894b507720c4c17184dc320590013881d5170ca7f15c5bf7
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="
|
configure_args="
|
||||||
|
--sbindir=/usr/bin \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
--libdir=/usr/lib/lighttpd/modules/ \
|
--libdir=/usr/lib/lighttpd/modules/ \
|
||||||
--sysconfdir=/etc/lighttpd \
|
--sysconfdir=/etc/lighttpd \
|
||||||
|
@ -45,8 +45,4 @@ pre_configure() {
|
||||||
post_install() {
|
post_install() {
|
||||||
vsv lighttpd
|
vsv lighttpd
|
||||||
vinstall ${FILESDIR}/lighttpd.conf 644 etc/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
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue