]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
mod_auth: suggest not require mod_authn_*
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 22 Oct 2017 12:15:52 +0000 (15:15 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 22 Oct 2017 12:15:54 +0000 (15:15 +0300)
lighttpd.spec

index 10f78aab5076fc95a9e98252020f9971d0e3495a..ed1db58e0b9c463fb6d5902a4187105637bd7bda 100644 (file)
@@ -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)
 
This page took 0.116634 seconds and 4 git commands to generate.