[packages/lighttpd] Add requires auth to authn modules

glen glen at pld-linux.org
Thu Sep 15 11:59:30 CEST 2022


commit f200304106598a732b795ff7fb86ae65ec3e2260
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Sep 15 12:57:06 2022 +0300

    Add requires auth to authn modules
    
    lighttpd tries to load the modules itself,
    but they are missing in filesystem:
    
    $ lighttpd -f /etc/lighttpd/lighttpd.conf
    2022-09-15 12:57:07: (plugin.c.202) dlopen() failed for: /usr/lib64/lighttpd/mod_auth.so /usr/lib64/lighttpd/mod_auth.so: cannot open shared object file: No such file or directory
    2022-09-15 12:57:07: (server.c.1285) loading plugins finally failed

 lighttpd.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/lighttpd.spec b/lighttpd.spec
index baf811a..a54fa54 100644
--- a/lighttpd.spec
+++ b/lighttpd.spec
@@ -286,6 +286,7 @@ Summary:	lighttpd authn_dbi module
 Group:		Networking/Daemons/HTTP
 URL:		https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAuth
 Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-auth = %{version}-%{release}
 
 %description mod_authn_dbi
 lighttpd authn_dbi module.
@@ -294,6 +295,7 @@ lighttpd authn_dbi module.
 Summary:	lighttpd authn_file module
 Group:		Networking/Daemons/HTTP
 Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-auth = %{version}-%{release}
 
 %description mod_authn_file
 lighttpd authn_file module.
@@ -302,6 +304,7 @@ lighttpd authn_file module.
 Summary:	lighttpd authn_gssapi module
 Group:		Networking/Daemons/HTTP
 Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-auth = %{version}-%{release}
 
 %description mod_authn_gssapi
 lighttpd authn_gssapi module.
@@ -310,6 +313,7 @@ lighttpd authn_gssapi module.
 Summary:	lighttpd authn_ldap module
 Group:		Networking/Daemons/HTTP
 Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-auth = %{version}-%{release}
 
 %description mod_authn_ldap
 lighttpd authn_ldap module.
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list