forked from pool/varnish
Accepting request 689081 from server:http
6.2.0 OBS-URL: https://build.opensuse.org/request/show/689081 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/varnish?expand=0&rev=25
This commit is contained in:
commit
3a592e4086
@ -1,3 +1,6 @@
|
|||||||
|
From: antoine.belvire@opensuse.org
|
||||||
|
Date: Fri Jun 23 19:42:07 UTC 2017
|
||||||
|
|
||||||
GCC 7 introduces new warnings, including implicit fallthrough in switch blocks;
|
GCC 7 introduces new warnings, including implicit fallthrough in switch blocks;
|
||||||
see https://gcc.gnu.org/gcc-7/changes.html#c-family. This warnings are turned
|
see https://gcc.gnu.org/gcc-7/changes.html#c-family. This warnings are turned
|
||||||
into errors in our case (-Werror).
|
into errors in our case (-Werror).
|
||||||
@ -9,18 +12,16 @@ Note that most of these warnings are located in lib/libvgz, which will be
|
|||||||
upgraded in a future release (see commit 5fae561 on master branch at
|
upgraded in a future release (see commit 5fae561 on master branch at
|
||||||
https://github.com/varnishcache/varnish-cache/commit/5fae561).
|
https://github.com/varnishcache/varnish-cache/commit/5fae561).
|
||||||
|
|
||||||
--
|
|
||||||
---
|
---
|
||||||
bin/varnishadm/varnishadm.c | 1 +
|
bin/varnishadm/varnishadm.c | 1 +
|
||||||
lib/libvgz/infback.c | 1 +
|
|
||||||
lib/libvgz/inflate.c | 18 ++++++++++++++++++
|
lib/libvgz/inflate.c | 18 ++++++++++++++++++
|
||||||
3 files changed, 20 insertions(+)
|
2 files changed, 19 insertions(+)
|
||||||
|
|
||||||
Index: varnish-6.0.0/bin/varnishadm/varnishadm.c
|
Index: varnish-6.2.0/bin/varnishadm/varnishadm.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- varnish-6.0.0.orig/bin/varnishadm/varnishadm.c
|
--- varnish-6.2.0.orig/bin/varnishadm/varnishadm.c
|
||||||
+++ varnish-6.0.0/bin/varnishadm/varnishadm.c
|
+++ varnish-6.2.0/bin/varnishadm/varnishadm.c
|
||||||
@@ -452,6 +452,7 @@ main(int argc, char * const *argv)
|
@@ -439,6 +439,7 @@ main(int argc, char * const *argv)
|
||||||
case 'h':
|
case 'h':
|
||||||
/* Usage help */
|
/* Usage help */
|
||||||
usage(0);
|
usage(0);
|
||||||
@ -28,22 +29,10 @@ Index: varnish-6.0.0/bin/varnishadm/varnishadm.c
|
|||||||
case 'n':
|
case 'n':
|
||||||
n_arg = optarg;
|
n_arg = optarg;
|
||||||
break;
|
break;
|
||||||
Index: varnish-6.0.0/lib/libvgz/infback.c
|
Index: varnish-6.2.0/lib/libvgz/inflate.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- varnish-6.0.0.orig/lib/libvgz/infback.c
|
--- varnish-6.2.0.orig/lib/libvgz/inflate.c
|
||||||
+++ varnish-6.0.0/lib/libvgz/infback.c
|
+++ varnish-6.2.0/lib/libvgz/inflate.c
|
||||||
@@ -477,6 +477,7 @@ void FAR *out_desc;
|
|
||||||
}
|
|
||||||
Tracev((stderr, "inflate: codes ok\n"));
|
|
||||||
state->mode = LEN;
|
|
||||||
+ /* FALLTHROUGH */
|
|
||||||
|
|
||||||
case LEN:
|
|
||||||
/* use inflate_fast() if we have enough input and output */
|
|
||||||
Index: varnish-6.0.0/lib/libvgz/inflate.c
|
|
||||||
===================================================================
|
|
||||||
--- varnish-6.0.0.orig/lib/libvgz/inflate.c
|
|
||||||
+++ varnish-6.0.0/lib/libvgz/inflate.c
|
|
||||||
@@ -747,6 +747,7 @@ int flush;
|
@@ -747,6 +747,7 @@ int flush;
|
||||||
CRC2(state->check, hold);
|
CRC2(state->check, hold);
|
||||||
INITBITS();
|
INITBITS();
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c7b2839c95b2bf1f336abc20b5d8b149c3aa72deff142f2379d1d431206b0bee
|
|
||||||
size 3033621
|
|
3
varnish-6.2.0.tgz
Normal file
3
varnish-6.2.0.tgz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c37af353aca25a83d22f9c5ce0ae800fe433e4d02e1457e02886a5849f988e53
|
||||||
|
size 3207400
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 27 10:01:08 UTC 2019 - Samu Voutilainen <smar@smar.fi>
|
||||||
|
|
||||||
|
- Updated to 6.2.0
|
||||||
|
* Added a thread pool watchdog which will restart the worker
|
||||||
|
process if scheduling tasks onto worker threads appears
|
||||||
|
stuck. The new parameter "thread_pool_watchdog" configures
|
||||||
|
it.
|
||||||
|
- Disabled error for clobbering, which caused bogus
|
||||||
|
error in varnishtest
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 2 06:47:32 UTC 2018 - jengelh@inai.de
|
Wed May 2 06:47:32 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
15
varnish.spec
15
varnish.spec
@ -21,12 +21,12 @@
|
|||||||
%define _fillupdir /var/adm/fillup-templates
|
%define _fillupdir /var/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%define library_name libvarnishapi1
|
%define library_name libvarnishapi2
|
||||||
%define pkg_home %_localstatedir/lib/%name
|
%define pkg_home %_localstatedir/lib/%name
|
||||||
%define pkg_logdir %_localstatedir/log/%name
|
%define pkg_logdir %_localstatedir/log/%name
|
||||||
%define pkg_cachedir %_localstatedir/cache/%name
|
%define pkg_cachedir %_localstatedir/cache/%name
|
||||||
Name: varnish
|
Name: varnish
|
||||||
Version: 6.0.0
|
Version: 6.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Accelerator for HTTP services
|
Summary: Accelerator for HTTP services
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
@ -39,9 +39,9 @@ Source3: varnish.sysconfig
|
|||||||
Source5: varnish.logrotate
|
Source5: varnish.logrotate
|
||||||
Source7: varnish.service
|
Source7: varnish.service
|
||||||
Source8: varnishlog.service
|
Source8: varnishlog.service
|
||||||
# PATCH-FIX-UPSTREAM varnish-5.1.2-add-fallthrough-comments.patch -- Fix build with GCC 7
|
Patch1: varnish-5.1.2-add-fallthrough-comments.patch
|
||||||
Patch: varnish-5.1.2-add-fallthrough-comments.patch
|
|
||||||
BuildRequires: python3-docutils
|
BuildRequires: python3-docutils
|
||||||
|
BuildRequires: python3-Sphinx
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
@ -95,11 +95,10 @@ over the HTTP protocol.
|
|||||||
This package holds the development files for varnish.
|
This package holds the development files for varnish.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%optflags -fstack-protector"
|
export CFLAGS="%optflags -fstack-protector -Wno-error=clobbered"
|
||||||
%ifarch %ix86
|
%ifarch %ix86
|
||||||
export CFLAGS="$CFLAGS -ffloat-store -fexcess-precision=standard"
|
export CFLAGS="$CFLAGS -ffloat-store -fexcess-precision=standard"
|
||||||
%endif
|
%endif
|
||||||
@ -186,7 +185,7 @@ fi
|
|||||||
|
|
||||||
%files -n %library_name
|
%files -n %library_name
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%_libdir/libvarnishapi.so.1*
|
%_libdir/libvarnishapi.so.2*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
Reference in New Issue
Block a user