summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:25:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:25:27 +0000
commit4550bb1bc6eb647ee8513155c4d66423cb0999b0 (patch)
tree06fdc7f2f2eaa8003a2ef18dd2fd41077c1f9ab3 /debian
parentAdding upstream version 7.5.1+dfsg. (diff)
downloadfoxyproxy-firefox-extension-debian/7.5.1+dfsg-3.tar.xz
foxyproxy-firefox-extension-debian/7.5.1+dfsg-3.zip
Adding debian version 7.5.1+dfsg-3.debian/7.5.1+dfsg-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog29
-rw-r--r--debian/control29
-rw-r--r--debian/copyright52
-rw-r--r--debian/patches/debian/0001-disable-first-run-page.patch31
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules28
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
-rw-r--r--debian/webext-foxyproxy.docs1
-rw-r--r--debian/webext-foxyproxy.links2
10 files changed, 177 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f7acf66
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,29 @@
+foxyproxy-firefox-extension (7.5.1+dfsg-3) sid; urgency=medium
+
+ * Uploading to sid.
+ * Updating packaging copyright for 2023.
+ * Updating to standards version 4.6.2.
+ * Updating http links to https in copyright.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 30 Jan 2023 17:09:11 +0100
+
+foxyproxy-firefox-extension (7.5.1+dfsg-2) sid; urgency=medium
+
+ * Uploading to sid.
+ * Correcting vcs urls.
+ * Updating watch file.
+ * Wrapping file-excluded in copyright.
+ * Updating to standards version 4.6.0.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 08 Oct 2021 14:01:28 +0200
+
+foxyproxy-firefox-extension (7.5.1+dfsg-1) sid; urgency=medium
+
+ * Initial upload to sid (Closes: #985147).
+ * Removed embedded fonts-font-awesome copy and replacing it with symlinks
+ to use the one from the system.
+ * Removed ~65MB archived xpi files of previous foxyproxy versions included
+ in the git repository.
+ * Adding patch to disable first run page.
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 13 Mar 2021 16:38:34 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..1204ba2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: foxyproxy-firefox-extension
+Section: web
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Build-Depends:
+ debhelper-compat (= 13),
+Rules-Requires-Root: no
+Standards-Version: 4.6.2
+Homepage: https://github.com/foxyproxy/firefox-extension
+Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/foxyproxy-firefox-extension
+Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/foxyproxy-firefox-extension
+
+Package: webext-foxyproxy
+Section: web
+Architecture: all
+Depends:
+ fonts-font-awesome,
+ ${misc:Depends},
+Recommends:
+ firefox (>= 57) | firefox-esr (>= 57),
+Enhances:
+ firefox,
+ firefox-esr,
+Description: Advanced proxy management for Firefox
+ FoxyProxy is an advanced proxy management tool that completely replaces
+ Firefox's limited proxying capabilities.
+ .
+ It features automatically switching the internet connection across one or more
+ proxy servers based on URL patterns.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a469e40
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,52 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: firefox-extension
+Upstream-Contact: Eric Jung <eric.jung@getfoxyproxy.org>
+Source: https://github.com/foxyproxy/firefox-extension/releases
+Files-excluded:
+ archive
+ src/styles/fontawesome-*.css
+ src/styles/fonts/*
+
+Files: *
+Copyright: 2019-2020 Eric Jung <eric.jung@getfoxyproxy.org>
+License: GPL-2
+
+Files: src/scripts/jscolor-*.js
+Copyright: 2010-2015 Jan Odvarko <jan@odvarko.cz>
+License: GPL-3
+
+Files: debian/*
+Copyright: 2021-2023 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: GPL-2
+
+License: GPL-2
+ This program 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, version 2 of the License.
+ .
+ This program 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/>.
+ .
+ The complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-2 file.
+
+License: GPL-3
+ This program 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, version 3 of the License.
+ .
+ This program 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/>.
+ .
+ The complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/GPL-3 file.
diff --git a/debian/patches/debian/0001-disable-first-run-page.patch b/debian/patches/debian/0001-disable-first-run-page.patch
new file mode 100644
index 0000000..d259a81
--- /dev/null
+++ b/debian/patches/debian/0001-disable-first-run-page.patch
@@ -0,0 +1,31 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Silencing first run/update page.
+
+diff -Naurp foxyproxy-firefox-extension.orig/src/scripts/background.js foxyproxy-firefox-extension/src/scripts/background.js
+--- foxyproxy-firefox-extension.orig/src/scripts/background.js 2020-07-29 20:43:31.000000000 +0200
++++ foxyproxy-firefox-extension/src/scripts/background.js 2021-03-13 17:58:11.959638800 +0100
+@@ -49,17 +49,6 @@ chrome.webRequest.onAuthRequired.addList
+ chrome.webRequest.onCompleted.addListener(clearPending, {urls: ['*://*/*']});
+ chrome.webRequest.onErrorOccurred.addListener(clearPending, {urls: ['*://*/*']});
+
+-chrome.runtime.onInstalled.addListener((details) => { // Installs Update Listener
+- // reason: install | update | browser_update | shared_module_update
+- switch (true) {
+-
+- case details.reason === 'install':
+- case details.reason === 'update' && /^(3\.|4\.|5\.5|5\.6)/.test(details.previousVersion):
+- chrome.tabs.create({url: '/about.html?welcome'});
+- break;
+- }
+-});
+-
+ // ----------------- User Preference -----------------------
+ chrome.storage.local.get(null, result => {
+ // browserVersion is not used & runtime.getBrowserInfo() is not supported on Chrome
+@@ -272,4 +261,4 @@ function clearPending(request) {
+ }
+
+ delete authPending[request.requestId]; // no error
+-}
+\ No newline at end of file
++}
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9aa7e39
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+debian/0001-disable-first-run-page.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7064850
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+
+FIREFOX_ID := {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
+EXTENSION_ID := foxyproxy@eric.h.jung
+
+SHELL := sh -e
+
+%:
+ dh ${@}
+
+override_dh_auto_install:
+ mkdir -p debian/webext-foxyproxy/usr/share/webext
+ cp -a src debian/webext-foxyproxy/usr/share/webext/foxyproxy
+
+ # fonts-font-awesome
+ sed -i -e 's|styles/fontawesome-.*.css|styles/font-awesome.min.css|g' debian/webext-foxyproxy/usr/share/webext/foxyproxy/*.html
+
+execute_before_dh_link:
+ mkdir -p debian/webext-foxyproxy/usr/share/mozilla/extensions/${FIREFOX_ID}
+ ln -s /usr/share/webext/foxyproxy debian/webext-foxyproxy/usr/share/mozilla/extensions/${FIREFOX_ID}/${EXTENSION_ID}
+
+execute_after_dh_missing:
+ # fonts-font-awesome
+ @if grep -qs -r 'styles/fontawesome-.*.css' debian/webext-foxyproxy/usr/share/webext/foxyproxy; \
+ then \
+ echo "E: found remaining references to embedded fonts-font-awesome, aborting."; \
+ exit 1; \
+ fi
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..822ac6a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/firefox-extension-$1\.tar\.gz/ \
+https://github.com/foxyproxy/firefox-extension/tags .*/v?(\d\S+)\.tar\.gz
diff --git a/debian/webext-foxyproxy.docs b/debian/webext-foxyproxy.docs
new file mode 100644
index 0000000..330eabf
--- /dev/null
+++ b/debian/webext-foxyproxy.docs
@@ -0,0 +1 @@
+pattern-specifications.md
diff --git a/debian/webext-foxyproxy.links b/debian/webext-foxyproxy.links
new file mode 100644
index 0000000..5e677e0
--- /dev/null
+++ b/debian/webext-foxyproxy.links
@@ -0,0 +1,2 @@
+/usr/share/fonts-font-awesome/css/font-awesome.min.css /usr/share/webext/foxyproxy/styles/font-awesome.min.css
+/usr/share/fonts-font-awesome/fonts /usr/share/webext/foxyproxy/styles/fonts