summaryrefslogtreecommitdiff
path: root/libre-testing
diff options
context:
space:
mode:
Diffstat (limited to 'libre-testing')
-rw-r--r--libre-testing/iceweasel/PKGBUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/libre-testing/iceweasel/PKGBUILD b/libre-testing/iceweasel/PKGBUILD
index 74cef31cf..3e61249df 100644
--- a/libre-testing/iceweasel/PKGBUILD
+++ b/libre-testing/iceweasel/PKGBUILD
@@ -110,6 +110,20 @@ prepare() {
# Install to /usr/lib/$pkgname
patch -Np1 -i "$srcdir/$pkgname-install-dir.patch"
+ # Disable various components at the source level
+ sed -i 's|1|0|' toolkit/components/telemetry/TelemetryStartup.manifest || die "failed break telemetry startup"
+ sed -i 's|1|0|' toolkit/components/remotebrowserutils/remotebrowserutils.manifest || die "failed break remotebrowsing at startup"
+ sed -i 's|1|0|' toolkit/components/captivedetect/CaptivePortalDetectComponents.manifest || die "failed to break captiveportaldetection at startup"
+ sed -i 's|1|0|' toolkit/components/terminator/terminator.manifest || die "failed to break terminator at startup"
+ sed -i 's|1|0|' toolkit/components/securityreporter/SecurityReporter.manifest || die "failed to break securityReporter"
+ sed -i 's|1|0|' toolkit/components/crashes/CrashService.manifest || die "failed to break CrashService"
+ sed -i 's|1|0|' toolkit/components/crashmonitor/crashmonitor.manifest || die "failed to break CrashMonitor"
+ sed -i 's|1|0|' dom/apps/Webapps.manifest || die "failed to break WebApps"
+ sed -i 's|1|0|' dom/apps/AppsService.manifest || die "failed to break AppsService"
+ sed -i 's|1|0|' browser/experiments/Experiments.manifest || die "failed to break ExperimentsService"
+ echo "Battling the Barlog... please wait" && grep -rl '.mozilla.org' | xargs sed -i 's|aus4.mozilla.org|null|;s|aus5.mozilla.org|null|' || die "Failed to defeat the Barlog"
+ echo "" > browser/extensions/moz.build || die "failed to wipe spying extensions"
+
# Patch and remove anything that's left
patch -Np1 -i "$srcdir/libre.patch"
sed -i 's|Adobe Flash|SWF Player|g;