gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [ascension] branch master updated: minor fixes to GNS2DNS,


From: gnunet
Subject: [GNUnet-SVN] [ascension] branch master updated: minor fixes to GNS2DNS, repackaging
Date: Sat, 01 Jun 2019 11:48:42 +0200

This is an automated email from the git hooks/post-receive script.

rexxnor pushed a commit to branch master
in repository ascension.

The following commit(s) were added to refs/heads/master by this push:
     new 4014bd2  minor fixes to GNS2DNS, repackaging
4014bd2 is described below

commit 4014bd21f5e6d223654257715e50812ddf02939a
Author: rexxnor <address@hidden>
AuthorDate: Sat Jun 1 11:45:58 2019 +0200

    minor fixes to GNS2DNS, repackaging
---
 ascension-0.11.4.tar.gz                            | Bin 10528 -> 10655 bytes
 ascension-0.11.5.tar.gz                            | Bin 0 -> 10652 bytes
 ascension/ascension.py                             |  20 ++--
 deb_dist/ascension-0.11.4/ascension/ascension.py   |  53 ++++++++---
 deb_dist/ascension-0.11.4/debian/changelog         |   2 +-
 deb_dist/ascension-0.11.4/debian/copyright         |  21 ++++
 .../debian/python3-ascension/DEBIAN/control        |   2 +-
 .../debian/python3-ascension/DEBIAN/md5sums        |   5 +-
 .../doc/python3-ascension/changelog.Debian.gz      | Bin 163 -> 162 bytes
 .../usr/share/doc/python3-ascension/copyright      |  21 ++++
 deb_dist/ascension-0.11.4/debian/rules             |   2 +-
 deb_dist/ascension-0.11.5/.pc/.quilt_patches       |   1 +
 deb_dist/ascension-0.11.5/.pc/.quilt_series        |   1 +
 deb_dist/ascension-0.11.5/.pc/.version             |   1 +
 deb_dist/ascension-0.11.5/.pc/applied-patches      |   0
 deb_dist/ascension-0.11.5/PKG-INFO                 |  81 ++++++++++++++++
 deb_dist/ascension-0.11.5/README                   |  70 ++++++++++++++
 deb_dist/ascension-0.11.5/ascension.1              | 106 +++++++++++++++++++++
 deb_dist/ascension-0.11.5/ascension/__init__.py    |   0
 .../ascension-0.11.5/ascension}/ascension.py       |  20 ++--
 .../python3-ascension/installed-by-dh_installdocs  |   0
 deb_dist/ascension-0.11.5/debian/changelog         |   5 +
 deb_dist/ascension-0.11.5/debian/compat            |   1 +
 .../DEBIAN => ascension-0.11.5/debian}/control     |  16 +++-
 deb_dist/ascension-0.11.5/debian/copyright         |  21 ++++
 deb_dist/ascension-0.11.5/debian/files             |   2 +
 .../debian/python3-ascension.postinst              |  44 +++++++++
 .../debian/python3-ascension.postinst.debhelper    |   7 ++
 .../debian/python3-ascension.prerm                 |  19 ++++
 .../debian/python3-ascension.prerm.debhelper       |  10 ++
 .../debian/python3-ascension.substvars             |   3 +
 .../debian/python3-ascension/DEBIAN/control        |   4 +-
 .../debian/python3-ascension/DEBIAN/md5sums        |  11 +++
 .../debian/python3-ascension/DEBIAN/postinst       |  51 ++++++++++
 .../debian/python3-ascension/DEBIAN/prerm          |  29 ++++++
 .../debian/python3-ascension/usr/bin/ascension     |  12 +++
 .../python3-ascension/usr/man/man1/ascension.1     | 106 +++++++++++++++++++++
 .../doc/python3-ascension/changelog.Debian.gz      | Bin 0 -> 160 bytes
 .../usr/share/doc/python3-ascension/copyright      |  21 ++++
 .../debian/rules                                   |   2 +-
 deb_dist/ascension-0.11.5/debian/source/format     |   1 +
 deb_dist/ascension-0.11.5/debian/source/options    |   1 +
 deb_dist/ascension-0.11.5/setup.cfg                |   4 +
 setup.py => deb_dist/ascension-0.11.5/setup.py     |   2 +-
 deb_dist/ascension_0.11.4-1.debian.tar.xz          | Bin 1668 -> 1888 bytes
 deb_dist/ascension_0.11.4-1.dsc                    |  12 +--
 deb_dist/ascension_0.11.4-1_amd64.buildinfo        |  16 ++--
 deb_dist/ascension_0.11.4-1_amd64.changes          |  32 +++----
 deb_dist/ascension_0.11.4-1_source.buildinfo       |  10 +-
 deb_dist/ascension_0.11.4-1_source.changes         |  26 ++---
 deb_dist/ascension_0.11.4.orig.tar.gz              | Bin 10528 -> 10655 bytes
 deb_dist/ascension_0.11.5-1.debian.tar.xz          | Bin 0 -> 1888 bytes
 deb_dist/ascension_0.11.5-1.dsc                    |  19 ++++
 ...uildinfo => ascension_0.11.5-1_amd64.buildinfo} |  18 ++--
 deb_dist/ascension_0.11.5-1_amd64.changes          |  34 +++++++
 ...ildinfo => ascension_0.11.5-1_source.buildinfo} |  12 +--
 deb_dist/ascension_0.11.5-1_source.changes         |  31 ++++++
 deb_dist/ascension_0.11.5.orig.tar.gz              | Bin 0 -> 10652 bytes
 deb_dist/python3-ascension_0.11.4-1_all.deb        | Bin 11684 -> 12070 bytes
 deb_dist/python3-ascension_0.11.5-1_all.deb        | Bin 0 -> 12074 bytes
 .../debian/ascension-bind.config                   |  44 +++------
 .../debian/ascension-bind.prerm                    |   2 +
 .../debian/ascension-bind.templates                |   1 +
 .../debian/ascension-bind/DEBIAN/config            |  44 +++------
 .../debian/ascension-bind/DEBIAN/control           |   2 +-
 .../debian/ascension-bind/DEBIAN/templates         |   1 +
 debian/ascension-bind-0.0.1/debian/control         |   2 +-
 debian/ascension-bind_0.0.1-1.debian.tar.xz        | Bin 4312 -> 4096 bytes
 debian/ascension-bind_0.0.1-1.dsc                  |   8 +-
 debian/ascension-bind_0.0.1-1_amd64.buildinfo      |  39 ++------
 debian/ascension-bind_0.0.1-1_amd64.changes        |  24 ++---
 debian/ascension-bind_0.0.1-1_amd64.deb            | Bin 3896 -> 3670 bytes
 setup.py                                           |   2 +-
 73 files changed, 936 insertions(+), 221 deletions(-)

diff --git a/ascension-0.11.4.tar.gz b/ascension-0.11.4.tar.gz
index a2707ef..985e6d7 100644
Binary files a/ascension-0.11.4.tar.gz and b/ascension-0.11.4.tar.gz differ
diff --git a/ascension-0.11.5.tar.gz b/ascension-0.11.5.tar.gz
new file mode 100644
index 0000000..24e6093
Binary files /dev/null and b/ascension-0.11.5.tar.gz differ
diff --git a/ascension/ascension.py b/ascension/ascension.py
index 9e11fce..da54ca4 100644
--- a/ascension/ascension.py
+++ b/ascension/ascension.py
@@ -75,7 +75,7 @@ SUPPORTED_RECORD_TYPES = [
 OBSOLETE_RECORD_TYPES = [
     "PTR",
     "SIG", "KEY",
-    "RRSIG", "NSEC", "DNSKEY", "NSEC3", "NSEC3PARAM", "CDNSKEY",
+    "RRSIG", "NSEC", "DNSKEY", "NSEC3", "NSEC3PARAM", "CDNSKEY", "DS"
     "TKEY", "TSIG",
     "TA", "DLV",
 ]
@@ -109,7 +109,12 @@ class Ascender():
         """
         try:
             ret = sp.run([GNUNET_ZONE_CREATION_COMMAND,
-                          '-C', self.domain])
+                          '-C', self.domain,
+                          '-V'],
+                         stdout=sp.PIPE,
+                         stderr=sp.DEVNULL)
+            pkey = ret.stdout.decode().strip()
+            self.subzonedict[self.domain] = (pkey, self.minimum)
             logging.info("executed command: %s", " ".join(ret.args))
         except sp.CalledProcessError:
             logging.info("Zone %s already exists!", self.domain)
@@ -397,12 +402,7 @@ class Ascender():
                     value = self.resolve_glue(record.target)
                 else:
                      # out of bailiwick
-                    if label.startswith("@"):
-                        value = 'address@hidden' % (zonename, nameserver)
-                    else:
-                        value = 'address@hidden' % (str(label),
-                                              zonename,
-                                              nameserver)
+                    value = 'address@hidden' % (zonename, nameserver)
             else:
                 # Name is relative to zone, must be in bailiwick
                 value = self.resolve_glue(record.target)
@@ -602,7 +602,7 @@ class Ascender():
             # FIXME: extend gnunet-namestore to return *specific* error code 
for
             # "record already exists", and in that case reduce log level to 
DEBUG here.
             logging.info("failed to add PKEY record %s to %s",
-                            label, domain)
+                         label, domain)
         #logging.warning("PKEY record %s already exists in %s", label, domain)
 
     def create_zone_hierarchy(self) -> None:
@@ -682,7 +682,7 @@ def main():
     Initializes object and handles arguments
     """
     # argument parsing from docstring definition
-    args = docopt.docopt(__doc__, version='Ascension 0.11.4')
+    args = docopt.docopt(__doc__, version='Ascension 0.11.5')
 
     # argument parsing
     debug = args['--debug']
diff --git a/deb_dist/ascension-0.11.4/ascension/ascension.py 
b/deb_dist/ascension-0.11.4/ascension/ascension.py
index 7244e6c..ae9a151 100644
--- a/deb_dist/ascension-0.11.4/ascension/ascension.py
+++ b/deb_dist/ascension-0.11.4/ascension/ascension.py
@@ -75,7 +75,7 @@ SUPPORTED_RECORD_TYPES = [
 OBSOLETE_RECORD_TYPES = [
     "PTR",
     "SIG", "KEY",
-    "RRSIG", "NSEC", "DNSKEY", "NSEC3", "NSEC3PARAM", "CDNSKEY",
+    "RRSIG", "NSEC", "DNSKEY", "NSEC3", "NSEC3PARAM", "CDNSKEY", "DS"
     "TKEY", "TSIG",
     "TA", "DLV",
 ]
@@ -109,7 +109,12 @@ class Ascender():
         """
         try:
             ret = sp.run([GNUNET_ZONE_CREATION_COMMAND,
-                          '-C', self.domain])
+                          '-C', self.domain,
+                          '-V'],
+                         stdout=sp.PIPE,
+                         stderr=sp.DEVNULL)
+            pkey = ret.stdout.decode().strip()
+            self.subzonedict[self.domain] = (pkey, self.minimum)
             logging.info("executed command: %s", " ".join(ret.args))
         except sp.CalledProcessError:
             logging.info("Zone %s already exists!", self.domain)
@@ -185,6 +190,7 @@ class Ascender():
                 # define recordline
                 recordline = list()
                 label = ""
+                bestlabel = ""
                 domain = None
 
                 labelrecords = taskqueue.get()
@@ -195,8 +201,10 @@ class Ascender():
                 # execute thing to run on item
                 label, listofrdatasets = labelrecords
                 label = str(label)
+
                 subzones = str(label).split('.')
                 domain = self.domain
+                bestlabel = label
 
                 if len(subzones) > 1:
                     label = subzones[0]
@@ -208,6 +216,7 @@ class Ascender():
                         domain = fqdn
                     elif subzone in self.subzonedict.keys():
                         domain = subzone
+                    bestlabel = label
 
                 for rdataset in listofrdatasets:
                     for record in rdataset:
@@ -239,7 +248,7 @@ class Ascender():
                             self.transform_to_gns_format(record,
                                                          rdtype,
                                                          domain,
-                                                         label)
+                                                         bestlabel)
                         # skip record if value is none
                         if value is None:
                             continue
@@ -393,12 +402,7 @@ class Ascender():
                     value = self.resolve_glue(record.target)
                 else:
                      # out of bailiwick
-                    if label.startswith("@"):
-                        value = 'address@hidden' % (zonename, nameserver)
-                    else:
-                        value = 'address@hidden' % (str(label),
-                                              zonename,
-                                              nameserver)
+                    value = 'address@hidden' % (zonename, nameserver)
             else:
                 # Name is relative to zone, must be in bailiwick
                 value = self.resolve_glue(record.target)
@@ -463,9 +467,14 @@ class Ascender():
         :returns: serial of the SOA record in GNS
         """
         try:
-            serial = sp.check_output([GNUNET_GNS_COMMAND,
+            #serial = sp.check_output([GNUNET_GNS_COMMAND,
+            #                          '-t', 'SOA',
+            #                          '-u', '%s' % self.domain,])
+            serial = sp.check_output([GNUNET_NAMESTORE_COMMAND,
+                                      '-D',
+                                      '-z', self.domain,
                                       '-t', 'SOA',
-                                      '-u', '%s' % self.domain,])
+                                      '-n', '@'])
             serial = serial.decode()
         except sp.CalledProcessError:
             serial = ""
@@ -514,9 +523,23 @@ class Ascender():
                                                       retry,
                                                       expiry,
                                                       irefresh)
-        recordval = '%s %s %s %s' % (ttl, "SOA", self.flags, str(value))
-        recordline = ['-R', recordval]
-        self.add_recordline_to_gns(recordline, self.domain, str(label))
+        # Deleting old SOA record and ignoring errors
+        sp.run([GNUNET_NAMESTORE_COMMAND,
+                '-d',
+                '-z', self.domain,
+                '-n', str(label),
+                '-t', "SOA",],
+               stderr=sp.DEVNULL)
+        logging.info("Deleted old SOA record")
+        # Adding new SOA record
+        sp.run([GNUNET_NAMESTORE_COMMAND,
+                '-a',
+                '-z', self.domain,
+                '-n', str(label),
+                '-t', "SOA",
+                '-V', value,
+                '-e', "%ss" % str(self.minimum)])
+        logging.info("Added new SOA record")
 
     @staticmethod
     def create_zone_and_get_pkey(zonestring: str) -> str:
@@ -579,7 +602,7 @@ class Ascender():
             # FIXME: extend gnunet-namestore to return *specific* error code 
for
             # "record already exists", and in that case reduce log level to 
DEBUG here.
             logging.info("failed to add PKEY record %s to %s",
-                            label, domain)
+                         label, domain)
         #logging.warning("PKEY record %s already exists in %s", label, domain)
 
     def create_zone_hierarchy(self) -> None:
