mirror-tarballs: apply new patches.

pull/295/head
Datong Sun 8 years ago
parent 9aa5952628
commit e577f962a0
No known key found for this signature in database
GPG Key ID: CF7004EE981151C8

@ -41,6 +41,21 @@ if [ "$answer" = "N" ]; then
echo
fi
answer=`$root/util/ver-ge "$main_ver" 1.13.3`
if [ "$answer" = "Y" ]; then
echo "$info_txt applying the stream_balancer_export patch for nginx"
patch -p1 < $root/patches/nginx-$main_ver-stream_balancer_export.patch || exit 1
echo
echo "$info_txt applying the stream_proxy_get_next_upstream_tries patch for nginx"
patch -p1 < $root/patches/nginx-$main_ver-stream_proxy_get_next_upstream_tries.patch || exit 1
echo
echo "$info_txt applying the stream_proxy_timeout_fields patch for nginx"
patch -p1 < $root/patches/nginx-$main_ver-stream_proxy_timeout_fields.patch || exit 1
echo
fi
answer=`$root/util/ver-ge "$main_ver" 1.5.12`
if [ "$answer" = "N" ]; then
echo "$info_txt applying the patch for nginx security advisory (CVE-2014-0133)"

Loading…
Cancel
Save