diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-03-13 16:44:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-03-13 17:19:33 +0000 |
commit | 1ea0d7ed97407c8bee75869ea157ad2828b7449a (patch) | |
tree | 20b6abefff245999ed1a55dacb4c9d2b7e763a04 | |
parent | Adding upstream version 7.5.1+dfsg. (diff) | |
download | foxyproxy-firefox-extension-1ea0d7ed97407c8bee75869ea157ad2828b7449a.tar.xz foxyproxy-firefox-extension-1ea0d7ed97407c8bee75869ea157ad2828b7449a.zip |
Adding debian version 7.5.1+dfsg-1.debian/7.5.1+dfsg-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/changelog | 10 | ||||
-rw-r--r-- | debian/control | 29 | ||||
-rw-r--r-- | debian/copyright | 49 | ||||
-rw-r--r-- | debian/patches/debian/0001-disable-first-run-page.patch | 31 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 28 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 4 | ||||
-rw-r--r-- | debian/webext-foxyproxy.docs | 1 | ||||
-rw-r--r-- | debian/webext-foxyproxy.links | 2 |
10 files changed, 156 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2eaeb7d --- /dev/null +++ b/debian/changelog @@ -0,0 +1,10 @@ +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..713c5c0 --- /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.5.1 +Homepage: https://github.com/foxyproxy/firefox-extension +Vcs-Browser: https://git.progress-linux.org/packages/fuchur-extras/foxyproxy-firefox-extension +Vcs-Git: https://git.progress-linux.org/packages/fuchur-extras/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..5d15531 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,49 @@ +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 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 <http://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 <http://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..5469ff0 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/firefox-extension-$1\.tar\.gz/ \ +dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$// \ +https://github.com/foxyproxy/firefox-extension/releases .*/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 |