summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg White2018-11-24 22:04:38 -0500
committerGreg White2018-11-24 22:04:38 -0500
commitc986d44cd1edf45acaf02a1e24e650950ac49367 (patch)
treed6f3c09d06ecf37035eac4aa6030aed2e2287d43
parenta8699900dcdb6e9763fe7c44c0d4658db0135db4 (diff)
downloadaur-c986d44cd1edf45acaf02a1e24e650950ac49367.tar.gz
Relax sandbox check
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--brave-dev-bin.sh2
3 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e15f8c6cba4..236c6b7722c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sun Nov 25 02:58:56 UTC 2018
+# Sun Nov 25 03:04:28 UTC 2018
pkgbase = brave-dev-bin
pkgdesc = Web browser that blocks ads and trackers by default (dev binary release).
pkgver = 0.58.9
- pkgrel = 1
+ pkgrel = 4
url = https://brave.com/download-dev
arch = x86_64
license = custom
@@ -29,7 +29,7 @@ pkgbase = brave-dev-bin
source = braveAbout.png
sha512sums = 53ab933555eec169fa2cc188d77a9fded24961d5cbdb00d4ea734cddcf088c35a8b5f147a8b855a2667c70f69d240b6010533722b71a9a3379998511643cd1df
sha512sums = b8823586fead21247c8208bd842fb5cd32d4cb3ca2a02339ce2baf2c9cb938dfcb8eb7b24c95225ae625cd0ee59fbbd8293393f3ed1a4b45d13ba3f9f62a791f
- sha512sums = 73f84e89ce0bf8d1c81c6d0447635707a5c7918ed04f060391753c61044875dccd315ff0c7e69380fc2944442a149d53b23dc9a66fa50d0ea6ecef9aff36a856
+ sha512sums = eaf7f37ba4d0796a11c47ed97c487dced7471241dd5697c6c363e84b90ca6fe22ec78a49388a5401b208b6dd6c93f5015d378790a1047a78b4cacd5bf67f4c70
sha512sums = b71da6c9d587294a015fdb417e3483bcad768be9c82224051980621963ddc314a235208dab1c4d3e71a8894972d1cf2f86f598d4b9953d8a9e85406066d75caa
sha512sums = d7bef52e336bd908d24bf3a084a1fc480831d27a3c80af4c31872465b6a0ce39bdf298e620ae9865526c974465807559cc75610b835e60b4358f65a8a8ff159e
diff --git a/PKGBUILD b/PKGBUILD
index 4811b151f4c..39f0b821f58 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=brave-dev-bin
pkgver=0.58.9
-pkgrel=1
+pkgrel=4
pkgdesc='Web browser that blocks ads and trackers by default (dev binary release).'
arch=('x86_64')
url='https://brave.com/download-dev'
@@ -21,7 +21,7 @@ source=("$pkgname-$pkgver.zip::https://github.com/brave/brave-browser/releases/d
options=(!strip)
sha512sums=('53ab933555eec169fa2cc188d77a9fded24961d5cbdb00d4ea734cddcf088c35a8b5f147a8b855a2667c70f69d240b6010533722b71a9a3379998511643cd1df'
'b8823586fead21247c8208bd842fb5cd32d4cb3ca2a02339ce2baf2c9cb938dfcb8eb7b24c95225ae625cd0ee59fbbd8293393f3ed1a4b45d13ba3f9f62a791f'
- '73f84e89ce0bf8d1c81c6d0447635707a5c7918ed04f060391753c61044875dccd315ff0c7e69380fc2944442a149d53b23dc9a66fa50d0ea6ecef9aff36a856'
+ 'eaf7f37ba4d0796a11c47ed97c487dced7471241dd5697c6c363e84b90ca6fe22ec78a49388a5401b208b6dd6c93f5015d378790a1047a78b4cacd5bf67f4c70'
'b71da6c9d587294a015fdb417e3483bcad768be9c82224051980621963ddc314a235208dab1c4d3e71a8894972d1cf2f86f598d4b9953d8a9e85406066d75caa'
'd7bef52e336bd908d24bf3a084a1fc480831d27a3c80af4c31872465b6a0ce39bdf298e620ae9865526c974465807559cc75610b835e60b4358f65a8a8ff159e')
noextract=("$pkgname-$pkgver.zip")
diff --git a/brave-dev-bin.sh b/brave-dev-bin.sh
index 0b06ccc7deb..de111848923 100644
--- a/brave-dev-bin.sh
+++ b/brave-dev-bin.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env sh
-if [[ ! (-r /proc/sys/kernel/unprivileged_userns_clone && $(< /proc/sys/kernel/unprivileged_userns_clone) == 1 && -n $(zcat /proc/config.gz | grep CONFIG_USER_NS=y) ) ]]; then
+if [[ ! -n $(zcat /proc/config.gz | grep CONFIG_USER_NS=y) ]]; then
>&2 echo "User namespaces are not detected as enabled on your system, brave will run with the sandbox disabled"
FLAG="--no-sandbox"
fi