[packages/lighttpd: 4/10] add packages for new modules: mod_openssl, mod_vhostdb, mod_wstunnel

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

commit 03c15dcf641d284ab51074ab547b10014fa7853d
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Oct 22 14:52:12 2017 +0300

    add packages for new modules: mod_openssl, mod_vhostdb, mod_wstunnel

 lighttpd.spec | 74 ++++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 61 insertions(+), 13 deletions(-)
diff --git a/lighttpd.spec b/lighttpd.spec
index 53abd59..10f2f66 100644
--- a/lighttpd.spec
+++ b/lighttpd.spec
@@ -572,6 +572,15 @@ This module provides virtual hosts (vhosts) based on a MySQL table.
 %description mod_mysql_vhost -l pl.UTF-8
 Ten moduł udostępnia wirtualne hosty (vhosty) oparte na tabeli MySQL.
+%package mod_openssl
+Summary:	TLS/SSL for lighttpd
+Group:		Networking/Daemons/HTTP
+URL:		https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_SSL
+Requires:	%{name} = %{version}-%{release}
+%description mod_openssl
+TLS/SSL for lighttpd.
 %package mod_proxy
 Summary:	lighttpd module for proxying requests
 Summary(pl.UTF-8):	Moduł lighttpd do przekazywania żądań
@@ -807,6 +816,15 @@ lighttpd usertrack module.
 %description mod_usertrack -l pl.UTF-8
 Moduł usertrack dla lighttpd.
+%package mod_vhostdb
+Summary:	Virtual host database to provide vhost docroot
+Group:		Networking/Daemons/HTTP
+URL:		https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModVhostDB
+Requires:	%{name} = %{version}-%{release}
+%description mod_vhostdb
+Virtual host database to provide vhost docroot.
 %package mod_webdav
 Summary:	WebDAV module for lighttpd
 Summary(pl.UTF-8):	Moduł WebDAV dla libghttpd
@@ -847,6 +865,18 @@ oraz zwykłe GET, POST, HEAD z HTTP/1.1.
 Jak na razie montowanie zasobu webdav pod Windows XP działa i
 podstawowe testy lakmusowe przechodzą.
+%package mod_wstunnel
+Summary:	WebSocket tunnel endpoint
+Group:		Networking/Daemons/HTTP
+URL:		https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModWSTunnel
+Requires:	%{name} = %{version}-%{release}
+%description mod_wstunnel
+WebSocket tunnel endpoint. This module terminates the websocket tunnel
+from a client. This module then passes data (without websocket frames)
+to a backend and encodes responses from backend in websocket frames
+before sending responses to client.
 %package php-spawned
 Summary:	PHP support via FastCGI, spawned by lighttpd
 Summary(pl.UTF-8):	Obsługa PHP przez FastCGI, uruchamiane przez lighttpd
@@ -885,6 +915,7 @@ Summary(pl.UTF-8):	Obsługa SSLv2 i SSLv3 dla lighttpd
 Group:		Networking/Daemons/HTTP
 URL:		http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:SSL
 Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-mod_openssl = %{version}-%{release}
 Suggests:	ca-certificates
 %description ssl
@@ -1138,9 +1169,9 @@ fi
 %module_scripts mod_alias
 %module_scripts mod_auth
 %module_scripts mod_authn_file
-%module_scripts mod_authn_mysql
 %module_scripts mod_authn_gssapi
 %module_scripts mod_authn_ldap
+%module_scripts mod_authn_mysql
 %module_scripts mod_cgi
 %module_scripts mod_cml
 %module_scripts mod_compress
@@ -1157,21 +1188,10 @@ fi
 %module_scripts mod_indexfile
 %module_scripts mod_magnet
 %module_scripts mod_mysql_vhost
+%module_scripts mod_openssl
 %module_scripts mod_proxy
 %module_scripts mod_redirect
 %module_scripts mod_rewrite
-%post mod_rrdtool
-if [ ! -f /var/lib/lighttpd/lighttpd.rrd ]; then
-	touch /var/lib/lighttpd/lighttpd.rrd
-	chown lighttpd:stats /var/lib/lighttpd/lighttpd.rrd
-	chmod 640 /var/lib/lighttpd/lighttpd.rrd
-%postun mod_rrdtool
 %module_scripts mod_scgi
 %module_scripts mod_secdownload
 %module_scripts mod_setenv
@@ -1183,11 +1203,25 @@ fi
 %module_scripts mod_uploadprogress
 %module_scripts mod_userdir
 %module_scripts mod_usertrack
+%module_scripts mod_vhostdb
 %module_scripts mod_webdav
+%module_scripts mod_wstunnel
 %module_scripts php-spawned
 %module_scripts php-external
+%post mod_rrdtool
+if [ ! -f /var/lib/lighttpd/lighttpd.rrd ]; then
+	touch /var/lib/lighttpd/lighttpd.rrd
+	chown lighttpd:stats /var/lib/lighttpd/lighttpd.rrd
+	chmod 640 /var/lib/lighttpd/lighttpd.rrd
+%postun mod_rrdtool
 %triggerpostun -- %{name} < 1.4.18-10.1
 if [ -f /etc/lighttpd/conf.d/50_mod_extforward.conf.rpmsave ]; then
 	cp -f /etc/lighttpd/conf.d/91_mod_extforward.conf{,.rpmnew}
@@ -1375,6 +1409,10 @@ fi
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_proxy.conf
 %attr(755,root,root) %{pkglibdir}/mod_proxy.so
+%files mod_openssl
+%attr(755,root,root) %{pkglibdir}/mod_openssl.so
 %files mod_redirect
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_redirect.conf
@@ -1448,11 +1486,21 @@ fi
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_usertrack.conf
 %attr(755,root,root) %{pkglibdir}/mod_usertrack.so
+%files mod_vhostdb
+%attr(755,root,root) %{pkglibdir}/mod_vhostdb.so
+%attr(755,root,root) %{pkglibdir}/mod_vhostdb_ldap.so
+%attr(755,root,root) %{pkglibdir}/mod_vhostdb_mysql.so
 %files mod_webdav
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_webdav.conf
 %attr(755,root,root) %{pkglibdir}/mod_webdav.so
+%files mod_wstunnel
+%attr(755,root,root) %{pkglibdir}/mod_wstunnel.so
 %files php-spawned
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/php-spawned.conf

---- gitweb:


More information about the pld-cvs-commit mailing list