Skip to content

Commit

Permalink
www-servers/lighttpd: minor QA fixes
Browse files Browse the repository at this point in the history
- switch to libmemcached
- add missing || die statement
- dohtml -> dodoc
- remove .la files explicitly
- call `default` install
- do not pull sqlite within webdav? () as it is controlled by the REQUIRED_USE now

Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
Zlogene committed Apr 28, 2018
1 parent 9f44646 commit fd7a0c3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions www-servers/lighttpd/lighttpd-1.4.49.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=6

inherit autotools flag-o-matic readme.gentoo-r1 user systemd
inherit autotools flag-o-matic readme.gentoo-r1 systemd user

DESCRIPTION="Lightweight high-performance web server"
HOMEPAGE="http://www.lighttpd.net/"
Expand Down Expand Up @@ -37,10 +37,9 @@ CDEPEND="
!libressl? ( >=dev-libs/openssl-0.9.7:0=[kerberos?] )
libressl? ( dev-libs/libressl:= )
)
sqlite? ( dev-db/sqlite:3 )
sqlite? ( dev-db/sqlite:3 )
webdav? (
dev-libs/libxml2
>=dev-db/sqlite-3
sys-fs/e2fsprogs
)
xattr? ( kernel_linux? ( sys-apps/attr ) )
Expand Down Expand Up @@ -81,7 +80,7 @@ remove_non_essential() {

# non-essential modules
rm -f \
${libdir}/mod_{compress,evhost,expire,proxy,scgi,secdownload,simple_vhost,status,setenv,trigger*,usertrack}.*
${libdir}/mod_{compress,evhost,expire,proxy,scgi,secdownload,simple_vhost,status,setenv,trigger*,usertrack}.* || die

# allow users to keep some based on USE flags
use pcre || rm -f ${libdir}/mod_{ssi,re{direct,write}}.*
Expand Down Expand Up @@ -192,7 +191,7 @@ src_install() {
newdoc doc/config//lighttpd.conf lighttpd.conf.distrib
use ipv6 && readme.gentoo_create_doc

use doc && dodoc -r doc/*
use doc && dodoc -r doc

docinto txt
dodoc doc/outdated/*.txt
Expand Down

0 comments on commit fd7a0c3

Please sign in to comment.