]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
config for mod_uploadprogress
authorElan Ruusamäe <glen@delfi.ee>
Sun, 16 Oct 2016 15:02:58 +0000 (18:02 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 16 Oct 2016 15:04:16 +0000 (18:04 +0300)
lighttpd-mod_uploadprogress.conf [new file with mode: 0644]
lighttpd.spec

diff --git a/lighttpd-mod_uploadprogress.conf b/lighttpd-mod_uploadprogress.conf
new file mode 100644 (file)
index 0000000..e8db906
--- /dev/null
@@ -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"
index 1ad200527fd72ebead74ad2b32cf7d1716829b81..671ffba1830b7c090b895300d0eacdec1cb8e411 100644 (file)
@@ -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
This page took 0.036531 seconds and 4 git commands to generate.