| 1 |
Subject: Collected Debian patches for dnsviz |
| 2 |
Author: Debian DNS Maintainers <[email protected]> |
| 3 |
|
| 4 |
The dnsviz package is maintained in Git rather than maintaining |
| 5 |
patches as separate files, and separating the patches doesn't seem to |
| 6 |
be worth the effort. They are therefore all included in this single |
| 7 |
Debian patch. |
| 8 |
|
| 9 |
For full commit history and separated commits, see the packaging Git |
| 10 |
repository. |
| 11 |
--- /dev/null |
| 12 |
+++ dnsviz-0.11.1/dnsviz/config.py |
| 13 |
@@ -0,0 +1,40 @@ |
| 14 |
+# |
| 15 |
+# This file is a part of DNSViz, a tool suite for DNS/DNSSEC monitoring, |
| 16 |
+# analysis, and visualization. |
| 17 |
+# Created by Casey Deccio ([email protected]) |
| 18 |
+# |
| 19 |
+# Copyright 2014-2016 Verisign, Inc. |
| 20 |
+# |
| 21 |
+# Copyright 2016-2021 Casey Deccio |
| 22 |
+# |
| 23 |
+# DNSViz is free software; you can redistribute it and/or modify |
| 24 |
+# it under the terms of the GNU General Public License as published by |
| 25 |
+# the Free Software Foundation; either version 2 of the License, or |
| 26 |
+# (at your option) any later version. |
| 27 |
+# |
| 28 |
+# DNSViz is distributed in the hope that it will be useful, |
| 29 |
+# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 30 |
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 31 |
+# GNU General Public License for more details. |
| 32 |
+# |
| 33 |
+# You should have received a copy of the GNU General Public License along |
| 34 |
+# with DNSViz. If not, see <http://www.gnu.org/licenses/>. |
| 35 |
+# |
| 36 |
+ |
| 37 |
+from __future__ import unicode_literals |
| 38 |
+ |
| 39 |
+import os |
| 40 |
+import sys |
| 41 |
+ |
| 42 |
+_prefix = '' |
| 43 |
+if (hasattr(sys, 'real_prefix') or hasattr(sys, 'base_prefix')) and \ |
| 44 |
+ not _prefix: |
| 45 |
+ DNSVIZ_INSTALL_PREFIX = sys.prefix |
| 46 |
+else: |
| 47 |
+ DNSVIZ_INSTALL_PREFIX = _prefix |
| 48 |
+DNSVIZ_SHARE_PATH = os.getenv('DNSVIZ_SHARE_PATH', os.path.join(DNSVIZ_INSTALL_PREFIX, 'share', 'dnsviz')) |
| 49 |
+JQUERY_PATH = 'file:///usr/share/javascript/jquery/jquery.min.js' |
| 50 |
+JQUERY_UI_PATH = 'file:///usr/share/javascript/jquery-ui/jquery-ui.min.js' |
| 51 |
+JQUERY_UI_CSS_PATH = 'file:///usr/share/javascript/jquery-ui-themes/redmond/jquery-ui.css' |
| 52 |
+RAPHAEL_PATH = 'file:///usr/share/javascript/raphael/raphael.min.js' |
| 53 |
+RESOLV_CONF = '/etc/resolv.conf' |