From eb0d5711c136bee4924cd9de1f7d8fff1fdf29ca Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Fri, 30 Aug 2024 10:44:03 +0200
Subject: New package kanotix-firefox-policies

Provides some configs for firefox-esr
Mostly relevant at first run
---
 kanotix-firefox-policies/debian/README             |  6 ++++
 kanotix-firefox-policies/debian/changelog          |  5 +++
 kanotix-firefox-policies/debian/control            | 16 +++++++++
 kanotix-firefox-policies/debian/copyright          | 39 ++++++++++++++++++++++
 .../debian/kanotix-firefox-policies-docs.docs      |  1 +
 .../debian/kanotix-firefox-policies.install        |  2 ++
 kanotix-firefox-policies/debian/rules              | 25 ++++++++++++++
 kanotix-firefox-policies/debian/source/format      |  1 +
 kanotix-firefox-policies/policies.json             | 16 +++++++++
 kanotix-firefox-policies/policies.json.more        | 23 +++++++++++++
 10 files changed, 134 insertions(+)
 create mode 100644 kanotix-firefox-policies/debian/README
 create mode 100644 kanotix-firefox-policies/debian/changelog
 create mode 100644 kanotix-firefox-policies/debian/control
 create mode 100644 kanotix-firefox-policies/debian/copyright
 create mode 100644 kanotix-firefox-policies/debian/kanotix-firefox-policies-docs.docs
 create mode 100644 kanotix-firefox-policies/debian/kanotix-firefox-policies.install
 create mode 100755 kanotix-firefox-policies/debian/rules
 create mode 100644 kanotix-firefox-policies/debian/source/format
 create mode 100644 kanotix-firefox-policies/policies.json
 create mode 100644 kanotix-firefox-policies/policies.json.more

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..905dbb2
--- /dev/null
+++ b/kanotix-firefox-policies/debian/changelog
@@ -0,0 +1,5 @@
+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..8a3bd5e
--- /dev/null
+++ b/kanotix-firefox-policies/debian/kanotix-firefox-policies.install
@@ -0,0 +1,2 @@
+policies.json usr/share/firefox-esr/distribution/
+#polices.json etc/firefox/policies/
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/policies.json b/kanotix-firefox-policies/policies.json
new file mode 100644
index 0000000..917a5a4
--- /dev/null
+++ b/kanotix-firefox-policies/policies.json
@@ -0,0 +1,16 @@
+{
+  "policies": {
+    "SupportMenu": {
+      "Title": "About Kanotix config",
+      "URL": "https://kanotix.de/files/ff-policies"
+    },
+    "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..95cfc9a
--- /dev/null
+++ b/kanotix-firefox-policies/policies.json.more
@@ -0,0 +1,23 @@
+{
+  "policies": {
+    "SupportMenu": {
+      "Title": "About Kanotix config",
+      "URL": "https://kanotix.de/files/ff-policies"
+    },
+    "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
+  }
+}
-- 
cgit v1.0