diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-09-22 08:11:00 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-09-22 08:11:00 -0300 |
commit | 96d52ca8793b8687c8551212a809eb82017eb648 (patch) | |
tree | e6c2fe49f67c04c0f429d026388f9ba2ed938a93 /libre-testing/iceweasel | |
parent | 68218eff74911f1d90b45d34270a6ab66ede8537 (diff) | |
download | abslibre-96d52ca8793b8687c8551212a809eb82017eb648.tar.gz abslibre-96d52ca8793b8687c8551212a809eb82017eb648.tar.bz2 abslibre-96d52ca8793b8687c8551212a809eb82017eb648.zip |
iceweasel: disable various components at the source level
Diffstat (limited to 'libre-testing/iceweasel')
-rw-r--r-- | libre-testing/iceweasel/PKGBUILD | 14 |
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; |