summaryrefslogtreecommitdiff
path: root/nonprism
diff options
context:
space:
mode:
authorFreemor <freemor@freemor.ca>2018-10-28 15:08:31 -0300
committerFreemor <freemor@freemor.ca>2018-10-28 15:08:31 -0300
commitd485f24df58a49af09892a68df0e4b3ee1ada97d (patch)
treebabac24de2abb4e171ed506207c1b4cd4c9413e1 /nonprism
parentb64f00cf945362dc328dfbd77de00621d90534e9 (diff)
downloadabslibre-d485f24df58a49af09892a68df0e4b3ee1ada97d.tar.gz
abslibre-d485f24df58a49af09892a68df0e4b3ee1ada97d.tar.bz2
abslibre-d485f24df58a49af09892a68df0e4b3ee1ada97d.zip
Tweak [iceweasel-hardened-preferences] to make it work with v61+
- rename iceweasel-branding.js to iceweasel-hardeded.prefs to stop regular iceweasel loading it. - Tweak the iceweasel-hardened script to use the renamed file.
Diffstat (limited to 'nonprism')
-rw-r--r--nonprism/iceweasel-hardened-preferences/PKGBUILD8
-rw-r--r--nonprism/iceweasel-hardened-preferences/iceweasel-hardened.prefs (renamed from nonprism/iceweasel-hardened-preferences/iceweasel-branding.js)0
-rwxr-xr-xnonprism/iceweasel-hardened-preferences/iceweasel-hardened.sh2
3 files changed, 5 insertions, 5 deletions
diff --git a/nonprism/iceweasel-hardened-preferences/PKGBUILD b/nonprism/iceweasel-hardened-preferences/PKGBUILD
index 9fc5eccf7..da75ff426 100644
--- a/nonprism/iceweasel-hardened-preferences/PKGBUILD
+++ b/nonprism/iceweasel-hardened-preferences/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=iceweasel-hardened-preferences
pkgver=1.0
-pkgrel=2
+pkgrel=3
pkgdesc="Hardened preferences script which runs Iceweasel to protect from a variety of privacy, security, and fingerprinting attacks."
arch=(any)
license=(MPL)
@@ -17,15 +17,15 @@ url="https://wiki.parabola.nu/${pkgname%%-*}"
install=iceweasel-hardened.install
source=('firefox-branding.js'
'iceweasel-hardened.sh'
-'iceweasel-branding.js'
+'iceweasel-hardened.prefs'
'iceweasel-hardened.install')
sha512sums=('cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e'
- '10414e863be42086221fc04cfeaadd4790dc3af138b1ecaaf70e237087de4cfa64af544f7c750691f4a197a7ad8951f64b8f7398fae6cf991031f73735271be0'
+ '511f8de16b5f34ee979144468c87ecbbc3394e01f460d522335b0d1e232d6576fa164a7300c392b9e4722f78de5ca0527f42841674e5370309715aa14c3a2bf3'
'f0062cf0b353cff37817154e256279e1cd1de90b9515385571964540ae3a1c1c309418fddfab1742b5b02819af1b96ab8b0c44c27cf5ef346d5495fa3af46ec8'
'e9baa13d50195ff5be507093c45c00bb06a77c9e633ac183ec2fd74eebb11bfc07bde334fe4455b763e8700cde146ae223578ebd8d13066739220502b6eebff6')
package() {
- install -Dm644 iceweasel-branding.js "$pkgdir"/usr/lib/iceweasel/browser/defaults/preferences/iceweasel-branding.js
+ install -Dm644 iceweasel-hardened.prefs "$pkgdir"/usr/lib/iceweasel/browser/defaults/preferences/iceweasel-hardened.prefs
install -Dm766 firefox-branding.js "$pkgdir"/usr/lib/iceweasel/browser/defaults/preferences/firefox-branding.js
install -Dm755 iceweasel-hardened.sh "$pkgdir"/usr/bin/iceweasel-hardened
}
diff --git a/nonprism/iceweasel-hardened-preferences/iceweasel-branding.js b/nonprism/iceweasel-hardened-preferences/iceweasel-hardened.prefs
index 399cfda50..399cfda50 100644
--- a/nonprism/iceweasel-hardened-preferences/iceweasel-branding.js
+++ b/nonprism/iceweasel-hardened-preferences/iceweasel-hardened.prefs
diff --git a/nonprism/iceweasel-hardened-preferences/iceweasel-hardened.sh b/nonprism/iceweasel-hardened-preferences/iceweasel-hardened.sh
index d25cf1c55..6222861c7 100755
--- a/nonprism/iceweasel-hardened-preferences/iceweasel-hardened.sh
+++ b/nonprism/iceweasel-hardened-preferences/iceweasel-hardened.sh
@@ -7,7 +7,7 @@ echo "Closing any other instances of Iceweasel to avoid crashes..."
pkill -x iceweasel
wait
echo "Copying Hardened Prefs..."
-cp /usr/lib/iceweasel/browser/defaults/preferences/iceweasel-branding.js /usr/lib/iceweasel/browser/defaults/preferences/firefox-branding.js
+cp /usr/lib/iceweasel/browser/defaults/preferences/iceweasel-hardened.prefs /usr/lib/iceweasel/browser/defaults/preferences/firefox-branding.js
wait
echo "Waking the Iceweasel..."