diff --git a/deb_dist/ascension-0.11.4/debian/changelog 
b/deb_dist/ascension-0.11.4/debian/changelog
index d90a3de..298fdba 100644
--- a/deb_dist/ascension-0.11.4/debian/changelog
+++ b/deb_dist/ascension-0.11.4/debian/changelog
@@ -2,4 +2,4 @@ ascension (0.11.4-1) unstable; urgency=low
 
   * source package automatically created by stdeb 0.8.5
 
- -- rexxnor <address@hidden>  Fri, 24 May 2019 07:32:55 +0000
+ -- rexxnor <address@hidden>  Sat, 01 Jun 2019 09:35:40 +0000
diff --git a/deb_dist/ascension-0.11.4/debian/copyright 
b/deb_dist/ascension-0.11.4/debian/copyright
new file mode 100644
index 0000000..e02fffd
--- /dev/null
+++ b/deb_dist/ascension-0.11.4/debian/copyright
@@ -0,0 +1,21 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python3-ascension
+Source: <https://git.gnunet.org/ascension.git/>
+
+Files: *
+Copyright: 2019 GNUnet e.V.
+License: AGPL-3.0
+ Source: python3-ascension
+ Section: contrib
+ Priority: optional
+ Maintainer: rexxnor <address@hidden>
+ Build-Depends: debhelper (>= 9), python3-ascension, bind9
+ Standards-Version: 3.9.8
+ Homepage: https://git.gnunet.org/ascension.git/
+
+ Package: ascension-bind
+ Architecture: any
+ Depends: ${shlibs:Depends}, ${misc:Depends}
+ Description: Tool to migrate DNS Zones to the GNU Name System
+ Tool to easily migrate existing DNS Zones into the GNU Name System using
+ incremental zone transfers (AXFR/IXFR).
diff --git a/deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/control 
b/deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/control
index b5ede21..793655c 100644
--- a/deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/control
+++ b/deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/control
@@ -3,7 +3,7 @@ Source: ascension
 Version: 0.11.4-1
 Architecture: all
 Maintainer: rexxnor <address@hidden>
-Installed-Size: 60
+Installed-Size: 62
 Depends: python3-coverage, python3-dnspython, python3-docopt, python3-mock, 
python3-pbr, python3-six, python3:any (>= 3.3.2-2~)
 Section: python
 Priority: optional
diff --git a/deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/md5sums 
b/deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/md5sums
index 829435d..e471906 100644
--- a/deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/md5sums
+++ b/deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/md5sums
@@ -5,6 +5,7 @@ b1efd00ba6c7edbe41310553322d00d4  
usr/lib/python3/dist-packages/ascension-0.11.4
 d41d8cd98f00b204e9800998ecf8427e  
usr/lib/python3/dist-packages/ascension-0.11.4.egg-info/requires.txt
 e616e4373e7b199db038fd8e938a3188  
usr/lib/python3/dist-packages/ascension-0.11.4.egg-info/top_level.txt
 d41d8cd98f00b204e9800998ecf8427e  
usr/lib/python3/dist-packages/ascension/__init__.py
-833d17dfed5605c8f51666b901bbbad1  
usr/lib/python3/dist-packages/ascension/ascension.py
+279bf53fa2ad706b4c8befed37750053  
usr/lib/python3/dist-packages/ascension/ascension.py
 de060b4ca299c6460ff508aed915526b  usr/man/man1/ascension.1
-03c74fcaddfab396bc49e20cda862d89  
usr/share/doc/python3-ascension/changelog.Debian.gz
+fee302c839129b948880bc9c1ff476e7  
usr/share/doc/python3-ascension/changelog.Debian.gz
+42cbfd228642e598041a4f8583b17259  usr/share/doc/python3-ascension/copyright
diff --git 
a/deb_dist/ascension-0.11.4/debian/python3-ascension/usr/share/doc/python3-ascension/changelog.Debian.gz
 
b/deb_dist/ascension-0.11.4/debian/python3-ascension/usr/share/doc/python3-ascension/changelog.Debian.gz
index ef6dd45..d5bc76c 100644
Binary files 
a/deb_dist/ascension-0.11.4/debian/python3-ascension/usr/share/doc/python3-ascension/changelog.Debian.gz
 and 
b/deb_dist/ascension-0.11.4/debian/python3-ascension/usr/share/doc/python3-ascension/changelog.Debian.gz
 differ
diff --git 
a/deb_dist/ascension-0.11.4/debian/python3-ascension/usr/share/doc/python3-ascension/copyright
 
b/deb_dist/ascension-0.11.4/debian/python3-ascension/usr/share/doc/python3-ascension/copyright
new file mode 100644
index 0000000..e02fffd
--- /dev/null
+++ 
b/deb_dist/ascension-0.11.4/debian/python3-ascension/usr/share/doc/python3-ascension/copyright
@@ -0,0 +1,21 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python3-ascension
+Source: <https://git.gnunet.org/ascension.git/>
+
+Files: *
+Copyright: 2019 GNUnet e.V.
+License: AGPL-3.0
+ Source: python3-ascension
+ Section: contrib
+ Priority: optional
+ Maintainer: rexxnor <address@hidden>
+ Build-Depends: debhelper (>= 9), python3-ascension, bind9
+ Standards-Version: 3.9.8
+ Homepage: https://git.gnunet.org/ascension.git/
+
+ Package: ascension-bind
+ Architecture: any
+ Depends: ${shlibs:Depends}, ${misc:Depends}
+ Description: Tool to migrate DNS Zones to the GNU Name System
+ Tool to easily migrate existing DNS Zones into the GNU Name System using
+ incremental zone transfers (AXFR/IXFR).
diff --git a/deb_dist/ascension-0.11.4/debian/rules 
b/deb_dist/ascension-0.11.4/debian/rules
index e18262a..a2a9bb4 100755
--- a/deb_dist/ascension-0.11.4/debian/rules
+++ b/deb_dist/ascension-0.11.4/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 # This file was automatically generated by stdeb 0.8.5 at
-# Fri, 24 May 2019 07:32:55 +0000
+# Sat, 01 Jun 2019 09:35:40 +0000
 
 %:
        dh $@ --with python3 --buildsystem=python_distutils
