2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 23:30:05 -07:00

firefox: Added policies.json

This commit is contained in:
Dylan Araps 2019-10-06 10:34:51 +03:00
parent 539da46d77
commit 633ef7c534
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
5 changed files with 25 additions and 3 deletions

View File

@ -12,7 +12,7 @@
make
make install
)
export PATH="$PWD/autoconf/bin:$PATH"
export PATH=$PWD/autoconf/bin:$PATH
unset MOZ_TELEMETRY_REPORTING
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox"
@ -24,7 +24,7 @@ for patch in *.patch; do
patch -p1 < "$patch"
done
./mach -j "$(nproc)" -l "$(nproc)" build
./mach build
DESTDIR="$1" ./mach install
rm -rf "$1/usr/include"
@ -37,3 +37,4 @@ rm -f "$1/usr/lib/firefox/browser/features/webcompat-reporter@mozilla.org.xpi"
rm -f "$1/usr/lib/firefox/browser/features/webcompat@mozilla.org.xpi"
install -D vendor.js "$1/usr/lib/firefox/browser/defaults/preferences/vendor.js"
install -D policies.json "$1/usr/lib/firefox/distribution/policies.json"

View File

@ -2,7 +2,8 @@
f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e autoconf-2.13.tar.gz
143c5f3348713eaa0850c9ba5b0233603a85764feda9fa5b267f9f4424d03f4c mozconfig
960d82bbfdc88c95f5cb4f2e1c1bf23dae7519b3b7203914d7b3ddbff1ba4c28 stab.h
ace06211bbd174b320fbb19e3ac8e34e71bd3ebf4cde1df0c5ebe613fd5d4f88 vendor.js
48d0cb26d434f8ed3f241110d72f919677bad845e731d6618ca23d7c7c3f52c1 vendor.js
d28a14540272b9872c339f48549a961c8a8911417b43c5fb82ad04e6142f08c5 policies.json
315880530f09175788dfa48a1915bfa1e190bfd3e267988b9100cb93006c808c fix-fortify-system-wrappers.patch
418a2a9f80c41ee004cb640968617cab283b99f3d109aaf6180b0088d60c84b0 fix-sandbox-membarrier.patch
14f281ee323aa682e04479019171bde243ac6227820856aa03b162179b14bfd9 fix-seccomp-bpf.patch

View File

@ -0,0 +1,17 @@
{
"policies": {
"DisableAppUpdate": true,
"DisableFirefoxStudies": true,
"DisablePocket": true,
"DisableTelemetry": true,
"DisableFirefoxStudies": true,
"DisableFeedbackCommands": true,
"DisableFirefoxScreenshots": true,
"DisableSystemAddonUpdate": true,
"DontCheckDefaultBrowser": true,
"ExtensionUpdate": false,
"NetworkPrediction": false,
"DontCheckDefaultBrowser": true,
"CaptivePortal": false
}
}

View File

@ -444,6 +444,8 @@ pref("extensions.getAddons.cache.enabled", false);
pref("lightweightThemes.update.enabled", false);
pref("extensions.systemAddon.update.enabled", false);
pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr", false);
pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
//
// STORAGE

View File

@ -3,6 +3,7 @@ https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz autoconf2.13/
files/mozconfig firefox/
files/stab.h firefox/toolkit/crashreporter/google-breakpad/src/
files/vendor.js firefox/
files/policies.json firefox/
patches/fix-fortify-system-wrappers.patch firefox/
patches/fix-sandbox-membarrier.patch firefox/
patches/fix-seccomp-bpf.patch firefox/