naiveproxy: update to 90.0.4430.85-4 from Tianling shen

This commit is contained in:
Beginner-Go committed 2021-04-25 17:35:42 +00:00
1 parent 3b859869d1
commit fc2ccd2f4c
3 files changed
+17 -17

No files matched your search

+11 -11
View File
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=naiveproxy
PKG_VERSION:=89.0.4389.72-1
PKG_RELEASE:=2
PKG_VERSION:=90.0.4430.85-4
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/klzgrad/naiveproxy/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=94b1c3f1e63ecab43eb8006a38ed1a76f1e510364ba651abaef0ec575449f687
PKG_HASH:=eb94179e58625d0826c0353c8212da25dc4351cceceb1fc35dbcbec1fc892304
PKG_LICENSE:=BSD 3-Clause
PKG_LICENSE_FILES:=LICENSE
@@ -62,42 +62,42 @@ ifneq ($(CONFIG_CCACHE),)
export naive_ccache_flags=cc_wrapper="ccache"
endif
AFDO_VER:=89.0.4389.65_rc-r1-merged
AFDO_VER:=90.0.4430.53_rc-r1-merged
AFDO_FILE:=chromeos-chrome-amd64-$(AFDO_VER).afdo.bz2
define Download/AFDO_PROF
URL:=https://storage.googleapis.com.cnpmjs.org/chromeos-prebuilt/afdo-job/llvm \
https://storage.googleapis.com/chromeos-prebuilt/afdo-job/llvm
URL_FILE:=$(AFDO_FILE)
FILE:=$(AFDO_FILE)
HASH:=75a176d57c9b5fb12bff7e9442ddf21226df8aa25de19266f7ceb426eafd3421
HASH:=5cfc5e371459687a320b92e255995d377837843a1fabba6a01d432e932b5b761
endef
CLANG_VER:=llvmorg-12-init-16296-g5e476061-1
CLANG_VER:=llvmorg-13-init-1559-g01b87444-3
CLANG_FILE:=clang-$(CLANG_VER).tgz
define Download/CLANG
URL:=https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64
URL_FILE:=$(CLANG_FILE)
FILE:=$(CLANG_FILE)
HASH:=78729dfab39fb9d52ede2841e408cf505959b26a5d0b086ed7cf4f784f2b393a
HASH:=676448e180fb060d3983f24476a2136eac83c6011c600117686035634a2bbe26
endef
GN_VER:=595e3be7c8381d4eeefce62a63ec12bae9ce5140
GN_VER:=dfcbc6fed0a8352696f92d67ccad54048ad182b3
GN_FILE:=gn-git_revision-$(GN_VER).zip
define Download/GN_TOOL
URL:=https://chrome-infra-packages.appspot.com/dl/gn/gn/linux-amd64/+
URL_FILE:=git_revision:$(GN_VER)
FILE:=$(GN_FILE)
HASH:=9d61dcab3814868786768c9dfab71e0cd850a61dbad9a049536d2f1aae784fe4
HASH:=a150f403e2fa3f4464148ce5ec0735c8c6058577ef3fadffcdcf7aadba6ee8e1
endef
PGO_VER:=4389-1614333145-3fb545b30f8abc065d64d3b5af88abd66c7abb5e
PGO_VER:=4430-1618483786-646ea3f0575412a6f8d1607da5c9f7b4f0e5e58d
PGO_FILE:=chrome-linux-$(PGO_VER).profdata
define Download/PGO_PROF
URL:=https://storage.googleapis.com.cnpmjs.org/chromium-optimization-profiles/pgo_profiles \
https://storage.googleapis.com/chromium-optimization-profiles/pgo_profiles
URL_FILE:=$(PGO_FILE)
FILE:=$(PGO_FILE)
HASH:=2dafccee5abb30bcc2dc627cfd8af203cac17b522f66e3e4a90301a70d237ce1
HASH:=d781d7e72687d1897eb837ee4e404367b3fdd2e65c6f0f3b2e74a20dc001ef0e
endef
define Build/Prepare
@@ -18,10 +18,10 @@ Subject: [PATCH] Remove concurrency limit
#include <utility>
#include "base/bind.h"
@@ -35,7 +34,7 @@ NaiveProxy::NaiveProxy(std::unique_ptr<S
const NetworkTrafficAnnotationTag& traffic_annotation)
: listen_socket_(std::move(listen_socket)),
@@ -39,7 +38,7 @@ NaiveProxy::NaiveProxy(std::unique_ptr<ServerSocket> listen_socket,
protocol_(protocol),
listen_user_(listen_user),
listen_pass_(listen_pass),
- concurrency_(std::min(4, std::max(1, concurrency))),
+ concurrency_(concurrency),
resolver_(resolver),
@@ -29,7 +29,7 @@ Subject: [PATCH] Remove concurrency limit
net_log_(
--- a/src/net/tools/naive/naive_proxy_bin.cc
+++ b/src/net/tools/naive/naive_proxy_bin.cc
@@ -289,7 +289,7 @@ bool ParseCommandLine(const CommandLine&
@@ -299,7 +299,7 @@ bool ParseCommandLine(const CommandLine&
if (!cmdline.concurrency.empty()) {
if (!base::StringToInt(cmdline.concurrency, &params->concurrency) ||
@@ -37,4 +37,4 @@ Subject: [PATCH] Remove concurrency limit
+ params->concurrency < 1) {
std::cerr << "Invalid concurrency" << std::endl;
return false;
}
}
@@ -17,7 +17,7 @@ So, let's drop it in global build file.
--- a/src/BUILD.gn
+++ b/src/BUILD.gn
@@ -746,7 +746,6 @@ group("gn_all") {
@@ -749,7 +749,6 @@ group("gn_all") {
if (enable_nacl) {
deps += [ "//native_client/src/trusted/platform_qualify:vcpuid" ]
}