From f200304106598a732b795ff7fb86ae65ec3e2260 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 15 Sep 2022 12:57:06 +0300 Subject: [PATCH] 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. -- 2.44.0