diff options
author | rexxnor <rexxnor+gnunet@brief.li> | 2019-05-15 16:24:35 +0200 |
---|---|---|
committer | rexxnor <rexxnor+gnunet@brief.li> | 2019-05-15 16:24:35 +0200 |
commit | 685c1592c6c4ab267d7dcd2def8320e3c4f4a02c (patch) | |
tree | 53426a7eb86dd8cea0b0c1370cc4eb09a27616da /deb_dist | |
parent | 8de9104f51def18d2a0cb5c64b67afc76863ff40 (diff) | |
download | ascension-685c1592c6c4ab267d7dcd2def8320e3c4f4a02c.tar.gz ascension-685c1592c6c4ab267d7dcd2def8320e3c4f4a02c.zip |
updated ascension-bind with logic when no zones are defined
Diffstat (limited to 'deb_dist')
-rw-r--r-- | deb_dist/ascension-0.6.1/ascension/ascension.py | 4 | ||||
-rw-r--r-- | deb_dist/ascension-0.6.1/debian/changelog | 2 | ||||
-rw-r--r-- | deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/control | 2 | ||||
-rw-r--r-- | deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/md5sums | 6 | ||||
-rwxr-xr-x | deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/postinst | 42 | ||||
-rwxr-xr-x | deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/prerm | 20 | ||||
-rwxr-xr-x | deb_dist/ascension-0.6.1/debian/python3-ascension/usr/bin/ascension | 2 | ||||
-rw-r--r-- | deb_dist/ascension-0.6.1/debian/python3-ascension/usr/share/doc/python3-ascension/changelog.Debian.gz | bin | 161 -> 162 bytes | |||
-rwxr-xr-x | deb_dist/ascension-0.6.1/debian/rules | 4 | ||||
-rw-r--r-- | deb_dist/python3-ascension_0.6.1-1_all.deb | bin | 11302 -> 11738 bytes |
10 files changed, 72 insertions, 10 deletions
diff --git a/deb_dist/ascension-0.6.1/ascension/ascension.py b/deb_dist/ascension-0.6.1/ascension/ascension.py index 9171f0a..1c958b8 100644 --- a/deb_dist/ascension-0.6.1/ascension/ascension.py +++ b/deb_dist/ascension-0.6.1/ascension/ascension.py | |||
@@ -263,8 +263,8 @@ class Ascender(): | |||
263 | # add recordline to gns and filter out empty lines | 263 | # add recordline to gns and filter out empty lines |
264 | if len(recordline) > 1: | 264 | if len(recordline) > 1: |
265 | self.add_recordline_to_gns(recordline, | 265 | self.add_recordline_to_gns(recordline, |
266 | domain, | 266 | domain, |
267 | label) | 267 | label) |
268 | 268 | ||
269 | taskqueue.task_done() | 269 | taskqueue.task_done() |
270 | # End of worker | 270 | # End of worker |
diff --git a/deb_dist/ascension-0.6.1/debian/changelog b/deb_dist/ascension-0.6.1/debian/changelog index 899ec41..a989c5b 100644 --- a/deb_dist/ascension-0.6.1/debian/changelog +++ b/deb_dist/ascension-0.6.1/debian/changelog | |||
@@ -2,4 +2,4 @@ ascension (0.6.1-1) unstable; urgency=low | |||
2 | 2 | ||
3 | * source package automatically created by stdeb 0.8.5 | 3 | * source package automatically created by stdeb 0.8.5 |
4 | 4 | ||
5 | -- rexxnor <rexxnor+gnunet@brief.li> Mon, 13 May 2019 07:43:23 +0000 | 5 | -- rexxnor <rexxnor+gnunet@brief.li> Tue, 14 May 2019 18:22:41 +0000 |
diff --git a/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/control b/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/control index c10bcb1..d799377 100644 --- a/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/control +++ b/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/control | |||
@@ -3,7 +3,7 @@ Source: ascension | |||
3 | Version: 0.6.1-1 | 3 | Version: 0.6.1-1 |
4 | Architecture: all | 4 | Architecture: all |
5 | Maintainer: rexxnor <rexxnor+gnunet@brief.li> | 5 | Maintainer: rexxnor <rexxnor+gnunet@brief.li> |
6 | Installed-Size: 58 | 6 | Installed-Size: 59 |
7 | Depends: python3-coverage, python3-dnspython, python3-docopt, python3-mock, python3-pbr, python3-six, python3:any (>= 3.3.2-2~) | 7 | Depends: python3-coverage, python3-dnspython, python3-docopt, python3-mock, python3-pbr, python3-six, python3:any (>= 3.3.2-2~) |
8 | Section: python | 8 | Section: python |
9 | Priority: optional | 9 | Priority: optional |
diff --git a/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/md5sums b/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/md5sums index e507074..663db50 100644 --- a/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/md5sums +++ b/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/md5sums | |||
@@ -1,10 +1,10 @@ | |||
1 | e39447d26076db60f6e3af5fcc58d379 usr/bin/ascension | 1 | d7291d8f65af903efd61ce477a27e75c usr/bin/ascension |
2 | 9a1cca110e94552f9190fb1b0e3e5dad usr/lib/python3/dist-packages/ascension-0.6.1.egg-info/PKG-INFO | 2 | 9a1cca110e94552f9190fb1b0e3e5dad usr/lib/python3/dist-packages/ascension-0.6.1.egg-info/PKG-INFO |
3 | 68b329da9893e34099c7d8ad5cb9c940 usr/lib/python3/dist-packages/ascension-0.6.1.egg-info/dependency_links.txt | 3 | 68b329da9893e34099c7d8ad5cb9c940 usr/lib/python3/dist-packages/ascension-0.6.1.egg-info/dependency_links.txt |
4 | 9cda1022e5fc72a3762b4bc09ee0ddb5 usr/lib/python3/dist-packages/ascension-0.6.1.egg-info/entry_points.txt | 4 | 9cda1022e5fc72a3762b4bc09ee0ddb5 usr/lib/python3/dist-packages/ascension-0.6.1.egg-info/entry_points.txt |
5 | d41d8cd98f00b204e9800998ecf8427e usr/lib/python3/dist-packages/ascension-0.6.1.egg-info/requires.txt | 5 | d41d8cd98f00b204e9800998ecf8427e usr/lib/python3/dist-packages/ascension-0.6.1.egg-info/requires.txt |
6 | e616e4373e7b199db038fd8e938a3188 usr/lib/python3/dist-packages/ascension-0.6.1.egg-info/top_level.txt | 6 | e616e4373e7b199db038fd8e938a3188 usr/lib/python3/dist-packages/ascension-0.6.1.egg-info/top_level.txt |
7 | d41d8cd98f00b204e9800998ecf8427e usr/lib/python3/dist-packages/ascension/__init__.py | 7 | d41d8cd98f00b204e9800998ecf8427e usr/lib/python3/dist-packages/ascension/__init__.py |
8 | 9777716be2527b7b901fd7df0b5aa08c usr/lib/python3/dist-packages/ascension/ascension.py | 8 | cd04f823990fce0788900abba1c25625 usr/lib/python3/dist-packages/ascension/ascension.py |
9 | 3211ad0ee8099a5512e496e8a4a39816 usr/man/man1/ascension.1 | 9 | 3211ad0ee8099a5512e496e8a4a39816 usr/man/man1/ascension.1 |
10 | d2cd8d642d8b1f56a64985ad3128351b usr/share/doc/python3-ascension/changelog.Debian.gz | 10 | dc20081e00c1968923adb86cec906569 usr/share/doc/python3-ascension/changelog.Debian.gz |
diff --git a/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/postinst b/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/postinst index c9ab70b..b2f13ec 100755 --- a/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/postinst +++ b/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/postinst | |||
@@ -1,9 +1,51 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # postinst script for ascension-bind | ||
3 | # | ||
4 | # see: dh_installdeb(1) | ||
5 | # load debconf library | ||
2 | set -e | 6 | set -e |
3 | 7 | ||
8 | if ! id ascension; then | ||
9 | adduser --system ascension | ||
10 | fi | ||
11 | # ok if this fails as gnunet is not yet a dependency | ||
12 | if ! id gnunet; then | ||
13 | addgroup --system gnunet | ||
14 | adduser ascension gnunet | ||
15 | fi | ||
16 | |||
17 | mkdir -p /etc/ascension.d/ | ||
18 | |||
19 | # add systemd unit file | ||
20 | cat > "/etc/ascension.d/gnunet-ascension.service" << EOF | ||
21 | [Unit] | ||
22 | Description=Starting GNUnet peer for ascension | ||
23 | After=network.target | ||
24 | |||
25 | [Service] | ||
26 | Type=oneshot | ||
27 | RemainAfterExit=yes | ||
28 | User=ascension | ||
29 | ExecStart=/usr/bin/gnunet-arm -s | ||
30 | ExecStop=/usr/bin/gnunet-arm -e | ||
31 | ExecReload=/usr/bin/gnunet-arm -r | ||
32 | |||
33 | [Install] | ||
34 | WantedBy=multi-user.target | ||
35 | EOF | ||
36 | |||
37 | # link the systemd unit file | ||
38 | ln -sf "/etc/ascension.d/gnunet-ascension.service" "/lib/systemd/system/gnunet-ascension.service" | ||
39 | |||
40 | # start and enable service | ||
41 | deb-systemd-invoke start gnunet-ascension | ||
42 | deb-systemd-invoke enable gnunet-ascension | ||
43 | |||
44 | |||
4 | # Automatically added by dh_python3: | 45 | # Automatically added by dh_python3: |
5 | if which py3compile >/dev/null 2>&1; then | 46 | if which py3compile >/dev/null 2>&1; then |
6 | py3compile -p python3-ascension | 47 | py3compile -p python3-ascension |
7 | fi | 48 | fi |
8 | 49 | ||
9 | # End automatically added section | 50 | # End automatically added section |
51 | |||
diff --git a/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/prerm b/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/prerm index 0f8785b..3c75c97 100755 --- a/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/prerm +++ b/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/prerm | |||
@@ -1,6 +1,25 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # prerm script for ascension-bind | ||
3 | # | ||
4 | # see: dh_installdeb(1) | ||
5 | # load debconf library | ||
2 | set -e | 6 | set -e |
3 | 7 | ||
8 | mkdir -p /etc/ascension.d/ | ||
9 | |||
10 | # remove systemd stuff | ||
11 | deb-systemd-invoke disable gnunet-ascension | ||
12 | deb-systemd-invoke stop gnunet-ascension | ||
13 | |||
14 | # remove the systemd files | ||
15 | unlink /lib/systemd/system/gnunet-ascension.service | ||
16 | rm /etc/ascension.d/gnunet-ascension.service | ||
17 | |||
18 | # link the systemd unit file | ||
19 | deb-systemd-invoke daemon-reload | ||
20 | |||
21 | exit 0 | ||
22 | |||
4 | # Automatically added by dh_python3: | 23 | # Automatically added by dh_python3: |
5 | if which py3clean >/dev/null 2>&1; then | 24 | if which py3clean >/dev/null 2>&1; then |
6 | py3clean -p python3-ascension | 25 | py3clean -p python3-ascension |
@@ -10,3 +29,4 @@ else | |||
10 | fi | 29 | fi |
11 | 30 | ||
12 | # End automatically added section | 31 | # End automatically added section |
32 | |||
diff --git a/deb_dist/ascension-0.6.1/debian/python3-ascension/usr/bin/ascension b/deb_dist/ascension-0.6.1/debian/python3-ascension/usr/bin/ascension index 91dcb61..3076199 100755 --- a/deb_dist/ascension-0.6.1/debian/python3-ascension/usr/bin/ascension +++ b/deb_dist/ascension-0.6.1/debian/python3-ascension/usr/bin/ascension | |||
@@ -1,4 +1,4 @@ | |||
1 | #! /usr/bin/python3 | 1 | #!/usr/bin/python3 |
2 | # EASY-INSTALL-ENTRY-SCRIPT: 'ascension==0.6.1','console_scripts','ascension' | 2 | # EASY-INSTALL-ENTRY-SCRIPT: 'ascension==0.6.1','console_scripts','ascension' |
3 | __requires__ = 'ascension==0.6.1' | 3 | __requires__ = 'ascension==0.6.1' |
4 | import re | 4 | import re |
diff --git a/deb_dist/ascension-0.6.1/debian/python3-ascension/usr/share/doc/python3-ascension/changelog.Debian.gz b/deb_dist/ascension-0.6.1/debian/python3-ascension/usr/share/doc/python3-ascension/changelog.Debian.gz index e04c2d7..bbc1d48 100644 --- a/deb_dist/ascension-0.6.1/debian/python3-ascension/usr/share/doc/python3-ascension/changelog.Debian.gz +++ b/deb_dist/ascension-0.6.1/debian/python3-ascension/usr/share/doc/python3-ascension/changelog.Debian.gz | |||
Binary files differ | |||
diff --git a/deb_dist/ascension-0.6.1/debian/rules b/deb_dist/ascension-0.6.1/debian/rules index 171dfd4..3d64a6e 100755 --- a/deb_dist/ascension-0.6.1/debian/rules +++ b/deb_dist/ascension-0.6.1/debian/rules | |||
@@ -1,7 +1,7 @@ | |||
1 | #!/usr/bin/make -f | 1 | #!/usr/bin/make -f |
2 | 2 | ||
3 | # This file was automatically generated by stdeb 0.8.5 at | 3 | # This file was automatically generated by stdeb 0.8.5 at |
4 | # Mon, 13 May 2019 07:43:23 +0000 | 4 | # Tue, 14 May 2019 18:22:41 +0000 |
5 | 5 | ||
6 | %: | 6 | %: |
7 | dh $@ --with python3 --buildsystem=python_distutils | 7 | dh $@ --with python3 --buildsystem=python_distutils |
@@ -19,7 +19,7 @@ override_dh_auto_build: | |||
19 | 19 | ||
20 | 20 | ||
21 | override_dh_auto_install: | 21 | override_dh_auto_install: |
22 | python3 setup.py install --force --root=debian/python3-ascension --no-compile -O0 --install-layout=deb --prefix=/usr | 22 | python3 setup.py install --force --root=debian/python3-ascension --no-compile -O0 --install-layout=deb |
23 | 23 | ||
24 | 24 | ||
25 | 25 | ||
diff --git a/deb_dist/python3-ascension_0.6.1-1_all.deb b/deb_dist/python3-ascension_0.6.1-1_all.deb index e98613c..028fc5d 100644 --- a/deb_dist/python3-ascension_0.6.1-1_all.deb +++ b/deb_dist/python3-ascension_0.6.1-1_all.deb | |||
Binary files differ | |||