[packages/lighttpd: 9/10] add missing mod_authn_mysql.conf

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


commit 33ba25460ab99db19e6ff220abf4f5da0b16625b
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Oct 22 16:19:44 2017 +0300

    add missing mod_authn_mysql.conf

 lighttpd.spec        | 7 ++++++-
 mod_authn_mysql.conf | 9 +++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/lighttpd.spec b/lighttpd.spec
index ed1db58..b618421 100644
--- a/lighttpd.spec
+++ b/lighttpd.spec
@@ -39,7 +39,7 @@ Summary:	Fast and light HTTP server
 Summary(pl.UTF-8):	Szybki i lekki serwer HTTP
 Name:		lighttpd
 Version:	1.4.46
-Release:	0.1
+Release:	0.2
 License:	BSD
 Group:		Networking/Daemons/HTTP
 Source0:	http://download.lighttpd.net/lighttpd/releases-1.4.x/%{name}-%{version}.tar.xz
@@ -108,6 +108,7 @@ Source141:	mod_authn_ldap.conf
 Source142:	mod_openssl.conf
 Source143:	mod_vhostdb.conf
 Source144:	mod_wstunnel.conf
+Source145:	mod_authn_mysql.conf
 # use branch.sh script to create branch.diff
 #Patch100:	%{name}-branch.diff
 ## Patch100-md5:	7bd09235304c8bcb16f34d49d480c0fb
@@ -1057,6 +1058,9 @@ cp -p %{SOURCE140} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_geoip.conf
 %if %{with ldap}
 cp -p %{SOURCE141} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_authn_ldap.conf
 %endif
+%if %{with ldap}
+cp -p %{SOURCE145} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_authn_mysql.conf
+%endif
 %if %{with h264_streaming}
 cp -p %{SOURCE136} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_h264_streaming.conf
 %endif
@@ -1317,6 +1321,7 @@ fi
 %if %{with mysql}
 %files mod_authn_mysql
 %defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_authn_mysql.conf
 %attr(755,root,root) %{pkglibdir}/mod_authn_mysql.so
 %endif
 
diff --git a/mod_authn_mysql.conf b/mod_authn_mysql.conf
new file mode 100644
index 0000000..0abfb1e
--- /dev/null
+++ b/mod_authn_mysql.conf
@@ -0,0 +1,9 @@
+# mysql (mod_authn_mysql)
+#
+# The mysql backend authenticates the user against MySQL/MariaDB infrastructure
+#
+# Documentation: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAuth#mysql-mod_authn_mysql
+
+server.modules += (
+	"mod_authn_mysql"
+)
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list