squid: update to 4.14
This commit is contained in:
parent
1775e78353
commit
8bc3af4f58
@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=http://www.squid-cache.org
|
||||
TERMUX_PKG_DESCRIPTION="Full-featured Web proxy cache server"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=4.13
|
||||
TERMUX_PKG_VERSION=4.14
|
||||
TERMUX_PKG_SRCURL=http://squid.mirror.globo.tech/archive/4/squid-$TERMUX_PKG_VERSION.tar.xz
|
||||
TERMUX_PKG_SHA256=6891a0f540e60779b4f24f1802a302f813c6f473ec7336a474ed68c3e2e53ee0
|
||||
TERMUX_PKG_SHA256=f1097daa6434897c159bc100978b51347c0339041610845d0afa128151729ffc
|
||||
TERMUX_PKG_DEPENDS="libc++, libcrypt, libxml2, libltdl, libgnutls, resolv-conf"
|
||||
|
||||
#disk-io uses XSI message queue which are not available on Android.
|
||||
|
@ -1,27 +0,0 @@
|
||||
diff -uNr squid-4.8/src/esi/VarState.cc squid-4.8.mod/src/esi/VarState.cc
|
||||
--- squid-4.8/src/esi/VarState.cc 2019-07-09 22:05:20.000000000 +0300
|
||||
+++ squid-4.8.mod/src/esi/VarState.cc 2019-09-23 17:31:10.292888618 +0300
|
||||
@@ -150,7 +150,7 @@
|
||||
{
|
||||
char const *t;
|
||||
int len;
|
||||
- t = index(s,'/');
|
||||
+ t = strchr(s,'/');
|
||||
|
||||
if (!t || !*(++t))
|
||||
return xstrdup("");
|
||||
@@ -328,12 +328,12 @@
|
||||
|
||||
if ((t = strstr (s, "MSIE"))) {
|
||||
browser = ESI_BROWSER_MSIE;
|
||||
- t = index (t, ' ');
|
||||
+ t = strchr (t, ' ');
|
||||
|
||||
if (!t)
|
||||
browserversion = xstrdup("");
|
||||
else {
|
||||
- t1 = index(t, ';');
|
||||
+ t1 = strchr(t, ';');
|
||||
|
||||
if (!t1)
|
||||
browserversion = xstrdup(t + 1);
|
Loading…
Reference in New Issue
Block a user