diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
commit | 90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch) | |
tree | 83fc5facb6b12be510a37bc3d241cc63e965b13a /www-servers/varnish | |
parent | feb0daf81d888e9160f9f94502de09b66f2a63fd (diff) |
gentoo resync : 29.06.2020
Diffstat (limited to 'www-servers/varnish')
-rw-r--r-- | www-servers/varnish/Manifest | 2 | ||||
-rw-r--r-- | www-servers/varnish/files/fix-build-x86.patch | 25 | ||||
-rw-r--r-- | www-servers/varnish/files/varnish-5.2.0-fix-import.patch | 66 |
3 files changed, 0 insertions, 93 deletions
diff --git a/www-servers/varnish/Manifest b/www-servers/varnish/Manifest index e8cbc1bc1ce1..e480b1ca326f 100644 --- a/www-servers/varnish/Manifest +++ b/www-servers/varnish/Manifest @@ -1,5 +1,3 @@ -AUX fix-build-x86.patch 871 BLAKE2B 2d08a9e541ce5cc23910124d6bba677bd17287e7158f20395d61bcae3c92fb1a813244051561af71a8482ad47d22659df37f8bd00a54df169e84d4c2ce7a7bd2 SHA512 b46ab9cbfc5e7e4a75d1caf624fab453338531a19a8653550347fc233652199977ea907ba79e4db7822cb5c24f12f48aa765e4d582ba1bbd43edaf88d6b05d7c -AUX varnish-5.2.0-fix-import.patch 1743 BLAKE2B 7b5e428653b419219a3001a95f57bf4b473a1d11c47e66f821a77e90b235467847a356e4c08c5a95e2f33e78e0d1c95ddcd4d461ad28867b4827b99e2573a0ad SHA512 bb64ddd0c15279b448a091b20aff4b36270b42b4d3e7389f98d0c9e54303d47d676eb90e1735e614bcede788466c291a8f809bdea733ddef8ad4f24bd645daf0 AUX varnishd.confd-r4 519 BLAKE2B 18d867add08324ad9ea8b829a747e21c450d6c1f724e18c4318d21ba1647250073d443ea63d721585dc2a274d490a9fb76f14d5e725cc62f483b45be45220463 SHA512 98c8901e53f3c6adb908b9eb01fd441ea53f3c54d4a79aecb1fb1eddfa2fc93de3d0de403a4464a9baff15873b3a20623837e3a37cb225e924a329e32b9e37d6 AUX varnishd.initd-r4 1573 BLAKE2B 79a6583ea337857c58eafcf6dff5cd9646a871116adca6aa5a956bf25b8474394d850afb3c296cc5c920bad0176ca144a486b7202d3a94e7ab7e4688c552be5d SHA512 5ac7867e85cbd721f903c524ed4b524423d9dada4acfeefb0e543214a208828df5cc4efe2f012991bea6b38c2b223c24b17d3890ec4ed2c57d2b441b8e5a6900 AUX varnishd.logrotate-r2 470 BLAKE2B c44ccd8198458031b977e3d0d1b6ef1a0c824554b7b1d9745e6bbbcddb7cf1c9ba23bd72472361bfda803f9691276433f3af422819aa3e6e8e5436f66cc47097 SHA512 51cc6d46ff7439de93977ab87dfb0af399458c1e446475696f73342ae7a0c1a8ca8fc6e79e593659f1af30716a5f8a1ee5e3b1f5e7b35df40b45d47e7b0f2ffd diff --git a/www-servers/varnish/files/fix-build-x86.patch b/www-servers/varnish/files/fix-build-x86.patch deleted file mode 100644 index acacd3b9d610..000000000000 --- a/www-servers/varnish/files/fix-build-x86.patch +++ /dev/null @@ -1,25 +0,0 @@ -See https://bugs.gentoo.org/show_bug.cgi?id=620952 - -From 54b5a09f00c027da280361b30d32a4ff309ba3ab Mon Sep 17 00:00:00 2001 -From: Poul-Henning Kamp <phk@FreeBSD.org> -Date: Tue, 28 Mar 2017 18:44:12 +0000 -Subject: [PATCH] Try to confuse GCC to not doing FP brain-damage. - -Fixes #1875 (maybe) ---- - bin/varnishd/mgt/mgt_param_tweak.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/bin/varnishd/mgt/mgt_param_tweak.c b/bin/varnishd/mgt/mgt_param_tweak.c -index 12a7a52ef..b26581e2e 100644 ---- a/bin/varnishd/mgt/mgt_param_tweak.c -+++ b/bin/varnishd/mgt/mgt_param_tweak.c -@@ -52,7 +52,7 @@ static int - tweak_generic_double(struct vsb *vsb, volatile double *dest, - const char *arg, const char *min, const char *max, const char *fmt) - { -- double u, minv = 0, maxv = 0; -+ volatile double u, minv = 0, maxv = 0; - - if (arg != NULL) { - if (min != NULL) { diff --git a/www-servers/varnish/files/varnish-5.2.0-fix-import.patch b/www-servers/varnish/files/varnish-5.2.0-fix-import.patch deleted file mode 100644 index f83385a3f8e7..000000000000 --- a/www-servers/varnish/files/varnish-5.2.0-fix-import.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 17c92e43fda114bf5341e51d752e882238b8fe8c Mon Sep 17 00:00:00 2001 -From: Nils Goroll <nils.goroll@uplex.de> -Date: Thu, 5 Oct 2017 13:39:23 +0200 -Subject: [PATCH] hack up vsctool to work with python 2 and 3 - -StringIO does not exist any more in python3, yet requiring 2.7 would -not pave the path forward, so try to be compatible with both. - -Works for me on Python 2.7.9 and Python 3.4 - -I would appreciate if someone more fluent in serpentinous programming -language reviewed and/or rewrote this. ---- - lib/libvcc/vsctool.py | 24 ++++++++++++++++++++---- - 1 file changed, 20 insertions(+), 4 deletions(-) - -diff --git a/lib/libvcc/vsctool.py b/lib/libvcc/vsctool.py -index 854968e3b..829c6e518 100644 ---- a/lib/libvcc/vsctool.py -+++ b/lib/libvcc/vsctool.py -@@ -37,7 +37,10 @@ - import json - import sys - import gzip --import StringIO -+try: -+ import StringIO -+except ImportError: -+ import io - import collections - import struct - -@@ -54,9 +57,22 @@ - "format": [ "integer", FORMATS], - } - -+# http://python3porting.com/problems.html#bytes-strings-and-unicode -+if sys.version_info < (3,): -+ def b(x): -+ return x -+else: -+ import codecs -+ def b(x): -+ return codecs.latin_1_encode(x)[0] -+ - def gzip_str(s): -- out = StringIO.StringIO() -- gzip.GzipFile(fileobj=out, mode="w").write(s) -+ try: -+ out = StringIO.StringIO() -+ except NameError: -+ out = io.BytesIO() -+ -+ gzip.GzipFile(fileobj=out, mode="w").write(b(s)) - out.seek(4) - out.write(struct.pack("<L", 0x12bfd58)) - return out.getvalue() -@@ -285,7 +301,7 @@ class rst_vsc(directive): - def __init__(self, s): - super(rst_vsc, self).__init__(s) - -- for i,v in PARAMS.iteritems(): -+ for i,v in PARAMS.items(): - if v is not True: - self.do_default(i, v[0], v[1]) - |