mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/chromium to 45.0.2454.85-1
This commit is contained in:
parent
980076b76f
commit
32aaa019ab
3 changed files with 4 additions and 80 deletions
|
@ -1,33 +0,0 @@
|
|||
From 1da1e686a87ad9f95d26786d2b53a1a4c280189f Mon Sep 17 00:00:00 2001
|
||||
From: agl <agl@chromium.org>
|
||||
Date: Wed, 20 May 2015 13:20:29 -0700
|
||||
Subject: [PATCH] NSS: reject DH groups smaller than 1024 bits.
|
||||
|
||||
Since some platforms are still using NSS for now, this change mirrors https://boringssl-review.googlesource.com/#/c/4813/ in NSS.
|
||||
|
||||
BUG=490240
|
||||
|
||||
Review URL: https://codereview.chromium.org/1143303002
|
||||
|
||||
Cr-Commit-Position: refs/heads/master@{#330791}
|
||||
---
|
||||
net/third_party/nss/ssl/ssl3con.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/net/third_party/nss/ssl/ssl3con.c b/net/third_party/nss/ssl/ssl3con.c
|
||||
index 89c98ea..861d434 100644
|
||||
--- a/net/third_party/nss/ssl/ssl3con.c
|
||||
+++ b/net/third_party/nss/ssl/ssl3con.c
|
||||
@@ -6946,7 +6946,8 @@ ssl3_HandleServerKeyExchange(sslSocket *ss, SSL3Opaque *b, PRUint32 length)
|
||||
if (rv != SECSuccess) {
|
||||
goto loser; /* malformed. */
|
||||
}
|
||||
- if (dh_p.len < 512/8) {
|
||||
+ if (dh_p.len < 1024/8 ||
|
||||
+ (dh_p.len == 1024/8 && (dh_p.data[0] & 0x80) == 0)) {
|
||||
errCode = SSL_ERROR_WEAK_SERVER_EPHEMERAL_DH_KEY;
|
||||
goto alert_loser;
|
||||
}
|
||||
--
|
||||
2.4.2
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
From aa9abe7692a3ee99b69811594938d97cb180351e Mon Sep 17 00:00:00 2001
|
||||
From: avi <avi@chromium.org>
|
||||
Date: Wed, 20 May 2015 13:57:17 -0700
|
||||
Subject: [PATCH] Use the correct URL for ERR_SSL_WEAK_SERVER_EPHEMERAL_DH_KEY
|
||||
errors.
|
||||
|
||||
BUG=490260,490240
|
||||
TEST=as in bug
|
||||
|
||||
Review URL: https://codereview.chromium.org/1148943002
|
||||
|
||||
Cr-Commit-Position: refs/heads/master@{#330799}
|
||||
---
|
||||
chrome/common/localized_error.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/chrome/common/localized_error.cc b/chrome/common/localized_error.cc
|
||||
index 0c4ad43..1ea56b1 100644
|
||||
--- a/chrome/common/localized_error.cc
|
||||
+++ b/chrome/common/localized_error.cc
|
||||
@@ -49,7 +49,7 @@ namespace {
|
||||
static const char kRedirectLoopLearnMoreUrl[] =
|
||||
"https://www.google.com/support/chrome/bin/answer.py?answer=95626";
|
||||
static const char kWeakDHKeyLearnMoreUrl[] =
|
||||
- "http://sites.google.com/a/chromium.org/dev/"
|
||||
+ "https://www.chromium.org/administrators/"
|
||||
"err_ssl_weak_server_ephemeral_dh_key";
|
||||
#if defined(OS_CHROMEOS)
|
||||
static const char kAppWarningLearnMoreUrl[] =
|
||||
--
|
||||
2.4.2
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
buildarch=4
|
||||
|
||||
pkgname=chromium
|
||||
pkgver=44.0.2403.157
|
||||
pkgver=45.0.2454.85
|
||||
pkgrel=1
|
||||
_launcher_ver=2
|
||||
pkgdesc="The open-source project behind Google Chrome, an attempt at creating a safer, faster, and more stable browser"
|
||||
|
@ -31,8 +31,7 @@ license=('BSD')
|
|||
depends=('gtk2' 'nss' 'alsa-lib' 'xdg-utils' 'bzip2' 'libevent' 'libxss' 'icu'
|
||||
'libexif' 'libgcrypt' 'ttf-font' 'systemd' 'dbus' 'flac' 'snappy'
|
||||
'speech-dispatcher' 'pciutils' 'libpulse' 'harfbuzz' 'libsecret'
|
||||
'libvpx' 'perl' 'perl-file-basedir' 'desktop-file-utils'
|
||||
'hicolor-icon-theme')
|
||||
'perl' 'perl-file-basedir' 'desktop-file-utils' 'hicolor-icon-theme')
|
||||
makedepends=('python2' 'gperf' 'yasm' 'mesa' 'ninja')
|
||||
optdepends=('kdebase-kdialog: needed for file dialogs in KDE'
|
||||
'gnome-keyring: for storing passwords in GNOME keyring'
|
||||
|
@ -43,18 +42,14 @@ install=chromium.install
|
|||
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
|
||||
chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz
|
||||
chromium.desktop
|
||||
0001-NSS-reject-DH-groups-smaller-than-1024-bits.patch
|
||||
0001-Use-the-correct-URL-for-ERR_SSL_WEAK_SERVER_EPHEMERA.patch
|
||||
arm-webrtc-fix.patch
|
||||
chromium-arm-r0.patch
|
||||
v6-ffmpeg.patch
|
||||
0001-Demand-for-newer-POSIX-macro.patch
|
||||
chromium-widevine.patch)
|
||||
sha256sums=('e1a4d5fd030842684d69e840d411f45b4e5ccf377d7f131fe37ce1a13439f3b4'
|
||||
sha256sums=('3e8c03a5a6ea4cc35017404a58687ca18207eed70781bad7f2d7d70610934c91'
|
||||
'7f91c81721092d707d7b94e6555a48bc7fd0bc0e1174df4649bdcd745930e52f'
|
||||
'028a748a5c275de9b8f776f97909f999a8583a4b77fd1cd600b4fc5c0c3e91e9'
|
||||
'46daf921ed7eaab175f5a86b09357c69c33a10ffe1d4e7c24476af510c1b28d0'
|
||||
'8fb428244be7b50268a2848a34405c5551232e5c77f9e553cfdd3103979748d2'
|
||||
'3a1c589aa90c0597776d945d34638d43e2d40d93bc1962148815831a5122ac4e'
|
||||
'9db0f01517c52e3236ff52e8a664840542a19144a54923ae6aabea3dcfa92c52'
|
||||
'df4be49770d508b772f98eda9fc5f37fa71d4c0459437e12f7f3db5892aa1611'
|
||||
|
@ -74,12 +69,6 @@ _google_default_client_secret=0ZChLK6AxeA3Isu96MkwqDR4
|
|||
prepare() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
# https://code.google.com/p/chromium/issues/detail?id=490240
|
||||
patch -Np1 -i ../0001-NSS-reject-DH-groups-smaller-than-1024-bits.patch
|
||||
|
||||
# https://code.google.com/p/chromium/issues/detail?id=490260
|
||||
patch -Np1 -i ../0001-Use-the-correct-URL-for-ERR_SSL_WEAK_SERVER_EPHEMERA.patch
|
||||
|
||||
# Fix BoringSSL build with glibc 2.22 (FS#45965)
|
||||
patch -Np1 -d third_party/boringssl/src < ../0001-Demand-for-newer-POSIX-macro.patch
|
||||
|
||||
|
@ -173,7 +162,7 @@ fi
|
|||
-Duse_system_libevent=1
|
||||
-Duse_system_libjpeg=1
|
||||
-Duse_system_libpng=1
|
||||
-Duse_system_libvpx=1
|
||||
-Duse_system_libvpx=0
|
||||
-Duse_system_libxml=0
|
||||
-Duse_system_snappy=1
|
||||
-Duse_system_ssl=1
|
||||
|
|
Loading…
Reference in a new issue