ascension

Migrate DNS zones to the GNU Name System
Log | Files | Refs | README | LICENSE

commit 616f96d422468105763707227e78dea11a3d9148
parent 00e4c7cce8ae1140480c8c2b524ef23b7f0112b9
Author: rexxnor <rexxnor+gnunet@brief.li>
Date:   Mon, 13 May 2019 09:13:17 +0200

updated gitlabci and postinst script

Diffstat:
M.gitlab-ci.yml | 6++----
Mdeb_dist/ascension-0.6.1/debian/changelog | 2+-
Ddeb_dist/ascension-0.6.1/debian/python3-ascension.postinst | 46----------------------------------------------
Ddeb_dist/ascension-0.6.1/debian/python3-ascension.prerm | 22----------------------
Mdeb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/control | 2+-
Mdeb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/md5sums | 2+-
Mdeb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/postinst | 44--------------------------------------------
Mdeb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/prerm | 20--------------------
Mdeb_dist/ascension-0.6.1/debian/python3-ascension/usr/share/doc/python3-ascension/changelog.Debian.gz | 0
Mdeb_dist/ascension-0.6.1/debian/rules | 2+-
Mdeb_dist/python3-ascension_0.6.1-1_all.deb | 0
Mhelpers/python3-ascension.postinst | 1-
12 files changed, 6 insertions(+), 141 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -18,14 +18,12 @@ run-build_deb: - cp ../../helpers/copyright debian/copyright - dpkg-buildpackage -rfakeroot -uc -us - cd ../../ - - apt install -y ./deb_dist/python3-ascension_0.6.1-1_all.deb - - ascension -h - bash helpers/gnunet-installer-0.11-debian.sh Production - apt install -y bind9 dnsutils procps - - gnunet-arm -Esq + - apt install -y ./deb_dist/python3-ascension_0.6.1-1_all.deb + - su ascension -s /bin/bash -c "ascension -h" - cd ascension/test/ - bash test_ascension_simple.sh - - gnunet-arm -e - apt install -y dh-make artifacts: paths: diff --git 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 * source package automatically created by stdeb 0.8.5 - -- rexxnor <rexxnor+gnunet@brief.li> Fri, 10 May 2019 08:52:57 +0000 + -- rexxnor <rexxnor+gnunet@brief.li> Mon, 13 May 2019 07:11:09 +0000 diff --git a/deb_dist/ascension-0.6.1/debian/python3-ascension.postinst b/deb_dist/ascension-0.6.1/debian/python3-ascension.postinst @@ -1,46 +0,0 @@ -#!/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" -systemctl daemon-reload - -# start and enable service -systemctl start gnunet-ascension -systemctl enable gnunet-ascension - -exit 0 -#DEBHELPER# diff --git a/deb_dist/ascension-0.6.1/debian/python3-ascension.prerm b/deb_dist/ascension-0.6.1/debian/python3-ascension.prerm @@ -1,22 +0,0 @@ -#!/bin/sh -# prerm script for ascension-bind -# -# see: dh_installdeb(1) -# load debconf library -set -e - -mkdir -p /etc/ascension.d/ - -# remove systemd stuff -systemctl disable gnunet-ascension -systemctl stop gnunet-ascension - -# remove the systemd files -unlink /lib/systemd/system/gnunet-ascension.service -rm /etc/ascension.d/gnunet-ascension.service - -# link the systemd unit file -systemctl daemon-reload - -exit 0 -#DEBHELPER# 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 @@ -3,7 +3,7 @@ Source: ascension Version: 0.6.1-1 Architecture: all Maintainer: rexxnor <rexxnor+gnunet@brief.li> -Installed-Size: 59 +Installed-Size: 58 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.6.1/debian/python3-ascension/DEBIAN/md5sums b/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/md5sums @@ -7,4 +7,4 @@ e616e4373e7b199db038fd8e938a3188 usr/lib/python3/dist-packages/ascension-0.6.1. d41d8cd98f00b204e9800998ecf8427e usr/lib/python3/dist-packages/ascension/__init__.py 8037c2638d715efd5ad70ce603c15912 usr/lib/python3/dist-packages/ascension/ascension.py 3211ad0ee8099a5512e496e8a4a39816 usr/man/man1/ascension.1 -f8c929864bed72e1a7f4f6cfb7dc4cab usr/share/doc/python3-ascension/changelog.Debian.gz +0db5c9c566e2b68a9e71dda6a515a697 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 @@ -1,53 +1,9 @@ #!/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" -systemctl daemon-reload - -# start and enable service -systemctl start gnunet-ascension -systemctl enable gnunet-ascension - -exit 0 - # 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.6.1/debian/python3-ascension/DEBIAN/prerm b/deb_dist/ascension-0.6.1/debian/python3-ascension/DEBIAN/prerm @@ -1,25 +1,6 @@ #!/bin/sh -# prerm script for ascension-bind -# -# see: dh_installdeb(1) -# load debconf library set -e -mkdir -p /etc/ascension.d/ - -# remove systemd stuff -systemctl disable gnunet-ascension -systemctl stop gnunet-ascension - -# remove the systemd files -unlink /lib/systemd/system/gnunet-ascension.service -rm /etc/ascension.d/gnunet-ascension.service - -# link the systemd unit file -systemctl daemon-reload - -exit 0 - # Automatically added by dh_python3: if which py3clean >/dev/null 2>&1; then py3clean -p python3-ascension @@ -29,4 +10,3 @@ else fi # End automatically added section - 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 Binary files differ. diff --git a/deb_dist/ascension-0.6.1/debian/rules b/deb_dist/ascension-0.6.1/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f # This file was automatically generated by stdeb 0.8.5 at -# Fri, 10 May 2019 08:52:57 +0000 +# Mon, 13 May 2019 07:11:09 +0000 %: dh $@ --with python3 --buildsystem=python_distutils diff --git 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. diff --git a/helpers/python3-ascension.postinst b/helpers/python3-ascension.postinst @@ -42,5 +42,4 @@ deb-systemd-invoke daemon-reload deb-systemd-invoke start gnunet-ascension deb-systemd-invoke enable gnunet-ascension -exit 0 #DEBHELPER#