[packages/lighttpd] config for mod_uploadprogress
glen
glen at pld-linux.org
Sun Oct 16 17:16:55 CEST 2016
commit 64fc15896d7ed6f715b62455318802d14aba549b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Oct 16 18:02:58 2016 +0300
config for mod_uploadprogress
lighttpd-mod_uploadprogress.conf | 16 ++++++++++++++++
lighttpd.spec | 3 +++
2 files changed, 19 insertions(+)
---
diff --git a/lighttpd.spec b/lighttpd.spec
index 1ad2005..671ffba 100644
--- a/lighttpd.spec
+++ b/lighttpd.spec
@@ -94,6 +94,7 @@ Source135: %{name}-mod_extforward.conf
Source136: %{name}-mod_h264_streaming.conf
Source137: %{name}-mod_cgi_php.conf
Source138: %{name}-mod_compress.tmpwatch
+Source139: %{name}-mod_uploadprogress.conf
# use branch.sh script to create branch.diff
#Patch100: %{name}-branch.diff
## Patch100-md5: 7bd09235304c8bcb16f34d49d480c0fb
@@ -1004,6 +1005,7 @@ cp -p %{SOURCE123} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_ssi.conf
cp -p %{SOURCE124} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_staticfile.conf
cp -p %{SOURCE125} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_status.conf
cp -p %{SOURCE126} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_trigger_b4_dl.conf
+cp -p %{SOURCE139} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_uploadprogress.conf
cp -p %{SOURCE127} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_userdir.conf
cp -p %{SOURCE128} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_usertrack.conf
cp -p %{SOURCE129} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_webdav.conf
@@ -1392,6 +1394,7 @@ fi
%files mod_uploadprogress
%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_uploadprogress.conf
%attr(755,root,root) %{_libexecdir}/mod_uploadprogress.so
%files mod_userdir
diff --git a/lighttpd-mod_uploadprogress.conf b/lighttpd-mod_uploadprogress.conf
new file mode 100644
index 0000000..e8db906
--- /dev/null
+++ b/lighttpd-mod_uploadprogress.conf
@@ -0,0 +1,16 @@
+# Upload Progress module.
+#
+# Documentation: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModUploadProgress
+
+server.modules += (
+ "mod_uploadprogress"
+)
+
+# string, empty by default; use "/progress" (or something else) to enable the module
+#upload-progress.progress-url = "/progress"
+
+# integer, default: 60 seconds
+#upload-progress.remove-timeout = 30
+
+# boolean, default: "disable"
+#upload-progress.debug = "enable"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lighttpd.git/commitdiff/95722ee0a1424cebdaa2a35c3c1f26a38a2806e3
More information about the pld-cvs-commit
mailing list