summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/changelog181
-rw-r--r--debian/control35
-rw-r--r--debian/copyright329
-rwxr-xr-xdebian/copyright-check66
-rw-r--r--debian/copyright_hints374
-rw-r--r--debian/docs5
-rw-r--r--debian/gbp.conf8
-rw-r--r--debian/install7
-rw-r--r--debian/links4
-rw-r--r--debian/lintian-overrides3
-rwxr-xr-xdebian/rules12
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides8
-rw-r--r--debian/watch8
14 files changed, 1041 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8b47437
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,181 @@
+privacybadger (2020.10.7-1) unstable; urgency=medium
+
+ * update watch file:
+ + use file format 4
+ + simplify filenamemangle regular expression
+ + use substitution strings
+ + add usage comment
+ * copyright:
+ + use License-Reference
+ suppress lintian warnings (see bug#786450)
+ + use license shortname Expat (not ambiguous MIT)
+ + list License sections last, sorted by license shortname
+ * fix enhance (not recommend) chromium firefox firefox-esr
+ * declare compliance with Debian Policy 3.5.1
+ * set Rules-Requires-Root: no
+
+ -- Jonas Smedegaard <dr@jones.dk> Wed, 25 Nov 2020 17:15:52 +0100
+
+privacybadger (2020.7.21-2) unstable; urgency=medium
+
+ * friendly takeover;
+ closes: bug#972003,
+ thanks to Markus Koschany and Debian Mozilla Extension Maintainers
+ for past contributions
+ * add git-buildpackage config:
+ + use pristine-tar
+ + sign tags
+ + filter out any .git* files
+ + use DEP-14 branch names
+ * add source script copyright-check
+ * update coverage
+
+ -- Jonas Smedegaard <dr@jones.dk> Sat, 24 Oct 2020 14:58:42 +0200
+
+privacybadger (2020.7.21-1) unstable; urgency=medium
+
+ * New upstream version 2020.7.21.
+
+ -- Markus Koschany <apo@debian.org> Sun, 26 Jul 2020 00:04:05 +0200
+
+privacybadger (2020.6.29-1) unstable; urgency=medium
+
+ * New upstream version 2020.6.29.
+
+ -- Markus Koschany <apo@debian.org> Sat, 04 Jul 2020 23:07:09 +0200
+
+privacybadger (2020.6.2-1) unstable; urgency=medium
+
+ * New upstream version 2020.6.2.
+
+ -- Markus Koschany <apo@debian.org> Fri, 05 Jun 2020 23:10:10 +0200
+
+privacybadger (2020.5.12-1) unstable; urgency=medium
+
+ * New upstream version 2020.5.12.
+ * Switch to debhelper-compat = 13.
+
+ -- Markus Koschany <apo@debian.org> Sat, 16 May 2020 01:53:06 +0200
+
+privacybadger (2020.2.19-1) unstable; urgency=medium
+
+ * New upstream version 2020.2.19.
+ * Declare compliance with Debian Policy 4.5.0.
+
+ -- Markus Koschany <apo@debian.org> Sun, 23 Feb 2020 15:25:58 +0100
+
+privacybadger (2020.1.13-1) unstable; urgency=medium
+
+ * New upstream version 2020.1.13.
+
+ -- Markus Koschany <apo@debian.org> Sat, 18 Jan 2020 00:20:25 +0100
+
+privacybadger (2020.1.7.1-1) unstable; urgency=medium
+
+ * New upstream version 2020.1.7.1.
+
+ -- Markus Koschany <apo@debian.org> Fri, 10 Jan 2020 01:00:35 +0100
+
+privacybadger (2019.11.18-1) unstable; urgency=medium
+
+ * New upstream version 2019.11.18.
+
+ -- Markus Koschany <apo@debian.org> Fri, 22 Nov 2019 14:54:21 +0100
+
+privacybadger (2019.10.28-1) unstable; urgency=medium
+
+ * New upstream version 2019.10.28.
+
+ -- Markus Koschany <apo@debian.org> Sat, 02 Nov 2019 02:03:32 +0100
+
+privacybadger (2019.10.8-1) unstable; urgency=medium
+
+ * New upstream version 2019.10.8.
+ * Declare compliance with Debian Policy 4.4.1.
+
+ -- Markus Koschany <apo@debian.org> Fri, 11 Oct 2019 13:41:49 +0200
+
+privacybadger (2019.9.23-1) unstable; urgency=medium
+
+ * New upstream version 2019.9.23.
+
+ -- Markus Koschany <apo@debian.org> Sat, 28 Sep 2019 21:49:28 +0200
+
+privacybadger (2019.7.1.1-1) unstable; urgency=medium
+
+ * New upstream version 2019.7.1.1.
+ * Use debhelper-compat = 12.
+ * Declare compliance with Debian Policy 4.4.0.
+
+ -- Markus Koschany <apo@debian.org> Wed, 17 Jul 2019 23:10:03 +0200
+
+privacybadger (2019.2.19-1) unstable; urgency=medium
+
+ * New upstream version 2019.2.19.
+
+ -- Markus Koschany <apo@debian.org> Sun, 24 Feb 2019 15:30:16 +0100
+
+privacybadger (2019.1.30-2) unstable; urgency=medium
+
+ [ Michael Meskes ]
+ * With chromium now loading all extensions we do not need to provide a
+ solution ourselves.
+
+ -- Markus Koschany <apo@debian.org> Wed, 13 Feb 2019 18:02:51 +0100
+
+privacybadger (2019.1.30-1) unstable; urgency=medium
+
+ * New upstream version 2019.1.30.
+ * Declare compliance with Debian Policy 4.3.0.
+
+ -- Markus Koschany <apo@debian.org> Tue, 05 Feb 2019 16:10:50 +0100
+
+privacybadger (2018.12.17-1) unstable; urgency=medium
+
+ * New upstream version 2018.12.17.
+ * Update the package description as recommended by upstream.
+ * Change Homepage address and point to the eff.org domain.
+ * Remove debian/missing-sources directory because upstream provides the
+ sources now.
+
+ -- Markus Koschany <apo@debian.org> Wed, 19 Dec 2018 10:14:44 +0100
+
+privacybadger (2018.12.5-2) unstable; urgency=medium
+
+ * Replace symlinks to jquery and underscore libraries with embedded versions
+ again because Firefox >= 64 does not follow those symlinks or silently
+ ignores them. (Closes: #916529)
+
+ -- Markus Koschany <apo@debian.org> Sat, 15 Dec 2018 13:37:30 +0000
+
+privacybadger (2018.12.5-1) unstable; urgency=medium
+
+ * New upstream version 2018.12.5.
+
+ -- Markus Koschany <apo@debian.org> Sat, 08 Dec 2018 17:14:20 +0100
+
+privacybadger (2018.10.3.1-1) unstable; urgency=medium
+
+ * New upstream version 2018.10.3.1.
+ * Declare compliance with Debian Policy 4.2.1.
+ * Fix debian/watch file.
+
+ -- Markus Koschany <apo@debian.org> Sat, 10 Nov 2018 01:21:04 +0100
+
+privacybadger (2018.8.1-1) unstable; urgency=medium
+
+ * New upstream version 2018.8.1.
+ * Declare compliance with Debian Policy 4.2.0.
+ * Add myself to Uploaders.
+ * Update debian/copyright for new release.
+ * Use Debian's system libraries for jquery, jquery-ui, jquery-underscore and
+ the open-sans fonts.
+ * Provide the sources for tooltipster.bundle.js.
+
+ -- Markus Koschany <apo@debian.org> Fri, 10 Aug 2018 11:44:06 +0200
+
+privacybadger (2018.2.5-1) unstable; urgency=medium
+
+ * Initial release (Closes: #890520)
+
+ -- Michael Meskes <meskes@debian.org> Mon, 19 Feb 2018 12:20:26 +0100
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..964092f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: privacybadger
+Section: web
+Priority: optional
+Maintainer: Jonas Smedegaard <dr@jones.dk>
+Build-Depends:
+ debhelper-compat (= 13),
+Standards-Version: 4.5.1
+Homepage: https://www.eff.org/privacybadger/
+Vcs-Git: https://salsa.debian.org/webext-team/privacybadger.git
+Vcs-Browser: https://salsa.debian.org/webext-team/privacybadger
+Rules-Requires-Root: no
+
+Package: webext-privacy-badger
+Architecture: all
+Depends:
+ fonts-open-sans,
+ ${misc:Depends},
+Enhances:
+ chromium,
+ firefox,
+ firefox-esr,
+Description: Privacy Badger automatically learns to block invisible trackers
+ Instead of keeping lists of what to block,
+ Privacy Badger learns by watching
+ which domains appear to be tracking you as you browse the Web.
+ Privacy Badger sends the Do Not Track signal with your browsing.
+ If trackers ignore your wishes,
+ your Badger will learn to block them.
+ Privacy Badger starts blocking
+ once it sees the same tracker on three different websites.
+ Besides automatic tracker blocking,
+ Privacy Badger removes outgoing link click tracking
+ on Facebook, Google and Twitter,
+ with more privacy protections on the way.
+ To learn more, see the FAQ on Privacy Badger's homepage.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..415c522
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,329 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: privacybadger
+Source: https://github.com/EFForg/privacybadger
+
+Files: *
+Copyright:
+ 2015-2020, Electronic Frontier Foundation and other contributors
+License: GPL-3+
+
+Files:
+ src/js/contentscripts/supercookie.js
+ src/js/contentscripts/fingerprinting.js
+Copyright:
+ 2015 ghostwords
+License: GPL-3+
+
+Files:
+ src/js/firstparties/facebook.js
+Copyright:
+ 2018 Michael Ziminsky
+License: GPL-3+
+
+Files:
+ src/js/socialwidgetloader.js
+ src/js/contentscripts/socialwidgets.js
+Copyright:
+ 2006-2014 University of Washington
+License: Expat
+
+Files:
+ src/lib/vendor/jquery*
+ src/tests/lib/vendor/qunit*
+Copyright:
+ jQuery Foundation and other contributors, https://jquery.org/
+License: Expat
+
+Files:
+ src/lib/vendor/jquery.smooth-scroll.js
+Copyright:
+ 2017 Karl Swedberg
+License: Expat
+
+Files:
+ src/lib/vendor/select2-*
+Copyright:
+ Kevin Brown
+License: Expat
+
+Files:
+ src/skin/toggle-switch.css
+Copyright:
+ Ionuț Colceriu - ghinda.net
+License: Unlicense
+
+Files:
+ src/skin/fonts/OpenSans-Light.ttf
+ src/skin/fonts/OpenSans-Bold.ttf
+Copyright:
+ Google Inc.
+License: Apache-2.0
+
+Files:
+ src/skin/fonts/Chunk.ttf
+Copyright:
+ theleagueofmoveabletype.com
+License: OFL-1.1
+
+Files:
+ src/skin/*.html
+ src/js/background.js
+ src/js/webrequest.js
+ src/js/utils.js
+ src/js/options.js
+ src/js/popup.js
+ src/lib/i18n.js
+ src/tests/index.html
+ src/tests/tests/baseDomain.js
+Copyright:
+ 2006-2014 Eyeo GmbH
+License: GPL-3+
+
+Files:
+ src/lib/basedomain.js
+Copyright:
+ 2011 Beau Gunderson
+License: Expat
+
+Files:
+ src/lib/vendor/underscore*
+Copyright:
+ 2009-2015, Jeremy Ashkenas <jeremy@documentcloud.org>
+ 2009-2014, DocumentCloud
+ 2009-2014, Investigative Reporters & Editors
+License: Expat
+
+Files:
+ src/lib/vendor/punycode-1.4.1.js
+Copyright:
+ 2011 Mathias Bynens <http://mathiasbynens.be/>
+License: Expat
+
+Files:
+ src/lib/vendor/tooltipster*
+Copyright:
+ 2012,2016 Caleb Jacob and Louis Ameline
+License: Expat
+
+Files:
+ src/tests/lib/vendor/sinon-2.0.0.js
+Copyright:
+ 2010-2017, Christian Johansen, christian@cjohansen.no
+License: BSD-3-clause
+
+Files:
+ debian/*
+Copyright:
+ 2018, Michael Meskes <meskes@debian.org>
+ 2018-2020, Markus Koschany <apo@debian.org>
+ 2020, Jonas Smedegaard <dr@jones.dk>
+ 2020, Purism, SPC
+License: GPL-3+
+
+License: Apache-2.0
+License-Reference: /usr/share/common-licenses/Apache-2.0
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms,
+ with or without modification,
+ are permitted
+ provided that the following conditions are met:
+ .
+ * Redistributions of source code must retain
+ the above copyright notice, this list of conditions
+ and the following disclaimer.
+ * Redistributions in binary form must reproduce
+ the above copyright notice, this list of conditions
+ and the following disclaimer
+ in the documentation and/or other materials
+ provided with the distribution.
+ * Neither the name of Christian Johansen
+ nor the names of his contributors
+ may be used
+ to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED
+ BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+ OR CONSEQUENTIAL DAMAGES
+ (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ LOSS OF USE, DATA, OR PROFITS;
+ OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: Expat
+ Permission is hereby granted, free of charge,
+ to any person obtaining a copy
+ of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction,
+ including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software,
+ and to permit persons to whom the Software is furnished to do so,
+ subject to the following conditions:
+ .
+ The above copyright notice and this permission notice
+ shall be included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS",
+ WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+ INCLUDING BUT NOT LIMITED TO
+ THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
+ AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
+ FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
+ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: GPL-3+
+License-Reference: /usr/share/common-licenses/GPL-3
+
+License: OFL-1.1
+ -----------------------------------------------------------
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+ -----------------------------------------------------------
+ .
+ PREAMBLE
+ .
+ The goals of the Open Font License (OFL) are
+ to stimulate worldwide development of collaborative font projects,
+ to support the font creation efforts
+ of academic and linguistic communities,
+ and to provide a free and open framework
+ in which fonts may be shared and improved
+ in partnership with others.
+ .
+ The OFL allows the licensed fonts to be used, studied, modified
+ and redistributed freely
+ as long as they are not sold by themselves.
+ The fonts, including any derivative works,
+ can be bundled, embedded, redistributed and/or sold
+ with any software
+ provided that any reserved names are not used by derivative works.
+ The fonts and derivatives, however,
+ cannot be released under any other type of license.
+ The requirement for fonts to remain under this license
+ does not apply to any document
+ created using the fonts or their derivatives.
+ .
+ DEFINITIONS
+ .
+ "Font Software" refers to the set of files
+ released by the Copyright Holder(s) under this license
+ and clearly marked as such.
+ This may include source files, build scripts and documentation.
+ .
+ "Reserved Font Name" refers to any names
+ specified as such after the copyright statement(s).
+ .
+ "Original Version" refers to the collection of Font Software components
+ as distributed by the Copyright Holder(s).
+ .
+ "Modified Version" refers to any derivative
+ made by adding to, deleting, or substituting --
+ in part or in whole --
+ any of the components of the Original Version,
+ by changing formats
+ or by porting the Font Software to a new environment.
+ .
+ "Author" refers to any designer, engineer, programmer, technical writer
+ or other person
+ who contributed to the Font Software.
+ .
+ PERMISSION & CONDITIONS
+ .
+ Permission is hereby granted, free of charge,
+ to any person obtaining a copy of the Font Software,
+ to use, study, copy, merge, embed, modify, redistribute,
+ and sell modified and unmodified copies of the Font Software,
+ subject to the following conditions:
+ 1) Neither the Font Software nor any of its individual components,
+ in Original or Modified Versions,
+ may be sold by itself.
+ 2) Original or Modified Versions of the Font Software
+ may be bundled, redistributed and/or sold with any software,
+ provided that each copy contains
+ the above copyright notice and this license.
+ These can be included
+ either as stand-alone text files, human-readable headers
+ or in the appropriate machine-readable metadata fields
+ within text or binary files
+ as long as those fields can be easily viewed by the user.
+ 3) No Modified Version of the Font Software may use
+ the Reserved Font Name(s)
+ unless explicit written permission is granted
+ by the corresponding Copyright Holder.
+ This restriction only applies to the primary font name
+ as presented to the users.
+ 4) The name(s) of the Copyright Holder(s)
+ or the Author(s) of the Font Software
+ shall not be used
+ to promote, endorse or advertise any Modified Version,
+ except to acknowledge the contribution(s)
+ of the Copyright Holder(s) and the Author(s)
+ or with their explicit written permission.
+ 5) The Font Software,
+ modified or unmodified, in part or in whole,
+ must be distributed entirely under this license,
+ and must not be distributed under any other license.
+ The requirement for fonts to remain under this license
+ does not apply to any document
+ created using the Font Software.
+ .
+ TERMINATION
+ .
+ This license becomes null and void
+ if any of the above conditions are not met.
+ .
+ DISCLAIMER
+ .
+ THE FONT SOFTWARE IS PROVIDED "AS IS",
+ WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+ INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+
+License: Unlicense
+ This is free and unencumbered software
+ released into the public domain.
+ .
+ Anyone is free to copy, modify, publish, use, compile, sell,
+ or distribute this software,
+ either in source code form or as a compiled binary,
+ for any purpose, commercial or non-commercial,
+ and by any means.
+ .
+ In jurisdictions that recognize copyright laws,
+ the author or authors of this software dedicate
+ any and all copyright interest in the software
+ to the public domain.
+ We make this dedication
+ for the benefit of the public at large
+ and to the detriment of our heirs and successors.
+ We intend this dedication to be
+ an overt act of relinquishment in perpetuity
+ of all present and future rights to this software
+ under copyright law.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS",
+ WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
+ INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
+ AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE
+ FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
+ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ .
+ For more information, please refer to <http://unlicense.org/>
diff --git a/debian/copyright-check b/debian/copyright-check
new file mode 100755
index 0000000..16c51b4
--- /dev/null
+++ b/debian/copyright-check
@@ -0,0 +1,66 @@
+#!/bin/sh
+# Copyright 2020 Jonas Smedegaard <dr@jones.dk>
+# Copyright 2020 Purism, SPC
+# Description: helper script to update copyright_hints
+#
+# 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; either version 3, or (at your option)
+# any later version.
+#
+# 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/>.
+
+set -eu
+
+# cleanup stray hint files from a previous run
+find -type f -name '*:meta' -delete
+
+# omit files not copyright protected nor stating copyright or licensing
+RE_omit='src/_locales/[a-zA-Z_]+/messages\.json'
+
+1>&2 echo 'extract metadata from binary files ...'
+RE_meta='.*\.(png|ttf|woff2)'
+exiftool '-textOut!' %d%f.%e:meta -short -short -recurse -ext png -ext ttf -ext woff2 .
+
+# TODO: automate more of this manual cleanup:
+# * strip garbage copyright holders
+# * optionally merge equally licensed Files sections
+# * do "sort -k2 -k1,1 -u" on copyright holders
+# * merge copyright years for each copyright holder
+# TODO: strip files matching glob in current (only, no later) section
+_licensecheck() {
+ GLOB=$1
+ shift
+ case "$GLOB" in
+ '*') 1>&2 echo "check default section(s) ...";;
+ '') 1>&2 echo "check remaining upstream section(s) ...";;
+ *) 1>&2 echo "check section(s) $GLOB ...";;
+ esac
+ licensecheck --copyright --deb-machine --recursive --lines 0 "$@" -- * \
+ | GLOB=$GLOB perl -0777 -p \
+ -e 'BEGIN { our $GLOB = join "\n ", split(" ",$ENV{GLOB}) }' \
+ -e 's/^.*?\n\nFiles: \K/$GLOB\n /s if $GLOB;' \
+ -e 's/^.*?\n\nFiles: \K.*?(?=\n\w)/$GLOB/s if $GLOB and $GLOB =~ /^[*]\//;' \
+ -e 's/^.*?\n\n//s unless $GLOB and $GLOB =~ /^[*]$/m;' \
+ -e 's/^Files:\K /\n /mg;' \
+ -e 's/^Copyright:\K /\n /mg;' \
+ -e 's/(?:(?<=^ )|(?<=\d{4})),\K (?=\d{4})//mg;' \
+ -e 's/:(?:meta|skip)$//mg;' \
+ >> debian/copyright_hints
+}
+
+rm -f debian/copyright_hints
+
+# check generally
+# * omit non-copyright-protected Debian files
+_licensecheck '*' --check '.*' --ignore "^($RE_omit|$RE_meta|debian/.*)$"
+_licensecheck '*/debian' --check '^debian/' --ignore '^debian/(changelog|copyright(_hints)?|source/lintian-overrides)$'
+
+# cleanup hint files
+find -type f -name '*:meta' -delete
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..07ccb7e
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,374 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by licensecheck
+
+Files:
+ *
+ CODE_OF_CONDUCT.md
+ CONTRIBUTING.md
+ Makefile
+ doc/Changelog
+ doc/DESIGN-AND-ROADMAP.md
+ doc/Translation.md
+ doc/admin-deployment.md
+ doc/develop.md
+ doc/fixing-broken-sites.md
+ doc/jid1-MnnxcxisBPnSXQ@jetpack.json
+ doc/permissions.md
+ doc/sample-managed-storage-manifest-chrome.json
+ doc/tests.md
+ doc/yellowlist-criteria.md
+ package-lock.json
+ package.json
+ release-utils/chromium-release.sh
+ release-utils/firefox-release.sh
+ release-utils/make-eff-zip.sh
+ release-utils/make-release-zip.sh
+ release-utils/make-release.sh
+ release-utils/make-signed-xpi.sh
+ release-utils/post-chrome-release.sh
+ release-utils/post-release.sh
+ scripts/chromedriver.sh
+ scripts/convertpsl.py
+ scripts/fix_placeholders.py
+ scripts/generate-legacy-yellowlist.sh
+ scripts/run_travis.sh
+ scripts/setup_travis.sh
+ scripts/updategoogle.py
+ scripts/updategoogle.sh
+ scripts/updatepsl.sh
+ scripts/updateseeddata.sh
+ scripts/verify_json.py
+ src/data/dnt-policies.json
+ src/data/dnt-policy.txt
+ src/data/schema.json
+ src/data/seed.json
+ src/data/socialwidgets.json
+ src/data/yellowlist.txt
+ src/icons/UI-icons-green.svg
+ src/icons/UI-icons-red.svg
+ src/icons/UI-icons-yellow.svg
+ src/icons/badger-128.png
+ src/icons/badger-16.png
+ src/icons/badger-19-disabled.png
+ src/icons/badger-19.png
+ src/icons/badger-38-disabled.png
+ src/icons/badger-38.png
+ src/icons/badger-48.png
+ src/icons/badger-64.png
+ src/icons/badger-bw-noborder.svg
+ src/icons/badger-pin.png
+ src/icons/dnt-16.png
+ src/icons/help.svg
+ src/icons/options.svg
+ src/icons/share.svg
+ src/js/firstparties/facebook.js
+ src/js/firstparties/google-search.js
+ src/js/firstparties/google-static.js
+ src/js/firstparties/lib/utils.js
+ src/js/incognito.js
+ src/js/multiDomainFirstParties.js
+ src/lib/publicSuffixList.js
+ src/lib/vendor/jquery-ui-1.12.1.custom/images/ui-bg_glass_55_fbf9ee_1x400.png
+ src/lib/vendor/jquery-ui-1.12.1.custom/images/ui-bg_glass_65_ffffff_1x400.png
+ src/lib/vendor/jquery-ui-1.12.1.custom/images/ui-bg_glass_75_dadada_1x400.png
+ src/lib/vendor/jquery-ui-1.12.1.custom/images/ui-bg_glass_75_e6e6e6_1x400.png
+ src/lib/vendor/jquery-ui-1.12.1.custom/images/ui-bg_glass_95_fef1ec_1x400.png
+ src/lib/vendor/jquery-ui-1.12.1.custom/images/ui-bg_highlight-soft_75_cccccc_1x100.png
+ src/lib/vendor/jquery-ui-1.12.1.custom/images/ui-icons_222222_256x240.png
+ src/lib/vendor/jquery-ui-1.12.1.custom/images/ui-icons_2e83ff_256x240.png
+ src/lib/vendor/jquery-ui-1.12.1.custom/images/ui-icons_454545_256x240.png
+ src/lib/vendor/jquery-ui-1.12.1.custom/images/ui-icons_888888_256x240.png
+ src/lib/vendor/jquery-ui-1.12.1.custom/images/ui-icons_cd0a0a_256x240.png
+ src/lib/vendor/jquery-ui-iconfont-2.3.2/font/jquery-ui.woff2
+ src/lib/vendor/punycode-1.4.1.js
+ src/lib/vendor/select2-4.0.11/select2-4.0.11.css
+ src/lib/vendor/toggle-switch.css
+ src/lib/vendor/tooltipster-4.2.6/tooltipster.bundle.css
+ src/lib/vendor/tooltipster-4.2.6/tooltipster.bundle.js
+ src/manifest.json
+ src/skin/background.png
+ src/skin/css/firstRun.css
+ src/skin/firstRun.html
+ src/skin/fonts/Chunk.ttf
+ src/skin/images/EFF-red.svg
+ src/skin/images/carrot-down.svg
+ src/skin/images/catches-trackers.png
+ src/skin/images/disable-badger.png
+ src/skin/images/eff-logo.png
+ src/skin/images/facebook.svg
+ src/skin/images/learns-trackers.png
+ src/skin/images/not-ad-blocker.png
+ src/skin/images/pb-logo-outline.svg
+ src/skin/images/twitter.svg
+ src/skin/js/firstRun.js
+ src/skin/options-layout.css
+ src/skin/socialwidgets/AddThis.svg
+ src/skin/socialwidgets/Digg.svg
+ src/skin/socialwidgets/FacebookLike.svg
+ src/skin/socialwidgets/FacebookShare.svg
+ src/skin/socialwidgets/LinkedIn.svg
+ src/skin/socialwidgets/Pinterest.svg
+ src/skin/socialwidgets/Twitter.svg
+ src/tests/.eslintrc.yml
+ src/tests/lib/qunit_config.js
+ src/tests/tests/background.js
+ src/tests/tests/firstparties.js
+ src/tests/tests/heuristic.js
+ src/tests/tests/htmlutils.js
+ src/tests/tests/multiDomainFirstParties.js
+ src/tests/tests/options.js
+ src/tests/tests/storage.js
+ src/tests/tests/tabData.js
+ src/tests/tests/utils.js
+ src/tests/tests/yellowlist.js
+ tests/requirements.txt
+ tests/selenium/.flake8
+ tests/selenium/breakage_test.py
+ tests/selenium/clobbering_test.py
+ tests/selenium/cookie_test.py
+ tests/selenium/dnt_test.py
+ tests/selenium/fingerprinting_test.py
+ tests/selenium/options_test.py
+ tests/selenium/pbtest.py
+ tests/selenium/pbtest_org_test.py
+ tests/selenium/popup_test.py
+ tests/selenium/qunit_test.py
+ tests/selenium/service_workers_test.py
+ tests/selenium/storage_test.py
+ tests/selenium/super_cookie_test.py
+ tests/selenium/surrogates_test.py
+ tests/selenium/website_testbed/first-party.html
+ tests/selenium/website_testbed/first-party.js
+ tests/selenium/widgets_test.py
+Copyright:
+ NONE
+License: UNKNOWN
+ FIXME
+
+Files:
+ src/data/surrogates.js
+ src/js/bootstrap.js
+ src/js/constants.js
+ src/js/contentscripts/clobbercookie.js
+ src/js/contentscripts/clobberlocalstorage.js
+ src/js/contentscripts/collapser.js
+ src/js/contentscripts/dnt.js
+ src/js/contentscripts/utils.js
+ src/js/firefoxandroid.js
+ src/js/heuristicblocking.js
+ src/js/htmlutils.js
+ src/js/migrations.js
+ src/js/storage.js
+ src/js/surrogates.js
+ src/lib/options.js
+ src/skin/popup.css
+Copyright:
+ 2014, Electronic Frontier Foundation
+ 2016, Electronic Frontier Foundation
+ 2018, Electronic Frontier Foundation
+ 2020, Electronic Frontier Foundation
+License: GPL-3
+ FIXME
+
+Files:
+ src/js/background.js
+ src/js/popup.js
+ src/js/utils.js
+ src/tests/index.html
+Copyright:
+ 2006-2013, Eyeo GmbH
+ 2014, Electronic Frontier Foundation
+License: GPL-3
+ FIXME
+
+Files:
+ src/js/options.js
+ src/lib/i18n.js
+ src/skin/options.html
+ src/tests/tests/baseDomain.js
+Copyright:
+ 2006-2013, Eyeo GmbH
+License: GPL-3
+ FIXME
+
+Files:
+ src/lib/vendor/jquery-ui-1.12.1.custom/jquery-ui.structure.css
+ src/lib/vendor/jquery-ui-1.12.1.custom/jquery-ui.theme.css
+ src/tests/lib/vendor/qunit-2.9.2.css
+Copyright:
+ jQuery Foundation and other contributors
+License: Expat
+ FIXME
+
+Files:
+ src/skin/fonts/OpenSans-Bold.ttf
+ src/skin/fonts/OpenSans-Light.ttf
+Copyright:
+ -en-US: Digitized data copyright © 2010-2011, Google Corporation.
+ Digitized data copyright © 2010-2011, Google Corporation.
+License: Apache-2.0
+ FIXME
+
+Files:
+ src/js/contentscripts/socialwidgets.js
+ src/js/socialwidgetloader.js
+Copyright:
+ 2011-2014, University of Washington
+ 2014, Electronic Frontier Foundation
+License: Expat and/or GPL-3
+ FIXME
+
+Files:
+ src/js/contentscripts/fingerprinting.js
+ src/js/contentscripts/supercookie.js
+Copyright:
+ 2015, Electronic Frontier Foundation
+ 2015, ghostwords
+License: GPL-3
+ FIXME
+
+Files:
+ src/tests/lib/vendor/qunit-2.9.2.js
+Copyright:
+ 2006, Google Inc.
+ <prathe@gmail.com>, David Chan <david@troi.org>
+ jQuery Foundation and other contributors
+License: Apache-2.0 and/or Expat
+ FIXME
+
+Files:
+ src/lib/vendor/jquery-3.5.1.js
+Copyright:
+ JS Foundation and other contributors
+License: Expat
+ FIXME
+
+Files:
+ src/lib/vendor/underscore-1.9.1.js
+Copyright:
+ 2009-2018, Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+License: Expat
+ FIXME
+
+Files:
+ src/lib/vendor/jquery-ui-1.12.1.custom/jquery-ui.js
+Copyright:
+ jQuery Foundation and other contributors
+ jQuery Foundation and other contributors; Licensed MIT
+License: Expat
+ FIXME
+
+Files:
+ src/lib/vendor/select2-4.0.11/select2-4.0.11.js
+Copyright:
+ jQuery Foundation and other contributors.
+License: Expat
+ FIXME
+
+Files:
+ LICENSE
+Copyright:
+ -like laws that apply to other kinds of
+ 2006-2014, Eyeo GmbH
+ 2006-2014, University of Washington
+ 2007, Free Software Foundation, Inc. <http:fsf.org/>
+ 2009-2018, Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ 2011, Beau Gunderson
+ 2011, Mathias Bynens <http:mathiasbynens.be/>
+ 2012,2016, Caleb Jacob and Louis Ameline
+ 2012-2017, Kevin Brown, Igor Vaynberg, and Select2 contributors
+ 2015, Electronic Frontier Foundation and other contributors
+ 2015, ghostwords
+ 2015-2017, Michael Keck
+ 2017, Karl Swedberg
+ 2018, Michael Ziminsky
+ <year> <name of author>
+ JS Foundation and other contributors
+ able work licensed under this
+ are not
+ disclaimer" for the program, if necessary.
+ ed material outside their relationship with you.
+ if you do
+ interest in the
+ jQuery Foundation and other contributors
+ permission, other than the making of an
+ permission.
+ treaty adopted on 20 December 1996, or
+License: Expat and/or GPL-3 and/or MPL-2.0 and/or OFL and/or Unlicense
+ FIXME
+
+Files:
+ README.md
+Copyright:
+ NONE
+License: GPL-3
+ FIXME
+
+Files:
+ src/skin/popup.html
+Copyright:
+ 2006-2013, Eyeo GmbH
+ 2013, - Electronic Frontier Foundation & others
+License: GPL-3
+ FIXME
+
+Files:
+ src/js/webrequest.js
+Copyright:
+ 2006-2013, Eyeo GmbH
+ 2015, ghostwords
+ 2016, Electronic Frontier Foundation
+License: GPL-3
+ FIXME
+
+Files:
+ src/lib/vendor/jquery-ui-iconfont-2.3.2/jquery-ui-1.12.icon-font.css
+Copyright:
+ (c) 2015-2017 Michael Keck.
+License: UNKNOWN
+ FIXME
+
+Files:
+ src/lib/basedomain.js
+Copyright:
+ 2011, Beau Gunderson
+License: UNKNOWN
+ FIXME
+
+Files:
+ src/lib/vendor/jquery.smooth-scroll.js
+Copyright:
+ 2017, Karl Swedberg
+License: UNKNOWN
+ FIXME
+
+Files:
+ src/tests/lib/vendor/sinon-2.0.0.js
+Copyright:
+ (c) 2013 jake luer <jake@alogicalparadox.com>
+License: Unlicense
+ FIXME
+
+Files:
+ */debian
+Copyright:
+ NONE
+License: UNKNOWN
+ FIXME
+
+Files:
+ debian/copyright-check
+Copyright:
+ --deb-machine --recursive --lines 0 "$@" -- *
+ -protected Debian files
+ 2020, Jonas Smedegaard <dr@jones.dk>
+ 2020, Purism, SPC
+ K / /mg;'
+ protected nor stating copyright or licensing
+ years for each copyright holder
+License: GPL-3+
+ FIXME
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..8ab4afb
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,5 @@
+doc/DESIGN-AND-ROADMAP.md
+doc/Translation.md
+doc/fixing-broken-sites.md
+doc/tests.md
+doc/yellowlist-criteria.md
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..64798a5
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,8 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
+filter = */.git*
+debian-branch = debian/latest
+upstream-branch = upstream/latest
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..60b1ac1
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,7 @@
+src/_locales usr/share/webext/privacy-badger
+src/data usr/share/webext/privacy-badger
+src/icons usr/share/webext/privacy-badger
+src/js usr/share/webext/privacy-badger
+src/lib usr/share/webext/privacy-badger
+src/manifest.json usr/share/webext/privacy-badger
+src/skin usr/share/webext/privacy-badger
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..c2ea8f4
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,4 @@
+/usr/share/fonts/truetype/open-sans/OpenSans-Bold.ttf /usr/share/webext/privacy-badger/skin/fonts/OpenSans-Bold.ttf
+/usr/share/fonts/truetype/open-sans/OpenSans-Light.ttf /usr/share/webext/privacy-badger/skin/fonts/OpenSans-Light.ttf
+/usr/share/webext/privacy-badger /usr/share/chromium/extensions/privacy-badger
+/usr/share/webext/privacy-badger /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/jid1-MnnxcxisBPnSXQ@jetpack
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..c974296
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1,3 @@
+# See Debian bug #916529 why we use the embedded libraries
+# This is a Firefox wontfix bug.
+embedded-javascript-library
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..01cbfae
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+export DH_VERBOSE = 1
+
+%:
+ dh $@
+
+override_dh_install:
+ chmod a-x src/_locales/nl/messages.json
+ dh_install
+
+override_dh_auto_build:
+
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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..4448e9b
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,8 @@
+# License is in License-Reference field (see bug#786450)
+missing-license-paragraph-in-dep5-copyright apache-2\.0 *
+missing-license-paragraph-in-dep5-copyright gpl-3\+ *
+missing-license-text-in-dep5-copyright Apache-2\.0 *
+missing-license-text-in-dep5-copyright GPL-3\+ *
+
+# This is the source of sinon.js.
+source-is-missing src/tests/lib/vendor/sinon-2.0.0.js line length is *
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..2ea2495
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,8 @@
+version=4
+# check: uscan --report
+# update: gbp import-orig --upstream-vcs-tag=vX.Y.Z --uscan
+
+opts=\
+filenamemangle=s/.*?(@ANY_VERSION@@ARCHIVE_EXT@)/@PACKAGE@-$1/ \
+https://github.com/EFForg/privacybadger/tags \
+.*/release-@ANY_VERSION@@ARCHIVE_EXT@