diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 05:45:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 05:45:23 +0000 |
commit | d0ba8124a2e1879567d59a81762173e6a3faf0e7 (patch) | |
tree | 3448d13d01da9d97a30c07ad8a1d0b258b18242d | |
parent | Adding upstream version 7.5.1+dfsg. (diff) | |
download | foxyproxy-firefox-extension-d0ba8124a2e1879567d59a81762173e6a3faf0e7.tar.xz foxyproxy-firefox-extension-d0ba8124a2e1879567d59a81762173e6a3faf0e7.zip |
Adding debian version 7.5.1+dfsg-6.debian/7.5.1+dfsg-6debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/changelog | 51 | ||||
-rw-r--r-- | debian/control | 29 | ||||
-rw-r--r-- | debian/copyright | 52 | ||||
-rw-r--r-- | debian/patches/debian/0001-disable-first-run-page.patch | 31 | ||||
-rw-r--r-- | debian/patches/debian/0002-pin-to-toolbar.patch | 14 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-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 |
11 files changed, 215 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..25fa62e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,51 @@ +foxyproxy-firefox-extension (7.5.1+dfsg-6) sid; urgency=medium + + * Uploading to sid. + * Adding patch to show foxyproxy by default in navbar ("Pin to + Toolbar"). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 14 Nov 2023 22:23:57 +0100 + +foxyproxy-firefox-extension (7.5.1+dfsg-5) sid; urgency=medium + + * Uploading to sid. + * Adding missing coma in watch file. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 24 Jun 2023 19:33:55 +0200 + +foxyproxy-firefox-extension (7.5.1+dfsg-4) sid; urgency=medium + + * Uploading to sid. + * Updating watch file. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 24 Jun 2023 15:02:03 +0200 + +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/debian/0002-pin-to-toolbar.patch b/debian/patches/debian/0002-pin-to-toolbar.patch new file mode 100644 index 0000000..05df5c1 --- /dev/null +++ b/debian/patches/debian/0002-pin-to-toolbar.patch @@ -0,0 +1,14 @@ +Author: Daniel Baumann <daniel.baumann@progress-linux.org> +Description: Show foxyproxy by default in navbar ("Pin to Toolbar"). + +diff -Naurp foxyproxy-firefox-extension.orig/src/manifest.json foxyproxy-firefox-extension/src/manifest.json +--- foxyproxy-firefox-extension.orig/src/manifest.json ++++ foxyproxy-firefox-extension/src/manifest.json +@@ -27,6 +27,7 @@ + }, + + "browser_action": { ++ "default_area": "navbar", + "default_icon": "images/icon.svg", + "default_title": "__MSG_extensionName__", + "default_popup": "popup.html", diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..77b46aa --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +debian/0001-disable-first-run-page.patch +debian/0002-pin-to-toolbar.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..1b594ec --- /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/\+dfsg//" \ +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 |