diff options
Diffstat (limited to 'kanotix-firefox-policies')
| -rw-r--r-- | kanotix-firefox-policies/debian/README | 6 | ||||
| -rw-r--r-- | kanotix-firefox-policies/debian/changelog | 13 | ||||
| -rw-r--r-- | kanotix-firefox-policies/debian/control | 16 | ||||
| -rw-r--r-- | kanotix-firefox-policies/debian/copyright | 39 | ||||
| -rw-r--r-- | kanotix-firefox-policies/debian/kanotix-firefox-policies-docs.docs | 1 | ||||
| -rw-r--r-- | kanotix-firefox-policies/debian/kanotix-firefox-policies.install | 3 | ||||
| -rw-r--r-- | kanotix-firefox-policies/debian/kanotix-firefox-policies.links | 1 | ||||
| -rwxr-xr-x | kanotix-firefox-policies/debian/rules | 25 | ||||
| -rw-r--r-- | kanotix-firefox-policies/debian/source/format | 1 | ||||
| -rw-r--r-- | kanotix-firefox-policies/ff-policies.html | 61 | ||||
| -rw-r--r-- | kanotix-firefox-policies/policies.json | 36 | ||||
| -rw-r--r-- | kanotix-firefox-policies/policies.json.more | 23 |
12 files changed, 225 insertions, 0 deletions
diff --git a/kanotix-firefox-policies/debian/README b/kanotix-firefox-policies/debian/README new file mode 100644 index 0000000..16a3159 --- /dev/null +++ b/kanotix-firefox-policies/debian/README @@ -0,0 +1,6 @@ +The Debian Package kanotix-firefox-policies +---------------------------- + +Comments regarding the Package + + -- Holger Paradies <retabell@gmx.de> Fri, 30 Aug 2024 10:17:23 +0200 diff --git a/kanotix-firefox-policies/debian/changelog b/kanotix-firefox-policies/debian/changelog new file mode 100644 index 0000000..e6abf7c --- /dev/null +++ b/kanotix-firefox-policies/debian/changelog @@ -0,0 +1,13 @@ +kanotix-firefox-policies (0.0.2) unstable; urgency=medium + + * Add local html file for menu + * Provide debian and ubuntu package search + * Support for non esr firefox + + -- Holger Paradies <retabell@gmx.de> Tue, 30 Dec 2025 14:41:11 +0100 + +kanotix-firefox-policies (0.0.1) unstable; urgency=medium + + * Initial Release. + + -- Holger Paradies <retabell@gmx.de> Fri, 30 Aug 2024 10:17:23 +0200 diff --git a/kanotix-firefox-policies/debian/control b/kanotix-firefox-policies/debian/control new file mode 100644 index 0000000..d2f09c8 --- /dev/null +++ b/kanotix-firefox-policies/debian/control @@ -0,0 +1,16 @@ +Source: kanotix-firefox-policies +Section: unknown +Priority: optional +Maintainer: Holger Paradies <retabell@gmx.de> +Build-Depends: debhelper-compat (= 13) +Standards-Version: 4.5.1 +Homepage: https://kanotix.de +#Vcs-Browser: https://salsa.debian.org/debian/kanotix-firefox-policies +#Vcs-Git: https://salsa.debian.org/debian/kanotix-firefox-policies.git +Rules-Requires-Root: no + +Package: kanotix-firefox-policies +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: policies for firefox-esr + some simple configs for firefox diff --git a/kanotix-firefox-policies/debian/copyright b/kanotix-firefox-policies/debian/copyright new file mode 100644 index 0000000..466cb7d --- /dev/null +++ b/kanotix-firefox-policies/debian/copyright @@ -0,0 +1,39 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: kanotix-firefox-policies +Upstream-Contact: <preferred name and address to reach the upstream project> +Source: <url://example.com> + +Files: * +Copyright: <years> <put author's name and email here> + <years> <likewise for another author> +License: GPL-2.0+ + +Files: debian/* +Copyright: 2024 Holger Paradies <retabell@gmx.de> +License: GPL-2.0+ + +License: GPL-2.0+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/> + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. +# Please avoid picking licenses with terms that are more restrictive than the +# packaged work, as it may make Debian's contributions unacceptable upstream. +# +# If you need, there are some extra license texts available in two places: +# /usr/share/debhelper/dh_make/licenses/ +# /usr/share/common-licenses/ diff --git a/kanotix-firefox-policies/debian/kanotix-firefox-policies-docs.docs b/kanotix-firefox-policies/debian/kanotix-firefox-policies-docs.docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/kanotix-firefox-policies/debian/kanotix-firefox-policies-docs.docs @@ -0,0 +1 @@ +README diff --git a/kanotix-firefox-policies/debian/kanotix-firefox-policies.install b/kanotix-firefox-policies/debian/kanotix-firefox-policies.install new file mode 100644 index 0000000..97060c0 --- /dev/null +++ b/kanotix-firefox-policies/debian/kanotix-firefox-policies.install @@ -0,0 +1,3 @@ +policies.json usr/share/firefox-esr/distribution/ +#polices.json etc/firefox/policies/ +ff-policies.html usr/share/doc/kanotix-firefox-policies/ diff --git a/kanotix-firefox-policies/debian/kanotix-firefox-policies.links b/kanotix-firefox-policies/debian/kanotix-firefox-policies.links new file mode 100644 index 0000000..79070b2 --- /dev/null +++ b/kanotix-firefox-policies/debian/kanotix-firefox-policies.links @@ -0,0 +1 @@ +usr/share/firefox-esr/distribution/policies.json etc/firefox/policies/policies.json diff --git a/kanotix-firefox-policies/debian/rules b/kanotix-firefox-policies/debian/rules new file mode 100755 index 0000000..59ea751 --- /dev/null +++ b/kanotix-firefox-policies/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#export DH_VERBOSE = 1 + + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + + +%: + dh $@ + + +# dh_make generated override targets +# This is example for Cmake (See https://bugs.debian.org/641051 ) +#override_dh_auto_configure: +# dh_auto_configure -- \ +# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) diff --git a/kanotix-firefox-policies/debian/source/format b/kanotix-firefox-policies/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/kanotix-firefox-policies/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/kanotix-firefox-policies/ff-policies.html b/kanotix-firefox-policies/ff-policies.html new file mode 100644 index 0000000..3ebf642 --- /dev/null +++ b/kanotix-firefox-policies/ff-policies.html @@ -0,0 +1,61 @@ +<!DOCTYPE html> +<!-- Created on 28.08.2024, 12:39:06 --> +<html lang="de"> + <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>Policies</title> + <style> +body { + font-family: Arial, sans-serif; + margin: 0; + padding: 0; + background-color: #f4f4f4; +} +header { + background-color: #6495ed; + color: #fff; + padding: 1rem; + text-align: center; +} +.container { + padding: 2rem; +} +.post { + background-color: #fff; + margin-bottom: 1rem; + padding: 1rem; + border-radius: 5px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} + </style> + </head> + <body> + <header> + <h1>Firefox Policies</h1> + <p>Konfiguration von Firefox über policies.json</p> + </header> + <div class="container"> + <div class="post"> + <h2>Grundlagen</h2> + <p>Systemweite Konfiguration unter: <b><tt>/etc/firefox/policies/policies.json</tt></b> (auch firefox-esr)</p> + <p>Alternativ unter: <b><tt>/usr/share/firefox-esr/distribution/policies.json</tt> + </b> (für debian firefox-esr)</p> + <br/><br/> + [Verweise:] + <p><a href="https://support.mozilla.org/de/kb/firefox-mithilfe-der-datei-policiesjson-anpassen">https://support.mozilla.org/de/kb/firefox-mithilfe-der-datei-policiesjson-anpassen</a></p> + <p><a href="https://mozilla.github.io/policy-templates/">https://mozilla.github.io/policy-templates/</a></p> + <br/><br/> + </div> + <div class="post"> + <h2>KANOTIX Konfiguration</h2> + <p>Mit dem Paket <a target="_blank" rel="noopener noreferrer" href="https://kanotix.com/files/towelfire/kanotix-firefox-policies/">kanotix-firefox-polices</a> wird die config Datei für firefox-esr installiert.</p> + <p>In /etc/firefox wird ein Link auf diese Datei erstellt um nicht esr Versionen einzubinden (bei Bedarf den Link entfernen).</p> + <p>Aktuelle config Datei (online): <a target="_blank" rel="noopener noreferrer" href="https://git.acritox.com/kanotix-packages/plain/kanotix-firefox-policies/policies.json">KANOTIX policies.json</a></p> + <p><kbd>about:policies</kbd> zeigt die aktuelle config im Browser.</p> + <p></p> + <p><kbd>apt purge kanotix-firefox-policies</kbd> entfernt das Paket.</p> + </div> + </div> + </body> +</html> diff --git a/kanotix-firefox-policies/policies.json b/kanotix-firefox-policies/policies.json new file mode 100644 index 0000000..87ff516 --- /dev/null +++ b/kanotix-firefox-policies/policies.json @@ -0,0 +1,36 @@ +{ + "policies": { + "SupportMenu": { + "Title": "About Kanotix config", + "URL": "file:/usr/share/doc/kanotix-firefox-policies/ff-policies.html" + }, + "SearchEngines": { + "Add": [ + { + "Name": "Debian Packages", + "URLTemplate": "https://packages.debian.org/search?keywords={searchTerms}&searchon=names&suite=all&section=all&sourceid=mozilla-search", + "Method": "GET", + "IconURL": "https://debian.org/favicon.ico", + "Alias": "@debian", + "Description": "Debian package search" + }, + { + "Name": "Ubuntu Packages", + "URLTemplate": "https://packages.ubuntu.com/search?keywords={searchTerms}&searchon=names&suite=all&section=all&sourceid=mozilla-search", + "Method": "GET", + "IconURL": "https://ubuntu.com/favicon.png", + "Alias": "@ubuntu", + "Description": "Ubuntu package search" + } + ] + }, + "DisplayMenuBar": "default-on", + "DisplayBookmarksToolbar": true, + "SearchBar": "separate", + "Preferences": { + "browser.fixup.dns_first_for_single_words": true + }, + "OverridePostUpdatePage": "", + "NetworkPrediction": false + } +} diff --git a/kanotix-firefox-policies/policies.json.more b/kanotix-firefox-policies/policies.json.more new file mode 100644 index 0000000..5e5edee --- /dev/null +++ b/kanotix-firefox-policies/policies.json.more @@ -0,0 +1,23 @@ +{ + "policies": { + "SupportMenu": { + "Title": "About Kanotix config", + "URL": "file:/usr/share/doc/kanotix-firefox-policies/ff-policies.html" + }, + "DisplayMenuBar": "default-on", + "DisplayBookmarksToolbar": true, + "SearchBar": "separate", + "Preferences": { + "browser.fixup.dns_first_for_single_words": true + }, + "DisableFirefoxAccounts": true, + "DisableFirefoxScreenshots": true, + "DisableFirefoxStudies": true, + "DisablePocket": true, + "DisableProfileImport": true, + "DisableTelemetry": true, + "NewTabPage": true, + "OverridePostUpdatePage": "", + "NetworkPrediction": false + } +} |
