diff options
Diffstat (limited to 'abs/core/lighttpd/PKGBUILD')
-rw-r--r-- | abs/core/lighttpd/PKGBUILD | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/abs/core/lighttpd/PKGBUILD b/abs/core/lighttpd/PKGBUILD index d389ecd..d7405ab 100644 --- a/abs/core/lighttpd/PKGBUILD +++ b/abs/core/lighttpd/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Pierre Schmitz <pierre@archlinux.de> pkgname=lighttpd -pkgver=1.4.39 +pkgver=1.4.45 pkgrel=1 pkgdesc='A secure, fast, compliant and very flexible web-server' license=('custom') @@ -15,8 +15,8 @@ optdepends=('libxml2: mod_webdav' \ 'libmysqlclient: mod_mysql_vhost' \ 'sqlite3: mod_webdav' \ 'gdbm: mod_trigger_b4_dl') -backup=('etc/lighttpd/lighttpd.conf' 'etc/logrotate.d/lighttpd' 'etc/lighttpd/auth-inc.conf' 'etc/lighttpd/conf.include' 'etc/lighttpd/html.include') -options=('!libtool' 'emptydirs') +backup=('etc/lighttpd/auth-inc.conf' 'etc/lighttpd/conf.include' 'etc/lighttpd/html.include') +options=('emptydirs') source=("http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${pkgver}.tar.gz" 'lighttpd.logrotate.d' 'lighttpd.conf' 'auth-inc.conf' 'ssl-inc.conf' 'lighttpd.tmpfiles') @@ -58,28 +58,13 @@ package() { install -D -m644 ${srcdir}/ssl-inc.conf ${pkgdir}/etc/lighttpd/ssl-inc.conf install -D -m644 ${srcdir}/lighttpd.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/lighttpd.conf - # set sane defaults - sed -e 's|/srv/www/htdocs/|/srv/http/|' \ - -e 's|/srv/www/|/srv/http/|' \ - -e 's|#server.username = "wwwrun"|server.username = "http"|' \ - -e 's|#server.groupname = "wwwrun"|server.groupname = "http"|' \ - -e 's|#server.pid-file = "/run/lighttpd.pid"|server.pid-file = "/run/lighttpd/lighttpd.pid"|' \ - -e 's|/usr/local/bin/php-cgi|/usr/bin/php-cgi|' \ - -e 's|"^/mythweb|"^/{1,2}mythweb|' \ - -e 's|# "mod_proxy",| "mod_proxy",|' \ - -e 's|# "mod_ssi",| "mod_ssi",|' \ - -e 's|#ssi.extension = ( ".shtml" )|ssi.extension = ( ".shtml" )|' \ - -i ${pkgdir}/etc/lighttpd/lighttpd.conf || return 1 - - /usr/bin/touch ${pkgdir}/etc/lighttpd/{conf,html}.include || return 1 - /bin/echo 'include "/etc/lighttpd/conf.include"' >> ${pkgdir}/etc/lighttpd/lighttpd.conf || return 1 - /bin/echo 'include "/etc/lighttpd/html.include"' >> ${pkgdir}/etc/lighttpd/lighttpd.conf || return 1 + /usr/bin/touch ${pkgdir}/etc/lighttpd/{conf,html}.include || return 1 install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING } -md5sums=('b49e133a4b321921331eba5a343872ab' +md5sums=('98b97852441fc6b1942dfa9cf5c0beba' '42d106b101d21ffd76ed9f3f1621e164' - '7945bd60801295010e9e2cac1dba78b7' + '1ff60252037689b0419e4c11af34b1ef' '62779511e3f1127c3cc9b94c49f99c29' 'ef64c496602b182a551416a8ba6b3d43' '1aeda5526e2cf1ca99d6e1571a6d9cf5') |