From: Elan Ruusamäe Date: Sun, 22 Oct 2017 12:15:52 +0000 (+0300) Subject: mod_auth: suggest not require mod_authn_* X-Git-Tag: auto/th/lighttpd-1.4.46-1^2~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Flighttpd.git;a=commitdiff_plain;h=0919dd0 mod_auth: suggest not require mod_authn_* --- diff --git a/lighttpd.spec b/lighttpd.spec index 10f78aa..ed1db58 100644 --- a/lighttpd.spec +++ b/lighttpd.spec @@ -253,11 +253,11 @@ Group: Networking/Daemons/HTTP URL: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModAuth Requires: %{name} = %{version}-%{release} Requires: %{name}-mod_authn_file = %{version}-%{release} -# TODO: ldap and mysql should be optional -# https://github.com/lighttpd/lighttpd1.4/blob/lighttpd-1.4.42/src/configfile.c#L426-L428 -Requires: %{name}-mod_authn_ldap = %{version}-%{release} +%if %{with ldap} +Suggests: %{name}-mod_authn_ldap = %{version}-%{release} +%endif %if %{with mysql} -Requires: %{name}-mod_authn_mysql = %{version}-%{release} +Suggests: %{name}-mod_authn_mysql = %{version}-%{release} %endif Provides: webserver(auth)