Maintainer: Knot DNS <knot-dns@labs.nic.cz>
Uploaders:
Tomas Krizek <tomas.krizek@nic.cz>
-Build-Depends-Indep: ghostscript,
- python-sphinx,
- texinfo,
- texlive,
- texlive-font-utils,
- texlive-generic-extra,
- texlive-latex-extra
-Build-Depends: autotools-dev,
- debhelper (>= 9),
- dh-autoreconf,
- dh-systemd,
- latexmk,
- libedit-dev,
- libfstrm-dev,
- libgnutls28-dev,
- libidn11-dev,
- liblmdb-dev,
- libprotobuf-c-dev,
- libsystemd-dev [linux-any] | libsystemd-daemon-dev [linux-any],
- libsystemd-dev [linux-any] | libsystemd-journal-dev [linux-any],
- liburcu-dev (>= 0.4),
- pkg-config,
- protobuf-c-compiler
+Build-Depends-Indep:
+ ghostscript,
+ python3-sphinx,
+ texinfo,
+ texlive,
+ texlive-font-utils,
+ texlive-generic-extra,
+ texlive-latex-extra,
+Build-Depends:
+ debhelper (>= 9),
+ latexmk,
+ libedit-dev,
+ libfstrm-dev,
+ libgnutls28-dev,
+ libidn11-dev,
+ liblmdb-dev,
+ libprotobuf-c-dev,
+ libsystemd-dev [linux-any] | libsystemd-daemon-dev [linux-any],
+ libsystemd-dev [linux-any] | libsystemd-journal-dev [linux-any],
+ liburcu-dev (>= 0.4),
+ pkg-config,
+ protobuf-c-compiler,
Homepage: https://www.knot-dns.cz/
Package: knot
Architecture: any
-Depends: adduser,
- libdnssec5 (= ${binary:Version}),
- libknot7 (= ${binary:Version}),
- libzscanner1 (= ${binary:Version}),
- lsb-base (>= 3.0-6),
- python,
- python-lmdb,
- python-yaml,
- ${misc:Depends},
- ${shlibs:Depends}
-Suggests: systemd
+Depends:
+ adduser,
+ libdnssec5 (= ${binary:Version}),
+ libknot7 (= ${binary:Version}),
+ libzscanner1 (= ${binary:Version}),
+ lsb-base (>= 3.0-6),
+ python3,
+ python3-yaml,
+ ${misc:Depends},
+ ${shlibs:Depends},
+Recommends:
+ python3-lmdb,
+Suggests:
+ systemd,
Description: Authoritative domain name server
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
Package: libknot7
Architecture: any
-Depends: ${misc:Depends},
- ${shlibs:Depends}
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
Section: libs
-Replaces: knot-libs (<< 2.0.1-4),
- libknot6 (<< 2.6.1-1~)
-Breaks: knot-libs (<< 2.0.1-4),
- libknot6 (<< 2.6.1-1~)
+Replaces:
+ knot-libs (<< 2.0.1-4),
+ libknot6 (<< 2.6.1-1~)
+Breaks:
+ knot-libs (<< 2.0.1-4),
+ libknot6 (<< 2.6.1-1~)
Description: Authoritative domain name server (shared library)
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
Package: libzscanner1
Architecture: any
-Depends: ${misc:Depends},
- ${shlibs:Depends}
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
Section: libs
-Replaces: knot-libs (<< 2.0.1-4),
- libzscanner0 (<< 2.3.0~)
-Breaks: knot-libs (<< 2.0.1-4),
- libzscanner0 (<< 2.3.0~)
+Replaces:
+ knot-libs (<< 2.0.1-4),
+ libzscanner0 (<< 2.3.0~),
+Breaks:
+ knot-libs (<< 2.0.1-4),
+ libzscanner0 (<< 2.3.0~),
Description: DNS zone-parsing library from Knot
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
Package: libdnssec5
Architecture: any
-Depends: ${misc:Depends},
- ${shlibs:Depends}
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
Section: libs
-Replaces: knot-libs (<< 2.0.1-4),
- libdnssec4 (<< 2.6.1-1~)
-Breaks: knot-libs (<< 2.0.1-4),
- libdnssec4 (<< 2.6.1-1~)
+Replaces:
+ knot-libs (<< 2.0.1-4),
+ libdnssec4 (<< 2.6.1-1~),
+Breaks:
+ knot-libs (<< 2.0.1-4),
+ libdnssec4 (<< 2.6.1-1~),
Description: DNSSEC shared library from Knot
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
Package: libknot-dev
Architecture: any
-Depends: libdnssec5 (= ${binary:Version}),
- libgnutls28-dev,
- libjansson-dev,
- libknot7 (= ${binary:Version}),
- libzscanner1 (= ${binary:Version}),
- ${misc:Depends},
- ${shlibs:Depends}
+Multi-Arch: same
+Depends:
+ libdnssec5 (= ${binary:Version}),
+ libgnutls28-dev,
+ libjansson-dev,
+ libknot7 (= ${binary:Version}),
+ libzscanner1 (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
Section: libdevel
-Replaces: knot-libs (<< 2.0.1-4)
-Breaks: knot-libs (<< 2.0.1-4)
+Replaces:
+ knot-libs (<< 2.0.1-4),
+Breaks:
+ knot-libs (<< 2.0.1-4),
Description: Knot DNS shared library development files
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
Package: knot-dnsutils
Architecture: any
-Depends: libdnssec5 (= ${binary:Version}),
- libknot7 (= ${binary:Version}),
- libzscanner1 (= ${binary:Version}),
- ${misc:Depends},
- ${shlibs:Depends}
+Depends:
+ libdnssec5 (= ${binary:Version}),
+ libknot7 (= ${binary:Version}),
+ libzscanner1 (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
Description: Clients provided with Knot DNS (kdig, knslookup, knsupdate)
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
Package: knot-host
Architecture: any
-Depends: libdnssec5 (= ${binary:Version}),
- libknot7 (= ${binary:Version}),
- libzscanner1 (= ${binary:Version}),
- ${misc:Depends},
- ${shlibs:Depends}
+Depends:
+ libdnssec5 (= ${binary:Version}),
+ libknot7 (= ${binary:Version}),
+ libzscanner1 (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
Description: Version of 'host' bundled with Knot DNS
Knot DNS is a fast, authoritative only, high performance, feature
full and open source name server.
Package: knot-doc
Architecture: all
-Depends: ${misc:Depends}
+Multi-Arch: foreign
+Depends:
+ libjs-jquery,
+ libjs-underscore,
+ ${misc:Depends},
Section: doc
Description: Documentation for Knot DNS
Knot DNS is a fast, authoritative only, high performance, feature
--- /dev/null
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+Date: Tue, 20 Feb 2018 11:08:30 -0800
+Subject: use python3 in pykeymgr
+
+Debian currently explicitly uses the name "python3" to refer to python
+3, so adjust the shebang line to match.
+
+While we're at it, encourage the user to install packages via apt,
+instead of pip.
+
+Also, note that py3 uses / for "normal" division, but // is integer
+division on both py2 and py3.
+---
+ src/utils/pykeymgr/pykeymgr.in | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+Index: knot-dns/src/utils/pykeymgr/pykeymgr.in
+===================================================================
+--- knot-dns.orig/src/utils/pykeymgr/pykeymgr.in
++++ knot-dns/src/utils/pykeymgr/pykeymgr.in
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python3
+ # vim: et ts=4 sw=4 sts=4
+ #
+ # Manipulate LMDB-beckended KASP database (import from obsolete JSON KASP, list, modify...).
+@@ -30,7 +30,7 @@ def lmdb_requirement():
+ lmdb = importlib.import_module('lmdb')
+ except ImportError:
+ print("Error: unable to import module LMDB.")
+- print("Probably you need to 'pip install lmdb' or so.")
++ print("Probably you need to 'apt install python3-lmdb'.")
+ sys.exit(10)
+
+ # workarounding that python 2 doesn't have int.to_bytes()
+@@ -84,7 +84,7 @@ def shuffle_unixtime(base_time, shuffle_
+ dt = datetime.datetime.fromtimestamp(base_time)
+ newmonth = (dt.month - 1 + rsm) % 12 + 1 # in python, % always returns [0, 11]
+ sameyear = dt.month + rsm % 12
+- newyear = dt.year + rsm / 12 + (0 if sameyear in range(1, 13) else 1) # in python, (-1)/12 = -1
++ newyear = dt.year + rsm // 12 + (0 if sameyear in range(1, 13) else 1) # in python, (-1)//12 = -1
+ dt2 = dt.replace(month=newmonth, year=newyear)
+ print(dt2.month, "/", dt2.year)
+ ttuple = dt2.timetuple()
Format: 3.0 (quilt)
Source: knot
-Binary: knot, libknot7, libzscanner1, libdnssec5, libknot-dev, knot-dnsutils, knot-host, knot-doc
+Binary:
+ knot,
+ libknot7,
+ libzscanner1,
+ libdnssec5,
+ libknot-dev,
+ knot-dnsutils,
+ knot-host,
+ knot-doc,
Architecture: any all
Version: __VERSION__-1
Maintainer: Knot DNS <knot-dns@lists.nic.cz>
Uploaders: Tomas Krizek <tomas.krizek@nic.cz>
Homepage: https://www.knot-dns.cz/
-Build-Depends: autotools-dev, bash-completion, bison, debhelper (>= 9), dh-autoreconf, dh-systemd, flex, latexmk, libedit-dev, libfstrm-dev, libgnutls28-dev, libidn11-dev, libjansson-dev (>= 2.4), liblmdb-dev, libprotobuf-c-dev, libsystemd-dev [linux-any] | libsystemd-daemon-dev [linux-any], libsystemd-dev [linux-any] | libsystemd-journal-dev [linux-any], liburcu-dev (>= 0.4), pkg-config, protobuf-c-compiler
-Build-Depends-Indep: ghostscript, python-sphinx, texinfo, texlive, texlive-font-utils, texlive-generic-extra, texlive-latex-extra
+Build-Depends:
+ bash-completion,
+ bison,
+ debhelper (>= 9),
+ flex,
+ latexmk,
+ libedit-dev,
+ libfstrm-dev,
+ libgnutls28-dev,
+ libidn11-dev,
+ libjansson-dev (>= 2.4),
+ liblmdb-dev,
+ libprotobuf-c-dev,
+ libsystemd-dev [linux-any] | libsystemd-daemon-dev [linux-any],
+ libsystemd-dev [linux-any] | libsystemd-journal-dev [linux-any],
+ liburcu-dev (>= 0.4),
+ pkg-config,
+ protobuf-c-compiler,
+Build-Depends-Indep:
+ ghostscript,
+ python3-sphinx,
+ texinfo,
+ texlive,
+ texlive-font-utils,
+ texlive-generic-extra,
+ texlive-latex-extra,
Package-List:
knot deb net optional arch=any
knot-dnsutils deb net optional arch=any