debian/0000755000000000000000000000000015005114043007157 5ustar debian/README.source0000644000000000000000000000623515005114043011344 0ustar For Ondřej, this is how the packaging repository was constructed (gbp --upstream-vcs-tag and --pristine-tar used so we can avoid shipping jquery etc. blobs in the source package): edmonds@chase{0}:~/pkg-dns$ mkdir dnsviz edmonds@chase{0}:~/pkg-dns$ cd dnsviz edmonds@chase{0}:~/pkg-dns/dnsviz$ git init Initialized empty Git repository in /home/edmonds/debian/pkg-dns/dnsviz/.git/ edmonds@chase{0}:~/pkg-dns/dnsviz$ git remote add --no-tags dnsviz https://github.com/dnsviz/dnsviz.git edmonds@chase{0}:~/pkg-dns/dnsviz$ git config --add remote.dnsviz.fetch 'refs/tags/*:refs/tags/dnsviz/*' edmonds@chase{0}:~/pkg-dns/dnsviz$ git fetch dnsviz remote: Counting objects: 8106, done. remote: Total 8106 (delta 0), reused 0 (delta 0), pack-reused 8106 Receiving objects: 100% (8106/8106), 4.16 MiB | 6.36 MiB/s, done. Resolving deltas: 100% (5360/5360), done. From https://github.com/dnsviz/dnsviz * [new branch] master -> dnsviz/master * [new tag] 0.1.0 -> dnsviz/0.1.0 * [new tag] 0.2.0 -> dnsviz/0.2.0 * [new tag] v0.3.0 -> dnsviz/v0.3.0 * [new tag] v0.4.0 -> dnsviz/v0.4.0 * [new tag] v0.4.0-beta -> dnsviz/v0.4.0-beta * [new tag] v0.4.0-beta2 -> dnsviz/v0.4.0-beta2 * [new tag] v0.4.0-beta3 -> dnsviz/v0.4.0-beta3 * [new tag] v0.4.0-beta4 -> dnsviz/v0.4.0-beta4 * [new tag] v0.5.0 -> dnsviz/v0.5.0 * [new tag] v0.5.0-beta -> dnsviz/v0.5.0-beta * [new tag] v0.5.0-beta2 -> dnsviz/v0.5.0-beta2 * [new tag] v0.5.0-beta4 -> dnsviz/v0.5.0-beta4 * [new tag] v0.5.0beta3 -> dnsviz/v0.5.0beta3 * [new tag] v0.5.1 -> dnsviz/v0.5.1 * [new tag] v0.5.2 -> dnsviz/v0.5.2 edmonds@chase{0}:~/pkg-dns/dnsviz$ git checkout --no-track -b upstream dnsviz/v0.5.2 Switched to a new branch 'upstream' edmonds@chase{0}:~/pkg-dns/dnsviz$ gbp import-orig -u 0.5.2 --upstream-vcs-tag=dnsviz/v0.5.2 --pristine-tar ~/debian/tarballs/dnsviz_0.5.2.orig.tar.gz What will be the source package name? [dnsviz] gbp:info: Importing '/home/edmonds/debian/tarballs/dnsviz_0.5.2.orig.tar.gz' to branch 'upstream'... gbp:info: Source package is dnsviz gbp:info: Upstream version is 0.5.2 gbp:info: Merging to 'master' gbp:info: Successfully imported version 0.5.2 of /home/edmonds/debian/tarballs/dnsviz_0.5.2.orig.tar.gz edmonds@chase{0}:~/pkg-dns/dnsviz$ git status On branch master Your branch is up-to-date with 'dnsviz/master'. nothing to commit, working directory clean edmonds@chase{0}:~/pkg-dns/dnsviz$ git checkout upstream Switched to branch 'upstream' edmonds@chase{0}:~/pkg-dns/dnsviz$ git branch -D master Deleted branch master (was a5ff10b). edmonds@chase{0}:~/pkg-dns/dnsviz$ git checkout -b debian/sid Switched to a new branch 'debian/sid' edmonds@chase{0}:~/pkg-dns/dnsviz$ git am ../dnsviz.patches/*.patch Applying: debian/: Initial packaging Applying: Use Debian packaged JS/CSS dependencies Applying: debian/dnsviz.links: Use root trust anchor from dns-root-data package Applying: debian/rules: Make sure that we rebuild the icons from the original source edmonds@chase{0}:~/pkg-dns/dnsviz$ git tag debian/0.5.2-1 -- Ondřej Surý , Wed, 12 Oct 2016 11:38:20 +0200 debian/changelog0000644000000000000000000000721115005114043011032 0ustar dnsviz (0.11.1-1) unstable; urgency=medium * New upstream version 0.11.1 -- Ondřej Surý Fri, 02 May 2025 12:02:11 +0200 dnsviz (0.11.0-1) unstable; urgency=medium * New upstream version 0.11.0 * debian/control: Bump Standards-Version to 4.7.0 (no changes) * debian/control: Bump debhelper compat level from 12 to 13 * debian/control: Replace python3-m2crypto build dependency with python3-cryptography (Closes: #1077610) * debian/control: Add build depends on python3-setuptools (Closes: #1080911) * debian/patches/: Drop patches applied upstream: - 0002-Set-HOME-to-var-tmp-for-inkscape-invocations.patch - 0003-Fix-inscape-invocation-remove-z-replace-e-with-expor.patch * debian/patches/: Refresh patch to setup.py to use packaged Javascript libraries * debian/rules: Disable test suite -- Robert Edmonds Sun, 29 Sep 2024 17:49:45 -0400 dnsviz (0.9.4-1) unstable; urgency=medium * New upstream version 0.9.4 * Fix inscape invocation (Closes: #997329) - Remove deprecated -z/--without-gui - Replace -e with --export-type=png - Set HOME to /var/tmp, so .config can be created -- Ondřej Surý Fri, 13 Jan 2023 12:01:44 +0100 dnsviz (0.9.3-1) unstable; urgency=medium * New upstream version 0.9.3 - Targeted upstream fix for dnspython 2.0.0 -- Robert Edmonds Tue, 16 Mar 2021 16:46:46 -0400 dnsviz (0.9.2-1) unstable; urgency=medium * New upstream version 0.9.2 -- Robert Edmonds Sat, 06 Feb 2021 17:55:58 -0500 dnsviz (0.9.1-1) unstable; urgency=medium * New upstream version 0.9.1 * debian/patches/: Refresh patch to setup.py to use packaged Javascript libraries * debian/copyright: Update * debian/control: Update versioned dependency on python3-m2crypto >= 0.37.1~ * debian/control: Remove dependency on python3-libnacl -- Robert Edmonds Sun, 31 Jan 2021 01:59:32 -0500 dnsviz (0.8.2-1) unstable; urgency=medium * New upstream version 0.8.2 * Bump the dh compat to 12 * Use pybuild instead of python-distutils to build the package * Bump the python dependency to python3 * Fix the inkscape invocation -- Ondřej Surý Mon, 11 May 2020 10:36:13 +0200 dnsviz (0.8.0-1) unstable; urgency=medium * New upstream version 0.8.0 * debian/control: Update Vcs-Browser, Vcs-Git * debian/control: Bump Standards-Version to 4.3.0 (no changes) * debian/control: Update Build-Depends for 0.8.0 * debian/control: Remove X-Python-Version, per Lintian -- Robert Edmonds Sun, 03 Feb 2019 19:46:32 -0500 dnsviz (0.6.6-1.1) unstable; urgency=high * Non-maintainer upload. * Update the maintainer address. (Closes: #899483) -- Adrian Bunk Sun, 03 Feb 2019 15:51:13 +0200 dnsviz (0.6.6-1) unstable; urgency=medium * Imported upstream version 0.6.6 -- Ondřej Surý Thu, 24 Aug 2017 08:07:12 +0200 dnsviz (0.6.4-1) unstable; urgency=medium * Imported upstream version 0.6.4 -- Ondřej Surý Tue, 01 Nov 2016 15:19:12 +0100 dnsviz (0.6.3-1) unstable; urgency=low * Imported upstream version 0.6.3 -- Ondřej Surý Wed, 12 Oct 2016 11:46:19 +0200 dnsviz (0.6.0-1) unstable; urgency=medium [ Ondřej Surý ] * Update wikimedia public domain copyright information * Imported Upstream version 0.6.0 -- Ondřej Surý Thu, 08 Sep 2016 14:45:41 +0200 dnsviz (0.5.4-1) unstable; urgency=medium * Initial release. (Closes: #774706) -- Robert Edmonds Sat, 11 Jun 2016 00:21:13 -0400 debian/control0000644000000000000000000000177515005114043010574 0ustar Source: dnsviz Section: net Priority: optional Maintainer: Debian DNS Team Uploaders: Robert Edmonds , Ondřej Surý Build-Depends: debhelper-compat (= 13), dh-python, inkscape, python3-all, python3-cryptography, python3-dnspython (>= 1.13.0~), python3-pygraphviz (>= 1.4~), python3-setuptools Standards-Version: 4.7.0 Homepage: https://github.com/dnsviz/dnsviz Vcs-Browser: https://salsa.debian.org/dns-team/dnsviz Vcs-Git: https://salsa.debian.org/dns-team/dnsviz.git Package: dnsviz Architecture: all Depends: ${misc:Depends}, ${python3:Depends}, dns-root-data, libjs-jquery, libjs-jquery-ui, libjs-jquery-ui-theme-redmond, libjs-raphael, Description: Tools for analyzing and visualizing DNS and DNSSEC behavior DNSViz is a tool suite for analysis and visualization of Domain Name System (DNS) behavior, including its security extensions (DNSSEC). This tool suite powers the Web-based analysis available at . debian/copyright0000644000000000000000000001134715005114043011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Casey Deccio Upstream-Contact: Casey Deccio Source: https://github.com/dnsviz/dnsviz Files: * Copyright: 2012-2014 Sandia Corporation 2014-2016 VeriSign, Inc. 2016-2021 Casey Deccio License: GPL-2+ Files: debian/* Copyright: 2015-2021 Robert Edmonds 2016-2020 Ondřej Surý License: GPL-2+ License: GPL-2+ DNSViz 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. . DNSViz 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 DNSViz. If not, see . . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. Files: dnsviz/base32.py Copyright: 2001-2015 Python Software Foundation License: Python-2.0 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using this software ("Python") in source or binary form and its associated documentation. . 2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Python Software Foundation; All Rights Reserved" are retained in Python alone or in any derivative version prepared by Licensee. . 3. In the event Licensee prepares a derivative work that is based on or incorporates Python or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python. . 4. PSF is making Python available to Licensee on an "AS IS" basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. . 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. . 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. . 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between PSF and Licensee. This License Agreement does not grant permission to use PSF trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. . 8. By copying, installing or otherwise using Python, Licensee agrees to be bound by the terms and conditions of this License Agreement. Files: doc/src/error.svg Copyright: user:Penubag / Wikimedia Commons License: public-domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide. . In some countries this may not be legally possible; if so: . I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. Comment: Authorship and licensing information was retrieved on September 8, 2016 from: . Files: doc/src/warning.svg Copyright: user:Penubag / Wikimedia Commons License: public-domain This work has been released into the public domain by its author, penubag. This applies worldwide. . In some countries this may not be legally possible; if so: . penubag grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. Comment: Authorship and licensing information was retrieved on September 8, 2016 from: debian/dnsviz.links0000644000000000000000000000017115005114043011535 0ustar usr/share/dns/root.key usr/share/dnsviz/trusted-keys/root.txt usr/share/dns/root.hints usr/share/dnsviz/hints/named.root debian/docs0000644000000000000000000000001215005114043010023 0ustar README.md debian/gbp.conf0000644000000000000000000000017315005114043010577 0ustar [DEFAULT] debian-branch = debian/sid [buildpackage] pristine-tar = True [dch] commit-msg = debian/changelog: %(version)s debian/patches/0000755000000000000000000000000015005114043010606 5ustar debian/patches/0001-setup.py-Use-packaged-Javascript-libraries.patch0000644000000000000000000000242615005114043022345 0ustar From: Robert Edmonds Date: Sun, 29 Sep 2024 17:16:28 -0400 Subject: [PATCH] setup.py: Use packaged Javascript libraries --- setup.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 99f5fd6..9013914 100644 --- a/setup.py +++ b/setup.py @@ -20,10 +20,18 @@ else: from setuptools.command.install import install from setuptools.command.build_py import build_py -JQUERY_UI_PATH = "'https://code.jquery.com/ui/1.11.4/jquery-ui.min.js'" -JQUERY_UI_CSS_PATH = "'https://code.jquery.com/ui/1.11.4/themes/redmond/jquery-ui.css'" -JQUERY_PATH = "'https://code.jquery.com/jquery-1.11.3.min.js'" -RAPHAEL_PATH = "'https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.4/raphael-min.js'" +# Requires libjs-jquery-ui +JQUERY_UI_PATH = "'file:///usr/share/javascript/jquery-ui/jquery-ui.min.js'" + +# Requires libjs-jquery-ui-theme-redmond +JQUERY_UI_CSS_PATH = "'file:///usr/share/javascript/jquery-ui-themes/redmond/jquery-ui.css'" + +# Requires libjs-jquery +JQUERY_PATH = "'file:///usr/share/javascript/jquery/jquery.min.js'" + +# Requires libjs-raphael +RAPHAEL_PATH = "'file:///usr/share/javascript/raphael/raphael.min.js'" + RESOLV_CONF = "'/etc/resolv.conf'" def apply_substitutions(filename, install_prefix): debian/patches/debian-changes0000644000000000000000000000401315005114043013357 0ustar Subject: Collected Debian patches for dnsviz Author: Debian DNS Maintainers The dnsviz package is maintained in Git rather than maintaining patches as separate files, and separating the patches doesn't seem to be worth the effort. They are therefore all included in this single Debian patch. For full commit history and separated commits, see the packaging Git repository. --- /dev/null +++ dnsviz-0.11.1/dnsviz/config.py @@ -0,0 +1,40 @@ +# +# This file is a part of DNSViz, a tool suite for DNS/DNSSEC monitoring, +# analysis, and visualization. +# Created by Casey Deccio (casey@deccio.net) +# +# Copyright 2014-2016 Verisign, Inc. +# +# Copyright 2016-2021 Casey Deccio +# +# DNSViz 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. +# +# DNSViz 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 DNSViz. If not, see . +# + +from __future__ import unicode_literals + +import os +import sys + +_prefix = '' +if (hasattr(sys, 'real_prefix') or hasattr(sys, 'base_prefix')) and \ + not _prefix: + DNSVIZ_INSTALL_PREFIX = sys.prefix +else: + DNSVIZ_INSTALL_PREFIX = _prefix +DNSVIZ_SHARE_PATH = os.getenv('DNSVIZ_SHARE_PATH', os.path.join(DNSVIZ_INSTALL_PREFIX, 'share', 'dnsviz')) +JQUERY_PATH = 'file:///usr/share/javascript/jquery/jquery.min.js' +JQUERY_UI_PATH = 'file:///usr/share/javascript/jquery-ui/jquery-ui.min.js' +JQUERY_UI_CSS_PATH = 'file:///usr/share/javascript/jquery-ui-themes/redmond/jquery-ui.css' +RAPHAEL_PATH = 'file:///usr/share/javascript/raphael/raphael.min.js' +RESOLV_CONF = '/etc/resolv.conf' debian/patches/series0000644000000000000000000000010515005114043012017 0ustar 0001-setup.py-Use-packaged-Javascript-libraries.patch debian-changes debian/rules0000755000000000000000000000032615005114043010240 0ustar #!/usr/bin/make -f %: dh $@ --with python3 --buildsystem=pybuild override_dh_auto_build: $(MAKE) -C doc icons dh_auto_build override_dh_auto_clean: $(MAKE) -C doc clean dh_auto_clean override_dh_auto_test: debian/source/0000755000000000000000000000000015005114043010457 5ustar debian/source/format0000644000000000000000000000001415005114043011665 0ustar 3.0 (quilt) debian/source/options0000644000000000000000000000005115005114043012071 0ustar single-debian-patch compression = "gzip" debian/source/patch-header0000644000000000000000000000064015005114043012727 0ustar Subject: Collected Debian patches for dnsviz Author: Debian DNS Maintainers The dnsviz package is maintained in Git rather than maintaining patches as separate files, and separating the patches doesn't seem to be worth the effort. They are therefore all included in this single Debian patch. For full commit history and separated commits, see the packaging Git repository. debian/watch0000644000000000000000000000022115005114043010203 0ustar version=3 opts="uversionmangle=s/-/~/" \ https://github.com/dnsviz/dnsviz/releases /dnsviz/dnsviz/releases/download/.*/dnsviz-([0-9.]+)\.tar\.gz