2014-03-07 12:04:14 +00:00
|
|
|
# Template file for 'lighttpd'
|
|
|
|
pkgname=lighttpd
|
2014-03-12 16:14:46 +00:00
|
|
|
version=1.4.35
|
2014-04-04 11:11:31 +00:00
|
|
|
revision=2
|
2014-03-07 12:04:14 +00:00
|
|
|
makedepends="libmysqlclient-devel lua-devel libxml2-devel sqlite-devel gdbm-devel pcre-devel openssl-devel fcgi-devel"
|
2014-03-07 13:07:34 +00:00
|
|
|
hostmakedepends="automake pkg-config pcre-devel libtool which"
|
2014-03-07 12:04:14 +00:00
|
|
|
conf_files="/etc/lighttpd/lighttpd.conf"
|
|
|
|
system_accounts="lighttpd"
|
|
|
|
lighttpd_homedir="/var/tmp/lighttpd"
|
|
|
|
systemd_services="lighttpd.service on"
|
|
|
|
make_dirs="
|
|
|
|
/srv/www 0755 root root
|
|
|
|
/var/log/lighttpd 0750 lighttpd lighttpd"
|
2014-03-12 16:14:46 +00:00
|
|
|
short_desc="A secure, fast, compliant and very flexible web-server"
|
2014-03-07 12:04:14 +00:00
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
|
|
license="Simplified BSD"
|
|
|
|
homepage="http://lighttpd.net"
|
|
|
|
distfiles="http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${version}.tar.bz2"
|
2014-03-12 16:14:46 +00:00
|
|
|
checksum=4a71c1f6d8af41ed894b507720c4c17184dc320590013881d5170ca7f15c5bf7
|
2014-03-07 12:04:14 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="
|
|
|
|
--with-gnu-ld \
|
2014-03-07 13:07:34 +00:00
|
|
|
--libdir=/usr/lib/lighttpd/modules/ \
|
2014-03-07 12:04:14 +00:00
|
|
|
--sysconfdir=/etc/lighttpd \
|
|
|
|
--with-mysql=${XBPS_CROSS_BASE}/usr/bin/mysql_config \
|
|
|
|
--with-ldap \
|
|
|
|
--with-attr \
|
|
|
|
--with-zlib \
|
|
|
|
--with-bzip2 \
|
|
|
|
--with-openssl \
|
|
|
|
--with-pcre \
|
|
|
|
--with-kerberos5 \
|
|
|
|
--without-fam \
|
|
|
|
--with-memcache \
|
|
|
|
--with-webdav-props \
|
|
|
|
--with-webdav-locks \
|
|
|
|
--with-gdbm \
|
|
|
|
--with-memcache \
|
|
|
|
--with-lua"
|
2014-03-12 17:04:16 +00:00
|
|
|
lib32disabled=yes
|
2014-03-07 12:04:14 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
2014-03-07 13:07:34 +00:00
|
|
|
autoreconf -fi
|
2014-03-07 12:04:14 +00:00
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
vinstall ${FILESDIR}/lighttpd.conf 644 etc/lighttpd
|
|
|
|
# Install systemd services
|
|
|
|
vinstall ${FILESDIR}/lighttpd.service 644 usr/lib/systemd/system
|
|
|
|
}
|