[packages/lighttpd: 8/10] mod_auth: suggest not require mod_authn_*

glen glen at pld-linux.org
Sun Oct 22 15:24:28 CEST 2017


commit 0919dd08f114ee55c61d95cb801dc0794b479f30
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Oct 22 15:15:52 2017 +0300

    mod_auth: suggest not require mod_authn_*

 lighttpd.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
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)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lighttpd.git/commitdiff/de558bd9e36812fe61122fd859ac977278676c01



More information about the pld-cvs-commit mailing list