summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Hofmann2021-01-03 11:15:29 +0100
committerPeter Hofmann2021-01-03 11:15:29 +0100
commitc302e54897d991dc02efca750ef565abb1d155ad (patch)
tree2ca3588a3a5fd15de90679ae4cf44478265c091c
parent459b2ea3c82d12491db23cfc24af531cbd6c74b2 (diff)
downloadaur-c302e54897d991dc02efca750ef565abb1d155ad.tar.gz
Web extensions must be copied
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--lariza.install15
3 files changed, 14 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5fd647f88acb..43f17a8c93b8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = lariza-git
pkgdesc = Simple WebKit2GTK+ Browser
- pkgver = 20.04.26.g7d1cc80
+ pkgver = 20.08.1.g3a7f696
pkgrel = 1
url = https://uninformativ.de/git/lariza
install = lariza.install
diff --git a/PKGBUILD b/PKGBUILD
index 684dee50aaf9..5549f483eeba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Vain <aurmaint1 on host: uninformativ dot de>
pkgname=lariza-git
-pkgver=20.04.26.g7d1cc80
+pkgver=20.08.1.g3a7f696
pkgrel=1
pkgdesc="Simple WebKit2GTK+ Browser"
arch=('i686' 'x86_64')
diff --git a/lariza.install b/lariza.install
index b0ad169f44ea..caa7003dab98 100644
--- a/lariza.install
+++ b/lariza.install
@@ -7,17 +7,26 @@ symlinks in your ~/.config/lariza/user-scripts/. For example:
$ cd ~/.config/lariza/user-scripts
$ ln -s /usr/share/lariza/user-scripts/hints.js
-If you wish to use any web extensions, please create appropriate
-symlinks in your ~/.config/lariza/web_extensions/. For example:
+If you wish to use any web extensions, please copy the files to your
+~/.config/lariza/web_extensions/. For example:
$ cd ~/.config/lariza/web_extensions
- $ ln -s /usr/lib/lariza/web_extensions/we_adblock.so
+ $ cp /usr/lib/lariza/web_extensions/we_adblock.so .
EOM
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
+ if [ "$(vercmp "$2" 21.01-1)" -lt 1 ]; then
+ cat <<EOM
+>>> IMPORTANT CHANGES
+
+Symlinks in ~/.config/lariza/web_extensions no longer work due to WebKit
+sandboxing. If you use any web extensions, you must COPY the files to
+this directory.
+EOM
+ fi
if [ "$(vercmp "$2" 16.06-1)" -lt 1 ]; then
cat <<EOM
>>> IMPORTANT CHANGES