summaryrefslogtreecommitdiff
path: root/librewolf/debian
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-01-05 16:47:33 -0500
committerB. Stack <bgstack15@gmail.com>2022-01-05 16:47:33 -0500
commite154cfcc740662d19f5531c4303e6755301bef06 (patch)
tree9a0d3d4407a97d58d03971ca049ab89f577b50fb /librewolf/debian
parentadd initial lw d/ contents (diff)
downloadstackrpms-e154cfcc740662d19f5531c4303e6755301bef06.tar.gz
stackrpms-e154cfcc740662d19f5531c4303e6755301bef06.tar.bz2
stackrpms-e154cfcc740662d19f5531c4303e6755301bef06.zip
WIP: lw-stackrpms dpkg initial attempt
Diffstat (limited to 'librewolf/debian')
-rw-r--r--librewolf/debian/bgstack15-librewolf-prefs.js99
-rw-r--r--librewolf/debian/browser.install.in3
-rw-r--r--librewolf/debian/browser.mozconfig.in5
-rw-r--r--librewolf/debian/changelog8
-rw-r--r--librewolf/debian/control10
-rw-r--r--librewolf/debian/control.in8
-rw-r--r--librewolf/debian/librewolf.dsc15
7 files changed, 137 insertions, 11 deletions
diff --git a/librewolf/debian/bgstack15-librewolf-prefs.js b/librewolf/debian/bgstack15-librewolf-prefs.js
new file mode 100644
index 0000000..947eac6
--- /dev/null
+++ b/librewolf/debian/bgstack15-librewolf-prefs.js
@@ -0,0 +1,99 @@
+// file: /usr/lib/librewolf/browser/defaults/preferences/bgstack15-newmoon-prefs.js
+// deployed with librewolf-stackrpms package (rpm or dpkg) built by bgstack15
+// last modified 2022-01-05
+// reference:
+// https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig
+// vm2 librewolf user profile prefs.js
+pref("browser.allTabs.previews", false);
+pref("browser.backspace_action", 0);
+pref("browser.ctrlTab.previews", false);
+pref("browser.ctrlTab.recentlyUsedOrder", false);
+pref("browser.ctrlTab.migrated", true);
+pref("browser.engagement.ctrlTab.has-used", true);
+pref("browser.uidensity", 1);
+pref("browser.download.useDownloadDir", true);
+pref("browser.newtabpage.activity-stream.migrationExpired", true);
+pref("browser.newtabpage.activity-stream.prerender", false);
+pref("browser.newtabpage.activity-stream.showSearch", false);
+pref("browser.newtabpage.activity-stream.showTopSites", false);
+pref("browser.newtabpage.directory.ping", "http://127.0.0.1:9999/");
+pref("browser.newtabpage.directory.source", "http://127.0.0.1:9999/");
+pref("browser.newtabpage.enabled", false);
+pref("browser.newtabpage.enhanced", false);
+pref("browser.newtab.choice", 1);
+pref("browser.newtabpage.storageVersion", 1);
+pref("browser.newtabpage.directory.ping", "http://127.0.0.1:9999/");
+pref("browser.newtabpage.directory.source", "http://127.0.0.1:9999/");
+pref("browser.search.update", false);
+pref("browser.sessionstore.restore_on_demand", false);
+pref("browser.startup.page", 3);
+pref("browser.tabs.closeWindowWithLastTab", false);
+// These two have to stay undefined in Firefox 77+ in order for the drop-down for autocompletion to still work.
+//pref("browser.urlbar.disableExtendForTests", true);
+//pref("browser.urlbar.maxRichResults", 0);
+pref("browser.urlbar.trimURLs", false);
+pref("browser.urlbar.update1", false);
+pref("browser.xul.error_pages.enabled", false);
+pref("camera.control.face_detection.enabled", false);
+pref("canvas.filters.enabled", false);
+pref("canvas.focusring.enabled", false);
+pref("canvas.path.enabled", false);
+pref("captivedetect.canonicalURL", "http://127.0.0.1:9980");
+pref("devtools.devedition.promo.url", "http://127.0.0.1:9999/");
+pref("dom.event.clipboardevents.enabled", false);
+pref("experiments.manifest.uri", "http://127.0.0.1:9999/");
+pref("extensions.enabledAddons", "%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:28.3.0");
+pref("extensions.blocklist.detailsURL", "http://127.0.0.1:9999/");
+pref("extensions.blocklist.itemURL", "http://127.0.0.1:9999/");
+pref("extensions.pocket.api", "localhost:9999");
+pref("extensions.pocket.site", "localhost:9999");
+pref("extensions.shownSelectionUI", true);
+pref("extensions.update.autoUpdateDefault", false);
+pref("general.warnOnAboutConfig", false);
+pref("media.videocontrols.picture-in-picture.allow-multiple", false);
+pref("media.videocontrols.picture-in-picture.enabled", false);
+pref("media.videocontrols.picture-in-picture.video-toggle.has-used", true);
+pref("network.automatic-ntlm-auth.trusted-uris", ".ipa.smith122.com");
+pref("network.cookie.prefsMigrated", true);
+pref("network.http.spdy.enabled", false);
+pref("network.negotiate-auth.trusted-uris", ".ipa.smith122.com");
+pref("network.stricttransportsecurity.preloadlist", false);
+pref("privacy.sanitize.migrateFx3Prefs", true);
+pref("pref.privacy.disable_button.cookie_exceptions", false);
+pref("pref.privacy.disable_button.view_passwords", false);
+pref("privacy.annotate_channels.strict_list.enabled", true);
+pref("privacy.donottrackheader.enabled", true);
+pref("privacy.partition.network_state.ocsp_cache", true);
+pref("privacy.purge_trackers.date_in_cookie_database", "0");
+pref("privacy.purge_trackers.last_purge", "1641399136538");
+pref("privacy.resistFingerprinting", false);
+pref("privacy.resistFingerprinting.autoDeclineNoUserInputCanvasPrompts", false);
+pref("privacy.sanitize.pending", "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}}]");
+pref("privacy.sanitize.sanitizeOnShutdown", false);
+pref("privacy.trackingprotection.enabled", true);
+pref("privacy.trackingprotection.socialtracking.enabled", true);
+pref("reader.parse-on-load.enabled", false);
+pref("security.cert_pinning.enforcement_level", 0);
+pref("services.sync.declinedEngines", "");
+pref("services.sync.serverURL", "http://127.0.0.1:9999/");
+pref("services.sync.tabs.lastSync", "0");
+pref("services.sync.tabs.lastSyncLocal", "0");
+pref("signon.autofillForms", true);
+pref("signon.importedFromSqlite", true);
+pref("signon.rememberSignons", true);
+pref("startup.homepage_welcome_url", "http://127.0.0.1:9999/");
+pref("browser.startup.homepage", "https://start.duckduckgo.com/");
+pref("startup.homepage_override_url", "");
+pref("toolkit.telemetry.reportingpolicy.firstRun", false);
+pref("xpinstall.whitelist.add", "");
+// Control DNS over HTTPS (DoH) and Trusted Recursive Resolver (TRR).
+// More about DoH: https://github.com/bambenek/block-doh
+// https://blog.nightly.mozilla.org/2018/06/01/improving-dns-privacy-in-firefox/
+// https://support.mozilla.org/en-US/kb/configuring-networks-disable-dns-over-https
+// https://wiki.mozilla.org/Trusted_Recursive_Resolver
+// 0: Off by default, 1: Firefox chooses faster, 2: TRR default w/DNS fallback,
+// 3: TRR only mode, 4: Use DNS and shadow TRR for timings, 5: Disabled.
+pref("network.trr.mode", 0);
+pref("extensions.pocket.enabled", false);
+pref("extensions.pocket.api", "http://localhost:9980");
+pref("extensions.pocket.site", "http://localhost:9980");
diff --git a/librewolf/debian/browser.install.in b/librewolf/debian/browser.install.in
index 681d4ef..0e4462c 100644
--- a/librewolf/debian/browser.install.in
+++ b/librewolf/debian/browser.install.in
@@ -53,7 +53,7 @@ debian/@browser@.desktop usr/share/applications
debian/@browser@.js etc/@browser@
debian/vendor.js usr/share/@browser@/browser/defaults/preferences
-debian/debsearch.xml usr/share/@browser@/distribution/searchplugins/common
+#debian/debsearch.xml usr/share/@browser@/distribution/searchplugins/common
usr/lib/@browser@/browser/features usr/lib/@browser@/browser
@@ -80,3 +80,4 @@ debian/@browser@-symbolic.svg usr/share/icons/hicolor/symbolic/apps
debian/librewolf_settings/@browser@.cfg usr/share/@browser@
debian/librewolf_settings/defaults/pref/local-settings.js usr/share/@browser@/defaults/pref
debian/librewolf_settings/distribution/policies.json usr/share/@browser@/distribution
+debian/bgstack15-librewolf-prefs.js usr/lib/@browser@/defaults/pref
diff --git a/librewolf/debian/browser.mozconfig.in b/librewolf/debian/browser.mozconfig.in
index bf1cd99..2c60447 100644
--- a/librewolf/debian/browser.mozconfig.in
+++ b/librewolf/debian/browser.mozconfig.in
@@ -66,3 +66,8 @@ mk_add_options MOZ_TELEMETRY_REPORTING=0
#export RANLIB=llvm-ranlib-11
ac_add_options --enable-optimize
+# Devuan style
+ac_add_options --disable-dbus
+ac_add_options --disable-pulseaudio
+ac_add_options --enable-alsa
+ac_add_options --disable-sync
diff --git a/librewolf/debian/changelog b/librewolf/debian/changelog
index f247828..daf39b0 100644
--- a/librewolf/debian/changelog
+++ b/librewolf/debian/changelog
@@ -1,3 +1,11 @@
+librewolf-stackrpms (95.0.1-1) unstable; urgency=low
+
+ * Fork to stackrpms release of LibreWolf.
+ * USE AT YOUR OWN RISK! This is a customized package for
+ stackrpms usage.
+
+ -- B. Stack <bgstack15@gmail.com> Wed, 05 Jan 2022 16:23:43 -0500
+
librewolf (95.0.1-1) unstable; urgency=low
* Fork to librewolf release
diff --git a/librewolf/debian/control b/librewolf/debian/control
index 80fa405..19ac46c 100644
--- a/librewolf/debian/control
+++ b/librewolf/debian/control
@@ -1,4 +1,4 @@
-Source: librewolf
+Source: librewolf-stackrpms
Section: web
Priority: optional
Maintainer: B. Stack <bgstack15@gmail.com>
@@ -23,7 +23,6 @@ Build-Depends: autotools-dev,
libdbus-glib-1-dev,
libffi-dev,
libevent-dev,
- libpulse-dev,
libasound2-dev, libjack-dev,
yasm,
nasm (>= 2.14) [amd64 i386],
@@ -50,7 +49,7 @@ Build-Conflicts: graphicsmagick-imagemagick-compat,
libosso-dev
Standards-Version: 3.9.8.0
-Package: librewolf
+Package: librewolf-stackrpms
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends},
@@ -64,9 +63,10 @@ Suggests: fonts-stix | otf-stix,
fonts-lmodern,
libgssapi-krb5-2 | libkrb53,
libcanberra0,
- pulseaudio
Provides: www-browser,
gnome-www-browser
-Description: LibreWolf variant of Mozilla Firefox web browser
+Replaces: librewolf (<= %{binary:Version})
+Conflicts: librewolf (<= %{binary:Version})
+Description: LibreWolf for Stackrpms
LibreWolf is a build of Firefox that seeks to protect user privacy,
security, and freedom.
diff --git a/librewolf/debian/control.in b/librewolf/debian/control.in
index f98c3ec..2bbe755 100644
--- a/librewolf/debian/control.in
+++ b/librewolf/debian/control.in
@@ -1,8 +1,8 @@
-Source: @browser@
+Source: @browser@-stackrpms
Section: web
Priority: optional
-Maintainer: Maintainers of Mozilla-related packages <team+pkg-mozilla@tracker.debian.org>
-Uploaders: Mike Hommey <glandium@debian.org>
+Maintainer: B. Stack <bgstack15@gmail.com>
+XSBC-Original-Maintainer: Maintainers of Mozilla-related packages <team+pkg-mozilla@tracker.debian.org>
Build-Depends: autotools-dev,
debhelper (>= 9.20160114),
libx11-dev,
@@ -37,7 +37,6 @@ Build-Depends: autotools-dev,
%if USE_SYSTEM_LIBEVENT
libevent-dev,
%endif
- libpulse-dev,
libasound2-dev,
yasm,
%if DIST == stretch
@@ -107,7 +106,6 @@ Suggests: fonts-stix | otf-stix,
fonts-lmodern,
libgssapi-krb5-2 | libkrb53,
libcanberra0,
- pulseaudio
%if TRANSITION
Conflicts: iceweasel (<< 45)
%endif
diff --git a/librewolf/debian/librewolf.dsc b/librewolf/debian/librewolf.dsc
new file mode 100644
index 0000000..1758b86
--- /dev/null
+++ b/librewolf/debian/librewolf.dsc
@@ -0,0 +1,15 @@
+Format: 3.0 (quilt)
+Source: librewolf-stackrpms
+Binary: librewolf-stackrpms
+Architecture: any all
+Version: 95.0.1-1
+Maintainer: B. Stack <bgstack15@gmail.com>
+XSBC-Original-Maintainer: Maintainers of Mozilla-related packages <team+pkg-mozilla@tracker.debian.org>
+Standards-Version: 3.9.8.0
+Build-Depends: autotools-dev, debhelper (>= 9.20160114), libx11-dev, libx11-xcb-dev, libxt-dev, libgtk-3-dev, libglib2.0-dev, libdrm-dev, libstartup-notification0-dev, libjpeg-dev, zlib1g-dev, libreadline-dev, python3 (>= 3.6), dpkg-dev, libnspr4-dev (>= 2:4.32~), libnss3-dev (>= 2:3.72~), libvpx-dev (>= 1.8.0), libdbus-glib-1-dev, libffi-dev, libevent-dev, libasound2-dev, libjack-dev, yasm, nasm (>= 2.14) [amd64 i386], rustc (>= 1.53), cargo (>= 0.54), llvm-dev, libclang-dev, clang, cbindgen (>= 0.19.0), nodejs (>= 10), zip, unzip, locales, xvfb, xfonts-base, xauth, ttf-bitstream-vera, fonts-freefont-ttf, fonts-dejima-mincho, iso-codes
+Build-Conflicts: graphicsmagick-imagemagick-compat, libhildonmime-dev, liboss4-salsa-dev, libosso-dev
+Package-List:
+ librewolf deb web optional arch=any
+Files:
+ 00000000000000000000000000000000 1 librewolf.debian.tar.xz
+ 00000000000000000000000000000000 1 librewolf.orig.tar.xz
bgstack15