diff --git a/deb_dist/ascension-0.11.5/.pc/.quilt_patches 
b/deb_dist/ascension-0.11.5/.pc/.quilt_patches
new file mode 100644
index 0000000..6857a8d
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/.pc/.quilt_patches
@@ -0,0 +1 @@
+debian/patches
diff --git a/deb_dist/ascension-0.11.5/.pc/.quilt_series 
b/deb_dist/ascension-0.11.5/.pc/.quilt_series
new file mode 100644
index 0000000..c206706
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/.pc/.quilt_series
@@ -0,0 +1 @@
+series
diff --git a/deb_dist/ascension-0.11.5/.pc/.version 
b/deb_dist/ascension-0.11.5/.pc/.version
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/.pc/.version
@@ -0,0 +1 @@
+2
diff --git a/deb_dist/ascension-0.11.5/.pc/applied-patches 
b/deb_dist/ascension-0.11.5/.pc/applied-patches
new file mode 100644
index 0000000..e69de29
diff --git a/deb_dist/ascension-0.11.5/PKG-INFO 
b/deb_dist/ascension-0.11.5/PKG-INFO
new file mode 100644
index 0000000..d94a2a7
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/PKG-INFO
@@ -0,0 +1,81 @@
+Metadata-Version: 1.1
+Name: ascension
+Version: 0.11.5
+Summary: Tool to migrate DNS Zones to the GNU Name System
+Home-page: https://gnunet.org/git/ascension.git/
+Author: rexxnor
+Author-email: address@hidden
+License: UNKNOWN
+Description: # Ascension
+        
+        Tool to easily migrate existing DNS Zones into the GNU Name System 
using
+        incremental zone transfers (AXFR/IXFR).
+        
+        ## How to install
+        To install the ascension simply execute one of the following commands 
in the
+        freshly cloned directory:
+        
+        ```bash
+        # System wide installation
+        sudo python3 setup.py install
+        
+        # Local installation through virtualenv
+        python3 -m venv .venv
+        source .venv/bin/activate
+        python3 setup.py install
+        ```
+        
+        ## How to install (Developer)
+        A developer installation is very handy when you are making changes to 
the source
+        code as this way you don't need to re-run the installation procedure 
every time
+        you make a change.
+        
+        ```bash
+        # installation through virtualenv
+        python3 -m venv .venv
+        source .venv/bin/activate
+        python3 setup.py develop
+        ```
+        
+        ## How to use
+        If you have installed it, simply execute ascension with one of several 
options.
+        You can also just run the file ascension.py itself directly.
+        
+        Taken from the docstring of the ascension.py file:
+        ```
+        Ascension
+        
+        Usage:
+            ascension <domain> [-d] [-p] [-s] [--minimum-ttl=<ttl>] [--dry-run]
+            ascension <domain> <port> [-d] [-p] [-s] [--minimum-ttl=<ttl>] 
[--dry-run]
+            ascension <domain> -n <transferns> [-d] [-p] [-s] 
[--minimum-ttl=<ttl>] [--dry-run]
+            ascension <domain> -n <transferns> <port> [-d] [-p] [-s] 
[--minimum-ttl=<ttl>] [--dry-run]
+            ascension -p | --public
+            ascension -s | --debug
+            ascension -s | --standalone
+            ascension -h | --help
+            ascension -v | --version
+        
+        Options:
+            <domain>              Domain to migrate
+            <port>                Port for zone transfer
+            <transferns>          DNS Server that does the zone transfer
+            --minimum-ttl=<ttl>   Minimum TTL for records to migrate [default: 
3600]
+            --dry-run             Only try if a zone transfer is allowed
+            -p --public           Make records public on the DHT
+            -s --standalone       Run ascension once
+            -d --debug            Enable debugging
+            -h --help         Show this screen.
+            -v --version      Show version.
+        ```
+        
+        Example use:
+        ```
+        # Transfers the sy TLD from ns1.tld.sy.
+        ascension sy -n ns1.tld.sy.
+        # Transfers the nu TLD from zonedata.iis.se with debug options enabled
+        ascension nu -n zonedata.iis.se. -d
+        ```
+        
+Platform: UNKNOWN
+Classifier: Programming Language :: Python :: 3
diff --git a/deb_dist/ascension-0.11.5/README b/deb_dist/ascension-0.11.5/README
new file mode 100644
index 0000000..ed6e926
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/README
@@ -0,0 +1,70 @@
+# Ascension
+
+Tool to easily migrate existing DNS Zones into the GNU Name System using
+incremental zone transfers (AXFR/IXFR).
+
+## How to install
+To install the ascension simply execute one of the following commands in the
+freshly cloned directory:
+
+```bash
+# System wide installation
+sudo python3 setup.py install
+
+# Local installation through virtualenv
+python3 -m venv .venv
+source .venv/bin/activate
+python3 setup.py install
+```
+
+## How to install (Developer)
+A developer installation is very handy when you are making changes to the 
source
+code as this way you don't need to re-run the installation procedure every time
+you make a change.
+
+```bash
+# installation through virtualenv
+python3 -m venv .venv
+source .venv/bin/activate
+python3 setup.py develop
+```
+
+## How to use
+If you have installed it, simply execute ascension with one of several options.
+You can also just run the file ascension.py itself directly.
+
+Taken from the docstring of the ascension.py file:
+```
+Ascension
+
+Usage:
+    ascension <domain> [-d] [-p] [-s] [--minimum-ttl=<ttl>] [--dry-run]
+    ascension <domain> <port> [-d] [-p] [-s] [--minimum-ttl=<ttl>] [--dry-run]
+    ascension <domain> -n <transferns> [-d] [-p] [-s] [--minimum-ttl=<ttl>] 
[--dry-run]
+    ascension <domain> -n <transferns> <port> [-d] [-p] [-s] 
[--minimum-ttl=<ttl>] [--dry-run]
+    ascension -p | --public
+    ascension -s | --debug
+    ascension -s | --standalone
+    ascension -h | --help
+    ascension -v | --version
+
+Options:
+    <domain>              Domain to migrate
+    <port>                Port for zone transfer
+    <transferns>          DNS Server that does the zone transfer
+    --minimum-ttl=<ttl>   Minimum TTL for records to migrate [default: 3600]
+    --dry-run             Only try if a zone transfer is allowed
+    -p --public           Make records public on the DHT
+    -s --standalone       Run ascension once
+    -d --debug            Enable debugging
+    -h --help         Show this screen.
+    -v --version      Show version.
+```
+
+Example use:
+```
+# Transfers the sy TLD from ns1.tld.sy.
+ascension sy -n ns1.tld.sy.
+# Transfers the nu TLD from zonedata.iis.se with debug options enabled
+ascension nu -n zonedata.iis.se. -d
+```
diff --git a/deb_dist/ascension-0.11.5/ascension.1 
b/deb_dist/ascension-0.11.5/ascension.1
new file mode 100644
index 0000000..ae01bb0
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/ascension.1
@@ -0,0 +1,106 @@
+.\" This file is part of Ascension.
+.\" Copyright (C) 2018,2019 GNUnet e.V.
+.\"
+.\" Permission is granted to copy, distribute and/or modify this document
+.\" under the terms of the GNU Free Documentation License, Version 1.3 or
+.\" any later version published by the Free Software Foundation; with no
+.\" Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.  A
+.\" copy of the license is included in the file
+.\" ``FDL-1.3''.
+.\"
+.\" A copy of the license is also available from the Free Software
+.\" Foundation Web site at http://www.gnu.org/licenses/fdl.html.
+.\"
+.\" Alternately, this document is also available under the General
+.\" Public License, version 3 or later, as published by the Free Software
+.\" Foundation.  A copy of the license is included in the file
+.\" ``GPL3''.
+.\"
+.\" A copy of the license is also available from the Free Software
+.\" Foundation Web site at http://www.gnu.org/licenses/gpl.html.
+.\"
+.\" SPDX-License-Identifier: GPL3.0-or-later OR FDL1.3-or-later
+.\"
+.Dd May 9, 2019
+.Dt ASCENSION 1
+.Os
+.Sh NAME
+.Nm ascension
+.Nd migrate existing DNS zones into the GNU Name System
+.Sh SYNOPSIS
+.Nm
+.Op Ar domain Fl d Fl p Fl s -minimum-ttl=<ttl> -dry-run
+.Nm
+.Op Ar domain port Fl d Fl p Fl s -minimum-ttl=<ttl> -dry-run
+.Nm
+.Op Ar domain Fl n Ar transferns Fl d Fl p Fl s Fl -minimum-ttl=<ttl> -dry-run
+.Nm
+.Op Ar domain Fl n Ar transferns Ar port Fl d Fl p Fl s -minimum-ttl=<ttl> 
-dry-run
+.Sh DESCRIPTION
+.Nm
+is a tool to migrate existing DNS Zones into the GNU Name System (GNS) using 
incremental zone transfers (AXFR/IXFR).
+To achieve this it uses
+.Xr gnunet-identity 1 ,
+.Xr gnunet-namestore 1 ,
+.Xr gnunet-gns 1 .
+As
+.Nm
+relies on these 3 GNUnet services,
+.Xr gnunet-arm 1
+must be installed and running.
+.Bl -tag -width Ds
+.It Ar domain Fl d Fl p Fl s -minimum-ttl=<ttl> -dry-run
+Migrate the DOMAIN passed as domain.
+The debug, public and standalone options are optional.
+.It Ar domain port Fl d Fl p Fl s -minimum-ttl=<ttl -dry-run>
+Migrate the DOMAIN domain, using port for zone transfer.
+The debug, public and standalone options are optional.
+.It Ar domain Fl n Ar transferns Fl d Fl p Fl s -minimum-ttl=<ttl -dry-run>
+Migrate the DOMAIN domain from the DNS server transferns.
+The debug, public and standalone options are optional.
+.It Ar domain Fl n Ar transferns Ar port Fl d Fl p Fl s -minimum-ttl=<ttl 
-dry-run>
+Migrate the DOMAIN domain from the DNS server transferns using port for the 
zone transfer.
+The debug, public and standalone options are optional.
+.It Fl s | \-standalone
+Run Ascension once
+.It Fl d | \-debug
+Enable debugging
+.It Fl h | \-help
+Print short help on options
+.It Fl p | \-public
+Make records public on the DHT
+.It Fl v | \-version
+Print ascension version number
+.El
+.\" .Sh FILES
+.Sh EXAMPLES
+To transfer the sy TLD from ns1.tld.sy:
+.Pp
+.Dl $ ascension sy -n ns1.tld.sy.
+.Pp
+To transfer the nu TLD from zonedata.iis.se with debug options enabled:
+.Pp
+.Dl $ ascension nu -n zonedata.iis.se. -d
+.Sh SEE ALSO
+.Xr gnunet-arm 1 ,
+.Xr gnunet-gns 1 ,
+.Xr gnunet-identity 1 ,
+.Xr gnunet-namestore 1
+.Sh HISTORY
+The
+.Nm
+tool was designed and written in 2018 by
+.An rexxnor Aq Mt address@hidden .
+.Sh AUTHORS
+This man page was written by
+.An ng0 Aq Mt address@hidden
+and updated by
+.An rexxnor Aq Mt address@hidden
+it first appeared in
+.Nm
+0.5.1.
+.Sh BUGS
+Report bugs by using
+.Lk https://bugs.gnunet.org
+or by sending electronic mail to
+.Aq Mt address@hidden .
diff --git a/deb_dist/ascension-0.11.5/ascension/__init__.py 
b/deb_dist/ascension-0.11.5/ascension/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/ascension/ascension.py 
b/deb_dist/ascension-0.11.5/ascension/ascension.py
similarity index 98%
copy from ascension/ascension.py
copy to deb_dist/ascension-0.11.5/ascension/ascension.py
index 9e11fce..da54ca4 100644
--- a/ascension/ascension.py
+++ b/deb_dist/ascension-0.11.5/ascension/ascension.py
@@ -75,7 +75,7 @@ SUPPORTED_RECORD_TYPES = [
 OBSOLETE_RECORD_TYPES = [
     "PTR",
     "SIG", "KEY",
-    "RRSIG", "NSEC", "DNSKEY", "NSEC3", "NSEC3PARAM", "CDNSKEY",
+    "RRSIG", "NSEC", "DNSKEY", "NSEC3", "NSEC3PARAM", "CDNSKEY", "DS"
     "TKEY", "TSIG",
     "TA", "DLV",
 ]
@@ -109,7 +109,12 @@ class Ascender():
         """
         try:
             ret = sp.run([GNUNET_ZONE_CREATION_COMMAND,
-                          '-C', self.domain])
+                          '-C', self.domain,
+                          '-V'],
+                         stdout=sp.PIPE,
+                         stderr=sp.DEVNULL)
+            pkey = ret.stdout.decode().strip()
+            self.subzonedict[self.domain] = (pkey, self.minimum)
             logging.info("executed command: %s", " ".join(ret.args))
         except sp.CalledProcessError:
             logging.info("Zone %s already exists!", self.domain)
@@ -397,12 +402,7 @@ class Ascender():
                     value = self.resolve_glue(record.target)
                 else:
                      # out of bailiwick
-                    if label.startswith("@"):
-                        value = 'address@hidden' % (zonename, nameserver)
-                    else:
-                        value = 'address@hidden' % (str(label),
-                                              zonename,
-                                              nameserver)
+                    value = 'address@hidden' % (zonename, nameserver)
             else:
                 # Name is relative to zone, must be in bailiwick
                 value = self.resolve_glue(record.target)
@@ -602,7 +602,7 @@ class Ascender():
             # FIXME: extend gnunet-namestore to return *specific* error code 
for
             # "record already exists", and in that case reduce log level to 
DEBUG here.
             logging.info("failed to add PKEY record %s to %s",
-                            label, domain)
+                         label, domain)
         #logging.warning("PKEY record %s already exists in %s", label, domain)
 
     def create_zone_hierarchy(self) -> None:
@@ -682,7 +682,7 @@ def main():
     Initializes object and handles arguments
     """
     # argument parsing from docstring definition
-    args = docopt.docopt(__doc__, version='Ascension 0.11.4')
+    args = docopt.docopt(__doc__, version='Ascension 0.11.5')
 
     # argument parsing
     debug = args['--debug']
diff --git 
a/deb_dist/ascension-0.11.5/debian/.debhelper/generated/python3-ascension/installed-by-dh_installdocs
 
b/deb_dist/ascension-0.11.5/debian/.debhelper/generated/python3-ascension/installed-by-dh_installdocs
new file mode 100644
index 0000000..e69de29
diff --git a/deb_dist/ascension-0.11.5/debian/changelog 
b/deb_dist/ascension-0.11.5/debian/changelog
new file mode 100644
index 0000000..6892a5d
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/changelog
@@ -0,0 +1,5 @@
+ascension (0.11.5-1) unstable; urgency=low
+
+  * source package automatically created by stdeb 0.8.5
+
+ -- rexxnor <address@hidden>  Sat, 01 Jun 2019 09:39:38 +0000
diff --git a/deb_dist/ascension-0.11.5/debian/compat 
b/deb_dist/ascension-0.11.5/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/control 
b/deb_dist/ascension-0.11.5/debian/control
similarity index 80%
copy from deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/control
copy to deb_dist/ascension-0.11.5/debian/control
index b5ede21..88e735b 100644
--- a/deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/control
+++ b/deb_dist/ascension-0.11.5/debian/control
@@ -1,12 +1,17 @@
-Package: python3-ascension
 Source: ascension
-Version: 0.11.4-1
-Architecture: all
 Maintainer: rexxnor <address@hidden>
-Installed-Size: 60
-Depends: python3-coverage, python3-dnspython, python3-docopt, python3-mock, 
python3-pbr, python3-six, python3:any (>= 3.3.2-2~)
 Section: python
 Priority: optional
+Build-Depends: python3-setuptools, python3-all, debhelper (>= 7.4.3)
+Standards-Version: 3.9.1
+
+
+
+
+
+Package: python3-ascension
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
 Description: Tool to migrate DNS Zones to the GNU Name System
  # Ascension
  .
@@ -28,3 +33,4 @@ Description: Tool to migrate DNS Zones to the GNU Name System
  ```
  .
  ## How to install (Developer)
+
diff --git a/deb_dist/ascension-0.11.5/debian/copyright 
b/deb_dist/ascension-0.11.5/debian/copyright
new file mode 100644
index 0000000..e02fffd
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/copyright
@@ -0,0 +1,21 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python3-ascension
+Source: <https://git.gnunet.org/ascension.git/>
+
+Files: *
+Copyright: 2019 GNUnet e.V.
+License: AGPL-3.0
+ Source: python3-ascension
+ Section: contrib
+ Priority: optional
+ Maintainer: rexxnor <address@hidden>
+ Build-Depends: debhelper (>= 9), python3-ascension, bind9
+ Standards-Version: 3.9.8
+ Homepage: https://git.gnunet.org/ascension.git/
+
+ Package: ascension-bind
+ Architecture: any
+ Depends: ${shlibs:Depends}, ${misc:Depends}
+ Description: Tool to migrate DNS Zones to the GNU Name System
+ Tool to easily migrate existing DNS Zones into the GNU Name System using
+ incremental zone transfers (AXFR/IXFR).
diff --git a/deb_dist/ascension-0.11.5/debian/files 
b/deb_dist/ascension-0.11.5/debian/files
new file mode 100644
index 0000000..a374cf1
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/files
@@ -0,0 +1,2 @@
+ascension_0.11.5-1_amd64.buildinfo python optional
+python3-ascension_0.11.5-1_all.deb python optional
diff --git a/deb_dist/ascension-0.11.5/debian/python3-ascension.postinst 
b/deb_dist/ascension-0.11.5/debian/python3-ascension.postinst
new file mode 100644
index 0000000..965d02b
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/python3-ascension.postinst
@@ -0,0 +1,44 @@
+#!/bin/sh
+# postinst script for ascension-bind
+#
+# see: dh_installdeb(1)
+# load debconf library
+set -e
+
+if ! id ascension; then
+    adduser --system ascension
+fi
+# ok if this fails as gnunet is not yet a dependency
+if ! id gnunet; then
+    addgroup --system gnunet
+    adduser ascension gnunet
+fi
+
+mkdir -p /etc/ascension.d/
+
+# add systemd unit file
+    cat > "/etc/ascension.d/gnunet-ascension.service" << EOF
+[Unit]
+Description=Starting GNUnet peer for ascension
+After=network.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+User=ascension
+ExecStart=/usr/bin/gnunet-arm -s
+ExecStop=/usr/bin/gnunet-arm -e
+ExecReload=/usr/bin/gnunet-arm -r
+
+[Install]
+WantedBy=multi-user.target
+EOF
+
+# link the systemd unit file
+ln -sf "/etc/ascension.d/gnunet-ascension.service" 
"/lib/systemd/system/gnunet-ascension.service"
+
+# start and enable service
+deb-systemd-invoke enable gnunet-ascension
+deb-systemd-invoke start gnunet-ascension
+
+#DEBHELPER#
diff --git 
a/deb_dist/ascension-0.11.5/debian/python3-ascension.postinst.debhelper 
b/deb_dist/ascension-0.11.5/debian/python3-ascension.postinst.debhelper
new file mode 100644
index 0000000..c132d8d
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/python3-ascension.postinst.debhelper
@@ -0,0 +1,7 @@
+
+# Automatically added by dh_python3:
+if which py3compile >/dev/null 2>&1; then
+       py3compile -p python3-ascension 
+fi
+
+# End automatically added section
diff --git a/deb_dist/ascension-0.11.5/debian/python3-ascension.prerm 
b/deb_dist/ascension-0.11.5/debian/python3-ascension.prerm
new file mode 100644
index 0000000..32448cf
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/python3-ascension.prerm
@@ -0,0 +1,19 @@
+#!/bin/sh
+# prerm script for ascension-bind
+#
+# see: dh_installdeb(1)
+# load debconf library
+set -e
+
+mkdir -p /etc/ascension.d/
+
+# remove systemd stuff
+deb-systemd-invoke stop gnunet-ascension
+deb-systemd-invoke disable gnunet-ascension
+
+# remove the systemd files
+unlink /lib/systemd/system/gnunet-ascension.service
+rm /etc/ascension.d/gnunet-ascension.service
+
+exit 0
+#DEBHELPER#
diff --git a/deb_dist/ascension-0.11.5/debian/python3-ascension.prerm.debhelper 
b/deb_dist/ascension-0.11.5/debian/python3-ascension.prerm.debhelper
new file mode 100644
index 0000000..98de74e
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/python3-ascension.prerm.debhelper
@@ -0,0 +1,10 @@
+
+# Automatically added by dh_python3:
+if which py3clean >/dev/null 2>&1; then
+       py3clean -p python3-ascension 
+else
+       dpkg -L python3-ascension | perl -ne 
's,/([^/]*)\.py$,/__pycache__/\1.*, or next; unlink $_ or die $! foreach 
glob($_)'
+       find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty 
-print0 | xargs --null --no-run-if-empty rmdir
+fi
+
+# End automatically added section
diff --git a/deb_dist/ascension-0.11.5/debian/python3-ascension.substvars 
b/deb_dist/ascension-0.11.5/debian/python3-ascension.substvars
new file mode 100644
index 0000000..039c7ae
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/python3-ascension.substvars
@@ -0,0 +1,3 @@
+python3:Depends=python3-coverage, python3-dnspython, python3-docopt, 
python3-mock, python3-pbr, python3-six, python3:any, python3:any (>= 3.3.2-2~)
+misc:Depends=
+misc:Pre-Depends=
diff --git a/deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/control 
b/deb_dist/ascension-0.11.5/debian/python3-ascension/DEBIAN/control
similarity index 95%
copy from deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/control
copy to deb_dist/ascension-0.11.5/debian/python3-ascension/DEBIAN/control
index b5ede21..69a1679 100644
--- a/deb_dist/ascension-0.11.4/debian/python3-ascension/DEBIAN/control
+++ b/deb_dist/ascension-0.11.5/debian/python3-ascension/DEBIAN/control
@@ -1,9 +1,9 @@
 Package: python3-ascension
 Source: ascension
-Version: 0.11.4-1
+Version: 0.11.5-1
 Architecture: all
 Maintainer: rexxnor <address@hidden>
-Installed-Size: 60
+Installed-Size: 62
 Depends: python3-coverage, python3-dnspython, python3-docopt, python3-mock, 
python3-pbr, python3-six, python3:any (>= 3.3.2-2~)
 Section: python
 Priority: optional
diff --git a/deb_dist/ascension-0.11.5/debian/python3-ascension/DEBIAN/md5sums 
b/deb_dist/ascension-0.11.5/debian/python3-ascension/DEBIAN/md5sums
new file mode 100644
index 0000000..bd59a8d
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/python3-ascension/DEBIAN/md5sums
@@ -0,0 +1,11 @@
+09a76cc2e7809733ca94d870bdab0939  usr/bin/ascension
+b9326cd655bd4569eaeb5f029ae298d4  
usr/lib/python3/dist-packages/ascension-0.11.5.egg-info/PKG-INFO
+68b329da9893e34099c7d8ad5cb9c940  
usr/lib/python3/dist-packages/ascension-0.11.5.egg-info/dependency_links.txt
+9cda1022e5fc72a3762b4bc09ee0ddb5  
usr/lib/python3/dist-packages/ascension-0.11.5.egg-info/entry_points.txt
+d41d8cd98f00b204e9800998ecf8427e  
usr/lib/python3/dist-packages/ascension-0.11.5.egg-info/requires.txt
+e616e4373e7b199db038fd8e938a3188  
usr/lib/python3/dist-packages/ascension-0.11.5.egg-info/top_level.txt
+d41d8cd98f00b204e9800998ecf8427e  
usr/lib/python3/dist-packages/ascension/__init__.py
+77d85fa6df18531638272fa529d4bc8d  
usr/lib/python3/dist-packages/ascension/ascension.py
+de060b4ca299c6460ff508aed915526b  usr/man/man1/ascension.1
+7c91a24ed761700f79e6e35654a9b5de  
usr/share/doc/python3-ascension/changelog.Debian.gz
+42cbfd228642e598041a4f8583b17259  usr/share/doc/python3-ascension/copyright
diff --git a/deb_dist/ascension-0.11.5/debian/python3-ascension/DEBIAN/postinst 
b/deb_dist/ascension-0.11.5/debian/python3-ascension/DEBIAN/postinst
new file mode 100755
index 0000000..7304d12
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/python3-ascension/DEBIAN/postinst
@@ -0,0 +1,51 @@
+#!/bin/sh
+# postinst script for ascension-bind
+#
+# see: dh_installdeb(1)
+# load debconf library
+set -e
+
+if ! id ascension; then
+    adduser --system ascension
+fi
+# ok if this fails as gnunet is not yet a dependency
+if ! id gnunet; then
+    addgroup --system gnunet
+    adduser ascension gnunet
+fi
+
+mkdir -p /etc/ascension.d/
+
+# add systemd unit file
+    cat > "/etc/ascension.d/gnunet-ascension.service" << EOF
+[Unit]
+Description=Starting GNUnet peer for ascension
+After=network.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+User=ascension
+ExecStart=/usr/bin/gnunet-arm -s
+ExecStop=/usr/bin/gnunet-arm -e
+ExecReload=/usr/bin/gnunet-arm -r
+
+[Install]
+WantedBy=multi-user.target
+EOF
+
+# link the systemd unit file
+ln -sf "/etc/ascension.d/gnunet-ascension.service" 
"/lib/systemd/system/gnunet-ascension.service"
+
+# start and enable service
+deb-systemd-invoke enable gnunet-ascension
+deb-systemd-invoke start gnunet-ascension
+
+
+# Automatically added by dh_python3:
+if which py3compile >/dev/null 2>&1; then
+       py3compile -p python3-ascension 
+fi
+
+# End automatically added section
+
diff --git a/deb_dist/ascension-0.11.5/debian/python3-ascension/DEBIAN/prerm 
b/deb_dist/ascension-0.11.5/debian/python3-ascension/DEBIAN/prerm
new file mode 100755
index 0000000..44d6c3f
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/python3-ascension/DEBIAN/prerm
@@ -0,0 +1,29 @@
+#!/bin/sh
+# prerm script for ascension-bind
+#
+# see: dh_installdeb(1)
+# load debconf library
+set -e
+
+mkdir -p /etc/ascension.d/
+
+# remove systemd stuff
+deb-systemd-invoke stop gnunet-ascension
+deb-systemd-invoke disable gnunet-ascension
+
+# remove the systemd files
+unlink /lib/systemd/system/gnunet-ascension.service
+rm /etc/ascension.d/gnunet-ascension.service
+
+exit 0
+
+# Automatically added by dh_python3:
+if which py3clean >/dev/null 2>&1; then
+       py3clean -p python3-ascension 
+else
+       dpkg -L python3-ascension | perl -ne 
's,/([^/]*)\.py$,/__pycache__/\1.*, or next; unlink $_ or die $! foreach 
glob($_)'
+       find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty 
-print0 | xargs --null --no-run-if-empty rmdir
+fi
+
+# End automatically added section
+
diff --git 
a/deb_dist/ascension-0.11.5/debian/python3-ascension/usr/bin/ascension 
b/deb_dist/ascension-0.11.5/debian/python3-ascension/usr/bin/ascension
new file mode 100755
index 0000000..1efb2d5
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/python3-ascension/usr/bin/ascension
@@ -0,0 +1,12 @@
+#! /usr/bin/python3
+# EASY-INSTALL-ENTRY-SCRIPT: 'ascension==0.11.5','console_scripts','ascension'
+__requires__ = 'ascension==0.11.5'
+import re
+import sys
+from pkg_resources import load_entry_point
+
+if __name__ == '__main__':
+    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
+    sys.exit(
+        load_entry_point('ascension==0.11.5', 'console_scripts', 'ascension')()
+    )
diff --git 
a/deb_dist/ascension-0.11.5/debian/python3-ascension/usr/man/man1/ascension.1 
b/deb_dist/ascension-0.11.5/debian/python3-ascension/usr/man/man1/ascension.1
new file mode 100644
index 0000000..ae01bb0
--- /dev/null
+++ 
b/deb_dist/ascension-0.11.5/debian/python3-ascension/usr/man/man1/ascension.1
@@ -0,0 +1,106 @@
+.\" This file is part of Ascension.
+.\" Copyright (C) 2018,2019 GNUnet e.V.
+.\"
+.\" Permission is granted to copy, distribute and/or modify this document
+.\" under the terms of the GNU Free Documentation License, Version 1.3 or
+.\" any later version published by the Free Software Foundation; with no
+.\" Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.  A
+.\" copy of the license is included in the file
+.\" ``FDL-1.3''.
+.\"
+.\" A copy of the license is also available from the Free Software
+.\" Foundation Web site at http://www.gnu.org/licenses/fdl.html.
+.\"
+.\" Alternately, this document is also available under the General
+.\" Public License, version 3 or later, as published by the Free Software
+.\" Foundation.  A copy of the license is included in the file
+.\" ``GPL3''.
+.\"
+.\" A copy of the license is also available from the Free Software
+.\" Foundation Web site at http://www.gnu.org/licenses/gpl.html.
+.\"
+.\" SPDX-License-Identifier: GPL3.0-or-later OR FDL1.3-or-later
+.\"
+.Dd May 9, 2019
+.Dt ASCENSION 1
+.Os
+.Sh NAME
+.Nm ascension
+.Nd migrate existing DNS zones into the GNU Name System
+.Sh SYNOPSIS
+.Nm
+.Op Ar domain Fl d Fl p Fl s -minimum-ttl=<ttl> -dry-run
+.Nm
+.Op Ar domain port Fl d Fl p Fl s -minimum-ttl=<ttl> -dry-run
+.Nm
+.Op Ar domain Fl n Ar transferns Fl d Fl p Fl s Fl -minimum-ttl=<ttl> -dry-run
+.Nm
+.Op Ar domain Fl n Ar transferns Ar port Fl d Fl p Fl s -minimum-ttl=<ttl> 
-dry-run
+.Sh DESCRIPTION
+.Nm
+is a tool to migrate existing DNS Zones into the GNU Name System (GNS) using 
incremental zone transfers (AXFR/IXFR).
+To achieve this it uses
+.Xr gnunet-identity 1 ,
+.Xr gnunet-namestore 1 ,
+.Xr gnunet-gns 1 .
+As
+.Nm
+relies on these 3 GNUnet services,
+.Xr gnunet-arm 1
+must be installed and running.
+.Bl -tag -width Ds
+.It Ar domain Fl d Fl p Fl s -minimum-ttl=<ttl> -dry-run
+Migrate the DOMAIN passed as domain.
+The debug, public and standalone options are optional.
+.It Ar domain port Fl d Fl p Fl s -minimum-ttl=<ttl -dry-run>
+Migrate the DOMAIN domain, using port for zone transfer.
+The debug, public and standalone options are optional.
+.It Ar domain Fl n Ar transferns Fl d Fl p Fl s -minimum-ttl=<ttl -dry-run>
+Migrate the DOMAIN domain from the DNS server transferns.
+The debug, public and standalone options are optional.
+.It Ar domain Fl n Ar transferns Ar port Fl d Fl p Fl s -minimum-ttl=<ttl 
-dry-run>
+Migrate the DOMAIN domain from the DNS server transferns using port for the 
zone transfer.
+The debug, public and standalone options are optional.
+.It Fl s | \-standalone
+Run Ascension once
+.It Fl d | \-debug
+Enable debugging
+.It Fl h | \-help
+Print short help on options
+.It Fl p | \-public
+Make records public on the DHT
+.It Fl v | \-version
+Print ascension version number
+.El
+.\" .Sh FILES
+.Sh EXAMPLES
+To transfer the sy TLD from ns1.tld.sy:
+.Pp
+.Dl $ ascension sy -n ns1.tld.sy.
+.Pp
+To transfer the nu TLD from zonedata.iis.se with debug options enabled:
+.Pp
+.Dl $ ascension nu -n zonedata.iis.se. -d
+.Sh SEE ALSO
+.Xr gnunet-arm 1 ,
+.Xr gnunet-gns 1 ,
+.Xr gnunet-identity 1 ,
+.Xr gnunet-namestore 1
+.Sh HISTORY
+The
+.Nm
+tool was designed and written in 2018 by
+.An rexxnor Aq Mt address@hidden .
+.Sh AUTHORS
+This man page was written by
+.An ng0 Aq Mt address@hidden
+and updated by
+.An rexxnor Aq Mt address@hidden
+it first appeared in
+.Nm
+0.5.1.
+.Sh BUGS
+Report bugs by using
+.Lk https://bugs.gnunet.org
+or by sending electronic mail to
+.Aq Mt address@hidden .
diff --git 
a/deb_dist/ascension-0.11.5/debian/python3-ascension/usr/share/doc/python3-ascension/changelog.Debian.gz
 
b/deb_dist/ascension-0.11.5/debian/python3-ascension/usr/share/doc/python3-ascension/changelog.Debian.gz
new file mode 100644
index 0000000..bcd08a0
Binary files /dev/null and 
b/deb_dist/ascension-0.11.5/debian/python3-ascension/usr/share/doc/python3-ascension/changelog.Debian.gz
 differ
diff --git 
a/deb_dist/ascension-0.11.5/debian/python3-ascension/usr/share/doc/python3-ascension/copyright
 
b/deb_dist/ascension-0.11.5/debian/python3-ascension/usr/share/doc/python3-ascension/copyright
new file mode 100644
index 0000000..e02fffd
--- /dev/null
+++ 
b/deb_dist/ascension-0.11.5/debian/python3-ascension/usr/share/doc/python3-ascension/copyright
@@ -0,0 +1,21 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python3-ascension
+Source: <https://git.gnunet.org/ascension.git/>
+
+Files: *
+Copyright: 2019 GNUnet e.V.
+License: AGPL-3.0
+ Source: python3-ascension
+ Section: contrib
+ Priority: optional
+ Maintainer: rexxnor <address@hidden>
+ Build-Depends: debhelper (>= 9), python3-ascension, bind9
+ Standards-Version: 3.9.8
+ Homepage: https://git.gnunet.org/ascension.git/
+
+ Package: ascension-bind
+ Architecture: any
+ Depends: ${shlibs:Depends}, ${misc:Depends}
+ Description: Tool to migrate DNS Zones to the GNU Name System
+ Tool to easily migrate existing DNS Zones into the GNU Name System using
+ incremental zone transfers (AXFR/IXFR).
diff --git a/deb_dist/ascension-0.11.4/debian/rules 
b/deb_dist/ascension-0.11.5/debian/rules
similarity index 93%
copy from deb_dist/ascension-0.11.4/debian/rules
copy to deb_dist/ascension-0.11.5/debian/rules
index e18262a..fce516f 100755
--- a/deb_dist/ascension-0.11.4/debian/rules
+++ b/deb_dist/ascension-0.11.5/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 # This file was automatically generated by stdeb 0.8.5 at
-# Fri, 24 May 2019 07:32:55 +0000
+# Sat, 01 Jun 2019 09:39:38 +0000
 
 %:
        dh $@ --with python3 --buildsystem=python_distutils
diff --git a/deb_dist/ascension-0.11.5/debian/source/format 
b/deb_dist/ascension-0.11.5/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/deb_dist/ascension-0.11.5/debian/source/options 
b/deb_dist/ascension-0.11.5/debian/source/options
new file mode 100644
index 0000000..bcc4bbb
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="\.egg-info$"
\ No newline at end of file
diff --git a/deb_dist/ascension-0.11.5/setup.cfg 
b/deb_dist/ascension-0.11.5/setup.cfg
new file mode 100644
index 0000000..8bfd5a1
--- /dev/null
+++ b/deb_dist/ascension-0.11.5/setup.cfg
@@ -0,0 +1,4 @@
+[egg_info]
+tag_build = 
+tag_date = 0
+
diff --git a/setup.py b/deb_dist/ascension-0.11.5/setup.py
similarity index 98%
copy from setup.py
copy to deb_dist/ascension-0.11.5/setup.py
index 5c8cd27..851c1d8 100644
--- a/setup.py
+++ b/deb_dist/ascension-0.11.5/setup.py
@@ -28,7 +28,7 @@ with open("README", "r") as fh:
 
 setuptools.setup(
     name="ascension",
-    version="0.11.4",
+    version="0.11.5",
     author="rexxnor",
     author_email="address@hidden",
     description="Tool to migrate DNS Zones to the GNU Name System",
diff --git a/deb_dist/ascension_0.11.4-1.debian.tar.xz 
b/deb_dist/ascension_0.11.4-1.debian.tar.xz
index a2d14ff..14251a5 100644
Binary files a/deb_dist/ascension_0.11.4-1.debian.tar.xz and 
b/deb_dist/ascension_0.11.4-1.debian.tar.xz differ
diff --git a/deb_dist/ascension_0.11.4-1.dsc b/deb_dist/ascension_0.11.4-1.dsc
index 25a9b4d..44729ee 100644
--- a/deb_dist/ascension_0.11.4-1.dsc
+++ b/deb_dist/ascension_0.11.4-1.dsc
@@ -9,11 +9,11 @@ Build-Depends: python3-setuptools, python3-all, debhelper (>= 
7.4.3)
 Package-List:
  python3-ascension deb python optional arch=all
 Checksums-Sha1:
- c5840b838fc7c28356e62d5566b0996fbe496fa3 10528 ascension_0.11.4.orig.tar.gz
- 06939160603c6ccf2eadaade4e567645b3b25806 1668 ascension_0.11.4-1.debian.tar.xz
+ ea06751883f83324f4f94d2a2d14ae6e8fdf7993 10655 ascension_0.11.4.orig.tar.gz
+ b56b1e763b686e4db61e4c12647d5425140247ff 1888 ascension_0.11.4-1.debian.tar.xz
 Checksums-Sha256:
- 250d78320b208c6d3ae41aeda92998113a66cff9839c2ca7c787c8e65a78c0cc 10528 
ascension_0.11.4.orig.tar.gz
- f0b8b3a4b1b11326c1d4391262131dc9d78efea71c98041c20b6a5c1eeeb7663 1668 
ascension_0.11.4-1.debian.tar.xz
+ 69f7835f69ab067bf04cf95bfe9d84bff57aa9772dee087298f12bbcda2929f1 10655 
ascension_0.11.4.orig.tar.gz
+ 2df89aa831d0d1f8f09df838d57b1a5ba29df643f29b1ad5cf3b96ca1b94b7ce 1888 
ascension_0.11.4-1.debian.tar.xz
 Files:
- ee6e55480a7a42c78c373351f66616fc 10528 ascension_0.11.4.orig.tar.gz
- 759887366ef7d70523234fb8984b35b7 1668 ascension_0.11.4-1.debian.tar.xz
+ 737ce6949e7dee1aa3a3723908b36566 10655 ascension_0.11.4.orig.tar.gz
+ dc259ee2481403186c7e4cf91ec0b9dc 1888 ascension_0.11.4-1.debian.tar.xz
diff --git a/deb_dist/ascension_0.11.4-1_amd64.buildinfo 
b/deb_dist/ascension_0.11.4-1_amd64.buildinfo
index 24830a2..730694f 100644
--- a/deb_dist/ascension_0.11.4-1_amd64.buildinfo
+++ b/deb_dist/ascension_0.11.4-1_amd64.buildinfo
@@ -4,17 +4,17 @@ Binary: python3-ascension
 Architecture: all source
 Version: 0.11.4-1
 Checksums-Md5:
- cb114d97a59cb6b41ab18e7b5558ff21 846 ascension_0.11.4-1.dsc
- e6223faa180a637a85e297070edf7aee 11684 python3-ascension_0.11.4-1_all.deb
+ aa316716e532cc99a47217fd85516549 846 ascension_0.11.4-1.dsc
+ 3a5b536297e973e90106b3f156d0f2b2 12070 python3-ascension_0.11.4-1_all.deb
 Checksums-Sha1:
- 4db0f2939b02d6e44386ab98a71b7b137d3976ae 846 ascension_0.11.4-1.dsc
- c9c05eb2b84289005e5b0c2d486cdc1ec07ac9fa 11684 
python3-ascension_0.11.4-1_all.deb
+ f7811dbdedc78309f3eafd6a31fae5d25519ef0b 846 ascension_0.11.4-1.dsc
+ 24c87c1c55b9d6cc29afa475b19c6342691fed81 12070 
python3-ascension_0.11.4-1_all.deb
 Checksums-Sha256:
- c5f5753ec7f03abf43d4981a27f9d922955ae41f5a7c93d1dc42e57fb4b46215 846 
ascension_0.11.4-1.dsc
- 98bfd4a47066211c1cc14b5a021f65a3540fd65d6e80edc9f4b0a1433bfc3265 11684 
python3-ascension_0.11.4-1_all.deb
+ 67f87ad62cc1e38d102faa77f86ac66927e129e91d07faa6cebe89e453138092 846 
ascension_0.11.4-1.dsc
+ ec8d0ee2d9f6e7bbb54701d4cf488bed2c318e2dfe5d354b56514887facc30bd 12070 
python3-ascension_0.11.4-1_all.deb
 Build-Origin: Debian
 Build-Architecture: amd64
-Build-Date: Fri, 24 May 2019 07:35:32 +0000
+Build-Date: Sat, 01 Jun 2019 09:41:40 +0000
 Installed-Build-Depends:
  autoconf (= 2.69-10),
  automake (= 1:1.15-6),
@@ -177,4 +177,4 @@ Installed-Build-Depends:
  zlib1g (= 1:1.2.8.dfsg-5)
 Environment:
  DEB_BUILD_OPTIONS="parallel=2"
- SOURCE_DATE_EPOCH="1558683175"
+ SOURCE_DATE_EPOCH="1559381740"
diff --git a/deb_dist/ascension_0.11.4-1_amd64.changes 
b/deb_dist/ascension_0.11.4-1_amd64.changes
index 06c8a2c..eab8cde 100644
--- a/deb_dist/ascension_0.11.4-1_amd64.changes
+++ b/deb_dist/ascension_0.11.4-1_amd64.changes
@@ -1,5 +1,5 @@
 Format: 1.8
-Date: Fri, 24 May 2019 07:32:55 +0000
+Date: Sat, 01 Jun 2019 09:35:40 +0000
 Source: ascension
 Binary: python3-ascension
 Architecture: source all
@@ -15,20 +15,20 @@ Changes:
  .
    * source package automatically created by stdeb 0.8.5
 Checksums-Sha1:
- 4db0f2939b02d6e44386ab98a71b7b137d3976ae 846 ascension_0.11.4-1.dsc
- c5840b838fc7c28356e62d5566b0996fbe496fa3 10528 ascension_0.11.4.orig.tar.gz
- 06939160603c6ccf2eadaade4e567645b3b25806 1668 ascension_0.11.4-1.debian.tar.xz
- c1ff6c6a79c8df766a1283beb6551155612b42a5 5432 
ascension_0.11.4-1_amd64.buildinfo
- c9c05eb2b84289005e5b0c2d486cdc1ec07ac9fa 11684 
python3-ascension_0.11.4-1_all.deb
+ f7811dbdedc78309f3eafd6a31fae5d25519ef0b 846 ascension_0.11.4-1.dsc
+ ea06751883f83324f4f94d2a2d14ae6e8fdf7993 10655 ascension_0.11.4.orig.tar.gz
+ b56b1e763b686e4db61e4c12647d5425140247ff 1888 ascension_0.11.4-1.debian.tar.xz
+ 8a9a02a1e225c7899ba1d3b4da389239fe9dd31c 5432 
ascension_0.11.4-1_amd64.buildinfo
+ 24c87c1c55b9d6cc29afa475b19c6342691fed81 12070 
python3-ascension_0.11.4-1_all.deb
 Checksums-Sha256:
- c5f5753ec7f03abf43d4981a27f9d922955ae41f5a7c93d1dc42e57fb4b46215 846 
ascension_0.11.4-1.dsc
- 250d78320b208c6d3ae41aeda92998113a66cff9839c2ca7c787c8e65a78c0cc 10528 
ascension_0.11.4.orig.tar.gz
- f0b8b3a4b1b11326c1d4391262131dc9d78efea71c98041c20b6a5c1eeeb7663 1668 
ascension_0.11.4-1.debian.tar.xz
- fea1bf1acce1801d81f4e3aca731554356bd9dbc63442fab63ec036dd37b29a4 5432 
ascension_0.11.4-1_amd64.buildinfo
- 98bfd4a47066211c1cc14b5a021f65a3540fd65d6e80edc9f4b0a1433bfc3265 11684 
python3-ascension_0.11.4-1_all.deb
+ 67f87ad62cc1e38d102faa77f86ac66927e129e91d07faa6cebe89e453138092 846 
ascension_0.11.4-1.dsc
+ 69f7835f69ab067bf04cf95bfe9d84bff57aa9772dee087298f12bbcda2929f1 10655 
ascension_0.11.4.orig.tar.gz
+ 2df89aa831d0d1f8f09df838d57b1a5ba29df643f29b1ad5cf3b96ca1b94b7ce 1888 
ascension_0.11.4-1.debian.tar.xz
+ 1e891279eac4788589777a3658e6c6186dd48efb90bfc79ed6e5dfebdf5a8c3e 5432 
ascension_0.11.4-1_amd64.buildinfo
+ ec8d0ee2d9f6e7bbb54701d4cf488bed2c318e2dfe5d354b56514887facc30bd 12070 
python3-ascension_0.11.4-1_all.deb
 Files:
- cb114d97a59cb6b41ab18e7b5558ff21 846 python optional ascension_0.11.4-1.dsc
- ee6e55480a7a42c78c373351f66616fc 10528 python optional 
ascension_0.11.4.orig.tar.gz
- 759887366ef7d70523234fb8984b35b7 1668 python optional 
ascension_0.11.4-1.debian.tar.xz
- c5aabf6919bc3f819586eb2c5d0c9202 5432 python optional 
ascension_0.11.4-1_amd64.buildinfo
- e6223faa180a637a85e297070edf7aee 11684 python optional 
python3-ascension_0.11.4-1_all.deb
+ aa316716e532cc99a47217fd85516549 846 python optional ascension_0.11.4-1.dsc
+ 737ce6949e7dee1aa3a3723908b36566 10655 python optional 
ascension_0.11.4.orig.tar.gz
+ dc259ee2481403186c7e4cf91ec0b9dc 1888 python optional 
ascension_0.11.4-1.debian.tar.xz
+ e8dbc8c727f74feb719288b6ba96a77a 5432 python optional 
ascension_0.11.4-1_amd64.buildinfo
+ 3a5b536297e973e90106b3f156d0f2b2 12070 python optional 
python3-ascension_0.11.4-1_all.deb
diff --git a/deb_dist/ascension_0.11.4-1_source.buildinfo 
b/deb_dist/ascension_0.11.4-1_source.buildinfo
index 7ce863f..62ed05d 100644
--- a/deb_dist/ascension_0.11.4-1_source.buildinfo
+++ b/deb_dist/ascension_0.11.4-1_source.buildinfo
@@ -4,14 +4,14 @@ Binary: python3-ascension
 Architecture: source
 Version: 0.11.4-1
 Checksums-Md5:
- 158aeffcf835e70fb17f1bcd8017b1bb 846 ascension_0.11.4-1.dsc
+ 96895bc3794d24afeb26b54d6d8ba2fd 846 ascension_0.11.4-1.dsc
 Checksums-Sha1:
- 9a39b5f45cf7d06d6da2a9c02dc6848f4f28dac6 846 ascension_0.11.4-1.dsc
+ a54775d0115ada7d770b87de1740e8982c607ba1 846 ascension_0.11.4-1.dsc
 Checksums-Sha256:
- db3791660af97ff2cfbccbd317bcbec58e5a906ab7f3a1dddd40109522900f30 846 
ascension_0.11.4-1.dsc
+ a667b7ce0d07fb36005d693dd1cfe620cb00ddc635fd6167a70f098181230dc7 846 
ascension_0.11.4-1.dsc
 Build-Origin: Debian
 Build-Architecture: amd64
-Build-Date: Fri, 24 May 2019 07:32:58 +0000
+Build-Date: Sat, 01 Jun 2019 09:35:43 +0000
 Installed-Build-Depends:
  autoconf (= 2.69-10),
  automake (= 1:1.15-6),
@@ -174,4 +174,4 @@ Installed-Build-Depends:
  zlib1g (= 1:1.2.8.dfsg-5)
 Environment:
  DEB_BUILD_OPTIONS="parallel=2"
- SOURCE_DATE_EPOCH="1558683175"
+ SOURCE_DATE_EPOCH="1559381740"
diff --git a/deb_dist/ascension_0.11.4-1_source.changes 
b/deb_dist/ascension_0.11.4-1_source.changes
index 130003c..2383924 100644
--- a/deb_dist/ascension_0.11.4-1_source.changes
+++ b/deb_dist/ascension_0.11.4-1_source.changes
@@ -1,5 +1,5 @@
 Format: 1.8
-Date: Fri, 24 May 2019 07:32:55 +0000
+Date: Sat, 01 Jun 2019 09:35:40 +0000
 Source: ascension
 Binary: python3-ascension
 Architecture: source
@@ -15,17 +15,17 @@ Changes:
  .
    * source package automatically created by stdeb 0.8.5
 Checksums-Sha1:
- 9a39b5f45cf7d06d6da2a9c02dc6848f4f28dac6 846 ascension_0.11.4-1.dsc
- c5840b838fc7c28356e62d5566b0996fbe496fa3 10528 ascension_0.11.4.orig.tar.gz
- 9281ff854bfe7952ca209fa1b472ca55d0e598d1 1140 ascension_0.11.4-1.debian.tar.xz
- d26cc92c39bab47e867bd94d184a7c85868bc3c8 5163 
ascension_0.11.4-1_source.buildinfo
+ a54775d0115ada7d770b87de1740e8982c607ba1 846 ascension_0.11.4-1.dsc
+ ea06751883f83324f4f94d2a2d14ae6e8fdf7993 10655 ascension_0.11.4.orig.tar.gz
+ 69954bec026529110c6a774439ca31493bb50617 1140 ascension_0.11.4-1.debian.tar.xz
+ f7ed92661d055e1ed1ffdff1b835be180dfe075f 5163 
ascension_0.11.4-1_source.buildinfo
 Checksums-Sha256:
- db3791660af97ff2cfbccbd317bcbec58e5a906ab7f3a1dddd40109522900f30 846 
ascension_0.11.4-1.dsc
- 250d78320b208c6d3ae41aeda92998113a66cff9839c2ca7c787c8e65a78c0cc 10528 
ascension_0.11.4.orig.tar.gz
- f10b4449f3482a23665e017bb1b26843b9ecd5b308d29f3021fb6c5c40546e77 1140 
ascension_0.11.4-1.debian.tar.xz
- 05548436221bb7a658a3f7bd2cc0bb67d77ce01559db6f8d3b2e67b10c3da87e 5163 
ascension_0.11.4-1_source.buildinfo
+ a667b7ce0d07fb36005d693dd1cfe620cb00ddc635fd6167a70f098181230dc7 846 
ascension_0.11.4-1.dsc
+ 69f7835f69ab067bf04cf95bfe9d84bff57aa9772dee087298f12bbcda2929f1 10655 
ascension_0.11.4.orig.tar.gz
+ d2dd222d25b8102857c6c0a7270f9b7e21804d4ddc5095bfd7be9f167bf86cb3 1140 
ascension_0.11.4-1.debian.tar.xz
+ 96654db9450b00f2901598dff94ef1b0a430b65e778ce67b3d7609bcb1a76737 5163 
ascension_0.11.4-1_source.buildinfo
 Files:
- 158aeffcf835e70fb17f1bcd8017b1bb 846 python optional ascension_0.11.4-1.dsc
- ee6e55480a7a42c78c373351f66616fc 10528 python optional 
ascension_0.11.4.orig.tar.gz
- 229f88add4ca34691eac2fbe3f3f9c17 1140 python optional 
ascension_0.11.4-1.debian.tar.xz
- 878a09557bcf7eef1c28aa81ddf8f102 5163 python optional 
ascension_0.11.4-1_source.buildinfo
+ 96895bc3794d24afeb26b54d6d8ba2fd 846 python optional ascension_0.11.4-1.dsc
+ 737ce6949e7dee1aa3a3723908b36566 10655 python optional 
ascension_0.11.4.orig.tar.gz
+ 821619cd497fda3df5428e25bddc7a87 1140 python optional 
ascension_0.11.4-1.debian.tar.xz
+ 3a89ec81f3ba3346382d243eac87e02e 5163 python optional 
ascension_0.11.4-1_source.buildinfo
diff --git a/deb_dist/ascension_0.11.4.orig.tar.gz 
b/deb_dist/ascension_0.11.4.orig.tar.gz
index a2707ef..985e6d7 100644
Binary files a/deb_dist/ascension_0.11.4.orig.tar.gz and 
b/deb_dist/ascension_0.11.4.orig.tar.gz differ
diff --git a/deb_dist/ascension_0.11.5-1.debian.tar.xz 
b/deb_dist/ascension_0.11.5-1.debian.tar.xz
new file mode 100644
index 0000000..9276907
Binary files /dev/null and b/deb_dist/ascension_0.11.5-1.debian.tar.xz differ
diff --git a/deb_dist/ascension_0.11.5-1.dsc b/deb_dist/ascension_0.11.5-1.dsc
new file mode 100644
index 0000000..62164fd
--- /dev/null
+++ b/deb_dist/ascension_0.11.5-1.dsc
@@ -0,0 +1,19 @@
+Format: 3.0 (quilt)
+Source: ascension
+Binary: python3-ascension
+Architecture: all
+Version: 0.11.5-1
+Maintainer: rexxnor <address@hidden>
+Standards-Version: 3.9.1
+Build-Depends: python3-setuptools, python3-all, debhelper (>= 7.4.3)
+Package-List:
+ python3-ascension deb python optional arch=all
+Checksums-Sha1:
+ 021defc94aa480b0815a4efaec31daf5a2e2bf88 10652 ascension_0.11.5.orig.tar.gz
+ 8516a239f65b3e864e891daab9cf62cc7bd909c1 1888 ascension_0.11.5-1.debian.tar.xz
+Checksums-Sha256:
+ 26ee8a1845b01c92a969bec2ee461f10918873e31018a275bba05b3c40b3821c 10652 
ascension_0.11.5.orig.tar.gz
+ bbff145e8e3cfd690e39019118337a95939ead0e3c086b046e02677564920c4c 1888 
ascension_0.11.5-1.debian.tar.xz
+Files:
+ f554e7e84f19fbaafd2219b6be7f6433 10652 ascension_0.11.5.orig.tar.gz
+ b657097bc52cf563b551ef8ad95268db 1888 ascension_0.11.5-1.debian.tar.xz
diff --git a/deb_dist/ascension_0.11.4-1_amd64.buildinfo 
b/deb_dist/ascension_0.11.5-1_amd64.buildinfo
similarity index 89%
copy from deb_dist/ascension_0.11.4-1_amd64.buildinfo
copy to deb_dist/ascension_0.11.5-1_amd64.buildinfo
index 24830a2..e42d683 100644
--- a/deb_dist/ascension_0.11.4-1_amd64.buildinfo
+++ b/deb_dist/ascension_0.11.5-1_amd64.buildinfo
@@ -2,19 +2,19 @@ Format: 1.0
 Source: ascension
 Binary: python3-ascension
 Architecture: all source
-Version: 0.11.4-1
+Version: 0.11.5-1
 Checksums-Md5:
- cb114d97a59cb6b41ab18e7b5558ff21 846 ascension_0.11.4-1.dsc
- e6223faa180a637a85e297070edf7aee 11684 python3-ascension_0.11.4-1_all.deb
+ 68f13e9a3b13c5fc36242dba5e8d6051 846 ascension_0.11.5-1.dsc
+ d68fbb25fb1b9fe79ee4d52ea74ae43b 12074 python3-ascension_0.11.5-1_all.deb
 Checksums-Sha1:
- 4db0f2939b02d6e44386ab98a71b7b137d3976ae 846 ascension_0.11.4-1.dsc
- c9c05eb2b84289005e5b0c2d486cdc1ec07ac9fa 11684 
python3-ascension_0.11.4-1_all.deb
+ 9f96b287c99e40f51a6737b82bde2a3bc596a87f 846 ascension_0.11.5-1.dsc
+ 9a0ff5db319f61d51b4075c9d53d6ac466139745 12074 
python3-ascension_0.11.5-1_all.deb
 Checksums-Sha256:
- c5f5753ec7f03abf43d4981a27f9d922955ae41f5a7c93d1dc42e57fb4b46215 846 
ascension_0.11.4-1.dsc
- 98bfd4a47066211c1cc14b5a021f65a3540fd65d6e80edc9f4b0a1433bfc3265 11684 
python3-ascension_0.11.4-1_all.deb
+ b85227d3ea578a1b43599a1c7c9c69ddc0a11961490cf990e12f57cb31c88eff 846 
ascension_0.11.5-1.dsc
+ aa3a21e1a98299df739c239348a51e4c523945edab968b2980f2c102ab882da1 12074 
python3-ascension_0.11.5-1_all.deb
 Build-Origin: Debian
 Build-Architecture: amd64
-Build-Date: Fri, 24 May 2019 07:35:32 +0000
+Build-Date: Sat, 01 Jun 2019 09:41:59 +0000
 Installed-Build-Depends:
  autoconf (= 2.69-10),
  automake (= 1:1.15-6),
@@ -177,4 +177,4 @@ Installed-Build-Depends:
  zlib1g (= 1:1.2.8.dfsg-5)
 Environment:
  DEB_BUILD_OPTIONS="parallel=2"
- SOURCE_DATE_EPOCH="1558683175"
+ SOURCE_DATE_EPOCH="1559381978"
diff --git a/deb_dist/ascension_0.11.5-1_amd64.changes 
b/deb_dist/ascension_0.11.5-1_amd64.changes
new file mode 100644
index 0000000..a6ac0f7
--- /dev/null
+++ b/deb_dist/ascension_0.11.5-1_amd64.changes
@@ -0,0 +1,34 @@
+Format: 1.8
+Date: Sat, 01 Jun 2019 09:39:38 +0000
+Source: ascension
+Binary: python3-ascension
+Architecture: source all
+Version: 0.11.5-1
+Distribution: unstable
+Urgency: low
+Maintainer: rexxnor <address@hidden>
+Changed-By: rexxnor <address@hidden>
+Description:
+ python3-ascension - Tool to migrate DNS Zones to the GNU Name System
+Changes:
+ ascension (0.11.5-1) unstable; urgency=low
+ .
+   * source package automatically created by stdeb 0.8.5
+Checksums-Sha1:
+ 9f96b287c99e40f51a6737b82bde2a3bc596a87f 846 ascension_0.11.5-1.dsc
+ 021defc94aa480b0815a4efaec31daf5a2e2bf88 10652 ascension_0.11.5.orig.tar.gz
+ 8516a239f65b3e864e891daab9cf62cc7bd909c1 1888 ascension_0.11.5-1.debian.tar.xz
+ 412ec7cf541bbb761997d98122aa08c40b4cc530 5432 
ascension_0.11.5-1_amd64.buildinfo
+ 9a0ff5db319f61d51b4075c9d53d6ac466139745 12074 
python3-ascension_0.11.5-1_all.deb
+Checksums-Sha256:
+ b85227d3ea578a1b43599a1c7c9c69ddc0a11961490cf990e12f57cb31c88eff 846 
ascension_0.11.5-1.dsc
+ 26ee8a1845b01c92a969bec2ee461f10918873e31018a275bba05b3c40b3821c 10652 
ascension_0.11.5.orig.tar.gz
+ bbff145e8e3cfd690e39019118337a95939ead0e3c086b046e02677564920c4c 1888 
ascension_0.11.5-1.debian.tar.xz
+ 3d72561a355f8238bfa0cea4022e01a0ee733be8bce35449bd86151ed7dd7abb 5432 
ascension_0.11.5-1_amd64.buildinfo
+ aa3a21e1a98299df739c239348a51e4c523945edab968b2980f2c102ab882da1 12074 
python3-ascension_0.11.5-1_all.deb
+Files:
+ 68f13e9a3b13c5fc36242dba5e8d6051 846 python optional ascension_0.11.5-1.dsc
+ f554e7e84f19fbaafd2219b6be7f6433 10652 python optional 
ascension_0.11.5.orig.tar.gz
+ b657097bc52cf563b551ef8ad95268db 1888 python optional 
ascension_0.11.5-1.debian.tar.xz
+ ccfbcb90eaff8ba47441ca1ae93d8f93 5432 python optional 
ascension_0.11.5-1_amd64.buildinfo
+ d68fbb25fb1b9fe79ee4d52ea74ae43b 12074 python optional 
python3-ascension_0.11.5-1_all.deb
diff --git a/deb_dist/ascension_0.11.4-1_source.buildinfo 
b/deb_dist/ascension_0.11.5-1_source.buildinfo
similarity index 93%
copy from deb_dist/ascension_0.11.4-1_source.buildinfo
copy to deb_dist/ascension_0.11.5-1_source.buildinfo
index 7ce863f..2813579 100644
--- a/deb_dist/ascension_0.11.4-1_source.buildinfo
+++ b/deb_dist/ascension_0.11.5-1_source.buildinfo
@@ -2,16 +2,16 @@ Format: 1.0
 Source: ascension
 Binary: python3-ascension
 Architecture: source
-Version: 0.11.4-1
+Version: 0.11.5-1
 Checksums-Md5:
- 158aeffcf835e70fb17f1bcd8017b1bb 846 ascension_0.11.4-1.dsc
+ 803e035cea76e62c6911144b190032c1 846 ascension_0.11.5-1.dsc
 Checksums-Sha1:
- 9a39b5f45cf7d06d6da2a9c02dc6848f4f28dac6 846 ascension_0.11.4-1.dsc
+ d53c013e5c3a414be1f45712d1353201213ca10d 846 ascension_0.11.5-1.dsc
 Checksums-Sha256:
- db3791660af97ff2cfbccbd317bcbec58e5a906ab7f3a1dddd40109522900f30 846 
ascension_0.11.4-1.dsc
+ ab0dd8664be9eaf2b4e0cc41ac07079621a812783f0619acec0af742cceffcae 846 
ascension_0.11.5-1.dsc
 Build-Origin: Debian
 Build-Architecture: amd64
-Build-Date: Fri, 24 May 2019 07:32:58 +0000
+Build-Date: Sat, 01 Jun 2019 09:39:43 +0000
 Installed-Build-Depends:
  autoconf (= 2.69-10),
  automake (= 1:1.15-6),
@@ -174,4 +174,4 @@ Installed-Build-Depends:
  zlib1g (= 1:1.2.8.dfsg-5)
 Environment:
  DEB_BUILD_OPTIONS="parallel=2"
- SOURCE_DATE_EPOCH="1558683175"
+ SOURCE_DATE_EPOCH="1559381978"
diff --git a/deb_dist/ascension_0.11.5-1_source.changes 
b/deb_dist/ascension_0.11.5-1_source.changes
new file mode 100644
index 0000000..f99d74c
--- /dev/null
+++ b/deb_dist/ascension_0.11.5-1_source.changes
@@ -0,0 +1,31 @@
+Format: 1.8
+Date: Sat, 01 Jun 2019 09:39:38 +0000
+Source: ascension
+Binary: python3-ascension
+Architecture: source
+Version: 0.11.5-1
+Distribution: unstable
+Urgency: low
+Maintainer: rexxnor <address@hidden>
+Changed-By: rexxnor <address@hidden>
+Description:
+ python3-ascension - Tool to migrate DNS Zones to the GNU Name System
+Changes:
+ ascension (0.11.5-1) unstable; urgency=low
+ .
+   * source package automatically created by stdeb 0.8.5
+Checksums-Sha1:
+ d53c013e5c3a414be1f45712d1353201213ca10d 846 ascension_0.11.5-1.dsc
+ 021defc94aa480b0815a4efaec31daf5a2e2bf88 10652 ascension_0.11.5.orig.tar.gz
+ 98e3576c8f5b285643e844fa2a9371eaba196449 1136 ascension_0.11.5-1.debian.tar.xz
+ 6d6be63ecc77a8549cb7ecd9df2a78a30734a468 5163 
ascension_0.11.5-1_source.buildinfo
+Checksums-Sha256:
+ ab0dd8664be9eaf2b4e0cc41ac07079621a812783f0619acec0af742cceffcae 846 
ascension_0.11.5-1.dsc
+ 26ee8a1845b01c92a969bec2ee461f10918873e31018a275bba05b3c40b3821c 10652 
ascension_0.11.5.orig.tar.gz
+ 04116d1979c56a7507db221c00d267cbe8aa8401aabde3a34f2e2089f3c155a5 1136 
ascension_0.11.5-1.debian.tar.xz
+ 7e548325e2513e58092414200e41a30d4af38a00cd69ef313065f3b6dabd1d32 5163 
ascension_0.11.5-1_source.buildinfo
+Files:
+ 803e035cea76e62c6911144b190032c1 846 python optional ascension_0.11.5-1.dsc
+ f554e7e84f19fbaafd2219b6be7f6433 10652 python optional 
ascension_0.11.5.orig.tar.gz
+ d10dc50ef0e5a2c8a66f02827630eea7 1136 python optional 
ascension_0.11.5-1.debian.tar.xz
+ cf8584d6aa1ef4d6fe6b645f47b45550 5163 python optional 
ascension_0.11.5-1_source.buildinfo
diff --git a/deb_dist/ascension_0.11.5.orig.tar.gz 
b/deb_dist/ascension_0.11.5.orig.tar.gz
new file mode 100644
index 0000000..24e6093
Binary files /dev/null and b/deb_dist/ascension_0.11.5.orig.tar.gz differ
diff --git a/deb_dist/python3-ascension_0.11.4-1_all.deb 
b/deb_dist/python3-ascension_0.11.4-1_all.deb
index d8f47f3..5748c47 100644
Binary files a/deb_dist/python3-ascension_0.11.4-1_all.deb and 
b/deb_dist/python3-ascension_0.11.4-1_all.deb differ
diff --git a/deb_dist/python3-ascension_0.11.5-1_all.deb 
b/deb_dist/python3-ascension_0.11.5-1_all.deb
new file mode 100644
index 0000000..73cf6d4
Binary files /dev/null and b/deb_dist/python3-ascension_0.11.5-1_all.deb differ
diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind.config 
b/debian/ascension-bind-0.0.1/debian/ascension-bind.config
index cf49632..0e24871 100644
--- a/debian/ascension-bind-0.0.1/debian/ascension-bind.config
+++ b/debian/ascension-bind-0.0.1/debian/ascension-bind.config
@@ -2,20 +2,15 @@
 # config script for ascension-bind
 #
 # see: dh_installdeb(1)
-# load debconf library
+
+# If there is no frontend, set interactive
 DEBIAN_FRONTEND=${DEBIAN_FRONTEND:-noninteractive}
 
+# load debconf library
 . /usr/share/debconf/confmodule
 
 #set -e
 
-#if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
-#${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
-
-#rndc dumpdb --zones || echo "No Zones have been found!" && exit 1
-#grep "Zone dump" /var/cache/bind/named_dump.db | grep -v "arpa" | grep "IN" | 
grep -v localhost > installedzones
-#read -r zones < installedzones
-
 zonelist=$(grep "^zone" < /etc/bind/named.conf.local | grep -vE 
"(arpa|localhost|\"\.\")" | cut -d '"' -f2)
 zonelist=$(echo -n "$zonelist" | tr '\n' ',' | sed 's/,/, /g')
 trimmed=$(echo $zonelist | tr -d '\n')
@@ -24,29 +19,14 @@ if [ "$trimmed" = "" ]; then
     exit 0
 fi
 
-#altzonelist=$(named-checkconf -z | grep -P "\d{4,}$")
-#altzones=("$altzonelist")
-
-#if [ address@hidden -eq address@hidden ]; then
-#db_metaget ascension-bind/zones choices
-#echo "$RET"
-#db_set ascension-bind/zones 'foo.bar, this.does.not.work'
-#db_subst ascension-bind/zones choices "mine, this.does.work"
-#db_set ascension-bind/zones "foo.bar, this.does.not.work"
-#if grep allow-transfer < /etc/bind/named.conf &> /dev/null; then
-#   db_fset ascension-bind/transfer-allowed seen false
-#   db_input high ascension-bind/transfer-allowed
-#   db_go || true
-#   exit 1
-#fi
-
-#db_set ascension-bind/zones $zonelist
+# set default and ask user which zones to migrate
+db_set ascension-bind/zones $zonelist
+db_subst ascension-bind/zones defaults $zonelist
 db_subst ascension-bind/zones zonelist $zonelist
 db_fset ascension-bind/zones seen false
 db_input medium ascension-bind/zones || true
 db_go || true
 
-# fix the zone selection
 db_get ascension-bind/zones
 echo "$RET" | sed 's/ //g' | sed 's/,/\n/g' > selectedzones
 readarray zones < selectedzones
@@ -103,6 +83,9 @@ mkdir -p /etc/ascension.d/
 for ZONE in "address@hidden"
 do
     ZONE=$( echo "$ZONE" | tr -d '\n')
+    gnunet-identity -C "$ZONE"
+    ZONEPKEYLINE=$(gnunet-identity -dqe "$ZONE")
+    ZONEPKEY=$( echo "$ZONEPKEYLINE" | tr -d '\n')
     FILECONV=$( echo "$ZONE" | tr '.' '_')
     echo "Creating systemd unit file."
     cat > "/etc/ascension.d/ascension-bind-$FILECONV.service" << EOF
@@ -111,6 +94,7 @@ Description=Ascension-bind for $ZONE
 After=gnunet-ascension.service
 
 [Service]
+Environment=ZONEPKEY=$ZONEPKEY
 Type=simple
 User=ascension
 WorkingDirectory=/etc/ascension.d/
@@ -123,13 +107,15 @@ done
 
 for ZONE in "address@hidden"
 do
+    systemctl daemon-reload
     ZONE=$( echo "$ZONE" | tr -d '\n')
     FILECONV=$( echo "$ZONE" | tr '.' '_')
+    ZONEPKEYLINE=$(gnunet-identity -dqe "$ZONE")
+    ZONEPKEY=$( echo "$ZONEPKEYLINE" | tr -d '\n')
     echo "Starting and enabling ascension-bind-$FILECONV"
-    deb-systemd-invoke enable "ascension-bind-$FILECONV"
+    deb-systemd-helper enable "ascension-bind-$FILECONV"
     deb-systemd-invoke start "ascension-bind-$FILECONV"
-    #ret=$(su ascension -c "gnunet-identity -d -q -e $ZONE")
-    #zonepkey=$(echo "$ret" | tr -d '\n')
+    systemctl daemon-reload
 done
 
 exit 0
diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind.prerm 
b/debian/ascension-bind-0.0.1/debian/ascension-bind.prerm
index de020f8..9bb04fb 100644
--- a/debian/ascension-bind-0.0.1/debian/ascension-bind.prerm
+++ b/debian/ascension-bind-0.0.1/debian/ascension-bind.prerm
@@ -25,6 +25,7 @@ deb-systemd-invoke restart bind9
 
 for ZONE in "address@hidden"
 do
+    systemctl daemon-reload
     ZONE=$( echo "$ZONE" | tr -d '\n')
     FILECONV=$( echo "$ZONE" | tr '.' '_')
     echo "Stopping and disabling ascension-bind-$FILECONV"
@@ -32,6 +33,7 @@ do
     deb-systemd-invoke stop "ascension-bind-$FILECONV"
     unlink "/lib/systemd/system/ascension-bind-$FILECONV.service" || true
     rm "/etc/ascension.d/ascension-bind-$FILECONV.service" || true
+    systemctl daemon-reload
 done
 
 exit 0
diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind.templates 
b/debian/ascension-bind-0.0.1/debian/ascension-bind.templates
index 6f0a8f4..92f9033 100644
--- a/debian/ascension-bind-0.0.1/debian/ascension-bind.templates
+++ b/debian/ascension-bind-0.0.1/debian/ascension-bind.templates
@@ -1,6 +1,7 @@
 Template: ascension-bind/zones
 Type: multiselect
 Choices: ${zonelist}
+Default: ${defaults}
 _Description: Which zones do you want to migrate to the GNU Name System?
  Please select the zones you want to have migrated into the GNU Name System.
 
diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/config 
b/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/config
index 3616f13..41ecd07 100755
--- a/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/config
+++ b/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/config
@@ -2,20 +2,15 @@
 # config script for ascension-bind
 #
 # see: dh_installdeb(1)
-# load debconf library
+
+# If there is no frontend, set interactive
 DEBIAN_FRONTEND=${DEBIAN_FRONTEND:-noninteractive}
 
+# load debconf library
 . /usr/share/debconf/confmodule
 
 #set -e
 
-#if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
-#${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
-
-#rndc dumpdb --zones || echo "No Zones have been found!" && exit 1
-#grep "Zone dump" /var/cache/bind/named_dump.db | grep -v "arpa" | grep "IN" | 
grep -v localhost > installedzones
-#read -r zones < installedzones
-
 zonelist=$(grep "^zone" < /etc/bind/named.conf.local | grep -vE 
"(arpa|localhost|\"\.\")" | cut -d '"' -f2)
 zonelist=$(echo -n "$zonelist" | tr '\n' ',' | sed 's/,/, /g')
 trimmed=$(echo $zonelist | tr -d '\n')
@@ -24,29 +19,14 @@ if [ "$trimmed" = "" ]; then
     exit 0
 fi
 
-#altzonelist=$(named-checkconf -z | grep -P "\d{4,}$")
-#altzones=("$altzonelist")
-
-#if [ address@hidden -eq address@hidden ]; then
-#db_metaget ascension-bind/zones choices
-#echo "$RET"
-#db_set ascension-bind/zones 'foo.bar, this.does.not.work'
-#db_subst ascension-bind/zones choices "mine, this.does.work"
-#db_set ascension-bind/zones "foo.bar, this.does.not.work"
-#if grep allow-transfer < /etc/bind/named.conf &> /dev/null; then
-#   db_fset ascension-bind/transfer-allowed seen false
-#   db_input high ascension-bind/transfer-allowed
-#   db_go || true
-#   exit 1
-#fi
-
-#db_set ascension-bind/zones $zonelist
+# set default and ask user which zones to migrate
+db_set ascension-bind/zones $zonelist
+db_subst ascension-bind/zones defaults $zonelist
 db_subst ascension-bind/zones zonelist $zonelist
 db_fset ascension-bind/zones seen false
 db_input medium ascension-bind/zones || true
 db_go || true
 
-# fix the zone selection
 db_get ascension-bind/zones
 echo "$RET" | sed 's/ //g' | sed 's/,/\n/g' > selectedzones
 readarray zones < selectedzones
@@ -103,6 +83,9 @@ mkdir -p /etc/ascension.d/
 for ZONE in "address@hidden"
 do
     ZONE=$( echo "$ZONE" | tr -d '\n')
+    gnunet-identity -C "$ZONE"
+    ZONEPKEYLINE=$(gnunet-identity -dqe "$ZONE")
+    ZONEPKEY=$( echo "$ZONEPKEYLINE" | tr -d '\n')
     FILECONV=$( echo "$ZONE" | tr '.' '_')
     echo "Creating systemd unit file."
     cat > "/etc/ascension.d/ascension-bind-$FILECONV.service" << EOF
@@ -111,6 +94,7 @@ Description=Ascension-bind for $ZONE
 After=gnunet-ascension.service
 
 [Service]
+Environment=ZONEPKEY=$ZONEPKEY
 Type=simple
 User=ascension
 WorkingDirectory=/etc/ascension.d/
@@ -123,13 +107,15 @@ done
 
 for ZONE in "address@hidden"
 do
+    systemctl daemon-reload
     ZONE=$( echo "$ZONE" | tr -d '\n')
     FILECONV=$( echo "$ZONE" | tr '.' '_')
+    ZONEPKEYLINE=$(gnunet-identity -dqe "$ZONE")
+    ZONEPKEY=$( echo "$ZONEPKEYLINE" | tr -d '\n')
     echo "Starting and enabling ascension-bind-$FILECONV"
-    deb-systemd-invoke enable "ascension-bind-$FILECONV"
+    deb-systemd-helper enable "ascension-bind-$FILECONV"
     deb-systemd-invoke start "ascension-bind-$FILECONV"
-    #ret=$(su ascension -c "gnunet-identity -d -q -e $ZONE")
-    #zonepkey=$(echo "$ret" | tr -d '\n')
+    systemctl daemon-reload
 done
 
 exit 0
diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/control 
b/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/control
index 832203c..966970d 100644
--- a/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/control
+++ b/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/control
@@ -2,7 +2,7 @@ Package: ascension-bind
 Version: 0.0.1-1
 Architecture: amd64
 Maintainer: rexxnor <address@hidden>
-Installed-Size: 19
+Installed-Size: 18
 Depends: debconf (>= 0.5) | debconf-2.0, python3-ascension, bind9, dnsutils
 Section: net
 Priority: optional
diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/templates 
b/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/templates
index dce05f3..292cc5e 100644
--- a/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/templates
+++ b/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/templates
@@ -1,6 +1,7 @@
 Template: ascension-bind/zones
 Type: multiselect
 Choices: ${zonelist}
+Default: ${defaults}
 Description: Which zones do you want to migrate to the GNU Name System?
  Please select the zones you want to have migrated into the GNU Name System.
 
diff --git a/debian/ascension-bind-0.0.1/debian/control 
b/debian/ascension-bind-0.0.1/debian/control
index e80a823..69e84aa 100644
--- a/debian/ascension-bind-0.0.1/debian/control
+++ b/debian/ascension-bind-0.0.1/debian/control
@@ -2,7 +2,7 @@ Source: ascension-bind
 Section: net
 Priority: optional
 Maintainer: rexxnor <address@hidden>
-Build-Depends: debhelper (>= 9), python3-ascension, bind9, po-debconf
+Build-Depends: debhelper (>= 9), python3-ascension, po-debconf
 Standards-Version: 3.9.8
 Homepage: https://git.gnunet.org/ascension.git/
 
diff --git a/debian/ascension-bind_0.0.1-1.debian.tar.xz 
b/debian/ascension-bind_0.0.1-1.debian.tar.xz
index b424e01..8b8bda4 100644
Binary files a/debian/ascension-bind_0.0.1-1.debian.tar.xz and 
b/debian/ascension-bind_0.0.1-1.debian.tar.xz differ
diff --git a/debian/ascension-bind_0.0.1-1.dsc 
b/debian/ascension-bind_0.0.1-1.dsc
index 85045c2..4b7903b 100644
--- a/debian/ascension-bind_0.0.1-1.dsc
+++ b/debian/ascension-bind_0.0.1-1.dsc
@@ -6,15 +6,15 @@ Version: 0.0.1-1
 Maintainer: rexxnor <address@hidden>
 Homepage: https://git.gnunet.org/ascension.git/
 Standards-Version: 3.9.8
-Build-Depends: debhelper (>= 9), python3-ascension, bind9, po-debconf
+Build-Depends: debhelper (>= 9), python3-ascension, po-debconf
 Package-List:
  ascension-bind deb net optional arch=any
 Checksums-Sha1:
  0a7953cf5bf7616ff1c2171789fab736e199e769 3860 ascension-bind_0.0.1.orig.tar.xz
- a2f35b5e82774ed298d4c4103b4aff45c06eb584 4312 
ascension-bind_0.0.1-1.debian.tar.xz
+ 201d35046273e6ec4f8824e8a9cd7ad2af367fa4 4096 
ascension-bind_0.0.1-1.debian.tar.xz
 Checksums-Sha256:
  e21b0672b6d9932d03541c13e9350546542d9dd86373bf6bc78f61a1c79586b4 3860 
ascension-bind_0.0.1.orig.tar.xz
- aaab70869ecad19378772f38c06aa3a79cd568585920e2280803a9b971e6a4e2 4312 
ascension-bind_0.0.1-1.debian.tar.xz
+ 172b825cba6d3779f149b97223258c7fa8277e897353c811f34710dfb8b28523 4096 
ascension-bind_0.0.1-1.debian.tar.xz
 Files:
  3e51a0f28a46eff44e0366ab9185b840 3860 ascension-bind_0.0.1.orig.tar.xz
- 00cb69087b79a0a19b0b9094a3a291d8 4312 ascension-bind_0.0.1-1.debian.tar.xz
+ c65c2da0b75ae846eafbbd5c86fd85f4 4096 ascension-bind_0.0.1-1.debian.tar.xz
diff --git a/debian/ascension-bind_0.0.1-1_amd64.buildinfo 
b/debian/ascension-bind_0.0.1-1_amd64.buildinfo
index d5eba69..77f0892 100644
--- a/debian/ascension-bind_0.0.1-1_amd64.buildinfo
+++ b/debian/ascension-bind_0.0.1-1_amd64.buildinfo
@@ -4,19 +4,18 @@ Binary: ascension-bind
 Architecture: amd64 source
 Version: 0.0.1-1
 Checksums-Md5:
- 8a35d8a7bc43f5edf8cda7ffa3b8ab36 911 ascension-bind_0.0.1-1.dsc
- acf1dfa0126df1f20bcd0147ab288bba 3896 ascension-bind_0.0.1-1_amd64.deb
+ e9ac407190a85dbf45ba95d3da3d4e62 904 ascension-bind_0.0.1-1.dsc
+ f4ec58ea97674eae54e782656337acde 3670 ascension-bind_0.0.1-1_amd64.deb
 Checksums-Sha1:
- 490f1358a6e1ca638e6151e2b51fd85b27ad2eb7 911 ascension-bind_0.0.1-1.dsc
- b3dda8212775b2e41ca5946a51cd12dc5310f5c8 3896 ascension-bind_0.0.1-1_amd64.deb
+ 493d1a06babde0d3a526960867cb9b8c2aa235ad 904 ascension-bind_0.0.1-1.dsc
+ 61a10e7026191cbad949839de50fd114fd3512de 3670 ascension-bind_0.0.1-1_amd64.deb
 Checksums-Sha256:
- 32c9feb2e302d1de10f62e55eec613de8d753852b6794915f5c2d1befeca2178 911 
ascension-bind_0.0.1-1.dsc
- 8ce498b71cbdad8cb8090a879c775c9e1bedb76a2b12db9c73c7c0efb34c763f 3896 
ascension-bind_0.0.1-1_amd64.deb
+ b9d25d4abfb3a4d46c52a3bdcb544d37b700f7cca42e9ff7f315e8eca83ac675 904 
ascension-bind_0.0.1-1.dsc
+ 5934cc7e52f923fd72687ff302e629f4f2b239254322f673fbc171177b1b1afa 3670 
ascension-bind_0.0.1-1_amd64.deb
 Build-Origin: Debian
 Build-Architecture: amd64
-Build-Date: Tue, 21 May 2019 17:56:02 +0000
+Build-Date: Fri, 31 May 2019 20:17:25 +0000
 Installed-Build-Depends:
- adduser (= 3.115),
  autoconf (= 2.69-10),
  automake (= 1:1.15-6),
  autopoint (= 0.19.8.1-2),
@@ -24,8 +23,6 @@ Installed-Build-Depends:
  base-files (= 9.9+deb9u9),
  base-passwd (= 3.5.43),
  bash (= 4.4-5),
- bind9 (= 1:9.11.5.P4+dfsg-5~bpo9+1),
- bind9utils (= 1:9.11.5.P4+dfsg-5~bpo9+1),
  binutils (= 2.28-5),
  bsdmainutils (= 9.0.12+nmu1),
  bsdutils (= 1:2.29.2-1+deb9u1),
@@ -42,7 +39,6 @@ Installed-Build-Depends:
  dh-python (= 2.20170125),
  dh-strip-nondeterminism (= 0.034-1),
  diffutils (= 1:3.5-3),
- dns-root-data (= 2019031302~deb9u1),
  dpkg (= 1.18.25),
  dpkg-dev (= 1.18.25),
  dwz (= 0.12-1+b1),
@@ -70,7 +66,6 @@ Installed-Build-Depends:
  libattr1 (= 1:2.4.47-2+b2),
  libaudit-common (= 1:2.6.7-2),
  libaudit1 (= 1:2.6.7-2),
- libbind9-161 (= 1:9.11.5.P4+dfsg-5~bpo9+1),
  libblkid1 (= 2.29.2-1+deb9u1),
  libbsd0 (= 0.8.3-1),
  libbz2-1.0 (= 1.0.6-8.1),
@@ -79,45 +74,30 @@ Installed-Build-Depends:
  libc6 (= 2.24-11+deb9u4),
  libc6-dev (= 2.24-11+deb9u4),
  libcap-ng0 (= 0.7.7-3+b1),
- libcap2 (= 1:2.25-1),
  libcc1-0 (= 6.3.0-18+deb9u1),
  libcilkrts5 (= 6.3.0-18+deb9u1),
  libcomerr2 (= 1.43.4-2),
  libcroco3 (= 0.6.11-3),
  libdb5.3 (= 5.3.28-12+deb9u1),
  libdebconfclient0 (= 0.227),
- libdns1104 (= 1:9.11.5.P4+dfsg-5~bpo9+1),
  libdpkg-perl (= 1.18.25),
  libelf1 (= 0.168-1),
  libexpat1 (= 2.2.0-2+deb9u1),
  libfdisk1 (= 2.29.2-1+deb9u1),
  libffi6 (= 3.2.1-6),
  libfile-stripnondeterminism-perl (= 0.034-1),
- libfstrm0 (= 0.3.0-1),
  libgcc-6-dev (= 6.3.0-18+deb9u1),
  libgcc1 (= 1:6.3.0-18+deb9u1),
  libgcrypt20 (= 1.7.6-2+deb9u3),
  libgdbm3 (= 1.8.3-14),
- libgeoip1 (= 1.6.9-4),
  libglib2.0-0 (= 2.50.3-2),
  libgmp10 (= 2:6.1.2+dfsg-1),
  libgomp1 (= 6.3.0-18+deb9u1),
  libgpg-error0 (= 1.35-1~bpo9+1),
- libgssapi-krb5-2 (= 1.15-1+deb9u1),
  libicu57 (= 57.1-6+deb9u2),
- libisc1100 (= 1:9.11.5.P4+dfsg-5~bpo9+1),
- libisccc161 (= 1:9.11.5.P4+dfsg-5~bpo9+1),
- libisccfg163 (= 1:9.11.5.P4+dfsg-5~bpo9+1),
  libisl15 (= 0.18-1),
  libitm1 (= 6.3.0-18+deb9u1),
- libjson-c3 (= 0.12.1-1.1),
- libk5crypto3 (= 1.15-1+deb9u1),
- libkeyutils1 (= 1.5.9-9),
- libkrb5-3 (= 1.15-1+deb9u1),
- libkrb5support0 (= 1.15-1+deb9u1),
- liblmdb0 (= 0.9.18-5),
  liblsan0 (= 6.3.0-18+deb9u1),
- liblwres161 (= 1:9.11.5.P4+dfsg-5~bpo9+1),
  liblz4-1 (= 0.0~r131-2+b1),
  liblzma5 (= 5.2.2-1.2+b1),
  libmagic-mgc (= 1:5.30-1+deb9u2),
@@ -136,7 +116,6 @@ Installed-Build-Depends:
  libpcre3 (= 2:8.39-3),
  libperl5.24 (= 5.24.1-3+deb9u5),
  libpipeline1 (= 1.4.1-2),
- libprotobuf-c1 (= 1.2.1-2),
  libpython3-stdlib (= 3.5.3-1),
  libpython3.5-minimal (= 3.5.3-1+deb9u1),
  libpython3.5-stdlib (= 3.5.3-1+deb9u1),
@@ -166,7 +145,6 @@ Installed-Build-Depends:
  libxml2 (= 2.9.4+dfsg1-2.2+deb9u2),
  linux-libc-dev (= 4.19.28-2~bpo9+1),
  login (= 1:4.4-4.1),
- lsb-base (= 9.20161125),
  m4 (= 1.4.18-1),
  make (= 4.1-9.1),
  man-db (= 2.7.6.1-2),
@@ -176,8 +154,6 @@ Installed-Build-Depends:
  multiarch-support (= 2.24-11+deb9u4),
  ncurses-base (= 6.0+20161126-1+deb9u2),
  ncurses-bin (= 6.0+20161126-1+deb9u2),
- net-tools (= 1.60+git20161116.90da8a0-1),
- netbase (= 5.4),
  passwd (= 1:4.4-4.1),
  patch (= 2.7.5-1+deb9u1),
  perl (= 5.24.1-3+deb9u5),
@@ -193,7 +169,6 @@ Installed-Build-Depends:
  python3-mock (= 2.0.0-3),
  python3-pbr (= 4.2.0-4~bpo9+2),
  python3-pkg-resources (= 33.1.1-1),
- python3-ply (= 3.9-1),
  python3-setuptools (= 33.1.1-1),
  python3-six (= 1.10.0-3),
  python3.5 (= 3.5.3-1+deb9u1),
diff --git a/debian/ascension-bind_0.0.1-1_amd64.changes 
b/debian/ascension-bind_0.0.1-1_amd64.changes
index a136131..74704e1 100644
--- a/debian/ascension-bind_0.0.1-1_amd64.changes
+++ b/debian/ascension-bind_0.0.1-1_amd64.changes
@@ -16,20 +16,20 @@ Changes:
  .
    * Initial release Closes: #123123
 Checksums-Sha1:
- 490f1358a6e1ca638e6151e2b51fd85b27ad2eb7 911 ascension-bind_0.0.1-1.dsc
+ 493d1a06babde0d3a526960867cb9b8c2aa235ad 904 ascension-bind_0.0.1-1.dsc
  0a7953cf5bf7616ff1c2171789fab736e199e769 3860 ascension-bind_0.0.1.orig.tar.xz
- a2f35b5e82774ed298d4c4103b4aff45c06eb584 4312 
ascension-bind_0.0.1-1.debian.tar.xz
- 5b52f76e9f0fb845b31d3365c5838537f3474480 6469 
ascension-bind_0.0.1-1_amd64.buildinfo
- b3dda8212775b2e41ca5946a51cd12dc5310f5c8 3896 ascension-bind_0.0.1-1_amd64.deb
+ 201d35046273e6ec4f8824e8a9cd7ad2af367fa4 4096 
ascension-bind_0.0.1-1.debian.tar.xz
+ 847a45a9c232e3fbb9e3e6a8760c1eef056d6a27 5640 
ascension-bind_0.0.1-1_amd64.buildinfo
+ 61a10e7026191cbad949839de50fd114fd3512de 3670 ascension-bind_0.0.1-1_amd64.deb
 Checksums-Sha256:
- 32c9feb2e302d1de10f62e55eec613de8d753852b6794915f5c2d1befeca2178 911 
ascension-bind_0.0.1-1.dsc
+ b9d25d4abfb3a4d46c52a3bdcb544d37b700f7cca42e9ff7f315e8eca83ac675 904 
ascension-bind_0.0.1-1.dsc
  e21b0672b6d9932d03541c13e9350546542d9dd86373bf6bc78f61a1c79586b4 3860 
ascension-bind_0.0.1.orig.tar.xz
- aaab70869ecad19378772f38c06aa3a79cd568585920e2280803a9b971e6a4e2 4312 
ascension-bind_0.0.1-1.debian.tar.xz
- 8c2be3e4901490b7c1071272abea2016dcb4373c0354790068154295226a030e 6469 
ascension-bind_0.0.1-1_amd64.buildinfo
- 8ce498b71cbdad8cb8090a879c775c9e1bedb76a2b12db9c73c7c0efb34c763f 3896 
ascension-bind_0.0.1-1_amd64.deb
+ 172b825cba6d3779f149b97223258c7fa8277e897353c811f34710dfb8b28523 4096 
ascension-bind_0.0.1-1.debian.tar.xz
+ 81ba483167be7ad7e40cededebff1baff1e91ad72c299f7899d87cad40e6b352 5640 
ascension-bind_0.0.1-1_amd64.buildinfo
+ 5934cc7e52f923fd72687ff302e629f4f2b239254322f673fbc171177b1b1afa 3670 
ascension-bind_0.0.1-1_amd64.deb
 Files:
- 8a35d8a7bc43f5edf8cda7ffa3b8ab36 911 net optional ascension-bind_0.0.1-1.dsc
+ e9ac407190a85dbf45ba95d3da3d4e62 904 net optional ascension-bind_0.0.1-1.dsc
  3e51a0f28a46eff44e0366ab9185b840 3860 net optional 
ascension-bind_0.0.1.orig.tar.xz
- 00cb69087b79a0a19b0b9094a3a291d8 4312 net optional 
ascension-bind_0.0.1-1.debian.tar.xz
- c3dec162ec22ea1ce626266058c0c350 6469 net optional 
ascension-bind_0.0.1-1_amd64.buildinfo
- acf1dfa0126df1f20bcd0147ab288bba 3896 net optional 
ascension-bind_0.0.1-1_amd64.deb
+ c65c2da0b75ae846eafbbd5c86fd85f4 4096 net optional 
ascension-bind_0.0.1-1.debian.tar.xz
+ c61924d68aaeff644510b347ef819975 5640 net optional 
ascension-bind_0.0.1-1_amd64.buildinfo
+ f4ec58ea97674eae54e782656337acde 3670 net optional 
ascension-bind_0.0.1-1_amd64.deb
diff --git a/debian/ascension-bind_0.0.1-1_amd64.deb 
b/debian/ascension-bind_0.0.1-1_amd64.deb
index da24735..7af493c 100644
Binary files a/debian/ascension-bind_0.0.1-1_amd64.deb and 
b/debian/ascension-bind_0.0.1-1_amd64.deb differ
diff --git a/setup.py b/setup.py
index 5c8cd27..851c1d8 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ with open("README", "r") as fh:
 
 setuptools.setup(
     name="ascension",
-    version="0.11.4",
+    version="0.11.5",
     author="rexxnor",
     author_email="address@hidden",
     description="Tool to migrate DNS Zones to the GNU Name System",

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]