commit 748e800b610331545c810be19cdec27c38869508 parent 66aad4a443545bda935cdcac06796b7a84afc840 Author: rexxnor <rexxnor+gnunet@brief.li> Date: Mon, 6 May 2019 23:22:09 +0200 added initial version of ascension-bind Diffstat:
34 files changed, 829 insertions(+), 1 deletion(-)
diff --git a/debian/ascension-bind-0.0.1/debian/README.Debian b/debian/ascension-bind-0.0.1/debian/README.Debian @@ -0,0 +1,8 @@ +ascension-bind for Debian +------------------------ + +This package modifies existing bind configuration to allow zone transfer on +localhost which in turn creates a systemd service to gun gnsmigrator in the +background that migrates the zones into GNS. + + -- rexxnor <rexxnor+gnunet@brief.li> Wed, 20 Mar 2019 09:28:32 +0000 diff --git a/debian/ascension-bind-0.0.1/debian/README.source b/debian/ascension-bind-0.0.1/debian/README.source @@ -0,0 +1,8 @@ +ascension-bind for Debian +------------------------ + +This package modifies existing bind configuration to allow zone transfer on +localhost which in turn creates a systemd service to gun gnsmigrator in the +background that migrates the zones into GNS. + + -- rexxnor <rexxnor+gnunet@brief.li> Wed, 20 Mar 2019 09:28:32 +0000 diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind-docs.docs b/debian/ascension-bind-0.0.1/debian/ascension-bind-docs.docs @@ -0,0 +1,2 @@ +README.source +README.Debian diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind.1 b/debian/ascension-bind-0.0.1/debian/ascension-bind.1 @@ -0,0 +1,54 @@ +.\" 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 March 20, 2019 +.Dt ASCENSION-BIND 1 +.Os +.Sh NAME +.Nm ascension-bind +.Nd Allows local zone transfer on bind for migration into GNS +.Sh DESCRIPTION +.Nm +This package modifies existing bind configuration to allow zone transfer to +localhost to allow the gnsmigrator package to migrate the zone into GNS. +.Sh SEE ALSO +.Xr ascension 1 , +.Xr gnunet-gns 1 , +.Xr gnunet-identity 1 , +.Xr gnunet-namestore 1 +.Sh HISTORY +The +.Nm +tool was designed and written in 2019 by +.An rexxnor Aq Mt rexxnor+gnunet@brief.li . +.Sh AUTHORS +This man page was written by +.An rexxnor Aq Mt rexxnor+gnunet@brief.li, +it first appeared in +.Nm +0.0.1. +.Sh BUGS +Report bugs by using +.Lk https://bugs.gnunet.org +or by sending electronic mail to +.Aq Mt bug-gnunet@gnu.org . diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind.config b/debian/ascension-bind-0.0.1/debian/ascension-bind.config @@ -0,0 +1,99 @@ +#!/bin/bash +# config script for ascension-bind +# +# see: dh_installdeb(1) +# 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=${zonelist// /, /} +#altzonelist=$(named-checkconf -z | grep -P "\d{4,}$") +#altzones=("$altzonelist") + +#echo $zonelist +#echo $altzonelist +#echo $altzones + +#if [ ${#zones[@]} -eq ${#altzones[@]} ]; 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.local &> /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" +db_subst ascension-bind/zones choices "$zonelist" +db_fset ascension-bind/zones seen false +db_input high 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 + +db_fset ascension-bind/publishing seen false +db_input medium ascension-bind/publishing || true +db_go || true +PUBLIC=$RET + +mkdir -p /etc/ascension.d/ +for ZONE in "${zones[@]}" +do + echo "creating ascension import config files" + cat > "/etc/ascension.d/bind-import-$ZONE.conf" << EOF +[ascension] +ZONE = $ZONE +TRANSFERNS = localhost +PORT = 53 +PUBLIC = $PUBLIC +EOF + touch "/etc/ascension.d/bind-import-$ZONE.conf" + echo "editing config to allow local zone transfer" + sed -i.backup -r 's|(^[^\n\S]*zone\s\"[a-zA-Z.]*\".*\{)|\1 allow\-transfer { localhost; }; |g' /etc/bind/named.conf.local + echo "creating systemd unit file" + cat > "/etc/ascension.d/ascension-bind-$ZONE.service" << EOF +[Unit] +Description=Ascension-bind for $ZONE +After=gnunet-ascension.service + +[Service] +Type=simple +User=ascension +WorkingDirectory=/etc/ascension.d/ +ExecStart=/usr/bin/ascension $ZONE -n localhost +[Install] +WantedBy=multi-user.target +EOF + ln -s "/etc/ascension.d/ascension-bind-$ZONE.service" "/lib/systemd/system/ascension-bind-$ZONE.service" +done + +#if deb-systemd-invoke reload bind9; then +# echo "reconfiguring failed, restoring original state" +# mv /etc/bind/named.conf.local.backup /etc/bind/named.conf.local +# exit 1 +#fi +# +#for ZONE in "${zones[@]}" +#do +# echo "starting and enabling ascension-bind-$ZONE" +# deb-systemd-invoke start "ascension-bind-$ZONE" +# deb-systemd-invoke enable "ascension-bind-$ZONE" +#done + +exit 0 +#DEBHELPER# diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind.postinst b/debian/ascension-bind-0.0.1/debian/ascension-bind.postinst @@ -0,0 +1,14 @@ +#!/bin/sh +# postinst script for ascension-bind +# +# see: dh_installdeb(1) +# load debconf library +. /usr/share/debconf/confmodule + +set -e + +# only get the values set during configuration +db_get ascension-bind/zones + +exit 0 +#DEBHELPER# diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind.postrm.debhelper b/debian/ascension-bind-0.0.1/debian/ascension-bind.postrm.debhelper @@ -0,0 +1,6 @@ +# Automatically added by dh_installdebconf +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +# End automatically added section diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind.substvars b/debian/ascension-bind-0.0.1/debian/ascension-bind.substvars @@ -0,0 +1,2 @@ +misc:Depends=debconf (>= 0.5) | debconf-2.0 +misc:Pre-Depends= diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind.templates b/debian/ascension-bind-0.0.1/debian/ascension-bind.templates @@ -0,0 +1,20 @@ +Template: ascension-bind/zones +Type: multiselect +Choices: ${zonelist} +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. + + +Template: ascension-bind/publishing +Type: boolean +Default: true +Description: Do you want to make your records public in GNS? + Ascension can make your records available globally by putting them in the GNS + Distributed Hash Table. To resolve the records other people will require the + public key of the GNS zone that is created. + +Template: ascension-bind/transfer-allowed +Type: error +Description: Zone transfer is enabled on some zones? + Ascension has found zones that have zone transfer enabled. Please go ahead and + check the configuration of the zones and allow at least transfer on localhost. 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 @@ -0,0 +1,100 @@ +#!/bin/bash +# config script for ascension-bind +# +# see: dh_installdeb(1) +# 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=$(cat /etc/bind/named.conf.local | grep "^zone" | grep -vE "(arpa|localhost|\"\.\")" | cut -d '"' -f2) +zonelist=$(echo $zonelist | sed "s/ /, /g") +#altzonelist=$(named-checkconf -z | grep -P "\d{4,}$") +#altzones=("$altzonelist") + +#echo $zonelist +#echo $altzonelist +#echo $altzones + +#if [ ${#zones[@]} -eq ${#altzones[@]} ]; 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 cat /etc/bind/named.conf.local | grep allow-transfer &> /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" +db_subst ascension-bind/zones choices "$zonelist" +db_fset ascension-bind/zones seen false +db_input high 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 + +db_fset ascension-bind/publishing seen false +db_input medium ascension-bind/publishing || true +db_go || true +PUBLIC=$RET + +mkdir -p /etc/ascension.d/ +for ZONE in "${zones[@]}" +do + echo "creating ascension import config files" + cat > "/etc/ascension.d/bind-import-$ZONE.conf" << EOF +[ascension] +ZONE = $ZONE +TRANSFERNS = localhost +PORT = 53 +PUBLIC = $PUBLIC +EOF + printf $ZONE + touch "/etc/ascension.d/bind-import-$ZONE.conf" + echo "editing config to allow local zone transfer" + sed -i.backup -r 's|(^[^\n\S]*zone\s\"[a-zA-Z.]*\".*\{)|\1 allow\-transfer { localhost; }; |g' /etc/bind/named.conf.local + echo "creating systemd unit file" + cat > "/etc/ascension.d/ascension-bind-$ZONE.service" << EOF +[Unit] +Description=Ascension-bind for $ZONE +After=gnunet-ascension.service + +[Service] +Type=simple +User=ascension +WorkingDirectory=/etc/ascension.d/ +ExecStart=/usr/bin/ascension $ZONE -n localhost +[Install] +WantedBy=multi-user.target +EOF + ln -s "/etc/ascension.d/ascension-bind-$ZONE.service" "/lib/systemd/system/ascension-bind-$ZONE.service" +done + +#if deb-systemd-invoke reload bind9; then +# echo "reconfiguring failed, restoring original state" +# mv /etc/bind/named.conf.local.backup /etc/bind/named.conf.local +# exit 1 +#fi +# +#for ZONE in "${zones[@]}" +#do +# echo "starting and enabling ascension-bind-$ZONE" +# deb-systemd-invoke start "ascension-bind-$ZONE" +# deb-systemd-invoke enable "ascension-bind-$ZONE" +#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 @@ -0,0 +1,12 @@ +Package: ascension-bind +Version: 0.0.1-1 +Architecture: amd64 +Maintainer: rexxnor <rexxnor@brief.li> +Installed-Size: 15 +Depends: debconf (>= 0.5) | debconf-2.0 +Section: net +Priority: optional +Homepage: https://git.gnunet.org/ascension.git/ +Description: Allows local zone transfer on bind for migration into GNS + This package modifies existing bind configuration to allow zone transfer to + localhost to allow the gnsmigrator package to migrate the zone into GNS. diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/md5sums b/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/md5sums @@ -0,0 +1,3 @@ +4653ccfe3215bf7c157c91797cc129fa usr/share/doc/ascension-bind/README.Debian +bf2056432ea711be994422c9397a1a5d usr/share/doc/ascension-bind/changelog.Debian.gz +b5e1acb18741c8cc5fba4bd7d5cfdad9 usr/share/doc/ascension-bind/copyright diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/postinst b/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/postinst @@ -0,0 +1,14 @@ +#!/bin/sh +# postinst script for ascension-bind +# +# see: dh_installdeb(1) +# load debconf library +. /usr/share/debconf/confmodule + +set -e + +# only get the values set during configuration +db_get ascension-bind/zones + +exit 0 + diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/postrm b/debian/ascension-bind-0.0.1/debian/ascension-bind/DEBIAN/postrm @@ -0,0 +1,8 @@ +#!/bin/sh +set -e +# Automatically added by dh_installdebconf +if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_purge +fi +# End automatically added section 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 @@ -0,0 +1,20 @@ +Template: ascension-bind/zones +Type: multiselect +Choices: ${zonelist} +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. + + +Template: ascension-bind/publishing +Type: boolean +Default: true +Description: Do you want to make your records public in GNS? + Ascension can make your records available globally by putting them in the GNS + Distributed Hash Table. To resolve the records other people will require the + public key of the GNS zone that is created. + +Template: ascension-bind/transfer-allowed +Type: error +Description: Zone transfer is enabled on some zones? + Ascension has found zones that have zone transfer enabled. Please go ahead and + check the configuration of the zones and allow at least transfer on localhost. diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind/usr/share/doc/ascension-bind/README.Debian b/debian/ascension-bind-0.0.1/debian/ascension-bind/usr/share/doc/ascension-bind/README.Debian @@ -0,0 +1,8 @@ +ascension-bind for Debian +------------------------ + +This package modifies existing bind configuration to allow zone transfer on +localhost which in turn creates a systemd service to gun gnsmigrator in the +background that migrates the zones into GNS. + + -- rexxnor <rexxnor+gnunet@brief.li> Wed, 20 Mar 2019 09:28:32 +0000 diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind/usr/share/doc/ascension-bind/changelog.Debian.gz b/debian/ascension-bind-0.0.1/debian/ascension-bind/usr/share/doc/ascension-bind/changelog.Debian.gz Binary files differ. diff --git a/debian/ascension-bind-0.0.1/debian/ascension-bind/usr/share/doc/ascension-bind/copyright b/debian/ascension-bind-0.0.1/debian/ascension-bind/usr/share/doc/ascension-bind/copyright @@ -0,0 +1,22 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ascension-bind +Source: <https://git.gnunet.org/ascension.git/> + +Files: * +Copyright: 2019 GNUnet e.V. +License: AGPL-3.0 + Source: ascension-bind + Section: contrib + Priority: optional + Maintainer: rexxnor <rexxnor+gnunet@brief.li> + Build-Depends: debhelper (>= 9), python3-ascension, bind9 + Standards-Version: 3.9.8 + Homepage: https://git.gnunet.org/ascension.git/ + #Vcs-Git: https://anonscm.debian.org/collab-maint/ascension-bind.git + #Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/ascension-bind.git + Package: ascension-bind + Architecture: any + Depends: ${shlibs:Depends}, ${misc:Depends} + Description: Allows local zone transfer on bind for migration into GNS + This package modifies existing bind configuration to allow zone transfer to + localhost to allow the gnsmigrator package to migrate the zone into GNS. diff --git a/debian/ascension-bind-0.0.1/debian/changelog b/debian/ascension-bind-0.0.1/debian/changelog @@ -0,0 +1,5 @@ +ascension-bind (0.0.1-1) UNRELEASED; urgency=low + + * Initial release Closes: #123123 + + -- rexxnor <rexxnor+gnunet@brief.li> Wed, 20 Mar 2019 09:28:32 +0000 diff --git a/debian/ascension-bind-0.0.1/debian/compat b/debian/ascension-bind-0.0.1/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/ascension-bind-0.0.1/debian/control b/debian/ascension-bind-0.0.1/debian/control @@ -0,0 +1,16 @@ +Source: ascension-bind +Section: net +Priority: optional +Maintainer: rexxnor <rexxnor@brief.li> +Build-Depends: debhelper (>= 9), python3-ascension, bind9 +Standards-Version: 3.9.8 +Homepage: https://git.gnunet.org/ascension.git/ +#Vcs-Git: https://anonscm.debian.org/collab-maint/ascension-bind.git +#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/ascension-bind.git + +Package: ascension-bind +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Allows local zone transfer on bind for migration into GNS + This package modifies existing bind configuration to allow zone transfer to + localhost to allow the gnsmigrator package to migrate the zone into GNS. diff --git a/debian/ascension-bind-0.0.1/debian/copyright b/debian/ascension-bind-0.0.1/debian/copyright @@ -0,0 +1,22 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ascension-bind +Source: <https://git.gnunet.org/ascension.git/> + +Files: * +Copyright: 2019 GNUnet e.V. +License: AGPL-3.0 + Source: ascension-bind + Section: contrib + Priority: optional + Maintainer: rexxnor <rexxnor+gnunet@brief.li> + Build-Depends: debhelper (>= 9), python3-ascension, bind9 + Standards-Version: 3.9.8 + Homepage: https://git.gnunet.org/ascension.git/ + #Vcs-Git: https://anonscm.debian.org/collab-maint/ascension-bind.git + #Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/ascension-bind.git + Package: ascension-bind + Architecture: any + Depends: ${shlibs:Depends}, ${misc:Depends} + Description: Allows local zone transfer on bind for migration into GNS + This package modifies existing bind configuration to allow zone transfer to + localhost to allow the gnsmigrator package to migrate the zone into GNS. diff --git a/debian/ascension-bind-0.0.1/debian/debhelper-build-stamp b/debian/ascension-bind-0.0.1/debian/debhelper-build-stamp @@ -0,0 +1 @@ +ascension-bind diff --git a/debian/ascension-bind-0.0.1/debian/files b/debian/ascension-bind-0.0.1/debian/files @@ -0,0 +1,2 @@ +ascension-bind_0.0.1-1_amd64.buildinfo net optional +ascension-bind_0.0.1-1_amd64.deb net optional diff --git a/debian/ascension-bind-0.0.1/debian/rules b/debian/ascension-bind-0.0.1/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#export DH_VERBOSE = 1 + + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + + +%: + dh $@ + + +# dh_make generated override targets +# This is example for Cmake (See https://bugs.debian.org/641051 ) +#override_dh_auto_configure: +# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) + diff --git a/debian/ascension-bind-0.0.1/debian/source/format b/debian/ascension-bind-0.0.1/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/ascension-bind_0.0.1-1.debian.tar.xz b/debian/ascension-bind_0.0.1-1.debian.tar.xz Binary files differ. diff --git a/debian/ascension-bind_0.0.1-1.dsc b/debian/ascension-bind_0.0.1-1.dsc @@ -0,0 +1,20 @@ +Format: 3.0 (quilt) +Source: ascension-bind +Binary: ascension-bind +Architecture: any +Version: 0.0.1-1 +Maintainer: rexxnor <rexxnor@brief.li> +Homepage: https://git.gnunet.org/ascension.git/ +Standards-Version: 3.9.8 +Build-Depends: debhelper (>= 9), python3-ascension, bind9 +Package-List: + ascension-bind deb net optional arch=any +Checksums-Sha1: + 0a7953cf5bf7616ff1c2171789fab736e199e769 3860 ascension-bind_0.0.1.orig.tar.xz + 3c0570477541ef66e6f6773deeddc918265b13de 3684 ascension-bind_0.0.1-1.debian.tar.xz +Checksums-Sha256: + e21b0672b6d9932d03541c13e9350546542d9dd86373bf6bc78f61a1c79586b4 3860 ascension-bind_0.0.1.orig.tar.xz + de0d19f8b275a8e5ff2abdf03bd773e48fbce24620dfe35a6d2e27dc6769c811 3684 ascension-bind_0.0.1-1.debian.tar.xz +Files: + 3e51a0f28a46eff44e0366ab9185b840 3860 ascension-bind_0.0.1.orig.tar.xz + 20f842e732fc6fad01164eebb47511d6 3684 ascension-bind_0.0.1-1.debian.tar.xz diff --git a/debian/ascension-bind_0.0.1-1_amd64.build b/debian/ascension-bind_0.0.1-1_amd64.build @@ -0,0 +1,97 @@ + dpkg-buildpackage -rfakeroot -us -uc +dpkg-buildpackage: warning: using a gain-root-command while being root +dpkg-buildpackage: info: source package ascension-bind +dpkg-buildpackage: info: source version 0.0.1-1 +dpkg-buildpackage: info: source distribution UNRELEASED +dpkg-buildpackage: info: source changed by rexxnor <rexxnor+gnunet@brief.li> + dpkg-source --before-build ascension-bind-0.0.1 +dpkg-buildpackage: info: host architecture amd64 + fakeroot debian/rules clean +dh clean + dh_testdir + dh_auto_clean + dh_clean + dpkg-source -b ascension-bind-0.0.1 +dpkg-source: info: using source format '3.0 (quilt)' +dpkg-source: info: building ascension-bind using existing ./ascension-bind_0.0.1.orig.tar.xz +dpkg-source: warning: ignoring deletion of file copyright, use --include-removal to override +dpkg-source: warning: ignoring deletion of file README.source, use --include-removal to override +dpkg-source: warning: ignoring deletion of file control, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind.postrm.debhelper, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind.debhelper.log, use --include-removal to override +dpkg-source: warning: ignoring deletion of file compat, use --include-removal to override +dpkg-source: warning: ignoring deletion of file files, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind.1, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind.postinst, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind.config, use --include-removal to override +dpkg-source: warning: ignoring deletion of file rules, use --include-removal to override +dpkg-source: warning: ignoring deletion of file debhelper-build-stamp, use --include-removal to override +dpkg-source: warning: ignoring deletion of file README.Debian, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind.substvars, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind-docs.docs, use --include-removal to override +dpkg-source: warning: ignoring deletion of file changelog, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind.templates, use --include-removal to override +dpkg-source: warning: ignoring deletion of directory source +dpkg-source: warning: ignoring deletion of file source/format, use --include-removal to override +dpkg-source: warning: ignoring deletion of directory ascension-bind +dpkg-source: warning: ignoring deletion of directory ascension-bind/DEBIAN +dpkg-source: warning: ignoring deletion of file ascension-bind/DEBIAN/control, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind/DEBIAN/postrm, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind/DEBIAN/templates, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind/DEBIAN/postinst, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind/DEBIAN/md5sums, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind/DEBIAN/config, use --include-removal to override +dpkg-source: warning: ignoring deletion of directory ascension-bind/usr +dpkg-source: warning: ignoring deletion of directory ascension-bind/usr/share +dpkg-source: warning: ignoring deletion of directory ascension-bind/usr/share/doc +dpkg-source: warning: ignoring deletion of directory ascension-bind/usr/share/doc/ascension-bind +dpkg-source: warning: ignoring deletion of file ascension-bind/usr/share/doc/ascension-bind/copyright, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind/usr/share/doc/ascension-bind/changelog.Debian.gz, use --include-removal to override +dpkg-source: warning: ignoring deletion of file ascension-bind/usr/share/doc/ascension-bind/README.Debian, use --include-removal to override +dpkg-source: info: building ascension-bind in ascension-bind_0.0.1-1.debian.tar.xz +dpkg-source: info: building ascension-bind in ascension-bind_0.0.1-1.dsc + debian/rules build +dh build + dh_testdir + dh_update_autotools_config + dh_auto_configure + dh_auto_build + dh_auto_test + create-stamp debian/debhelper-build-stamp + fakeroot debian/rules binary +dh binary + create-stamp debian/debhelper-build-stamp + dh_testroot + dh_prep + dh_auto_install + dh_installdocs + dh_installchangelogs + dh_installdebconf + dh_perl + dh_link + dh_strip_nondeterminism + dh_compress + dh_fixperms + dh_strip + dh_makeshlibs + dh_shlibdeps + dh_installdeb + dh_gencontrol +dpkg-gencontrol: warning: Depends field of package ascension-bind: unknown substitution variable ${shlibs:Depends} + dh_md5sums + dh_builddeb +dpkg-deb: building package 'ascension-bind' in '../ascension-bind_0.0.1-1_amd64.deb'. + dpkg-genbuildinfo + dpkg-genchanges >../ascension-bind_0.0.1-1_amd64.changes +dpkg-genchanges: info: including full source code in upload + dpkg-source --after-build ascension-bind-0.0.1 +dpkg-buildpackage: info: full upload (original source is included) +Now running lintian... +warning: the authors of lintian do not recommend running it with root privileges! +W: ascension-bind source: changelog-should-mention-nmu +W: ascension-bind source: source-nmu-has-incorrect-version-number 0.0.1-1 +E: ascension-bind source: untranslatable-debconf-templates ascension-bind.templates: 4 +E: ascension-bind source: untranslatable-debconf-templates ascension-bind.templates: 11 +E: ascension-bind source: untranslatable-debconf-templates ascension-bind.templates: 18 +E: ascension-bind source: not-using-po-debconf +Finished running lintian. diff --git a/debian/ascension-bind_0.0.1-1_amd64.buildinfo b/debian/ascension-bind_0.0.1-1_amd64.buildinfo @@ -0,0 +1,204 @@ +Format: 1.0 +Source: ascension-bind +Binary: ascension-bind +Architecture: amd64 source +Version: 0.0.1-1 +Checksums-Md5: + 2d9afbd0d573cb0a16cb9565cb56709f 892 ascension-bind_0.0.1-1.dsc + 56e65ac4ed6b803ca7589adfa999472f 3592 ascension-bind_0.0.1-1_amd64.deb +Checksums-Sha1: + 22b4b76b8a8758b25d33f52ab3ac3148ffe0a493 892 ascension-bind_0.0.1-1.dsc + 55867a2ff68af31a002da15200e4e5a05b2ade18 3592 ascension-bind_0.0.1-1_amd64.deb +Checksums-Sha256: + dbfe6c1bc6c196352bedf65eb8ae4e18e35ecbb8f4c818d36bd9f4a95aeef67c 892 ascension-bind_0.0.1-1.dsc + 7be97f15620050bf13cf5dfb79edcf7e3dcff04b89f57da9b596a9a835e2e862 3592 ascension-bind_0.0.1-1_amd64.deb +Build-Origin: Debian +Build-Architecture: amd64 +Build-Date: Mon, 06 May 2019 21:11:30 +0000 +Installed-Build-Depends: + adduser (= 3.115), + autoconf (= 2.69-10), + automake (= 1:1.15-6), + autopoint (= 0.19.8.1-2), + autotools-dev (= 20161112.1), + base-files (= 9.9+deb9u7), + base-passwd (= 3.5.43), + bash (= 4.4-5), + bind9 (= 1:9.10.3.dfsg.P4-12.3+deb9u4), + bind9utils (= 1:9.10.3.dfsg.P4-12.3+deb9u4), + binutils (= 2.28-5), + bsdmainutils (= 9.0.12+nmu1), + bsdutils (= 1:2.29.2-1+deb9u1), + build-essential (= 12.3), + bzip2 (= 1.0.6-8.1), + coreutils (= 8.26-3), + cpp (= 4:6.3.0-4), + cpp-6 (= 6.3.0-18+deb9u1), + dash (= 0.5.8-2.4), + debconf (= 1.5.61), + debhelper (= 10.2.5), + debianutils (= 4.8.1.1), + dh-autoreconf (= 14), + dh-python (= 2.20170125), + dh-strip-nondeterminism (= 0.034-1), + diffutils (= 1:3.5-3), + dpkg (= 1.18.25), + dpkg-dev (= 1.18.25), + e2fslibs (= 1.43.4-2), + e2fsprogs (= 1.43.4-2), + file (= 1:5.30-1+deb9u2), + findutils (= 4.6.0+git+20161106-2), + g++ (= 4:6.3.0-4), + g++-6 (= 6.3.0-18+deb9u1), + gcc (= 4:6.3.0-4), + gcc-6 (= 6.3.0-18+deb9u1), + gcc-6-base (= 6.3.0-18+deb9u1), + gettext (= 0.19.8.1-2), + gettext-base (= 0.19.8.1-2), + grep (= 2.27-2), + groff-base (= 1.22.3-9), + gzip (= 1.6-5+b1), + hostname (= 3.18+b1), + init-system-helpers (= 1.48), + intltool-debian (= 0.35.0+20060710.4), + libacl1 (= 2.2.52-3+b1), + libarchive-zip-perl (= 1.59-1+deb9u1), + libasan3 (= 6.3.0-18+deb9u1), + libatomic1 (= 6.3.0-18+deb9u1), + libattr1 (= 1:2.4.47-2+b2), + libaudit-common (= 1:2.6.7-2), + libaudit1 (= 1:2.6.7-2), + libbind9-140 (= 1:9.10.3.dfsg.P4-12.3+deb9u4), + libblkid1 (= 2.29.2-1+deb9u1), + libbsd0 (= 0.8.3-1), + libbz2-1.0 (= 1.0.6-8.1), + libc-bin (= 2.24-11+deb9u3), + libc-dev-bin (= 2.24-11+deb9u4), + 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), + libdns162 (= 1:9.10.3.dfsg.P4-12.3+deb9u4), + libdpkg-perl (= 1.18.25), + libexpat1 (= 2.2.0-2+deb9u1), + libfdisk1 (= 2.29.2-1+deb9u1), + libffi6 (= 3.2.1-6), + libfile-stripnondeterminism-perl (= 0.034-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.26-2), + libgssapi-krb5-2 (= 1.15-1+deb9u1), + libicu57 (= 57.1-6+deb9u2), + libirs141 (= 1:9.10.3.dfsg.P4-12.3+deb9u4), + libisc160 (= 1:9.10.3.dfsg.P4-12.3+deb9u4), + libisccc140 (= 1:9.10.3.dfsg.P4-12.3+deb9u4), + libisccfg140 (= 1:9.10.3.dfsg.P4-12.3+deb9u4), + libisl15 (= 0.18-1), + libitm1 (= 6.3.0-18+deb9u1), + libk5crypto3 (= 1.15-1+deb9u1), + libkeyutils1 (= 1.5.9-9), + libkrb5-3 (= 1.15-1+deb9u1), + libkrb5support0 (= 1.15-1+deb9u1), + liblsan0 (= 6.3.0-18+deb9u1), + liblwres141 (= 1:9.10.3.dfsg.P4-12.3+deb9u4), + liblz4-1 (= 0.0~r131-2+b1), + liblzma5 (= 5.2.2-1.2+b1), + libmagic-mgc (= 1:5.30-1+deb9u2), + libmagic1 (= 1:5.30-1+deb9u2), + libmount1 (= 2.29.2-1+deb9u1), + libmpc3 (= 1.0.3-1+b2), + libmpdec2 (= 2.4.2-1), + libmpfr4 (= 3.1.5-1), + libmpx2 (= 6.3.0-18+deb9u1), + libncurses5 (= 6.0+20161126-1+deb9u2), + libncursesw5 (= 6.0+20161126-1+deb9u2), + libpam-modules (= 1.1.8-3.6), + libpam-modules-bin (= 1.1.8-3.6), + libpam-runtime (= 1.1.8-3.6), + libpam0g (= 1.1.8-3.6), + libpcre3 (= 2:8.39-3), + libperl5.24 (= 5.24.1-3+deb9u5), + libpipeline1 (= 1.4.1-2), + libpython3-stdlib (= 3.5.3-1), + libpython3.5-minimal (= 3.5.3-1+deb9u1), + libpython3.5-stdlib (= 3.5.3-1+deb9u1), + libquadmath0 (= 6.3.0-18+deb9u1), + libreadline7 (= 7.0-3), + libselinux1 (= 2.6-3+b3), + libsemanage-common (= 2.6-2), + libsemanage1 (= 2.6-2), + libsepol1 (= 2.6-2), + libsigsegv2 (= 2.10-5), + libsmartcols1 (= 2.29.2-1+deb9u1), + libsqlite3-0 (= 3.16.2-5+deb9u1), + libss2 (= 1.43.4-2), + libssl1.0.2 (= 1.0.2r-1~deb9u1), + libssl1.1 (= 1.1.0j-1~deb9u1), + libstdc++-6-dev (= 6.3.0-18+deb9u1), + libstdc++6 (= 6.3.0-18+deb9u1), + libsystemd0 (= 232-25+deb9u8), + libtimedate-perl (= 2.3000-2), + libtinfo5 (= 6.0+20161126-1+deb9u2), + libtool (= 2.4.6-2), + libtsan0 (= 6.3.0-18+deb9u1), + libubsan0 (= 6.3.0-18+deb9u1), + libudev1 (= 232-25+deb9u8), + libunistring0 (= 0.9.6+really0.9.3-0.1), + libustr-1.0-1 (= 1.0.4-6), + libuuid1 (= 2.29.2-1+deb9u1), + libxml2 (= 2.9.4+dfsg1-2.2+deb9u2), + linux-libc-dev (= 4.9.144-3.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), + mawk (= 1.3.3-17+b3), + mime-support (= 3.60), + mount (= 2.29.2-1+deb9u1), + multiarch-support (= 2.24-11+deb9u3), + 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), + perl-base (= 5.24.1-3+deb9u5), + perl-modules-5.24 (= 5.24.1-3+deb9u5), + po-debconf (= 1.0.20), + python3 (= 3.5.3-1), + python3-ascension (= 0.5.0-1), + python3-coverage (= 4.2+dfsg.1-2), + python3-dnspython (= 1.15.0-1+deb9u1), + python3-docopt (= 0.6.2-1), + python3-minimal (= 3.5.3-1), + python3-mock (= 2.0.0-3), + python3-pbr (= 1.10.0-1), + python3-pkg-resources (= 33.1.1-1), + python3-six (= 1.10.0-3), + python3.5 (= 3.5.3-1+deb9u1), + python3.5-minimal (= 3.5.3-1+deb9u1), + readline-common (= 7.0-3), + sed (= 4.4-1), + sensible-utils (= 0.0.9+deb9u1), + sysvinit-utils (= 2.88dsf-59.9), + tar (= 1.29b-1.1), + util-linux (= 2.29.2-1+deb9u1), + xz-utils (= 5.2.2-1.2+b1), + zlib1g (= 1:1.2.8.dfsg-5) +Environment: + DEB_BUILD_OPTIONS="parallel=2" + SOURCE_DATE_EPOCH="1553074112" diff --git a/debian/ascension-bind_0.0.1-1_amd64.changes b/debian/ascension-bind_0.0.1-1_amd64.changes @@ -0,0 +1,35 @@ +Format: 1.8 +Date: Wed, 20 Mar 2019 09:28:32 +0000 +Source: ascension-bind +Binary: ascension-bind +Architecture: source amd64 +Version: 0.0.1-1 +Distribution: UNRELEASED +Urgency: low +Maintainer: rexxnor <rexxnor@brief.li> +Changed-By: rexxnor <rexxnor+gnunet@brief.li> +Description: + ascension-bind - Allows local zone transfer on bind for migration into GNS +Closes: 123123 +Changes: + ascension-bind (0.0.1-1) UNRELEASED; urgency=low + . + * Initial release Closes: #123123 +Checksums-Sha1: + 22b4b76b8a8758b25d33f52ab3ac3148ffe0a493 892 ascension-bind_0.0.1-1.dsc + 0a7953cf5bf7616ff1c2171789fab736e199e769 3860 ascension-bind_0.0.1.orig.tar.xz + 3c0570477541ef66e6f6773deeddc918265b13de 3684 ascension-bind_0.0.1-1.debian.tar.xz + 34ad26b484c543a73a36b5de4314c5b7bc7d8d75 6297 ascension-bind_0.0.1-1_amd64.buildinfo + 55867a2ff68af31a002da15200e4e5a05b2ade18 3592 ascension-bind_0.0.1-1_amd64.deb +Checksums-Sha256: + dbfe6c1bc6c196352bedf65eb8ae4e18e35ecbb8f4c818d36bd9f4a95aeef67c 892 ascension-bind_0.0.1-1.dsc + e21b0672b6d9932d03541c13e9350546542d9dd86373bf6bc78f61a1c79586b4 3860 ascension-bind_0.0.1.orig.tar.xz + de0d19f8b275a8e5ff2abdf03bd773e48fbce24620dfe35a6d2e27dc6769c811 3684 ascension-bind_0.0.1-1.debian.tar.xz + 3df280a2de88c38c4faa2c1fd0551f8241669bc1383fe0a33a74abc6cbf1a930 6297 ascension-bind_0.0.1-1_amd64.buildinfo + 7be97f15620050bf13cf5dfb79edcf7e3dcff04b89f57da9b596a9a835e2e862 3592 ascension-bind_0.0.1-1_amd64.deb +Files: + 2d9afbd0d573cb0a16cb9565cb56709f 892 net optional ascension-bind_0.0.1-1.dsc + 3e51a0f28a46eff44e0366ab9185b840 3860 net optional ascension-bind_0.0.1.orig.tar.xz + 20f842e732fc6fad01164eebb47511d6 3684 net optional ascension-bind_0.0.1-1.debian.tar.xz + 752bba32d46c6fb2537fdc58d66622d4 6297 net optional ascension-bind_0.0.1-1_amd64.buildinfo + 56e65ac4ed6b803ca7589adfa999472f 3592 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 Binary files differ. diff --git a/debian/ascension-bind_0.0.1.orig.tar.xz b/debian/ascension-bind_0.0.1.orig.tar.xz Binary files differ. diff --git a/helpers/gnunet-ascension.service b/helpers/gnunet-ascension.service @@ -12,4 +12,3 @@ ExecReload=/usr/bin/gnunet-arm -r [Install] WantedBy=multi-user.target -