]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd.spec
- randomize test port on builders on same hardware
[packages/lighttpd.git] / lighttpd.spec
index d91119696e97dabc81b0d9b49d21be2cbf7fa80f..598d398ea1c388b8ac6540f814788ad8c7450725 100644 (file)
@@ -96,9 +96,10 @@ Patch0:              %{name}-use_bin_sh.patch
 Patch1:                %{name}-mod_evasive-status_code.patch
 Patch2:                %{name}-mod_h264_streaming.patch
 Patch3:                %{name}-branding.patch
-#Patch4:               %{name}-modinit-before-fork.patch
 Patch5:                %{name}-mod_deflate.patch
-#Patch8:               %{name}-errorlog-before-fork.patch
+Patch6:                test-port-setup.patch
+#Patch:                %{name}-modinit-before-fork.patch
+#Patch:                %{name}-errorlog-before-fork.patch
 URL:           http://www.lighttpd.net/
 %{?with_xattr:BuildRequires:   attr-devel}
 BuildRequires: autoconf >= 2.57
@@ -826,6 +827,7 @@ Plik monitrc do monitorowania serwera www lighttpd.
 %patch2 -p1
 %patch3 -p1
 %{?with_deflate:%patch5 -p1}
+%patch6 -p1
 
 rm -f src/mod_ssi_exprparser.h # bad patching: should be removed by is emptied instead
 
@@ -866,6 +868,7 @@ fi
 %{__make} -j1
 
 %if %{with tests}
+export LIGHTTPD_TEST_PORT=$((2048 + RANDOM % 10))
 %{__make} check
 %endif
 
This page took 0.033072 seconds and 4 git commands to generate.