summaryrefslogtreecommitdiff
path: root/librewolf-prefs-stackrpms
diff options
context:
space:
mode:
Diffstat (limited to 'librewolf-prefs-stackrpms')
-rw-r--r--librewolf-prefs-stackrpms/README.md23
-rw-r--r--librewolf-prefs-stackrpms/_service29
-rw-r--r--librewolf-prefs-stackrpms/debian/README.Debian5
-rw-r--r--librewolf-prefs-stackrpms/debian/changelog5
-rw-r--r--librewolf-prefs-stackrpms/debian/control16
-rw-r--r--librewolf-prefs-stackrpms/debian/copyright21
-rw-r--r--librewolf-prefs-stackrpms/debian/librewolf-prefs-stackrpms.dsc14
-rw-r--r--librewolf-prefs-stackrpms/debian/librewolf-prefs-stackrpms.install1
-rw-r--r--librewolf-prefs-stackrpms/debian/missing-sources1
-rw-r--r--librewolf-prefs-stackrpms/debian/patches/series1
-rwxr-xr-xlibrewolf-prefs-stackrpms/debian/rules9
-rw-r--r--librewolf-prefs-stackrpms/debian/source/format1
-rw-r--r--librewolf-prefs-stackrpms/debian/upstream/metadata16
-rw-r--r--librewolf-prefs-stackrpms/debian/watch2
-rw-r--r--librewolf-prefs-stackrpms/librewolf-prefs-stackrpms.spec26
-rw-r--r--librewolf-prefs-stackrpms/stackrpms-librewolf-prefs.js129
16 files changed, 299 insertions, 0 deletions
diff --git a/librewolf-prefs-stackrpms/README.md b/librewolf-prefs-stackrpms/README.md
new file mode 100644
index 0000000..5ff4292
--- /dev/null
+++ b/librewolf-prefs-stackrpms/README.md
@@ -0,0 +1,23 @@
+# Readme for librewolf-prefs-stackrpms
+
+## Overview
+
+This package owns the one prefs file for customizing LibreWolf.
+
+## librewolf-prefs-stackrpms upstream
+None
+
+## Reason for being in stackrpms
+This package owns the stackrpms prefs.js file for LibreWolf. This package's existence means that I do not need to maintain the [librewolf stackrpms](../librewolf) package ([OBS](https://build.opensuse.org/package/show/home:bgstack15/librewolf)) on top of the official AfterMozilla [LibreWolf](https://build.opensuse.org/package/show/home:bgstack15:aftermozilla/librewolf) package ([sources](https://gitlab.com/librewolf-community/browser/debian)) which I also maintain.
+
+## Alternatives
+I just use the [AfterMozilla LibreWolf](https://build.opensuse.org/package/show/home:bgstack15:aftermozilla/librewolf) package which I also build. That is the upstream for this package.
+
+## Dependencies
+Exact same as Mozilla Firefox.
+
+## References
+Check the contents of internal prefs package for the various web browsers' prefs.js-type files.
+
+## Differences from upstream
+N/A
diff --git a/librewolf-prefs-stackrpms/_service b/librewolf-prefs-stackrpms/_service
new file mode 100644
index 0000000..1f9eb74
--- /dev/null
+++ b/librewolf-prefs-stackrpms/_service
@@ -0,0 +1,29 @@
+<services>
+ <service name="tar_scm">
+ <param name="scm">git</param>
+ <param name="url">https://bgstack15.ddns.net/cgit/stackrpms</param>
+ <param name="subdir">librewolf-prefs-stackrpms/debian</param>
+ <param name="filename">debian</param>
+ <param name="revision">librewolf-bump</param>
+ <param name="version">_none_</param>
+ </service>
+ <service name="recompress">
+ <param name="file">*.tar</param>
+ <param name="compression">xz</param>
+ </service>
+ <service name="tar_scm">
+ <param name="scm">git</param>
+ <param name="url">https://bgstack15.ddns.net/cgit/stackrpms</param>
+ <param name="subdir">librewolf-prefs-stackrpms</param>
+ <param name="revision">librewolf-bump</param>
+ <param name="version">_none_</param>
+ </service>
+ <service name="recompress">
+ <param name="file">*.tar</param>
+ <param name="compression">gz</param>
+ </service>
+ <service name="extract_file">
+ <param name="archive">*.tar.xz</param>
+ <param name="files">*/*.dsc</param>
+ </service>
+</services>
diff --git a/librewolf-prefs-stackrpms/debian/README.Debian b/librewolf-prefs-stackrpms/debian/README.Debian
new file mode 100644
index 0000000..7a07433
--- /dev/null
+++ b/librewolf-prefs-stackrpms/debian/README.Debian
@@ -0,0 +1,5 @@
+librewolf-prefs-stackrpms for Devuan
+
+Initial release.
+
+ -- B. Stack <bgstack15@gmail.com> Wed, 12 Oct 2022 15:32:00 -0400
diff --git a/librewolf-prefs-stackrpms/debian/changelog b/librewolf-prefs-stackrpms/debian/changelog
new file mode 100644
index 0000000..97e9a55
--- /dev/null
+++ b/librewolf-prefs-stackrpms/debian/changelog
@@ -0,0 +1,5 @@
+librewolf-prefs-stackrpms (0.0.1-1) obs; urgency=low
+
+ * Initial release. Closes: packages-want#24
+
+ -- B. Stack <bgstack15@gmail.com> Wed, 12 Oct 2022 15:32:00 -0400
diff --git a/librewolf-prefs-stackrpms/debian/control b/librewolf-prefs-stackrpms/debian/control
new file mode 100644
index 0000000..f7d7670
--- /dev/null
+++ b/librewolf-prefs-stackrpms/debian/control
@@ -0,0 +1,16 @@
+Source: librewolf-prefs-stackrpms
+Section: web
+Priority: optional
+Maintainer: B. Stack <bgstack15@gmail.com>
+Build-Depends: debhelper-compat (= 13)
+Standards-Version: 4.5.1
+Homepage: https://bgstack15.ddns.net/blog/
+Rules-Requires-Root: no
+
+Package: librewolf-prefs-stackrpms
+Section: libs
+Architecture: all
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: stackrpms prefs for Librewolf
+ Owns file stackrpms-librewolf-prefs.js and that is all.
diff --git a/librewolf-prefs-stackrpms/debian/copyright b/librewolf-prefs-stackrpms/debian/copyright
new file mode 100644
index 0000000..de5941f
--- /dev/null
+++ b/librewolf-prefs-stackrpms/debian/copyright
@@ -0,0 +1,21 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: librewolf-prefs-stackrpms
+Upstream-Contact: B. Stack
+Source: <https://bgstack15.ddns.net/blog/>
+#
+# Please double check copyright with the licensecheck(1) command.
+
+Files: README.md
+ librewolf-prefs-stackrpms.spec
+ stackrpms-librewolf-prefs.js
+ debian/*
+Copyright: B. Stack <bgstack15@gmail.com> 2022
+License: GPL-3
+
+License: GPL-3
+ On Debian machines the full text of the GNU General Public License
+ version 3 can be found in the file /usr/share/common-licenses/GPL-3.
+
+#----------------------------------------------------------------------------
+# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
+# license/copyright files.
diff --git a/librewolf-prefs-stackrpms/debian/librewolf-prefs-stackrpms.dsc b/librewolf-prefs-stackrpms/debian/librewolf-prefs-stackrpms.dsc
new file mode 100644
index 0000000..0f3fa82
--- /dev/null
+++ b/librewolf-prefs-stackrpms/debian/librewolf-prefs-stackrpms.dsc
@@ -0,0 +1,14 @@
+Format: 3.0 (quilt)
+Source: librewolf-prefs-stackrpms
+Binary: librewolf-prefs-stackrpms
+Architecture: all
+Version: 0.0.1-1
+Maintainer: B. Stack <bgstack15@gmail.com>
+Homepage: https://bgstack15.ddns.net/blog/
+Standards-Version: 4.5.1
+Build-Depends: debhelper-compat (= 13)
+Package-List:
+ librewolf-prefs-stackrpms deb libs optional arch=all
+Files:
+ 00000000000000000000000000000000 1 librewolf-prefs-stackrpms.orig.tar.gz
+ 00000000000000000000000000000000 1 librewolf-prefs-stackrpms.debian.tar.xz
diff --git a/librewolf-prefs-stackrpms/debian/librewolf-prefs-stackrpms.install b/librewolf-prefs-stackrpms/debian/librewolf-prefs-stackrpms.install
new file mode 100644
index 0000000..6505661
--- /dev/null
+++ b/librewolf-prefs-stackrpms/debian/librewolf-prefs-stackrpms.install
@@ -0,0 +1 @@
+stackrpms-librewolf-prefs.js usr/lib/librewolf/browser/defaults/preferences
diff --git a/librewolf-prefs-stackrpms/debian/missing-sources b/librewolf-prefs-stackrpms/debian/missing-sources
new file mode 100644
index 0000000..c53ec4c
--- /dev/null
+++ b/librewolf-prefs-stackrpms/debian/missing-sources
@@ -0,0 +1 @@
+stackrpms-librewolf-prefs.js
diff --git a/librewolf-prefs-stackrpms/debian/patches/series b/librewolf-prefs-stackrpms/debian/patches/series
new file mode 100644
index 0000000..4a97dfa
--- /dev/null
+++ b/librewolf-prefs-stackrpms/debian/patches/series
@@ -0,0 +1 @@
+# You must remove unused comment lines for the released package.
diff --git a/librewolf-prefs-stackrpms/debian/rules b/librewolf-prefs-stackrpms/debian/rules
new file mode 100755
index 0000000..9cf3a86
--- /dev/null
+++ b/librewolf-prefs-stackrpms/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+%:
+ dh $@
diff --git a/librewolf-prefs-stackrpms/debian/source/format b/librewolf-prefs-stackrpms/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/librewolf-prefs-stackrpms/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/librewolf-prefs-stackrpms/debian/upstream/metadata b/librewolf-prefs-stackrpms/debian/upstream/metadata
new file mode 100644
index 0000000..dc2feb0
--- /dev/null
+++ b/librewolf-prefs-stackrpms/debian/upstream/metadata
@@ -0,0 +1,16 @@
+#
+# DEP-12: Per-package machine-readable metadata about Upstream
+# Please check * https://dep-team.pages.debian.net/deps/dep12/
+# * https://wiki.debian.org/UpstreamMetadata
+Reference:
+ Author: <please use full names and separate multiple author by the keyword "and">
+ Title:
+ Journal:
+ Year:
+ Volume:
+ Number:
+ Pages:
+ DOI:
+ PMID:
+ URL:
+ eprint:
diff --git a/librewolf-prefs-stackrpms/debian/watch b/librewolf-prefs-stackrpms/debian/watch
new file mode 100644
index 0000000..76575dc
--- /dev/null
+++ b/librewolf-prefs-stackrpms/debian/watch
@@ -0,0 +1,2 @@
+# You must remove unused comment lines for the released package.
+version=3
diff --git a/librewolf-prefs-stackrpms/librewolf-prefs-stackrpms.spec b/librewolf-prefs-stackrpms/librewolf-prefs-stackrpms.spec
new file mode 100644
index 0000000..02314f6
--- /dev/null
+++ b/librewolf-prefs-stackrpms/librewolf-prefs-stackrpms.spec
@@ -0,0 +1,26 @@
+%define debug_package %{nil}
+Name: librewolf-prefs-stackrpms
+Version: 0.0.1
+Release: 1%
+Summary: Librewolf prefs for stackrpms
+License: GPLv3
+URL: https://bgstack15.ddns.net/
+Source0: README.md
+Source1: stackrpms-librewolf-prefs.js
+%if 0%{?fedora} || 0%{?rhel} >= 8
+Recommends: librewolf
+%endif
+
+%description
+Provides the librewolf librewolf-prefs-stackrpms.js file
+
+%install
+%{__install} -m0755 -d %{buildroot}%{_libdir}/librewolf/browser/defaults/preferences
+%{__install} %{SOURCE1} %{buildroot}%{_libdir}/librewolf/browser/defaults/preferences
+
+%files
+%{buildroot}%{_libdir}/librewolf/browser/defaults/preferences/*.js
+
+%changelog
+* Wed Oct 12 2022 B. Stack <bgstack15@gmail.com> - 0.0.1-1
+- Initial spec
diff --git a/librewolf-prefs-stackrpms/stackrpms-librewolf-prefs.js b/librewolf-prefs-stackrpms/stackrpms-librewolf-prefs.js
new file mode 100644
index 0000000..04e2e5e
--- /dev/null
+++ b/librewolf-prefs-stackrpms/stackrpms-librewolf-prefs.js
@@ -0,0 +1,129 @@
+// file: /usr/lib/librewolf/browser/defaults/preferences/stackrpms-librewolf-prefs.js
+// deployed with librewolf-prefs-stackrpms package (rpm or dpkg) built by bgstack15
+// last modified 2022-10-12
+// reference:
+// https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig
+// vm2 librewolf user profile prefs.js
+pref("accessibility.typeaheadfind.flashBar", 0);
+pref("app.normandy.first_run", false);
+pref("app.normandy.migrationsApplied", 12);
+pref("stackrpms-librewolf-prefs.js.version", "20221012.145942");
+pref("browser.allTabs.previews", false);
+pref("browser.backspace_action", 0);
+pref("browser.bookmarks.restore_default_bookmarks", false);
+pref("browser.compactmode.show", true);
+pref("browser.ctrlTab.migrated", true);
+pref("browser.ctrlTab.previews", false);
+pref("browser.ctrlTab.recentlyUsedOrder", false);
+pref("browser.download.improvements_to_download_panel", false);
+pref("browser.download.useDownloadDir", true);
+pref("browser.download.useDownloadDir", true);
+pref("browser.engagement.ctrlTab.has-used", true);
+pref("browser.engagement.downloads-button.has-used", true);
+pref("browser.formfill.enable", true);
+pref("browser.newtab.choice", 1);
+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.newtabpage.storageVersion", 1);
+pref("browser.search.update", false);
+pref("browser.sessionstore.restore_on_demand", false);
+pref("browser.startup.page", 3);
+pref("browser.startup.page", 3);
+pref("browser.tabs.closeWindowWithLastTab", false);
+pref("browser.toolbars.bookmarks.visibility", "always");
+pref("browser.uiCustomization.state", "{\"placements\":{\"widget-overflow-fixed-list\":[],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"urlbar-container\",\"save-to-pocket-button\",\"downloads-button\",\"fxa-toolbar-menu-button\",\"ublock0_raymondhill_net-browser-action\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"PersonalToolbar\":[\"personal-bookmarks\"]},\"seen\":[\"developer-button\",\"ublock0_raymondhill_net-browser-action\"],\"dirtyAreaCache\":[\"nav-bar\",\"PersonalToolbar\",\"toolbar-menubar\",\"TabsToolbar\"],\"currentVersion\":17,\"newElementCount\":3}");
+pref("browser.uidensity", 1);
+pref("browser.urlbar.placeholderName", "DuckDuckGo");
+pref("browser.urlbar.placeholderName.private", "DuckDuckGo");
+pref("browser.urlbar.showSearchSuggestionsFirst", false);
+pref("browser.urlbar.suggest.quicksuggest.sponsored", false);
+pref("dom.security.https_only_mode", false);
+pref("extensions.webextensions.ExtensionStorageIDB.migrated.uBlock0@raymondhill.net", true);
+pref("extensions.webextensions.uuids", "{\"formautofill@mozilla.org\":\"932d9ca1-4ab4-4176-908a-775a8c5c232b\",\"pictureinpicture@mozilla.org\":\"d20931db-dda1-4902-85fd-c324857cc611\",\"proxy-failover@mozilla.com\":\"9511d4e1-5bce-4214-90ba-cf9004a1896a\",\"screenshots@mozilla.org\":\"74a504ec-3b68-40db-b8de-213e87ec1f0d\",\"default-theme@mozilla.org\":\"e2607c67-dc48-4ce0-99c9-9422500c5397\",\"addons-search-detection@mozilla.com\":\"00ce34b6-f943-4060-970e-7ab093b1263f\",\"wikipedia@search.mozilla.org\":\"fd8e14ab-a33d-4393-8023-6a8a34382417\",\"ddg@search.mozilla.org\":\"e810f6e1-24e9-4e11-9a36-3be0691aef77\",\"uBlock0@raymondhill.net\":\"44aaf03a-52f1-402c-9300-d41904ab3746\"}");
+// 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.startup.homepage", "https://start.duckduckgo.com/");
+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.blocklist.detailsURL", "http://127.0.0.1:9999/");
+pref("extensions.blocklist.itemURL", "http://127.0.0.1:9999/");
+pref("extensions.enabledAddons", "%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:28.3.0");
+pref("extensions.pictureinpicture.enable_picture_in_picture_overrides", true);
+pref("extensions.pocket.api", "http://localhost:9980");
+pref("extensions.pocket.enabled", false);
+pref("extensions.pocket.site", "http://localhost:9980");
+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.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.lifetimePolicy", 0);
+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);
+// 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("places.history.enabled", 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.autoDeclineNoUserInputCanvasPrompts", false);
+pref("privacy.resistFingerprinting", false);
+pref("privacy.sanitize.migrateFx3Prefs", true);
+pref("privacy.sanitize.pending", "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}}]");
+pref("privacy.sanitize.pending", "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}},{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}}]");
+pref("privacy.sanitize.sanitizeOnShutdown", false);
+pref("privacy.sanitize.sanitizeOnShutdown", false);
+pref("privacy.trackingprotection.enabled", true);
+pref("privacy.trackingprotection.socialtracking.enabled", true);
+pref("privacy.userContext.enabled", false);
+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.autofillForms", true);
+pref("signon.importedFromSqlite", true);
+pref("signon.rememberSignons", true);
+pref("startup.homepage_override_url", "");
+pref("startup.homepage_welcome_url", "http://127.0.0.1:9999/");
+pref("toolkit.telemetry.reportingpolicy.firstRun", false);
+// show menu
+pref("ui.key.menuAccessKeyFocuses", false);
+pref("widget.gtk.overlay-scrollbars.enabled", false);
+pref("widget.non-native-theme.gtk.scrollbar.allow-buttons", true);
+pref("widget.non-native-theme.scrollbar.size.override", 18);
+pref("widget.non-native-theme.scrollbar.style", 2);
+pref("xpinstall.whitelist.add", "");
bgstack15