+++ /dev/null
-Build Script for PowerDNS
--------------------------
-The scripts in this directory are used by the folks at PowerDNS to build
-packages. This README will give a small walkthrough of important files.
-
-All `build-*` must be run from the root folder of the pdns repository to ensure
-their correct functionality.
-
-## How do I build a package
-
-Before a package can be built, the distribution tarball has to exist in the root
-directory. For auth:
-
- * `autoreconf -i`
- * `./configure --without-modules --without-dynmodules --disable-depedency-tracking`
- * `make dist`
-
-For the recursor:
-
- * `cd pdns/recursordist`
- * `autoreconf -i`
- * `./configure --disable-depedency-tracking`
- * `make dist`
- * `mv pdns-recursor*.tar.bz2 ../../`
- * `cd -`
-
-And dnsdist:
-
- * `cd pdns/dnsdistdist`
- * `autoreconf -i`
- * `./configure --disable-depedency-tracking`
- * `make dist`
- * `mv dnsdist*.tar.bz2 ../../`
- * `cd -`
-
-Now two environment variables need to be set, `$VERSION` and `$RELEASE`.
-
-`$VERSION` must be set to the to the version in the tarball to build a package for.
-If the version of the package has to be different (e.g. '4.1.0~beta1'), set
-`$VERSION` to *that* number and set `$TARBALLVERSION` to the tarball's version.
-
-`$RELEASE` is the 'release' version number for the package (e.g. '1.pdns' or
-'0.beta1').
-
-So, to create a package for 0.0.1 for debian version '0.0.1-1pdns0':
-
- * VERSION=0.0.1
- * RELEASE=1pdns0
-
-0.0.1-beta2 for EL7 (0.0.1-0.beta.2.pdns):
-
- * VERSION=0.0.1
- * TARBALLVERSION=0.0.1-beta2
- * RELEASE=0.beta.2.pdns
-
-0.0.1-rc1 for debian (0.0.1~rc1-1pdns0):
-
- * VERSION=0.0.1~rc1
- * TARBALLVERSION=0.0.1-rc1
- * RELEASE=1pdns0
-
-And run the proper script:
-
-## `build-auth-*`
-These scripts build (based on the suffix) a package of the authoritative
-server. Either RPM's (for several different RHEL-based distro's), .deb's.
-
-## `build-recursor-*`
-Based on suffix, these scripts build a deb/RPM package for the Recursor. There is
-also a semi-static build script.
-
-## `build-dnsdist-*`
-Idem, these scripts allow one to build packages from a dnsdist distribution
-directory.
-
-## `debian-*`
-These directories contain the `debian/` directory used by the debhelper programs
-to create the packages. These are copied by the `build-*` scripts when needed.
-
-# Caveat
-These scripts are more or less private - feel free to edit them, but even
-more than the rest of PowerDNS, the contents of this directory are not
-guaranteed to work for you.
-
-Some scripts contain preset paths and have many many dependencies on
-installed software.
+++ /dev/null
-#!/bin/sh
-
-if [ "$0" != "./build-scripts/build-auth-debian" ]; then
- echo "Please run me from the root checkout dir"
- exit 1
-fi
-
-. build-scripts/functions.sh
-TARBALLPREFIX=pdns
-
-startup
-
-set -e
-set -x
-
-cp_tarball_to_tmp
-
-cd ${SRCDIR}
-
-cat > debian/changelog << EOF
-pdns (${VERSION}-${RELEASE}) unstable; urgency=medium
-
- * Automatic build
-
- -- ${DEBFULLNAME} <${DEBEMAIL}> $(date -R)
-
-EOF
-
-PDNS_VERSION=$VERSION
-
-. /etc/os-release
-export ID="${ID}"
-export VERSION_ID="${VERSION_ID}"
-
-if [ ${ID} = "ubuntu" ]; then
- if [ ${VERSION_ID} = "14.04" ]; then
- sed -i '/lib\/systemd\/system\/pdns@\?\.service/d' debian/*.install
- sed -i '/lib\/systemd\/system\/ixfrdist@\?\.service/d' debian/*.install
- fi
- if [ $VERSION_ID} = "16.10" ];then
- sed -i 's!libzmq-dev!libzmq3-dev!' debian/control.in
- fi
-fi
-
-fakeroot debian/rules debian/control
-
-if $(echo $PDNS_VERSION | grep -q -E '^0\.0\.'); then
- # make sure we don't break dependencies for master releases
- sed -i '/pdns-server (<< 3.4.6-2)/d' debian/control
-fi
-
-DH_OPTIONS=--parallel fakeroot debian/rules binary
-
-cd -
-
-mv_debs_to_pwd
+++ /dev/null
-#!/bin/sh
-
-if [ "$0" != "./build-scripts/build-auth-rpm" ]; then
- echo "Please run me from the root checkout dir"
- exit 1
-fi
-
-. build-scripts/functions.sh
-TARBALLPREFIX=pdns
-
-startup
-
-set -e
-set -x
-
-cp_tarball_to_rpm_sources
-
-# Some setups need rpmbuild in a 'special' env
-RPMBUILD_COMMAND='rpmbuild -bb pdns.spec'
-
-if [ -r /etc/os-release ]; then
- OLDVERSION=$VERSION
- . /etc/os-release
- OS="${NAME} ${VERSION}"
- VERSION=$OLDVERSION
-fi
-
-if [ -f /etc/redhat-release ]; then
- OS="$(cat /etc/redhat-release)"
-fi
-
-case "$OS" in
- CentOS\ *\ 6*)
- RPMBUILD_COMMAND="scl enable devtoolset-3 -- ${RPMBUILD_COMMAND}"
- cat > $HOME/rpmbuild/SOURCES/pdns.init <<EOF
-#!/bin/sh
-# chkconfig: - 80 75
-# description: PDNS is a versatile high performance authoritative nameserver
-
-### BEGIN INIT INFO
-# Provides: pdns
-# Required-Start: \$remote_fs \$network \$syslog
-# Required-Stop: \$remote_fs \$network \$syslog
-# Should-Start:
-# Should-Stop:
-# Default-Start:
-# Default-Stop: 0 1 6
-# Short-Description: PowerDNS authoritative server
-# Description: PowerDNS authoritative server
-### END INIT INFO
-
-set -e
-
-prefix=/usr
-exec_prefix=/usr
-BINARYPATH=/usr/bin
-SBINARYPATH=/usr/sbin
-SOCKETPATH=/var/run
-
-[ -f "\$SBINARYPATH/pdns_server" ] || exit 0
-
-[ -r /etc/default/pdns ] && . /etc/default/pdns
-
-cd \$SOCKETPATH
-suffix=\$(basename \$0 | cut -d- -f2- -s)
-if [ -n "\$suffix" ]
-then
- EXTRAOPTS=--config-name=\$suffix
- PROGNAME=pdns-\$suffix
-else
- PROGNAME=pdns
-fi
-
-pdns_server="\$SBINARYPATH/pdns_server \$EXTRAOPTS"
-
-doPC()
-{
- ret=\$(\$BINARYPATH/pdns_control \$EXTRAOPTS \$1 \$2 2> /dev/null)
-}
-
-NOTRUNNING=0
-doPC ping || NOTRUNNING=\$?
-
-case "\$1" in
- status)
- if test "\$NOTRUNNING" = "0"
- then
- doPC status
- echo \$ret
- else
- echo "not running"
- exit 3
- fi
- ;;
-
- stop)
- echo -n "Stopping PowerDNS authoritative nameserver: "
- if test "\$NOTRUNNING" = "0"
- then
- doPC quit
- rm -f /var/lock/subsys/pdns
- echo \$ret
- else
- echo "not running"
- fi
- ;;
-
-
- force-stop)
- echo -n "Stopping PowerDNS authoritative nameserver: "
- killall -v -9 pdns_server
- rm -f /var/lock/subsys/pdns
- echo "killed"
- ;;
-
- start)
- echo -n "Starting PowerDNS authoritative nameserver: "
- if test "\$NOTRUNNING" = "0"
- then
- echo "already running"
- else
- if \$pdns_server --daemon --guardian=yes
- then
- touch /var/lock/subsys/pdns
- echo "started"
- else
- echo "starting failed"
- exit 1
- fi
- fi
- ;;
-
- condrestart)
- if [ -f /var/lock/subsys/pdns ];
- then
- echo "running, restarting"
- \$0 restart
- else
- echo "not running"
- fi
- ;;
-
- force-reload | restart)
- echo -n "Restarting PowerDNS authoritative nameserver: "
- if test "\$NOTRUNNING" = "1"
- then
- echo "not running, starting"
- else
-
- echo -n stopping and waiting..
- doPC quit
- sleep 3
- echo done
- fi
- \$0 start
- ;;
-
- reload)
- echo -n "Reloading PowerDNS authoritative nameserver: "
- if test "\$NOTRUNNING" = "0"
- then
- doPC cycle
- echo requested reload
- else
- echo not running yet
- \$0 start
- fi
- ;;
-
- monitor)
- if test "\$NOTRUNNING" = "0"
- then
- echo "already running"
- else
- \$pdns_server --daemon=no --guardian=no --control-console --loglevel=9
- fi
- ;;
-
- dump)
- if test "\$NOTRUNNING" = "0"
- then
- doPC list
- echo \$ret
- else
- echo "not running"
- fi
- ;;
-
- show)
- if [ \$# -lt 2 ]
- then
- echo Insufficient parameters
- exit
- fi
- if test "\$NOTRUNNING" = "0"
- then
- echo -n "\$2="
- doPC show \$2 ; echo \$ret
- else
- echo "not running"
- fi
- ;;
-
- mrtg)
- if [ \$# -lt 2 ]
- then
- echo Insufficient parameters
- exit
- fi
- if test "\$NOTRUNNING" = "0"
- then
- doPC show \$2 ; echo \$ret
- if [ "\$3x" != "x" ]
- then
- doPC show \$3 ; echo \$ret
- else
- echo 0
- fi
- doPC uptime ; echo \$ret
- echo PowerDNS daemon
- else
- echo "not running"
- fi
-
- ;;
-
- cricket)
- if [ \$# -lt 2 ]
- then
- echo Insufficient parameters
- exit
- fi
- if test "\$NOTRUNNING" = "0"
- then
- doPC show \$2 ; echo \$ret
- else
- echo "not running"
- fi
-
- ;;
-
- *)
- echo pdns [start\|stop\|condrestart\|force-reload\|reload\|restart\|status\|dump\|show\|mrtg\|cricket\|monitor]
-
- ;;
-esac
-EOF
- cat > pdns.spec << EOF
-%global backends %{nil}
-
-Name: pdns
-Version: ${VERSION}
-Release: ${RELEASE}
-Summary: A modern, advanced and high performance authoritative-only nameserver
-Group: System Environment/Daemons
-License: GPLv2
-URL: https://powerdns.com
-Source0: ../%{name}-${TARBALLVERSION}.tar.bz2
-Source1: pdns.init
-
-Requires(pre): shadow-utils
-Requires(post): /sbin/chkconfig
-Requires(preun): /sbin/service, /sbin/chkconfig
-Requires(postun): /sbin/service
-
-BuildRequires: boost-devel
-BuildRequires: lua-devel
-BuildRequires: libsodium-devel
-BuildRequires: bison
-BuildRequires: libcurl-devel
-Provides: powerdns = %{version}-%{release}
-
-%description
-The PowerDNS Nameserver is a modern, advanced and high performance
-authoritative-only nameserver. It is written from scratch and conforms
-to all relevant DNS standards documents.
-Furthermore, PowerDNS interfaces with almost any database.
-
-%package tools
-Summary: Extra tools for %{name}
-Group: System Environment/Daemons
-
-%description tools
-This package contains the extra tools for %{name}
-
-%package backend-mysql
-Summary: MySQL backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: mysql-devel
-%global backends %{backends} gmysql
-
-%description backend-mysql
-This package contains the gmysql backend for %{name}
-
-%package backend-postgresql
-Summary: PostgreSQL backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: postgresql-devel
-%global backends %{backends} gpgsql
-
-%description backend-postgresql
-This package contains the gpgsql backend for %{name}
-
-%package backend-pipe
-Summary: Pipe backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} pipe
-
-%description backend-pipe
-This package contains the pipe backend for %{name}
-
-%package backend-remote
-Summary: Remote backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} remote
-
-%description backend-remote
-This package contains the remote backend for %{name}
-
-%package backend-ldap
-Summary: LDAP backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: openldap-devel
-%global backends %{backends} ldap
-
-%description backend-ldap
-This package contains the LDAP backend for %{name}
-
-%package backend-lua
-Summary: Lua backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} lua
-
-%description backend-lua
-This package contains the lua backend for %{name}
-
-%package backend-lua2
-Summary: New Lua backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} lua2
-
-%description backend-lua2
-This package contains the new lua backend for %{name}
-
-%package backend-sqlite
-Summary: SQLite backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: sqlite-devel
-%global backends %{backends} gsqlite3
-
-%description backend-sqlite
-This package contains the SQLite backend for %{name}
-
-%package backend-mydns
-Summary: MyDNS backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} mydns
-
-%description backend-mydns
-This package contains the MyDNS backend for %{name}
-
-%prep
-%setup -q -n %{name}-${TARBALLVERSION}
-
-%build
-export CPPFLAGS="-DLDAP_DEPRECATED"
-
-%configure \
- --sysconfdir=%{_sysconfdir}/%{name} \
- --libdir=%{_libdir} \
- --disable-static \
- --disable-dependency-tracking \
- --disable-silent-rules \
- --with-modules='' \
- --with-lua \
- --with-dynmodules='bind %{backends} random' \
- --enable-tools \
- --enable-libsodium \
- --without-protobuf \
- --enable-remotebackend-http \
- --enable-unit-tests \
- --disable-lua-records
-
-make %{?_smp_mflags}
-
-%install
-make install DESTDIR=%{buildroot}
-
-%{__rm} -f %{buildroot}%{_libdir}/%{name}/*.la
-%{__install} -D -p %{SOURCE1} %{buildroot}%{_initrddir}/pdns
-%{buildroot}/usr/sbin/pdns_server --no-config --config > %{buildroot}%{_sysconfdir}/%{name}/pdns.conf
-%{__rm} %{buildroot}%{_sysconfdir}/%{name}/pdns.conf-dist
-%{__rm} %{buildroot}/usr/bin/stubquery
-
-chmod 600 %{buildroot}%{_sysconfdir}/%{name}/pdns.conf
-
-%check
-make %{?_smp_mflags} -C pdns check || (cat pdns/test-suite.log && false)
-
-%pre
-getent group pdns >/dev/null || groupadd -r pdns
-getent passwd pdns >/dev/null || \
- useradd -r -g pdns -d / -s /sbin/nologin \
- -c "PowerDNS user" pdns
-exit 0
-
-%post
-/sbin/chkconfig --add pdns
-
-%preun
-if [ \$1 -eq 0 ]; then
- /sbin/service pdns stop >/dev/null 2>&1 || :
- /sbin/chkconfig --del pdns
-fi
-
-%postun
-if [ \$1 -ge 1 ]; then
- /sbin/service pdns condrestart >/dev/null 2>&1 || :
-fi
-
-%files
-%doc COPYING README
-%{_bindir}/pdns_control
-%{_bindir}/pdnsutil
-%{_bindir}/zone2ldap
-%{_bindir}/zone2sql
-%{_bindir}/zone2json
-%{_sbindir}/pdns_server
-%{_mandir}/man1/pdns_control.1.gz
-%{_mandir}/man1/pdns_server.1.gz
-%{_mandir}/man1/zone2sql.1.gz
-%{_mandir}/man1/zone2json.1.gz
-%{_mandir}/man1/zone2ldap.1.gz
-%{_mandir}/man1/pdnsutil.1.gz
-%{_initrddir}/pdns
-%dir %{_libdir}/%{name}/
-%{_libdir}/%{name}/librandombackend.so
-%{_libdir}/%{name}/libbindbackend.so
-%dir %{_sysconfdir}/%{name}/
-%config(noreplace) %{_sysconfdir}/%{name}/pdns.conf
-
-%files tools
-%{_bindir}/calidns
-%{_bindir}/dnsgram
-%{_bindir}/dnspcap2calidns
-%{_bindir}/dnsreplay
-%{_bindir}/dnsscan
-%{_bindir}/dnsscope
-%{_bindir}/dnswasher
-%{_bindir}/dumresp
-%{_bindir}/ixplore
-%{_bindir}/pdns_notify
-%{_bindir}/nproxy
-%{_bindir}/nsec3dig
-%{_bindir}/saxfr
-%{_bindir}/sdig
-%{_mandir}/man1/calidns.1.gz
-%{_mandir}/man1/dnsgram.1.gz
-%{_mandir}/man1/dnspcap2calidns.1.gz
-%{_mandir}/man1/dnsreplay.1.gz
-%{_mandir}/man1/dnsscan.1.gz
-%{_mandir}/man1/dnsscope.1.gz
-%{_mandir}/man1/dnswasher.1.gz
-%{_mandir}/man1/dumresp.1.gz
-%{_mandir}/man1/ixplore.1.gz
-%{_mandir}/man1/pdns_notify.1.gz
-%{_mandir}/man1/nproxy.1.gz
-%{_mandir}/man1/nsec3dig.1.gz
-%{_mandir}/man1/saxfr.1.gz
-%{_mandir}/man1/sdig.1.gz
-
-%files backend-mysql
-%doc %{_defaultdocdir}/%{name}/schema.mysql.sql
-%doc %{_defaultdocdir}/%{name}/nodnssec-3.x_to_3.4.0_schema.mysql.sql
-%doc %{_defaultdocdir}/%{name}/dnssec-3.x_to_3.4.0_schema.mysql.sql
-%doc %{_defaultdocdir}/%{name}/3.4.0_to_4.1.0_schema.mysql.sql
-%doc %{_defaultdocdir}/%{name}/4.1.0_to_4.1.1_schema.mysql.sql
-%{_libdir}/%{name}/libgmysqlbackend.so
-
-%files backend-postgresql
-%doc %{_defaultdocdir}/%{name}/schema.pgsql.sql
-%doc %{_defaultdocdir}/%{name}/nodnssec-3.x_to_3.4.0_schema.pgsql.sql
-%doc %{_defaultdocdir}/%{name}/dnssec-3.x_to_3.4.0_schema.pgsql.sql
-%doc %{_defaultdocdir}/%{name}/3.4.0_to_4.1.0_schema.pgsql.sql
-%{_libdir}/%{name}/libgpgsqlbackend.so
-
-%files backend-pipe
-%{_libdir}/%{name}/libpipebackend.so
-
-%files backend-remote
-%{_libdir}/%{name}/libremotebackend.so
-
-%files backend-ldap
-%{_libdir}/%{name}/libldapbackend.so
-%doc %{_defaultdocdir}/%{name}/dnsdomain2.schema
-%doc %{_defaultdocdir}/%{name}/pdns-domaininfo.schema
-
-%files backend-lua
-%{_libdir}/%{name}/libluabackend.so
-
-%files backend-lua2
-%{_libdir}/%{name}/liblua2backend.so
-
-%files backend-sqlite
-%doc %{_defaultdocdir}/%{name}/schema.sqlite3.sql
-%doc %{_defaultdocdir}/%{name}/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql
-%doc %{_defaultdocdir}/%{name}/dnssec-3.x_to_3.4.0_schema.sqlite3.sql
-%{_libdir}/%{name}/libgsqlite3backend.so
-
-%files backend-mydns
-%doc %{_defaultdocdir}/%{name}/schema.mydns.sql
-%{_libdir}/%{name}/libmydnsbackend.so
-EOF
- ;;
- CentOS\ Linux\ *\ 7*)
- cat > pdns.spec << EOF
-%global _hardened_build 1
-%global backends %{nil}
-
-Name: pdns
-Version: ${VERSION}
-Release: ${RELEASE}
-Summary: A modern, advanced and high performance authoritative-only nameserver
-Group: System Environment/Daemons
-License: GPLv2
-URL: https://powerdns.com
-Source: ../pdns-${TARBALLVERSION}.tar.bz2
-
-Requires(pre): shadow-utils
-Requires(post): systemd-sysv
-Requires(post): systemd-units
-Requires(preun): systemd-units
-Requires(postun): systemd-units
-
-BuildRequires: systemd-units
-BuildRequires: systemd-devel
-BuildRequires: boost-devel
-BuildRequires: luajit-devel
-BuildRequires: libsodium-devel
-BuildRequires: bison
-BuildRequires: openssl-devel
-BuildRequires: protobuf-devel
-BuildRequires: protobuf-compiler
-BuildRequires: p11-kit-devel
-BuildRequires: libcurl-devel
-Provides: powerdns = %{version}-%{release}
-%global backends %{backends} bind
-
-%description
-The PowerDNS Nameserver is a modern, advanced and high performance
-authoritative-only nameserver. It is written from scratch and conforms
-to all relevant DNS standards documents.
-Furthermore, PowerDNS interfaces with almost any database.
-
-%package tools
-Summary: Extra tools for %{name}
-BuildRequires: yaml-cpp-devel
-Group: System Environment/Daemons
-
-%description tools
-This package contains the extra tools for %{name}
-
-%package backend-mysql
-Summary: MySQL backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: mysql-devel
-%global backends %{backends} gmysql
-
-%description backend-mysql
-This package contains the gmysql backend for %{name}
-
-%package backend-postgresql
-Summary: PostgreSQL backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: postgresql-devel
-%global backends %{backends} gpgsql
-
-%description backend-postgresql
-This package contains the gpgsql backend for %{name}
-
-%package backend-odbc
-Summary: UnixODBC backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: unixODBC-devel
-%global backends %{backends} godbc
-
-%description backend-odbc
-This package contains the godbc backend for %{name}
-
-%package backend-pipe
-Summary: Pipe backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} pipe
-
-%description backend-pipe
-This package contains the pipe backend for %{name}
-
-%package backend-remote
-Summary: Remote backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} remote
-
-%description backend-remote
-This package contains the remote backend for %{name}
-
-%package backend-geoip
-Summary: Geo backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: yaml-cpp-devel
-BuildRequires: geoip-devel
-%global backends %{backends} geoip
-
-%description backend-geoip
-This package contains the geoip backend for %{name}
-It allows different answers to DNS queries coming from different
-IP address ranges or based on the geoipgraphic location
-
-%package backend-ldap
-Summary: LDAP backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: openldap-devel
-%global backends %{backends} ldap
-
-%description backend-ldap
-This package contains the LDAP backend for %{name}
-
-%package backend-lua
-Summary: Lua backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} lua
-
-%description backend-lua
-This package contains the lua backend for %{name}
-
-%package backend-lua2
-Summary: New Lua backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} lua2
-
-%description backend-lua2
-This package contains the new lua backend for %{name}
-
-%package backend-sqlite
-Summary: SQLite backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: sqlite-devel
-%global backends %{backends} gsqlite3
-
-%description backend-sqlite
-This package contains the SQLite backend for %{name}
-
-%package backend-tinydns
-Summary: TinyDNS backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: tinycdb-devel
-%global backends %{backends} tinydns
-
-%description backend-tinydns
-This package contains the TinyDNS backend for %{name}
-
-%package backend-mydns
-Summary: MyDNS backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} mydns
-
-%description backend-mydns
-This package contains the MyDNS backend for %{name}
-
-%prep
-%setup -q -n %{name}-${TARBALLVERSION}
-
-%build
-export CPPFLAGS="-DLDAP_DEPRECATED"
-
-%configure \
- --sysconfdir=%{_sysconfdir}/%{name} \
- --disable-static \
- --disable-dependency-tracking \
- --disable-silent-rules \
- --with-modules='' \
- --with-lua=luajit \
- --with-dynmodules='%{backends} random' \
- --enable-tools \
- --enable-ixfrdist \
- --enable-libsodium \
- --enable-unit-tests \
- --enable-experimental-pkcs11 \
- --enable-systemd
-
-make %{?_smp_mflags}
-
-%install
-make install DESTDIR=%{buildroot}
-
-%{__rm} -f %{buildroot}%{_libdir}/%{name}/*.la
-%{__rm} -rf %{buildroot}%{_docdir}
-%{buildroot}/usr/sbin/pdns_server --no-config --config | sed \
- -e 's!# daemon=.*!daemon=no!' \
- -e 's!# guardian=.*!guardian=no!' \
- -e 's!# launch=.*!&\\nlaunch=!' \
- -e 's!# setgid=.*!setgid=pdns!' \
- -e 's!# setuid=.*!setuid=pdns!' \
- > %{buildroot}%{_sysconfdir}/%{name}/pdns.conf
-%{__rm} %{buildroot}%{_sysconfdir}/%{name}/pdns.conf-dist
-%{__rm} %{buildroot}/usr/bin/stubquery
-
-chmod 600 %{buildroot}%{_sysconfdir}/%{name}/pdns.conf
-
-# rename zone2ldap to pdns-zone2ldap (#1193116)
-%{__mv} %{buildroot}/%{_bindir}/zone2ldap %{buildroot}/%{_bindir}/pdns-zone2ldap
-%{__mv} %{buildroot}/%{_mandir}/man1/zone2ldap.1 %{buildroot}/%{_mandir}/man1/pdns-zone2ldap.1
-
-%check
-make %{?_smp_mflags} -C pdns check || (cat pdns/test-suite.log && false)
-
-%pre
-getent group pdns >/dev/null || groupadd -r pdns
-getent passwd pdns >/dev/null || \
- useradd -r -g pdns -d / -s /sbin/nologin \
- -c "PowerDNS user" pdns
-exit 0
-
-%post
-%systemd_post pdns.service
-
-%preun
-%systemd_preun pdns.service
-
-%postun
-%systemd_postun_with_restart pdns.service
-
-%files
-%doc COPYING README
-%{_bindir}/pdns_control
-%{_bindir}/pdnsutil
-%{_bindir}/pdns-zone2ldap
-%{_bindir}/zone2sql
-%{_bindir}/zone2json
-%{_sbindir}/pdns_server
-%{_libdir}/%{name}/libbindbackend.so
-%{_mandir}/man1/pdns_control.1.gz
-%{_mandir}/man1/pdns_server.1.gz
-%{_mandir}/man1/zone2sql.1.gz
-%{_mandir}/man1/zone2json.1.gz
-%{_mandir}/man1/pdns-zone2ldap.1.gz
-%{_mandir}/man1/pdnsutil.1.gz
-%{_unitdir}/pdns.service
-%{_unitdir}/pdns@.service
-%dir %{_libdir}/%{name}/
-%{_libdir}/%{name}/librandombackend.so
-%dir %{_sysconfdir}/%{name}/
-%config(noreplace) %{_sysconfdir}/%{name}/pdns.conf
-
-%files tools
-%{_bindir}/calidns
-%{_bindir}/dnsbulktest
-%{_bindir}/dnsgram
-%{_bindir}/dnspcap2calidns
-%{_bindir}/dnspcap2protobuf
-%{_bindir}/dnsreplay
-%{_bindir}/dnsscan
-%{_bindir}/dnsscope
-%{_bindir}/dnstcpbench
-%{_bindir}/dnswasher
-%{_bindir}/dumresp
-%{_bindir}/ixfrdist
-%{_bindir}/ixplore
-%{_bindir}/pdns_notify
-%{_bindir}/nproxy
-%{_bindir}/nsec3dig
-%{_bindir}/saxfr
-%{_bindir}/sdig
-%{_mandir}/man1/calidns.1.gz
-%{_mandir}/man1/dnsbulktest.1.gz
-%{_mandir}/man1/dnsgram.1.gz
-%{_mandir}/man1/dnspcap2calidns.1.gz
-%{_mandir}/man1/dnspcap2protobuf.1.gz
-%{_mandir}/man1/dnsreplay.1.gz
-%{_mandir}/man1/dnsscan.1.gz
-%{_mandir}/man1/dnsscope.1.gz
-%{_mandir}/man1/dnstcpbench.1.gz
-%{_mandir}/man1/dnswasher.1.gz
-%{_mandir}/man1/dumresp.1.gz
-%{_mandir}/man1/ixfrdist.1.gz
-%{_mandir}/man5/ixfrdist.yml.5.gz
-%{_mandir}/man1/ixplore.1.gz
-%{_mandir}/man1/pdns_notify.1.gz
-%{_mandir}/man1/nproxy.1.gz
-%{_mandir}/man1/nsec3dig.1.gz
-%{_mandir}/man1/saxfr.1.gz
-%{_mandir}/man1/sdig.1.gz
-%{_sysconfdir}/%{name}/ixfrdist.example.yml
-%{_unitdir}/ixfrdist.service
-%{_unitdir}/ixfrdist@.service
-
-%files backend-mysql
-%doc modules/gmysqlbackend/schema.mysql.sql
-%doc modules/gmysqlbackend/dnssec-3.x_to_3.4.0_schema.mysql.sql
-%doc modules/gmysqlbackend/nodnssec-3.x_to_3.4.0_schema.mysql.sql
-%{_libdir}/%{name}/libgmysqlbackend.so
-
-%files backend-postgresql
-%doc modules/gpgsqlbackend/schema.pgsql.sql
-%doc modules/gpgsqlbackend/dnssec-3.x_to_3.4.0_schema.pgsql.sql
-%doc modules/gpgsqlbackend/nodnssec-3.x_to_3.4.0_schema.pgsql.sql
-%{_libdir}/%{name}/libgpgsqlbackend.so
-
-%files backend-odbc
-%doc modules/godbcbackend/schema.mssql.sql
-%{_libdir}/%{name}/libgodbcbackend.so
-
-%files backend-pipe
-%{_libdir}/%{name}/libpipebackend.so
-
-%files backend-remote
-%{_libdir}/%{name}/libremotebackend.so
-
-%files backend-geoip
-%{_libdir}/%{name}/libgeoipbackend.so
-
-%files backend-ldap
-%{_libdir}/%{name}/libldapbackend.so
-
-%doc modules/ldapbackend/dnsdomain2.schema
-%doc modules/ldapbackend/pdns-domaininfo.schema
-
-%files backend-lua
-%{_libdir}/%{name}/libluabackend.so
-
-%files backend-lua2
-%{_libdir}/%{name}/liblua2backend.so
-
-%files backend-sqlite
-%doc modules/gsqlite3backend/schema.sqlite3.sql
-%doc modules/gsqlite3backend/dnssec-3.x_to_3.4.0_schema.sqlite3.sql
-%doc modules/gsqlite3backend/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql
-%{_libdir}/%{name}/libgsqlite3backend.so
-
-%files backend-tinydns
-%{_libdir}/%{name}/libtinydnsbackend.so
-
-%files backend-mydns
-%doc modules/mydnsbackend/schema.mydns.sql
-%{_libdir}/%{name}/libmydnsbackend.so
-EOF
- ;;
- SLES\ 12*)
- cat > pdns.spec << EOF
-%global _hardened_build 1
-%global backends %{nil}
-
-Name: pdns
-Version: ${VERSION}
-Release: ${RELEASE}
-Summary: A modern, advanced and high performance authoritative-only nameserver
-Group: System Environment/Daemons
-License: GPLv2
-URL: https://powerdns.com
-Source: ../pdns-${TARBALLVERSION}.tar.bz2
-
-%{?systemd_requires}
-
-BuildRequires: boost-devel
-BuildRequires: lua-devel
-BuildRequires: bison
-BuildRequires: openssl-devel
-BuildRequires: systemd-rpm-macros
-BuildRequires: systemd-devel
-Provides: powerdns = %{version}-%{release}
-%global backends %{backends} bind
-
-%description
-The PowerDNS Nameserver is a modern, advanced and high performance
-authoritative-only nameserver. It is written from scratch and conforms
-to all relevant DNS standards documents.
-Furthermore, PowerDNS interfaces with almost any database.
-
-%package tools
-Summary: Extra tools for %{name}
-Group: System Environment/Daemons
-
-%description tools
-This package contains the extra tools for %{name}
-
-%package backend-mysql
-Summary: MySQL backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: mysql-devel
-%global backends %{backends} gmysql
-
-%description backend-mysql
-This package contains the gmysql backend for %{name}
-
-%package backend-odbc
-Summary: UnixODBC backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: unixODBC-devel
-%global backends %{backends} godbc
-
-%description backend-odbc
-This package contains the godbc backend for %{name}
-
-%package backend-pipe
-Summary: Pipe backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} pipe
-
-%description backend-pipe
-This package contains the pipe backend for %{name}
-
-%package backend-remote
-Summary: Remote backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} remote
-
-%description backend-remote
-This package contains the remote backend for %{name}
-
-%package backend-lua
-Summary: Lua backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} lua
-
-%description backend-lua
-This package contains the lua backend for %{name}
-
-%package backend-lua2
-Summary: New Lua backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} lua2
-
-%description backend-lua2
-This package contains the new lua backend for %{name}
-
-%package backend-sqlite
-Summary: SQLite backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: sqlite-devel
-%global backends %{backends} gsqlite3
-
-%description backend-sqlite
-This package contains the SQLite backend for %{name}
-
-%package backend-mydns
-Summary: MyDNS backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-%global backends %{backends} mydns
-
-%description backend-mydns
-This package contains the MyDNS backend for %{name}
-
-%prep
-%setup -q -n %{name}-${TARBALLVERSION}
-
-%build
-export CPPFLAGS="-DLDAP_DEPRECATED"
-
-%configure \
- --sysconfdir=%{_sysconfdir}/%{name} \
- --disable-static \
- --disable-dependency-tracking \
- --disable-silent-rules \
- --with-modules='' \
- --with-lua \
- --with-dynmodules='%{backends} random' \
- --enable-tools \
- --disable-ixfrdist \
- --without-protobuf \
- --enable-unit-tests \
- --enable-systemd \
- --disable-lua-records
-
-make %{?_smp_mflags}
-
-%install
-make install DESTDIR=%{buildroot}
-
-%{__rm} -f %{buildroot}%{_libdir}/%{name}/*.la
-%{__rm} -rf %{buildroot}/usr/share/doc
-%{buildroot}/usr/sbin/pdns_server --no-config --config | sed \
- -e 's!# daemon=.*!daemon=yes!' \
- -e 's!# guardian=.*!guardian=yes!' \
- -e 's!# launch=.*!&\\nlaunch=!' \
- -e 's!# setgid=.*!setgid=pdns!' \
- -e 's!# setuid=.*!setuid=pdns!' \
- > %{buildroot}%{_sysconfdir}/%{name}/pdns.conf
-%{__rm} %{buildroot}%{_sysconfdir}/%{name}/pdns.conf-dist
-%{__rm} %{buildroot}/usr/bin/stubquery
-
-chmod 600 %{buildroot}%{_sysconfdir}/%{name}/pdns.conf
-
-%check
-make %{?_smp_mflags} -C pdns check || (cat pdns/test-suite.log && false)
-
-%pre
-getent group pdns >/dev/null || groupadd -r pdns
-getent passwd pdns >/dev/null || \
- useradd -r -g pdns -d / -s /sbin/nologin \
- -c "PowerDNS user" pdns
-exit 0
-
-%service_add_pre pdns.service
-
-%post
-%service_add_post pdns.service
-
-%preun
-%service_del_preun pdns.service
-
-%postun
-%service_del_postun pdns.service
-
-%files
-%doc COPYING README
-%{_bindir}/pdns_control
-%{_bindir}/pdnsutil
-%{_bindir}/zone2sql
-%{_bindir}/zone2json
-%{_sbindir}/pdns_server
-%{_libdir}/%{name}/libbindbackend.so
-%{_mandir}/man1/pdns_control.1.gz
-%{_mandir}/man1/pdns_server.1.gz
-%{_mandir}/man1/zone2sql.1.gz
-%{_mandir}/man1/zone2json.1.gz
-%{_mandir}/man1/pdnsutil.1.gz
-%{_unitdir}/pdns.service
-%{_unitdir}/pdns@.service
-%dir %{_libdir}/%{name}/
-%{_libdir}/%{name}/librandombackend.so
-%dir %{_sysconfdir}/%{name}/
-%config(noreplace) %{_sysconfdir}/%{name}/pdns.conf
-
-%files tools
-%{_bindir}/calidns
-%{_bindir}/dnsbulktest
-%{_bindir}/dnsgram
-%{_bindir}/dnspcap2calidns
-%{_bindir}/dnsreplay
-%{_bindir}/dnsscan
-%{_bindir}/dnsscope
-%{_bindir}/dnstcpbench
-%{_bindir}/dnswasher
-%{_bindir}/dumresp
-%{_bindir}/ixplore
-%{_bindir}/pdns_notify
-%{_bindir}/nproxy
-%{_bindir}/nsec3dig
-%{_bindir}/saxfr
-%{_bindir}/sdig
-%{_mandir}/man1/calidns.1.gz
-%{_mandir}/man1/dnsbulktest.1.gz
-%{_mandir}/man1/dnsgram.1.gz
-%{_mandir}/man1/dnspcap2calidns.1.gz
-%{_mandir}/man1/dnsreplay.1.gz
-%{_mandir}/man1/dnsscan.1.gz
-%{_mandir}/man1/dnsscope.1.gz
-%{_mandir}/man1/dnstcpbench.1.gz
-%{_mandir}/man1/dnswasher.1.gz
-%{_mandir}/man1/dumresp.1.gz
-%{_mandir}/man1/ixplore.1.gz
-%{_mandir}/man1/pdns_notify.1.gz
-%{_mandir}/man1/nproxy.1.gz
-%{_mandir}/man1/nsec3dig.1.gz
-%{_mandir}/man1/saxfr.1.gz
-%{_mandir}/man1/sdig.1.gz
-
-%files backend-mysql
-%doc modules/gmysqlbackend/schema.mysql.sql
-%doc modules/gmysqlbackend/dnssec-3.x_to_3.4.0_schema.mysql.sql
-%doc modules/gmysqlbackend/nodnssec-3.x_to_3.4.0_schema.mysql.sql
-%{_libdir}/%{name}/libgmysqlbackend.so
-
-%files backend-odbc
-%doc modules/godbcbackend/schema.mssql.sql
-%{_libdir}/%{name}/libgodbcbackend.so
-
-%files backend-pipe
-%{_libdir}/%{name}/libpipebackend.so
-
-%files backend-remote
-%{_libdir}/%{name}/libremotebackend.so
-
-%files backend-lua
-%{_libdir}/%{name}/libluabackend.so
-
-%files backend-lua2
-%{_libdir}/%{name}/liblua2backend.so
-
-%files backend-sqlite
-%doc modules/gsqlite3backend/schema.sqlite3.sql
-%doc modules/gsqlite3backend/dnssec-3.x_to_3.4.0_schema.sqlite3.sql
-%doc modules/gsqlite3backend/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql
-%{_libdir}/%{name}/libgsqlite3backend.so
-
-%files backend-mydns
-%doc modules/mydnsbackend/schema.mydns.sql
-%{_libdir}/%{name}/libmydnsbackend.so
-EOF
- ;;
- *)
- echo "No support for $OS (yet?)"
- exit 1
- ;;
- esac
-
-${RPMBUILD_COMMAND}
-
-mkdir -p rpms
-mv $HOME/rpmbuild/RPMS/x86_64/pdns-*${VERSION}-${RELEASE}.x86_64.rpm rpms
+++ /dev/null
-#!/bin/sh
-
-if [ "$0" != "./build-scripts/build-dnsdist-debian" ]; then
- echo "Please run me from the root checkout dir"
- exit 1
-fi
-
-. build-scripts/functions.sh
-TARBALLPREFIX=dnsdist
-
-startup
-
-set -e
-set -x
-
-cp_tarball_to_tmp
-
-cd ${SRCDIR}
-
-cat > debian/changelog << EOF
-dnsdist (${VERSION}-${RELEASE}) unstable; urgency=medium
-
- * Automatic build
-
- -- PowerDNS.COM AutoBuilder <noreply@powerdns.com> $(date -R)
-
-EOF
-
-. /etc/os-release
-export ID="${ID}"
-export VERSION_ID="${VERSION_ID}"
-
-if [ ${ID} = "ubuntu" -a ${VERSION_ID} = "14.04" ]; then
- rm -f debian/dnsdist.service
-fi
-
-fakeroot debian/rules debian/control
-fakeroot debian/rules debian/dnsdist.install
-fakeroot debian/rules binary
-
-cd -
-
-mv_debs_to_pwd
+++ /dev/null
-#!/bin/sh
-
-if [ "$0" != "./build-scripts/build-dnsdist-rpm" ]; then
- echo "Please run me from the root checkout dir"
- exit 1
-fi
-
-. build-scripts/functions.sh
-TARBALLPREFIX=dnsdist
-
-startup
-
-set -e
-set -x
-
-cp_tarball_to_rpm_sources
-
-# Some RPM platforms use systemd, others sysv, we default to systemd here
-INIT_BUILDREQUIRES='BuildRequires: systemd-devel'
-INIT_INSTALL='sed -i "s,/^\(ExecStart.*\)dnsdist\(.*\)\$,\1dnsdist -u dnsdist -g dnsdist\2," %{buildroot}/lib/systemd/system/dnsdist.service'
-INIT_FILES='/lib/systemd/system/dnsdist*'
-INIT_CONFIGURE='--enable-systemd --with-systemd=/lib/systemd/system \'
-
-# CentOS 6 has protobuf, but not a modern enough boost. We default to with protobuf
-PROTOBUF_CONFIGURE='--with-protobuf \'
-PROTOBUF_BUILDREQUIRES='BuildRequires: protobuf-compiler
-BuildRequires: protobuf-devel'
-
-# CentOS 6 has a libsodium, but we use more modern functions
-SODIUM_BUILDREQUIRES='BuildRequires: libsodium-devel'
-SODIUM_CONFIGURE='--enable-libsodium \'
-DNSCRYPT_CONFIGURE='--enable-dnscrypt \'
-
-# CentOS 6 needs a more modern Boost
-BOOST_BUILDREQUIRES='boost-devel'
-BOOST_CONFIGURE=' \'
-BOOST_MAKEENV=''
-
-# SLES 12 SP1 does not have re2
-RE2_BUILDREQUIRES='BuildRequires: re2-devel'
-RE2_CONFIGURE='--enable-re2 \'
-
-# nor snmp-devel
-SNMP_BUILDREQUIRES='BuildRequires: net-snmp-devel'
-SNMP_CONFIGURE='--with-net-snmp \'
-
-# CentOS 6 has no luajit
-LUA_BUILDREQUIRES='BuildRequires: luajit-devel'
-LUA_CONFIGURE='--with-lua=luajit \'
-
-# These two are the same for sysv and systemd (we don't install defaults files at the moment)
-DEFAULTS_INSTALL=''
-DEFAULTS_FILES=''
-
-# The package containing groupadd is different on different OSs
-SHADOW_REQUIRES='shadow-utils'
-
-# On some older distro's *cough* centos 6 *cough* autosetup fails
-SETUP="%autosetup -n %{name}-${TARBALLVERSION}"
-
-# Some setups need rpmbuild in a 'special' env
-RPMBUILD_COMMAND='rpmbuild -bb dnsdist.spec'
-
-if [ -f /etc/os-release ]; then
- TMP="$(cat /etc/os-release | grep PRETTY_NAME)"
- # evillllll
- eval $TMP
- case "$PRETTY_NAME" in
- SUSE\ Linux\ Enterprise\ Server\ 12\ SP1)
- RE2_BUILDREQUIRES=''
- RE2_CONFIGURE='--disable-re2 \'
- PROTOBUF_BUILDREQUIRES=''
- PROTOBUF_CONFIGURE='--without-protobuf \'
- SHADOW_REQUIRES='shadow'
- LUA_BUILDREQUIRES='BuildRequires: lua-devel'
- LUA_CONFIGURE=' \'
- SNMP_BUILDREQUIRES=''
- SNMP_CONFIGURE='--without-net-snmp \'
- ;;
- esac
-fi
-
-if [ -f /etc/redhat-release ]; then
- OS="$(cat /etc/redhat-release)"
- case "$OS" in
- CentOS\ *\ 6*)
- INIT_BUILDREQUIRES=''
- INIT_INSTALL='install -d -m 755 %{buildroot}%{_sysconfdir}/init && install -m 644 contrib/dnsdist.upstart.conf %{buildroot}%{_sysconfdir}/init/%{name}.conf'
- INIT_FILES='%{_sysconfdir}/init/dnsdist.conf'
- DEFAULTS_INSTALL='install -d -m 755 %{buildroot}%{_sysconfdir}/default && install -m 644 contrib/dnsdist.default %{buildroot}%{_sysconfdir}/default/%{name}'
- DEFAULTS_FILES='%{_sysconfdir}/default/%{name}'
- INIT_CONFIGURE='\'
- SODIUM_BUILDREQUIRES=''
- SODIUM_CONFIGURE='--disable-libsodium \'
- DNSCRYPT_CONFIGURE='--disable-dnscrypt \'
- LUA_BUILDREQUIRES='BuildRequires: lua-devel'
- LUA_CONFIGURE=' \'
- SETUP="%setup -n %{name}-${TARBALLVERSION}"
- RPMBUILD_COMMAND="scl enable devtoolset-3 -- ${RPMBUILD_COMMAND}"
- BOOST_BUILDREQUIRES="boost148-devel"
- BOOST_CONFIGURE='--with-boost=/usr/include/boost148 LIBRARY_PATH=/usr/lib64/boost148'
- BOOST_MAKEENV='LIBRARY_PATH=/usr/lib64/boost148'
- ;;
- CentOS\ Linux\ *\ 7*)
- ;;
- *)
- echo "No support for $OS (yet?)"
- exit 1
- ;;
- esac
-fi
-
-# Generate the specfile
-cat > dnsdist.spec << EOF
-Name: dnsdist
-Version: ${VERSION}
-Release: ${RELEASE}
-Summary: Powerful and scriptable DNS loadbalancer
-License: GPLv2
-Vendor: PowerDNS.COM BV
-Group: System/DNS
-Source: dnsdist-${TARBALLVERSION}.tar.bz2
-Requires(pre): ${SHADOW_REQUIRES}
-BuildRequires: ${BOOST_BUILDREQUIRES}
-BuildRequires: readline-devel
-${SNMP_BUILDREQUIRES}
-${LUA_BUILDREQUIRES}
-${PROTOBUF_BUILDREQUIRES}
-${RE2_BUILDREQUIRES}
-${SODIUM_BUILDREQUIRES}
-${INIT_BUILDREQUIRES}
-
-%description
-dnsdist is a high-performance DNS loadbalancer that is scriptable in Lua.
-
-%prep
-${SETUP}
-
-# run as dnsdist user
-sed -i '/^ExecStart/ s/dnsdist/dnsdist -u dnsdist -g dnsdist/' dnsdist.service.in
-
-%build
-%configure \
- --sysconfdir=/etc/dnsdist \
- ${SNMP_CONFIGURE}
- ${LUA_CONFIGURE}
- ${RE2_CONFIGURE}
- ${SODIUM_CONFIGURE}
- ${DNSCRYPT_CONFIGURE}
- ${INIT_CONFIGURE}
- ${PROTOBUF_CONFIGURE}
- ${BOOST_CONFIGURE}
-
-make ${BOOST_MAKEENV}
-mv dnsdistconf.lua dnsdist.conf.sample
-
-%check
-make %{?_smp_mflags} check || (cat test-suite.log && false)
-
-%install
-%make_install
-install -d %{buildroot}/%{_sysconfdir}/dnsdist
-${INIT_INSTALL}
-${DEFAULTS_INSTALL}
-
-%pre
-getent group dnsdist >/dev/null || groupadd -r dnsdist
-getent passwd dnsdist >/dev/null || \
- useradd -r -g dnsdist -d / -s /sbin/nologin \
- -c "dnsdist user" dnsdist
-exit 0
-
-
-%post
-%if 0%{?rhel} < 7
-if [ -x /sbin/initctl ]; then
- /sbin/initctl reload-configuration
-fi
-%else
-%if 0%{?suse_version}
-%service_add_post %{name}.service
-%else
-%systemd_post %{name}.service
-%endif
-%endif
-
-%preun
-%if 0%{?rhel} < 7
-if [ \$1 -eq 0 ] ; then
- # This is package removal, not upgrade
- /sbin/stop %{name} >/dev/null 2>&1 || :
-fi
-%else
-%if 0%{?suse_version}
-%service_del_preun %{name}.service
-%else
-%systemd_preun %{name}.service
-%endif
-%endif
-
-%postun
-%if 0%{?rhel} < 7
-if [ -x /sbin/initctl ] && /sbin/initctl status %{name} 2>/dev/null | grep -q 'running' ; then
- /sbin/initctl stop %{name} > /dev/null 2>&1 || :
-fi
-%else
-%if 0%{?suse_version}
-%service_del_postun %{name}.service
-%else
-%systemd_postun_with_restart %{name}.service
-%endif
-%endif
-
-%files
-%{!?_licensedir:%global license %%doc}
-%doc dnsdist.conf.sample
-%doc README.md
-%license COPYING
-%{_bindir}/*
-%{_mandir}/man1/*
-%dir %{_sysconfdir}/dnsdist
-${INIT_FILES}
-%config(noreplace) ${DEFAULTS_FILES}
-
-EOF
-
-${RPMBUILD_COMMAND}
-
-mv $HOME/rpmbuild/RPMS/x86_64/dnsdist*-${VERSION}-${RELEASE}.x86_64.rpm .
+++ /dev/null
-#!/bin/sh
-
-if [ "$0" != "./build-scripts/build-recursor-debian" ]; then
- echo "Please run me from the root checkout dir" >&2
- exit 1
-fi
-
-. build-scripts/functions.sh
-TARBALLPREFIX=pdns-recursor
-
-startup
-
-set -e
-set -x
-
-cp_tarball_to_tmp
-
-cd ${SRCDIR}
-
-cat > debian/changelog << EOF
-pdns-recursor (${VERSION}-${RELEASE}) unstable; urgency=medium
-
- * Automatic build
-
- -- PowerDNS.COM AutoBuilder <noreply@powerdns.com> $(date -R)
-
-EOF
-
-PDNS_VERSION=$VERSION
-
-. /etc/os-release
-export ID="${ID}"
-export VERSION_ID="${VERSION_ID}"
-
-if [ ${ID} = "ubuntu" -a ${VERSION_ID} = "14.04" ]; then
- sed -i '/lib\/systemd\/system\/pdns-recursor@\?\.service/d' debian/pdns-recursor.install
-fi
-
-fakeroot debian/rules debian/control
-fakeroot debian/rules binary
-
-cd -
-
-mv_debs_to_pwd
+++ /dev/null
-#!/bin/sh
-
-if [ "$0" != "./build-scripts/build-recursor-rpm" ]; then
- echo "Please run me from the root checkout dir"
- exit 1
-fi
-
-. build-scripts/functions.sh
-TARBALLPREFIX=pdns-recursor
-
-startup
-
-set -e
-set -x
-
-cp_tarball_to_rpm_sources
-
-# Some setups need rpmbuild in a 'special' env
-RPMBUILD_COMMAND='rpmbuild -bb pdns-recursor.spec'
-
-if [ -f /etc/redhat-release ]; then
- OS="$(cat /etc/redhat-release)"
- case "$OS" in
- Fedora\ *\ 21*)
- exit 1
- ;;
- CentOS\ *\ 6*)
- RPMBUILD_COMMAND="scl enable devtoolset-3 -- ${RPMBUILD_COMMAND}"
- cat > $HOME/rpmbuild/SOURCES/pdns-recursor.init << EOF
-#!/bin/bash
-#
-# pdns-recursor This shell script controls the PowerDNS Recursor
-#
-# Author: Ruben Kerkhof <ruben@rubenkerkhof.com>
-#
-# chkconfig: - 49 51
-#
-# description: PowerDNS Recursor is a non authoritative/recursing DNS server
-# processname: pdns-recursor
-# config: /etc/pdns-recursor/recursor.conf
-# pidfile: /var/run/pdns_recursor.pid
-#
-
-# . function library
-. /etc/rc.d/init.d/functions
-
-RETVAL=0
-
-PIDDIR=\$(awk -F= '/^socket-dir=/ {print \$2}' /etc/pdns-recursor/recursor.conf)
-if [ -z "\$PIDDIR" ]; then PIDDIR=/var/run; fi
-mkdir -p "\$PIDDIR"
-
-start() {
- echo -n \$"Starting pdns-recursor: "
- daemon /usr/sbin/pdns_recursor --daemon 2>/dev/null
- RETVAL=\$?
- echo
- [ \$RETVAL -eq 0 ] && touch /var/lock/subsys/pdns-recursor
-}
-
-stop() {
- echo -n \$"Stopping pdns-recursor: "
- killproc pdns_recursor
- echo
- [ \$RETVAL -eq 0 ] && rm -f /var/lock/subsys/pdns-recursor && rm -f \$PIDDIR/pdns_recursor.controlsocket
-}
-
-restart() {
- stop
- start
-}
-
-case "\$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart|force-reload|reload)
- restart
- ;;
- condrestart)
- [ -f /var/lock/subsys/pdns-recursor ] && restart
- ;;
- status)
- status pdns_recursor
- RETVAL=\$?
- ;;
- *)
- echo \$"Usage: \$0 {start|stop|status|restart|reload|force-reload|condrestart}"
- exit 1
-esac
-
-exit \$RETVAL
-EOF
- cat > pdns-recursor.spec << EOF
-Name: pdns-recursor
-Version: ${VERSION}
-Release: ${RELEASE}
-Summary: Modern, advanced and high performance recursing/non authoritative name server
-Group: System Environment/Daemons
-License: GPLv2
-URL: https://powerdns.com
-Source0: ../%{name}-${TARBALLVERSION}.tar.bz2
-Source1: pdns-recursor.init
-
-Provides: powerdns-recursor = %{version}-%{release}
-BuildRequires: boost148-devel
-BuildRequires: lua-devel
-BuildRequires: libsodium-devel
-BuildRequires: net-snmp-devel
-BuildRequires: protobuf-devel
-BuildRequires: protobuf-compiler
-
-Requires(pre): shadow-utils
-Requires(post): /sbin/chkconfig
-Requires(preun): /sbin/service, /sbin/chkconfig
-Requires(postun): /sbin/service
-
-%description
-PowerDNS Recursor is a non authoritative/recursing DNS server. Use this
-package if you need a dns cache for your network.
-
-%prep
-%setup -q -n pdns-recursor-${TARBALLVERSION}
-
-%build
-%configure \
- --sysconfdir=%{_sysconfdir}/%{name} \
- --libdir=%{_libdir}/%{name} \
- --disable-static \
- --disable-dependency-tracking \
- --disable-silent-rules \
- --with-protobuf \
- --enable-unit-tests \
- --enable-libsodium \
- --with-net-snmp \
- --with-boost=/usr/include/boost148 LIBRARY_PATH=/usr/lib64/boost148
-
-make %{?_smp_mflags} LIBRARY_PATH=/usr/lib64/boost148
-
-%check
-make %{?_smp_mflags} check || (cat test-suite.log && false)
-
-%install
-%{__rm} -rf %{buildroot}
-make install DESTDIR=%{buildroot}
-%{__install} -D -p %{SOURCE1} %{buildroot}%{_initrddir}/pdns-recursor
-%{__mv} %{buildroot}%{_sysconfdir}/%{name}/recursor.conf-dist %{buildroot}%{_sysconfdir}/%{name}/recursor.conf
-
-# add pdns user and group to top of configfile
-sed -i '1i\\setuid=pdns-recursor' %{buildroot}%{_sysconfdir}/%{name}/recursor.conf
-sed -i '2i\\setgid=pdns-recursor' %{buildroot}%{_sysconfdir}/%{name}/recursor.conf
-
-%pre
-getent group pdns-recursor > /dev/null || groupadd -r pdns-recursor
-getent passwd pdns-recursor > /dev/null || \
- useradd -r -g pdns-recursor -d / -s /sbin/nologin \
- -c "PowerDNS Recursor user" pdns-recursor
-exit 0
-
-%post
-chkconfig --add %{name}
-
-%preun
-if [ \$1 -eq 0 ]; then
- service %{name} stop >/dev/null 2>&1 || :
- chkconfig --del %{name}
-fi
-
-%postun
-if [ \$1 -ge 1 ]; then
- service %{name} condrestart >/dev/null 2>&1 || :
-fi
-
-%clean
-%{__rm} -rf %{buildroot}
-
-%files
-%defattr(-,root,root,-)
-%{_bindir}/rec_control
-%{_sbindir}/pdns_recursor
-%{_mandir}/man1/pdns_recursor.1.gz
-%{_mandir}/man1/rec_control.1.gz
-%{_initrddir}/pdns-recursor
-%dir %{_sysconfdir}/%{name}
-%config(noreplace) %{_sysconfdir}/%{name}/recursor.conf
-%doc COPYING README
-EOF
- ;;
- CentOS\ Linux\ *\ 7*)
- cat > pdns-recursor.spec << EOF
-%global _hardened_build 1
-
-Name: pdns-recursor
-Version: ${VERSION}
-Release: ${RELEASE}
-Summary: Modern, advanced and high performance recursing/non authoritative name server
-Group: System Environment/Daemons
-License: GPLv2
-URL: https://powerdns.com
-Source0: ../%{name}-${TARBALLVERSION}.tar.bz2
-
-Provides: powerdns-recursor = %{version}-%{release}
-BuildRequires: boost-devel
-BuildRequires: luajit-devel
-BuildRequires: systemd-units
-BuildRequires: systemd-devel
-BuildRequires: libsodium-devel
-BuildRequires: net-snmp-devel
-BuildRequires: hostname
-BuildRequires: protobuf-devel
-BuildRequires: protobuf-compiler
-
-Requires(pre): shadow-utils
-Requires(post): systemd-sysv
-Requires(post): systemd-units
-Requires(preun): systemd-units
-Requires(postun): systemd-units
-
-%description
-PowerDNS Recursor is a non authoritative/recursing DNS server. Use this
-package if you need a dns cache for your network.
-
-%prep
-%setup -q -n pdns-recursor-${TARBALLVERSION}
-
-%build
-%configure \
- --sysconfdir=%{_sysconfdir}/%{name} \
- --libdir=%{_libdir}/%{name} \
- --disable-static \
- --disable-dependency-tracking \
- --disable-silent-rules \
- --enable-unit-tests \
- --with-protobuf \
- --enable-libsodium \
- --with-net-snmp \
- --with-lua=luajit \
- --enable-systemd
-
-make %{?_smp_mflags}
-
-%check
-make %{?_smp_mflags} check || (cat test-suite.log && false)
-
-%install
-make install DESTDIR=%{buildroot}
-%{__mv} %{buildroot}%{_sysconfdir}/%{name}/recursor.conf-dist %{buildroot}%{_sysconfdir}/%{name}/recursor.conf
-
-# add pdns user and group to top of configfile
-sed -i '1i\\setuid=pdns-recursor' %{buildroot}%{_sysconfdir}/%{name}/recursor.conf
-sed -i '2i\\setgid=pdns-recursor' %{buildroot}%{_sysconfdir}/%{name}/recursor.conf
-
-%pre
-getent group pdns-recursor > /dev/null || groupadd -r pdns-recursor
-getent passwd pdns-recursor > /dev/null || \
- useradd -r -g pdns-recursor -d / -s /sbin/nologin \
- -c "PowerDNS Recursor user" pdns-recursor
-exit 0
-
-%post
-%systemd_post pdns-recursor.service
-
-%preun
-%systemd_preun pdns-recursor.service
-
-%postun
-%systemd_postun_with_restart pdns-recursor.service
-
-%triggerun -- pdns-recursor < 3.3-4
-# Save the current service runlevel info
-# User must manually run systemd-sysv-convert --apply pdns-recursor
-# to migrate them to systemd targets
-/usr/bin/systemd-sysv-convert --save pdns-recursor >/dev/null 2>&1 ||:
-
-# Run these because the SysV package being removed won't do them
-/sbin/chkconfig --del pdns-recursor >/dev/null 2>&1 || :
-/bin/systemctl try-restart pdns-recursor.service >/dev/null 2>&1 || :
-
-%files
-%{_bindir}/rec_control
-%{_sbindir}/pdns_recursor
-%{_mandir}/man1/pdns_recursor.1.gz
-%{_mandir}/man1/rec_control.1.gz
-%{_unitdir}/pdns-recursor.service
-%{_unitdir}/pdns-recursor@.service
-%dir %{_sysconfdir}/%{name}
-%config(noreplace) %{_sysconfdir}/%{name}/recursor.conf
-%doc COPYING README
-EOF
- ;;
- *)
- echo "No support for $OS (yet?)"
- exit 1
- ;;
- esac
-fi
-
-
-${RPMBUILD_COMMAND}
-
-mv $HOME/rpmbuild/RPMS/x86_64/pdns-recursor*-${VERSION}-${RELEASE}.x86_64.rpm .
+++ /dev/null
-See /usr/share/doc/quilt/README.source
+++ /dev/null
-# A schema for storing DNS zones in LDAP
-#
-# ORDERING is not necessary, and some servers don't support
-# integerOrderingMatch. Omit or change if you like
-
-attributetype ( 1.3.6.1.4.1.2428.20.0.0 NAME 'dNSTTL'
- DESC 'An integer denoting time to live'
- EQUALITY integerMatch
- ORDERING integerOrderingMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.0.1 NAME 'dNSClass'
- DESC 'The class of a resource record'
- EQUALITY caseIgnoreIA5Match
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.11 NAME 'wKSRecord'
- DESC 'a well known service description, RFC 1035'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.12 NAME 'pTRRecord'
- DESC 'domain name pointer, RFC 1035'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.13 NAME 'hInfoRecord'
- DESC 'host information, RFC 1035'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.14 NAME 'mInfoRecord'
- DESC 'mailbox or mail list information, RFC 1035'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.16 NAME 'tXTRecord'
- DESC 'text string, RFC 1035'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.17 NAME 'rPRecord'
- DESC 'for Responsible Person, RFC 1183'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.18 NAME 'aFSDBRecord'
- DESC 'for AFS Data Base location, RFC 1183'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.24 NAME 'SigRecord'
- DESC 'Signature, RFC 2535'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.25 NAME 'KeyRecord'
- DESC 'Key, RFC 2535'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.27 NAME 'gPosRecord'
- DESC 'Geographical Position, RFC 1712'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.28 NAME 'aAAARecord'
- DESC 'IPv6 address, RFC 1886'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.29 NAME 'LocRecord'
- DESC 'Location, RFC 1876'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.30 NAME 'nXTRecord'
- DESC 'non-existant, RFC 2535'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.33 NAME 'sRVRecord'
- DESC 'service location, RFC 2782'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.35 NAME 'nAPTRRecord'
- DESC 'Naming Authority Pointer, RFC 2915'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.36 NAME 'kXRecord'
- DESC 'Key Exchange Delegation, RFC 2230'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.37 NAME 'certRecord'
- DESC 'certificate, RFC 2538'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.38 NAME 'a6Record'
- DESC 'A6 Record Type, RFC 2874'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.39 NAME 'dNameRecord'
- DESC 'Non-Terminal DNS Name Redirection, RFC 2672'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.42 NAME 'aPLRecord'
- DESC 'Lists of Address Prefixes, RFC 3123'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.43 NAME 'dSRecord'
- DESC 'Delegation Signer, RFC 3658'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.44 NAME 'sSHFPRecord'
- DESC 'SSH Key Fingerprint, RFC 4255'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.45 NAME 'iPSecKeyRecord'
- DESC 'SSH Key Fingerprint, RFC 4025'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.46 NAME 'rRSIGRecord'
- DESC 'RRSIG, RFC 3755'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.47 NAME 'nSECRecord'
- DESC 'NSEC, RFC 3755'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.48 NAME 'dNSKeyRecord'
- DESC 'DNSKEY, RFC 3755'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.49 NAME 'dHCIDRecord'
- DESC 'DHCID, RFC 4701'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-attributetype ( 1.3.6.1.4.1.2428.20.1.99 NAME 'sPFRecord'
- DESC 'Sender Policy Framework, RFC 4408'
- EQUALITY caseIgnoreIA5Match
- SUBSTR caseIgnoreIA5SubstringsMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-
-objectclass ( 1.3.6.1.4.1.2428.20.2 NAME 'dNSDomain2'
- SUP 'dNSDomain' STRUCTURAL
- MAY ( DNSTTL $ DNSClass $ WKSRecord $ PTRRecord $
- HINFORecord $ MINFORecord $ TXTRecord $ RPRecord $
- AFSDBRecord $ SIGRecord $ KEYRecord $ GPOSRecord $
- AAAARecord $ LOCRecord $ NXTRecord $ SRVRecord $
- NAPTRRecord $ KXRecord $ CERTRecord $ A6Record $
- DNAMERecord $ APLRecord $ DSRecord $ SSHFPRecord $
- IPSECKEYRecord $ RRSIGRecord $ NSECRecord $
- DNSKEYRecord $ DHCIDRecord $ SPFRecord
- ) )
+++ /dev/null
-# Variables for PowerDNS
-
-# If you have resolvconf installed, you can enable the following to have
-# resolvconf update an recursor line in the pdns config, as determined by
-# resolvconf.
-RESOLVCONF_UPDATE_FORWARDERS=no
-
-# Arguments to the started daemon
-DAEMON_ARGS=""
+++ /dev/null
-# Bind backend configuration
-
-# Location of the Bind configuration file to parse.
-# bind-config=/etc/bind/named.conf.local
-
-# How often to check for zone changes. See 'Operation' section.
-# bind-check-interval=
-
-# Uncomment to enable Huffman compression on zone data.
-# Currently saves around 20% of memory actually used, but slows down operation.
-# bind-enable-huffman
-
+++ /dev/null
-# Here come the local changes the user made, like configuration of
-# the several backends that exist.
-
+++ /dev/null
-# geoip Configuration
-#
-# See for more information https://doc.powerdns.com/md/authoritative/backend-geoip/
-#
-# geoip-database-file=
-# geoip-database-file6=
-# geoip-zones-file=
-# geoip-dnssec-keydir=
+++ /dev/null
-# MySQL Configuration
-#
-# Launch gmysql backend
-launch+=gmysql
-
-# gmysql parameters
-gmysql-host=_DBC_DBSERVER_
-gmysql-port=_DBC_DBPORT_
-gmysql-dbname=_DBC_DBNAME_
-gmysql-user=_DBC_DBUSER_
-gmysql-password=_DBC_DBPASS_
-gmysql-dnssec=yes
-# gmysql-socket=
+++ /dev/null
-# godbc Configuration
-#
-# Uncomment to launch the godbc backend
-#launch+=godbc
-
-#################################
-# godbc-datasource Datasource (DSN) to use
-#
-# godbc-datasource=PowerDNS
-
-#################################
-# godbc-username User to connect as
-#
-# godbc-username=powerdns
-
-#################################
-# godbc-password Password to connect with
-#
-# godbc-password=
+++ /dev/null
-# PostgreSQL Configuration
-#
-# Launch gpgsql backend
-launch+=gpgsql
-
-# gpgsql parameters
-gpgsql-host=_DBC_DBSERVER_
-gpgsql-port=_DBC_DBPORT_
-gpgsql-dbname=_DBC_DBNAME_
-gpgsql-user=_DBC_DBUSER_
-gpgsql-password=_DBC_DBPASS_
-gpgsql-dnssec=yes
+++ /dev/null
-# Configuration for gsqlite
-#
-# Launch gsqlite3
-launch+=gsqlite3
-
-# Database location
-gsqlite3-database=/var/lib/powerdns/pdns.sqlite3
-gsqlite3-dnssec=on
+++ /dev/null
-# LDAP Configuration
-#
-# ldap-host=
-# ldap-method=
-# ldap-basedn=
-# ldap-binddn=
-# ldap-secret=
+++ /dev/null
-# Configuration for the lua backend
-#lua-filename = powerdns-luabackend.lua
-#lua-logging-query = no
-
-# You can also override all the default functionsnames for the luafunctions if you
-# want. The prefix is lua-f_<functionname>=mynewfunction. For example:
-#lua-f_lookup = mynewfunction
-#
-# will call the function 'mynewfunction' for the lookup-routine.
-#
-# If you want your own configuration parameters you can have that too.
-# Just call the function getarg("my_parameter") and it will return the value
-# of 'lua-my_parameter'. For boolean you use the function mustdo("my_parameter").
+++ /dev/null
-#launch+=lua2
-
-## lua2-api Lua backend API version
-#lua2-api=2
-
-## lua2-filename Filename of the script for lua backend
-#lua2-filename=powerdns-luabackend.lua
-
-## lua2-query-logging Logging of the Lua2 Backend
-#lua2-query-logging=no
+++ /dev/null
-# OpenDBX Configuration
-#
-# The backend to use
-# opendbx-backend=
-#
-# The database host to read from
-# opendbx-host-read=
-#
-# The database host to write to
-# opendbx-host-write=
-#
-# The port on which the database hosts listen
-# opendbx-port=
-#
-# The name of the database
-# opendbx-database=
-#
-# The username to connect to the database
-# opendbx-username=
-#
-# The password to connect to the database
-# opendbx-password
+++ /dev/null
-# Configuration for pipe backend
-#
-# pipe-command=
-# pipe-timeout=
-# pipe-regex=
-
+++ /dev/null
-# Config file for the TinyDNS backend
-# Specifies the name of the data file to use.
-# tinydns-dbfile=data.cdb
-
-# Adjusts the TAI value if timestamps are used. These seconds will be added to
-# the start point (1970) and will allow you to adjust for leap seconds. The
-# current default is 11. The last update was on june 30th 2012.
-# tinydns-tai-adjust=11
-#
-# Notify all the slave nameservers on startup. This might cause broadcast storms.
-# tinydns-notify-on-startup=no
-
-# The tinydns-data program can create data.cdb files that have bad/corrupt
-# RDATA. PowerDNS will crash when it tries to read that bad/corrupt data. This
-# option (change to yes), allows you to ignore that bad RDATA to make PowerDNS
-# operate when bad data is in your CDB file. Be aware that the records are then
-# ignored, where tinydns would still send out the bogus data. The option is
-# primarily useful in master mode, as that reads all the packets in the zone to
-# find all the SOA records.
-# tinydns-ignore-bogus-records=no
-
-
-# Enable or Disable location support in the backend. Changing the value to 'no'
-# will make the backend ignore the locations. This then returns all records.
-# When the setting is changed to 'no' an AXFR will also return all the records.
-# With the setting on 'yes' an AXFR will only return records without a location.
-# tinydns-locations=no
+++ /dev/null
-launch+=bind
-bind-config=/etc/powerdns/bindbackend.conf
+++ /dev/null
-Source: pdns
-Section: net
-Priority: extra
-Standards-Version: 3.9.8
-Maintainer: PowerDNS Autobuilder <powerdns.support@powerdns.com>
-Origin: PowerDNS
-Build-Depends: debhelper (>= 9~), dh-autoreconf, dh-systemd, po-debconf, curl, libtool, flex, bison, libmysqlclient-dev, libpq-dev, libssl-dev, libgdbm-dev, libldap2-dev, libsqlite3-dev, dpkg-dev (>= 1.17.0~), libboost-dev, libboost-serialization-dev, libboost-program-options-dev, libboost-test-dev, autotools-dev, automake, autoconf, libluajit5.1-dev, pkg-config, ragel, libgmp-dev, libcurl4-openssl-dev, libzmq-dev, libyaml-cpp-dev (>= 0.5), libgeoip-dev, libmaxminddb-dev, libopendbx1-dev, libcdb-dev, unixodbc-dev (>= 2.3.1), libprotobuf-dev, protobuf-compiler, libp11-kit-dev, libyaml-cpp-dev, @LIBSYSTEMDDEV@ @LIBSODIUMDEV@
-Homepage: http://www.powerdns.com/
-
-Package: pdns-server
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ucf (>= 0.28), adduser, lsb-base (>= 3.2-14)
-Replaces: pdns
-Suggests: pdns-backend
-Description: extremely powerful and versatile nameserver
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This is the authoritative nameserver that answers questions about
- domains that it knows about. It also includes the bind backend that
- allows PowerDNS to retrieve domain info from zone files as used by
- the "bind" software.
-
-Package: pdns-tools
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Replaces: pdns-server (<< 3.4.6-2)
-Breaks: pdns-server (<< 3.4.6-2)
-Description: Tools for DNS debugging by PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains several tools to debug DNS issues. These tools do not
- require any part of the PowerDNS server components to work.
- .
- * dnsbulktest: A resolver stress-tester
- * dnsgram: Show per 5-second statistics to study intermittent resolver issues
- * dnsreplay: Replay a pcap with DNS queries
- * dnsscan: Prints the query-type amounts in a pcap
- * dnsscope: Calculates statistics without replaying traffic
- * dnstcpbench: Perform TCP benchmarking of DNS servers
- * dnswasher: Clean a pcap of identifying IP information
- * ixplore: Explore diffs from IXFRs
- * nsec3dig: Calculate the correctness of NSEC3 proofs
- * saxfr: AXFR zones and show extra information
-
-Package: pdns-server-dbg
-Section: debug
-Architecture: any
-Depends: pdns-server (= ${binary:Version}), ${misc:Depends}
-Description: debugging symbols for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains debugging symbols for PowerDNS to assist in
- debugging, such as gdb. It is not required for normal operation.
-
-Package: pdns-backend-pipe
-Architecture: any
-Depends: pdns-server (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
-Provides: pdns-backend
-Description: pipe/coprocess backend for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains the pipe backend for the PowerDNS nameserver. This
- allows PowerDNS to retrieve domain info from a process that accepts
- questions on stdin and returns answers on stdout.
-
-Package: pdns-backend-ldap
-Architecture: any
-Depends: pdns-server (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
-Provides: pdns-backend
-Description: LDAP backend for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains an LDAP backend for the PowerDNS nameserver.
-
-Package: pdns-backend-geoip
-Architecture: any
-Depends: pdns-server (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
-Recommends: geoip-database
-Provides: pdns-backend
-Description: geoip backend for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains a geoipbackend for the PowerDNS nameserver. This backend
- balances the load throughout the world so that people access the
- geographically nearest available server based on the zonefile that is written
- in yaml.
-
-Package: pdns-backend-mysql
-Architecture: any
-Depends: pdns-server (>= ${source:Version}), ucf (>= 0.28), ${shlibs:Depends}, ${misc:Depends}
-Provides: pdns-backend
-Description: generic MySQL backend for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains a generic MySQL backend for the PowerDNS
- nameserver. It has configurable SQL statements.
-
-Package: pdns-backend-odbc
-Architecture: any
-Depends: pdns-server (>= ${source:Version}), ucf (>= 0.28), ${shlibs:Depends}, ${misc:Depends}
-Provides: pdns-backend
-Description: generic UnixODBC backend for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains a generic UnixODBC backend for the PowerDNS
- nameserver. It has configurable SQL statements.
-
-Package: pdns-backend-pgsql
-Architecture: any
-Depends: pdns-server (>= ${source:Version}), ucf (>= 0.28), ${shlibs:Depends}, ${misc:Depends}
-Provides: pdns-backend
-Description: generic PostgreSQL backend for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains a generic PostgreSQL backend for the PowerDNS
- nameserver. It has configurable SQL statements.
-
-Package: pdns-backend-sqlite3
-Architecture: any
-Depends: pdns-server (>= ${source:Version}), ucf (>= 0.28), ${shlibs:Depends}, ${misc:Depends}, sqlite3
-Provides: pdns-backend
-Description: sqlite 3 backend for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains a generic SQLite 3 backend for PowerDNS.
-
-Package: pdns-backend-lua
-Architecture: any
-Depends: pdns-server (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
-Provides: pdns-backend
-Description: Lua backend for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains the Lua backend for PowerDNS.
-
-Package: pdns-backend-lua2
-Architecture: any
-Depends: pdns-server (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
-Provides: pdns-backend
-Description: New Lua backend for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains the Lua2 backend for PowerDNS.
-
-Package: pdns-backend-remote
-Architecture: any
-Depends: pdns-server (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
-Provides: pdns-backend
-Description: remote backend for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains the remote backend for PowerDNS. It is suitable
- for serving data acquired from an AF_UNIX, pipe, or HTTP connector.
-
-Package: pdns-backend-opendbx
-Architecture: any
-Depends: pdns-server (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
-Provides: pdns-backend
-Description: OpenDBX backend for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains the OpenDBX backend for PowerDNS. Please install
- the libopendbx1-DATABASE package to allow OpenDBX to connect to
- the chosen database.
-
-Package: pdns-backend-mydns
-Architecture: any
-Depends: pdns-server (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
-Provides: pdns-backend
-Description: MyDNS compatibility backend for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains the MyDNS compatibility backend for PowerDNS.
-
-Package: pdns-backend-tinydns
-Architecture: any
-Depends: pdns-server (>= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
-Provides: pdns-backend
-Description: tinydns compatibility backend for PowerDNS
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains the tinydns compatibility backend for PowerDNS.
+++ /dev/null
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: PowerDNS
-Source: https://www.powerdns.com/downloads.html
-
-Files: *
-Copyright: 2002 - 2014 PowerDNS.COM BV and contributors
-License: GPL-2 with OpenSSL Exception
- This program is free software; you can redistribute it and/or modify
- it under the terms of version 2 of the GNU General Public License as
- published by the Free Software Foundation.
- .
- In addition, for the avoidance of any doubt, permission is granted to
- link this program with OpenSSL and to (re)distribute the binaries
- produced as the result of such linking.
- .
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- .
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
-
-Files: debian/*
-Copyright: 2002 - 2004 Wichert Akkermann <wichert@wiggy.net>
- 2004 - 2013 Matthijs Möhlmann <matthijs@cacholong.nl>
- 2012 - 2013 Marc Haber <mh+debian-packages@zugschlus.de>
- 2014 Christian Hofstaedtler <zeha@debian.org>
-License: GPL-2
-
-Files: oraclebackend/*
-Copyright: 2010 - 2011 Maik Zumstrull
- Steinbuch Centre for Computing,
- Karlsruhe Institute of Technology
-License: Expat
-
-Files: install-sh
-Copyright: 1994 X Consortium
-License:
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
- .
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
- .
- Except as contained in this notice, the name of the X Consortium shall not
- be used in advertising or otherwise to promote the sale, use or other deal-
- ings in this Software without prior written authorization from the X Consor-
- tium.
- .
- FSF changes to this file are in the public domain.
-
-Files: pdns/install-sh
-Copyright: 1991 by the Massachusetts Institute of Technology
-License:
- Permission to use, copy, modify, distribute, and sell this software and its
- documentation for any purpose is hereby granted without fee, provided that
- the above copyright notice appear in all copies and that both that
- copyright notice and this permission notice appear in supporting
- documentation, and that the name of M.I.T. not be used in advertising or
- publicity pertaining to distribution of the software without specific,
- written prior permission. M.I.T. makes no representations about the
- suitability of this software for any purpose. It is provided "as is"
- without express or implied warranty.
-
-Files: pdns/ext/yahttp*
-Copyright: 2014 Aki Tuomi
-License: Expat
-
-License: Expat
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
- .
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
-
-License: GPL-2
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License.
- .
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- .
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
-
-License: GPL-2+
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
- .
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- .
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
+++ /dev/null
-$named +pdns +pdns-recursor
+++ /dev/null
-debian/config/pdns.local.geoip.conf
+++ /dev/null
-usr/lib/*/pdns/libgeoipbackend.so*
+++ /dev/null
-#!/bin/sh
-#
-# postinst script for pdns-backend-geo
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-# Activate trigger
-dpkg-trigger pdns-server
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Add call to init script to actually stop pdns.
-
-set -e
-
-if [ -x "/etc/init.d/pdns" ]; then
- invoke-rc.d pdns stop || exit $?
-fi
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-debian/config/pdns.local.ldap.conf
+++ /dev/null
-usr/lib/*/pdns/libldapbackend.so*
-usr/bin/zone2ldap usr/bin/
-debian/config/dnsdomain2.schema etc/ldap/schema/
+++ /dev/null
-debian/tmp/usr/share/man/man1/zone2ldap.1
+++ /dev/null
-#!/bin/sh
-#
-# postinst script for pdns-backend-ldap
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-# Activating trigger
-dpkg-trigger pdns-server
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Add call to init script to actually stop pdns.
-
-set -e
-
-if [ -x "/etc/init.d/pdns" ]; then
- invoke-rc.d pdns stop || exit $?
-fi
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-modules/luabackend/README
+++ /dev/null
-debian/config/pdns.local.lua.conf
+++ /dev/null
-usr/lib/*/pdns/libluabackend.so*
+++ /dev/null
-#!/bin/sh
-#
-# postinst script for pdns-backend-lua
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-# Activate trigger
-dpkg-trigger pdns-server
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Add call to init script to actually stop pdns.
-
-set -e
-
-if [ -x "/etc/init.d/pdns" ]; then
- invoke-rc.d pdns stop || exit $?
-fi
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-debian/config/pdns.local.lua2.conf
+++ /dev/null
-usr/lib/*/pdns/liblua2backend.so*
+++ /dev/null
-#!/bin/sh
-#
-# postinst script for pdns-backend-lua2
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-# Activate trigger
-dpkg-trigger pdns-server
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Add call to init script to actually stop pdns.
-
-set -e
-
-if [ -x "/etc/init.d/pdns" ]; then
- invoke-rc.d pdns stop || exit $?
-fi
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-modules/mydnsbackend/schema.mydns.sql
+++ /dev/null
-usr/lib/*/pdns/libmydnsbackend.so*
+++ /dev/null
-#!/bin/sh
-#
-# postinst script for pdns-backend-mydns
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-# Activate trigger
-dpkg-trigger pdns-server
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Add call to init script to actually stop pdns.
-
-set -e
-
-if [ -x "/etc/init.d/pdns" ]; then
- invoke-rc.d pdns stop || exit $?
-fi
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-modules/gmysqlbackend/dnssec-3.x_to_3.4.0_schema.mysql.sql
-modules/gmysqlbackend/nodnssec-3.x_to_3.4.0_schema.mysql.sql
-modules/gmysqlbackend/schema.mysql.sql
+++ /dev/null
-usr/lib/*/pdns/libgmysqlbackend.so*
-debian/config/pdns.local.gmysql.conf usr/share/pdns-backend-mysql
+++ /dev/null
-#!/bin/sh
-#
-# postinst script for pdns-backend-mysql
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-PKGNAME="pdns-backend-mysql"
-
-# rename ucf-conffile. This was mostly stolen from cacti.postinst after
-# a short discussion on debian-mentors, see
-# http://lists.debian.org/debian-mentors/2013/07/msg00027.html
-# and the following thread. Thanks to Paul Gevers
-renameconffile() {
- oldname="$1"
- newname="$2"
- sourcefile="$3"
- if [ -f $oldname ] ; then
- if [ ! -e $newname ] ; then
- mv $oldname $newname
-# else: Don't do anything, leave old file in place
- fi
- ucf --purge $oldname
- ucfr --purge $PKGNAME $oldname
- elif [ ! -e $newname ] ; then
-# The file was removed, we should respect that. Unfortunately, we don't
-# have a proper way to tell ucf that for the new location, so we need
-# to hack it a bit.
-# We only need to do this if the target does not already exist. If the
-# target already exists, we can later call ucf straight as there
-# is already a version of the file available, although never
-# provided by this package, but we can just propose the new file anyway.
- ucf --debconf-ok $sourcefile $newname
- ucfr $PKGNAME $newname
- rm -f $newname
- fi
-}
-
-if [ "$1" = "configure" ]; then
- if ucfq -w /etc/powerdns/pdns.d/pdns.local.gmysql.conf | grep 'pdns-backend-gmysql' >/dev/null; then
- # before 4.0.0~beta1 (Debian), 4.1.2... (powerdns.com), PKGNAME was incorrectly set to pdns-backend-gmysql. Fix that.
- ucfr --purge 'pdns-backend-gmysql' '/etc/powerdns/pdns.d/pdns.local.gmysql.conf'
- fi
- if [ -n "$2" ] && dpkg --compare-versions "$2" lt 3.3; then
- renameconffile /etc/powerdns/pdns.d/pdns.local.gmysql /etc/powerdns/pdns.d/pdns.local.gmysql.conf /dev/null
- fi
-fi
-
-# Activate trigger
-dpkg-trigger pdns-server
-
-ucfr $PKGNAME /etc/powerdns/pdns.d/pdns.local.gmysql.conf
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Post removal
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-PKGNAME="pdns-backend-mysql"
-
-# Remove configuration file
-if [ "$1" = "purge" ]; then
- # Remove files registered with ucf.
- if command -v ucfq >/dev/null; then
- for file in $(ucfq --with-colons "$PKGNAME" | cut --delimiter=: --fields=1); do
- rm -f ${file}
- ucf --purge ${file}
- ucfr --purge $PKGNAME ${file}
- done
- else
- echo >&2 "ucf no longer installed, not cleaning up"
- fi
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Pre removal
-
-set -e
-
-# Stop pdns.
-if [ -x "/etc/init.d/pdns" ]; then
- invoke-rc.d pdns stop || exit $?
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-modules/godbcbackend/schema.mssql.sql
+++ /dev/null
-usr/lib/*/pdns/libgodbcbackend.so*
-debian/config/pdns.local.godbc.conf usr/share/pdns-backend-godbc
+++ /dev/null
-#!/bin/sh
-#
-# postinst script for pdns-backend-mysql
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-PKGNAME="pdns-backend-odbc"
-
-# rename ucf-conffile. This was mostly stolen from cacti.postinst after
-# a short discussion on debian-mentors, see
-# http://lists.debian.org/debian-mentors/2013/07/msg00027.html
-# and the following thread. Thanks to Paul Gevers
-renameconffile() {
- oldname="$1"
- newname="$2"
- sourcefile="$3"
- if [ -f $oldname ] ; then
- if [ ! -e $newname ] ; then
- mv $oldname $newname
-# else: Don't do anything, leave old file in place
- fi
- ucf --purge $oldname
- ucfr --purge $PKGNAME $oldname
- elif [ ! -e $newname ] ; then
-# The file was removed, we should respect that. Unfortunately, we don't
-# have a proper way to tell ucf that for the new location, so we need
-# to hack it a bit.
-# We only need to do this if the target does not already exist. If the
-# target already exists, we can later call ucf straight as there
-# is already a version of the file available, although never
-# provided by this package, but we can just propose the new file anyway.
- ucf --debconf-ok $sourcefile $newname
- ucfr $PKGNAME $newname
- rm -f $newname
- fi
-}
-
-# Activate trigger
-dpkg-trigger pdns-server
-
-ucfr $PKGNAME /etc/powerdns/pdns.d/pdns.local.godbc.conf
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Post removal
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-PKGNAME="pdns-backend-odbc"
-
-# Remove configuration file
-if [ "$1" = "purge" ]; then
- # Remove files registered with ucf.
- # this has been pulled from aide-common.postrm
-
- UCF="ucf"
- UCFR="ucfr"
-
- if command -v ucfq >/dev/null; then
- for file in $(ucfq --with-colons "$PKGNAME" | cut --delimiter=: --fields=1); do
- for ext in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist; do
- rm -f ${file}$ext
- done
- rm -f ${file}
-
- if command -v $UCF >/dev/null; then
- $UCF --purge ${file}
- fi
- if command -v $UCFR >/dev/null; then
- $UCFR --purge $PKGNAME ${file}
- fi
- done
- else
- echo >&2 "ucf no longer installed, not cleaning up"
- fi
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Pre removal
-
-set -e
-
-# Stop pdns.
-if [ -x "/etc/init.d/pdns" ]; then
- invoke-rc.d pdns stop || exit $?
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-debian/config/pdns.local.opendbx.conf
+++ /dev/null
-usr/lib/*/pdns/libopendbxbackend.so*
+++ /dev/null
-#!/bin/sh
-#
-# postinst script for pdns-backend-opendbx
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-# Activate trigger
-dpkg-trigger pdns-server
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Add call to init script to actually stop pdns.
-
-set -e
-
-if [ -x "/etc/init.d/pdns" ]; then
- invoke-rc.d pdns stop || exit $?
-fi
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-modules/gpgsqlbackend/dnssec-3.x_to_3.4.0_schema.pgsql.sql
-modules/gpgsqlbackend/nodnssec-3.x_to_3.4.0_schema.pgsql.sql
-modules/gpgsqlbackend/schema.pgsql.sql
+++ /dev/null
-usr/lib/*/pdns/libgpgsqlbackend.so*
-debian/config/pdns.local.gpgsql.conf usr/share/pdns-backend-pgsql
+++ /dev/null
-#!/bin/sh
-#
-# postinst script for pdns-backend-pgsql
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-PKGNAME="pdns-backend-pgsql"
-
-# rename ucf-conffile. This was mostly stolen from cacti.postinst after
-# a short discussion on debian-mentors, see
-# http://lists.debian.org/debian-mentors/2013/07/msg00027.html
-# and the following thread. Thanks to Paul Gevers
-renameconffile() {
- oldname="$1"
- newname="$2"
- sourcefile="$3"
- if [ -f $oldname ] ; then
- if [ ! -e $newname ] ; then
- mv $oldname $newname
-# else: Don't do anything, leave old file in place
- fi
- ucf --purge $oldname
- ucfr --purge $PKGNAME $oldname
- elif [ ! -e $newname ] ; then
-# The file was removed, we should respect that. Unfortunately, we don't
-# have a proper way to tell ucf that for the new location, so we need
-# to hack it a bit.
-# We only need to do this if the target does not already exist. If the
-# target already exists, we can later call ucf straight as there
-# is already a version of the file available, although never
-# provided by this package, but we can just propose the new file anyway.
- ucf --debconf-ok $sourcefile $newname
- ucfr $PKGNAME $newname
- rm -f $newname
- fi
-}
-
-if [ "$1" = "configure" ]; then
- if [ -n "$2" ] && dpkg --compare-versions "$2" lt 3.3; then
- renameconffile /etc/powerdns/pdns.d/pdns.local.gpgsql /etc/powerdns/pdns.d/pdns.local.gpgsql.conf /dev/null
- fi
-fi
-
-# Activate trigger
-dpkg-trigger pdns-server
-
-ucfr $PKGNAME /etc/powerdns/pdns.d/pdns.local.gpgsql.conf
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Post removal
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-PKGNAME="pdns-backend-pgsql"
-
-# Remove configuration file
-if [ "$1" = "purge" ]; then
- # Remove files registered with ucf.
- # this has been pulled from aide-common.postrm
-
- UCF="ucf"
- UCFR="ucfr"
-
- if command -v ucfq >/dev/null; then
- for file in $(ucfq --with-colons "$PKGNAME" | cut --delimiter=: --fields=1); do
- for ext in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist; do
- rm -f ${file}$ext
- done
- rm -f ${file}
-
- if command -v $UCF >/dev/null; then
- $UCF --purge ${file}
- fi
- if command -v $UCFR >/dev/null; then
- $UCFR --purge $PKGNAME ${file}
- fi
- done
- else
- echo >&2 "ucf no longer installed, not cleaning up"
- fi
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Pre removal
-
-set -e
-
-# Stop pdns.
-if [ -x "/etc/init.d/pdns" ]; then
- invoke-rc.d pdns stop || exit $?
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-debian/config/pdns.local.pipe.conf
+++ /dev/null
-usr/lib/*/pdns/libpipebackend.so*
+++ /dev/null
-#!/bin/sh
-#
-# postinst script for pdns-backend-pipe
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-# Activate trigger
-dpkg-trigger pdns-server
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Add call to init script to actually stop pdns.
-
-set -e
-
-if [ -x "/etc/init.d/pdns" ]; then
- invoke-rc.d pdns stop || exit $?
-fi
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-usr/lib/*/pdns/libremotebackend.so*
+++ /dev/null
-#!/bin/sh
-#
-# postinst script for pdns-backend-remote
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-# Activate trigger
-dpkg-trigger pdns-server
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Add call to init script to actually stop pdns.
-
-set -e
-
-if [ -x "/etc/init.d/pdns" ]; then
- invoke-rc.d pdns stop || exit $?
-fi
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-var/lib/powerdns
+++ /dev/null
-modules/gsqlite3backend/dnssec-3.x_to_3.4.0_schema.sqlite3.sql
-modules/gsqlite3backend/nodnssec-3.x_to_3.4.0_schema.sqlite3.sql
-modules/gsqlite3backend/schema.sqlite3.sql
+++ /dev/null
-usr/lib/*/pdns/libgsqlite3backend.so*
-debian/config/pdns.local.gsqlite3.conf usr/share/pdns-backend-sqlite3
+++ /dev/null
-#! /bin/sh
-#
-# postinst script for pdns-backend-sqlite3
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-PKGNAME="pdns-backend-sqlite3"
-
-# rename ucf-conffile. This was mostly stolen from cacti.postinst after
-# a short discussion on debian-mentors, see
-# http://lists.debian.org/debian-mentors/2013/07/msg00027.html
-# and the following thread. Thanks to Paul Gevers
-renameconffile() {
- oldname="$1"
- newname="$2"
- sourcefile="$3"
- if [ -f $oldname ] ; then
- if [ ! -e $newname ] ; then
- mv $oldname $newname
-# else: Don't do anything, leave old file in place
- fi
- ucf --purge $oldname
- ucfr --purge $PKGNAME $oldname
- elif [ ! -e $newname ] ; then
-# The file was removed, we should respect that. Unfortunately, we don't
-# have a proper way to tell ucf that for the new location, so we need
-# to hack it a bit.
-# We only need to do this if the target does not already exist. If the
-# target already exists, we can later call ucf straight as there
-# is already a version of the file available, although never
-# provided by this package, but we can just propose the new file anyway.
- ucf --debconf-ok $sourcefile $newname
- ucfr $PKGNAME $newname
- rm -f $newname
- fi
-}
-
-if [ "$1" = "configure" ]; then
- if [ -n "$2" ] && dpkg --compare-versions "$2" lt 3.3; then
- renameconffile /etc/powerdns/pdns.d/pdns.local.gsqlite3 /etc/powerdns/pdns.d/pdns.local.gsqlite3.conf /dev/null
- fi
-fi
-
-ucfr $PKGNAME /etc/powerdns/pdns.d/pdns.local.gsqlite3.conf
-
-# Activate trigger
-dpkg-trigger pdns-server
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Post removal
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-PKGNAME="pdns-backend-sqlite3"
-
-# Remove configuration file
-if [ "$1" = "purge" ]; then
- # Remove files registered with ucf.
- # this has been pulled from aide-common.postrm
-
- UCF="ucf"
- UCFR="ucfr"
-
- if command -v ucfq >/dev/null; then
- for file in $(ucfq --with-colons "$PKGNAME" | cut --delimiter=: --fields=1); do
- for ext in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist; do
- rm -f ${file}$ext
- done
- rm -f ${file}
-
- if command -v $UCF >/dev/null; then
- $UCF --purge ${file}
- fi
- if command -v $UCFR >/dev/null; then
- $UCFR --purge $PKGNAME ${file}
- fi
- done
- else
- echo >&2 "ucf no longer installed, not cleaning up"
- fi
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Pre removal
-
-set -e
-
-# Stop pdns.
-if [ -x "/etc/init.d/pdns" ]; then
- invoke-rc.d pdns stop || exit $?
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-debian/config/pdns.local.tinydns.conf
+++ /dev/null
-usr/lib/*/pdns/libtinydnsbackend.so*
+++ /dev/null
-#!/bin/sh
-#
-# postinst script for pdns-backend-tinydns
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-# Activate trigger
-dpkg-trigger pdns-server
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Add call to init script to actually stop pdns.
-
-set -e
-
-if [ -x "/etc/init.d/pdns" ]; then
- invoke-rc.d pdns stop || exit $?
-fi
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-Notes about Debian's PowerDNS package
--------------------------------------
-
- + Introduction
-
-PowerDNS is a powerful DNS server, it has the ability to communicate
-with several backends, including MySQL, PostgreSQL, LDAP etc.
-
- + Configure
-
-The configuration for PowerDNS is separated in different files. In
-/etc/powerdns/pdns.conf are the default settings and in
-/etc/powerdns/pdns.d/pdns.local.conf are the user changes. The
-configuration for specific backends can go into
-/etc/powerdns/pdns.d/pdns.local.conf or any other file in
-/etc/powerdns/pdns.d/ending in .conf. Please note that there can only
-be a single launch= statement, and that you need to take care that
-your editor does not leave backup files around, as PowerDNS reads
-every file in the directory (see
-http://wiki.powerdns.com/trac/ticket/493)
-
- + Chroot
-
-PowerDNS can run in a chrooted environment but this has some disadvantages.
-It is not easy to connect via a socket to another service like MySQL. And when
-using the sqlite backend you need to move the database in your chroot. If you
-don't have these restrictions you can easily enable the chroot option.
-
+++ /dev/null
-#!/bin/sh
-#
-# Load several components for debconf configuration
-
-set -e
-
-. /usr/share/debconf/confmodule
-
-PDNSCONF=/etc/powerdns/pdns.conf
-
-db_version 2.0
-if [ ! -f $PDNSCONF ]; then
- db_input medium pdns-server/localaddress || true
-
- db_go || true
-else
- LOCAL=`(cat $PDNSCONF | grep "^local-address=" | awk -F '=' '{print $2}') || true`
-
- if [ ! -z "$LOCAL" ]; then
- db_set pdns-server/localaddress $LOCAL
- else
- db_set pdns-server/localaddress "0.0.0.0"
- fi
-
- db_fset pdns-server/localaddress seen true
-fi
-
-db_stop || true
-
-exit 0
-
+++ /dev/null
-etc/powerdns/pdns.d
-etc/resolvconf
-etc/resolvconf/update.d
+++ /dev/null
-debian/config/pdns.local.bind.conf
+++ /dev/null
-usr/bin/pdns_control
-usr/bin/zone2json
-usr/bin/zone2sql
-usr/bin/pdnsutil
-usr/lib/*/pdns/libbindbackend.so*
-usr/lib/*/pdns/librandombackend.so*
-usr/sbin/pdns_server
-debian/config/pdns.local.conf usr/share/pdns-server/
-debian/config/pdns usr/share/pdns-server/
-debian/config/pdns.simplebind.conf usr/share/pdns-server/
-debian/resolvconf/pdns etc/resolvconf/update.d/
-debian/insserv.d/pdns-server etc/insserv.d/
-lib/systemd/system/pdns.service
-lib/systemd/system/pdns@.service
+++ /dev/null
-debian/tmp/usr/share/man/man1/pdns_control.1
-debian/tmp/usr/share/man/man1/pdns_server.1
-debian/tmp/usr/share/man/man1/zone2sql.1
-debian/tmp/usr/share/man/man1/zone2json.1
-debian/tmp/usr/share/man/man1/pdnsutil.1
+++ /dev/null
-#!/bin/sh
-### BEGIN INIT INFO
-# Provides: pdns
-# Required-Start: $network $remote_fs $syslog
-# Required-Stop: $network $remote_fs $syslog
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Should-Start: slapd
-# Should-Stop: slapd
-# Short-Description: PowerDNS Authoritative Name Server
-# Description: PDNS is a versatile high performance authoritative nameser
-### END INIT INFO
-
-PATH=/bin:/sbin:/usr/bin:/usr/sbin
-BINARYPATH=/usr/bin
-SBINARYPATH=/usr/sbin
-SOCKETPATH=/var/run
-
-ODESC="PowerDNS Authoritative Name Server"
-DESC="$ODESC"
-NAME=pdns
-DAEMON=/usr/sbin/pdns_server
-DAEMON_ARGS=""
-CONTROL=/usr/bin/pdns_control
-PIDFILE=/var/run/$NAME.pid
-SCRIPTNAME=/etc/init.d/$NAME
-
-[ -x "$DAEMON" ] || exit 0
-
-[ -r /etc/default/pdns ] && . /etc/default/pdns
-
-# Make sure that /var/run exists
-mkdir -p $SOCKETPATH
-cd $SOCKETPATH
-
-# Handle instance scripts
-suffix=$(basename $0 | cut -d- -f2- -s)
-
-if [ -n "$suffix" ]; then
- SUFFIX="--config-name=$suffix"
- DAEMON_ARGS="$DAEMON_ARGS $SUFFIX"
- NAME="$NAME-$suffix"
- DESC="$DESC (config name $suffix)"
- PIDFILE="/var/run/$NAME-$suffix.pid"
-fi
-
-# Define LSB log_* functions.
-. /lib/lsb/init-functions
-
-# function to invoke properly parametrized pdns_control
-doPC()
-{
- $CONTROL $SUFFIX $1 $2 2> /dev/null
- return $?
-}
-
-isrunning()
-{
- doPC ping > /dev/null
- return $?
-}
-
-#
-# Function that starts the daemon/service
-#
-do_start()
-{
- # Return
- # 0 if daemon has been started
- # 1 if daemon was already running
- # 2 if daemon could not be started
- if isrunning; then
- return 1
- fi
- start-stop-daemon --start --quiet \
- --pidfile $PIDFILE --exec $DAEMON -- \
- $DAEMON_ARGS --daemon --guardian=yes \
- || return 2
-}
-
-#
-# Function that stops the daemon/service
-#
-do_stop()
-{
- # Return
- # 0 if daemon has been stopped
- # 1 if daemon was already stopped
- # 2 if daemon could not be stopped
- # other if a failure occurred
- doPC quit >/dev/null
- RETVAL="2"
- for sec in $(seq 1 5); do
- if ! isrunning; then
- RETVAL="0"
- break
- fi
- sleep 1
- done
- [ "$RETVAL" = 2 ] && return 2
- rm -f $PIDFILE
-}
-
-case "$1" in
- start)
- [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
- do_start
- case "$?" in
- 0|1)
- [ "$VERBOSE" != no ] && log_end_msg 0
- exit 0
- ;;
- 2)
- [ "$VERBOSE" != no ] && log_end_msg 1
- exit 1
- ;;
- esac
- ;;
- stop)
- [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
- do_stop
- case "$?" in
- 0|1)
- [ "$VERBOSE" != no ] && log_end_msg 0
- exit 0
- ;;
- 2)
- [ "$VERBOSE" != no ] && log_end_msg 1
- exit 1
- ;;
- esac
- ;;
- status)
- if isrunning; then
- log_success_msg "$NAME is running: $(doPC status)"
- exit 0
- else
- log_failure_msg "$NAME is not running"
- exit 3
- fi
- ;;
- force-stop)
- [ "$VERBOSE" != no ] && log_daemon_msg "Killing $ODESC (all instances)" "$NAME"
- kill -9 $(pidof pdns_server)
- case "$?" in
- 0)
- [ "$VERBOSE" != no ] && log_end_msg 0
- exit 0
- ;;
- 1)
- [ "$VERBOSE" != no ] && log_end_msg 1
- exit 1
- ;;
- esac
- ;;
- restart)
- log_daemon_msg "Restarting $DESC" "$NAME"
- do_stop
- case "$?" in
- 0|1)
- do_start
- case "$?" in
- 0)
- log_end_msg 0
- exit 0
- ;;
- 1)
- log_end_msg 1 # Old process is still running
- exit 1
- ;;
- *)
- log_end_msg 1 # Failed to start
- exit 1
- ;;
- esac
- ;;
- *)
- # Failed to stop
- log_end_msg 1
- exit 1
- ;;
- esac
- ;;
- reload|force-reload)
- log_daemon_msg "Reloading $DESC" "$NAME"
- if isrunning; then
- doPC cycle >/dev/null
- case "$?" in
- 0)
- [ "$VERBOSE" != no ] && log_end_msg 0
- exit 0
- ;;
- 1)
- [ "$VERBOSE" != no ] && log_end_msg 1
- exit 1
- ;;
- esac
- else
- log_end_msg 0
- exit 7
- fi
- ;;
- monitor)
- if isrunning; then
- echo "already running"
- exit 1
- else
- $DAEMON $DAEMON_ARGS --daemon=no --guardian=no --control-console --loglevel=9
- exit 0
- fi
- ;;
- dump)
- if isrunning; then
- doPC list
- exit 0
- else
- echo "not running"
- exit 7
- fi
- ;;
- show)
- if isrunning; then
- if [ $# -lt 2 ]; then
- echo "Insufficient parameters"
- exit 2
- fi
- echo -n "$2="
- doPC show $2
- exit 0
- else
- echo "not running"
- exit 7
- fi
- ;;
- mrtg)
- if isrunning; then
- if [ $# -lt 2 ]; then
- echo "Insufficient parameters"
- exit 2
- fi
- doPC show $2
- if [ "$3x" != "x" ]; then
- doPC show $3
- else
- echo 0
- fi
- doPC uptime
- echo "$DESC"
- exit 0
- else
- echo "not running"
- exit 7
- fi
- ;;
- cricket)
- if isrunning; then
- if [ $# -lt 2 ]; then
- echo "Insufficient parameters"
- exit 1
- fi
- doPC show $2
- exit 0
- else
- echo "not running"
- exit 7
- fi
- ;;
- *)
- echo "Usage: $SCRIPTNAME {start|stop|status|force-stop|restart|reload|monitor|dump|show|mrtg|cricket}"
- ;;
-esac
-
-exit 0
+++ /dev/null
-#!/bin/sh
-#
-# postinst script for pdns-server
-
-set -e
-
-# Load debconf
-. /usr/share/debconf/confmodule
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-PKGNAME="pdns-server"
-
-PDNSCONF=/etc/powerdns/pdns.conf
-PDNSDEFAULT=/etc/default/pdns
-PDNSDIR=/etc/powerdns/pdns.d
-PDNSLOCAL=$PDNSDIR/pdns.local.conf
-
-# Temporary files
-PDNSCONFTEMP=`mktemp`
-PDNSLOCALTEMP=`mktemp`
-PDNSDEFAULTTEMP=`mktemp`
-
-# rename ucf-conffile. This was mostly stolen from cacti.postinst after
-# a short discussion on debian-mentors, see
-# http://lists.debian.org/debian-mentors/2013/07/msg00027.html
-# and the following thread. Thanks to Paul Gevers
-renameconffile() {
- oldname="$1"
- newname="$2"
- sourcefile="$3"
- if [ -f $oldname ] ; then
- if [ ! -e $newname ] ; then
- mv $oldname $newname
-# else: Don't do anything, leave old file in place
- fi
- ucf --purge $oldname
- ucfr --purge $PKGNAME $oldname
- elif [ ! -e $newname ] ; then
-# The file was removed, we should respect that. Unfortunately, we don't
-# have a proper way to tell ucf that for the new location, so we need
-# to hack it a bit.
-# We only need to do this if the target does not already exist. If the
-# target already exists, we can later call ucf straight as there
-# is already a version of the file available, although never
-# provided by this package, but we can just propose the new file anyway.
- ucf --debconf-ok $sourcefile $newname
- ucfr $PKGNAME $newname
- rm -f $newname
- fi
-}
-
-
-case "$1" in
- configure)
- if [ -z "`getent group pdns`" ]; then
- addgroup --quiet --system pdns
- fi
- if [ -z "`getent passwd pdns`" ]; then
- echo -n "Creating user and group pdns..."
- adduser --quiet --system --home /var/spool/powerdns --shell /bin/false --ingroup pdns --disabled-password --disabled-login --gecos "PowerDNS" pdns
- echo "done"
- fi
-
- # Fill the temporary files with config items.
- cat /usr/share/pdns-server/pdns.conf > $PDNSCONFTEMP
- cat /usr/share/pdns-server/pdns.local.conf > $PDNSLOCALTEMP
- cat /usr/share/pdns-server/pdns > $PDNSDEFAULTTEMP
-
- # Do we listen on a specified address
- db_get pdns-server/localaddress || true
- if [ ! -z "$RET" ]; then
- sed -i -e "s|^\(#\)\?\(# \)\?local-address=.*$|local-address=$RET|" $PDNSCONFTEMP
- fi
-
- # this can be removed once we do not have to update from
- # wheezy (pdns 3.1) any more. Note: there was never pdns 3.2 in Debian
- if [ -n "$2" ] && dpkg --compare-versions "$2" lt 3.3; then
- renameconffile $PDNSDIR/pdns.local $PDNSDIR/pdns.local.conf $PDNSLOCALTEMP
- renameconffile $PDNSDIR/pdns.simplebind $PDNSDIR/pdns.simplebind.conf /usr/share/pdns-server/pdns.simplebind.conf
- fi
-
- # register configuration files with ucf
- ucfr $PKGNAME $PDNSCONF
- ucfr $PKGNAME $PDNSDEFAULT
- ucfr $PKGNAME $PDNSLOCAL
- ucfr $PKGNAME $PDNSDIR/pdns.simplebind.conf
-
-
- # Install the new configuration files if the user wants it.
- ucf --debconf-ok $PDNSCONFTEMP $PDNSCONF
- ucf --debconf-ok $PDNSDEFAULTTEMP $PDNSDEFAULT
- ucf --debconf-ok $PDNSLOCALTEMP $PDNSLOCAL
- ucf --debconf-ok /usr/share/pdns-server/pdns.simplebind.conf $PDNSDIR/pdns.simplebind.conf
-
- # Stop the debconf stuff
- db_stop || true
-
- # Clean up temporary files.
- rm -f $PDNSCONFTEMP $PDNSLOCALTEMP $PDNSDEFAULTTEMP
-
- # There could be passwords in these files. PowerDNS first reads the
- # configuration files and then drop root privileges.
- if [ -z "$2" ]; then
- [ -e $PDNSCONF ] && chmod 0600 $PDNSCONF
- [ -e $PDNSLOCAL ] && chmod 0600 $PDNSLOCAL
- [ -d $PDNSDIR ] && chmod 0755 $PDNSDIR
- [ -e $PDNSDEFAULT ] && chmod 0644 $PDNSDEFAULT
- fi
-
- # If we still have the default config, make sure bindbackend.conf exists
- PDNSBIND="/etc/powerdns/pdns.d/pdns.simplebind.conf"
- PDNSBINDBACKENDCONF="/etc/powerdns/bindbackend.conf"
- if [ -e "$PDNSBIND" ]; then
- if grep -q "^bind-config=$PDNSBINDBACKENDCONF$" $PDNSBIND; then
- touch $PDNSBINDBACKENDCONF
- fi
- fi
-
- ;;
-
- triggered)
- if [ -x /usr/sbin/invoke-rc.d ]; then
- invoke-rc.d pdns restart || exit $?
- else
- /etc/init.d/pdns restart || exit $?
- fi
-
- # Stop the debconf stuff
- db_stop || true
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# Recover from incorrect init.d script headers in version 2.9.22-1 and earlier
-if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "2.9.22-1" \
- && [ -f /etc/rc0.d/K[0-9][0-9]pdns ] \
- && ! [ -f /etc/rc1.d/K[0-9][0-9]pdns ]; then
- update-rc.d -f pdns remove
-fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# postrm script for pdns-server
-
-set -e
-
-if [ -n "$PDNSDEBUG" ]; then
- echo "now debugging $0 $@"
- set -x
-fi
-
-PKGNAME="pdns-server"
-
-case "$1" in
- remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
-
- purge)
- # Remove pseudo-conffile.
- rm -f /etc/powerdns/bindbackend.conf
-
- # Remove files registered with ucf.
- # this has been pulled from aide-common.postrm
-
- UCF="ucf"
- UCFR="ucfr"
-
- if command -v ucfq >/dev/null; then
- for file in $(ucfq --with-colons "$PKGNAME" | cut --delimiter=: --fields=1); do
- for ext in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist; do
- rm -f ${file}$ext
- done
- rm -f ${file}
-
- if command -v $UCF >/dev/null; then
- $UCF --purge ${file}
- fi
- if command -v $UCFR >/dev/null; then
- $UCFR --purge $PKGNAME ${file}
- fi
- done
- else
- echo >&2 "ucf no longer installed, not cleaning up"
- fi
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-Template: pdns-server/localaddress
-Type: string
-_Description: IP address where PowerDNS should listen on:
- If you have multiple IPs, the default behaviour of binding to all addresses
- can cause the OS to select the wrong IP for outgoing packets, so it is
- recommended to bind PowerDNS to a specific IP here.
+++ /dev/null
-usr/bin/calidns
-usr/bin/dnsbulktest
-usr/bin/dnsgram
-usr/bin/dnspcap2calidns
-usr/bin/dnspcap2protobuf
-usr/bin/dnsreplay
-usr/bin/dnsscan
-usr/bin/dnsscope
-usr/bin/dnstcpbench
-usr/bin/dnswasher
-usr/bin/dumresp
-usr/bin/ixfrdist
-usr/bin/ixplore
-usr/bin/nproxy
-usr/bin/nsec3dig
-usr/bin/pdns_notify
-usr/bin/saxfr
-usr/bin/sdig
-lib/systemd/system/ixfrdist.service
-lib/systemd/system/ixfrdist@.service
-etc/powerdns/ixfrdist.example.yml
+++ /dev/null
-debian/tmp/usr/share/man/man1/calidns.1
-debian/tmp/usr/share/man/man1/dnsbulktest.1
-debian/tmp/usr/share/man/man1/dnsgram.1
-debian/tmp/usr/share/man/man1/dnspcap2calidns.1
-debian/tmp/usr/share/man/man1/dnspcap2protobuf.1
-debian/tmp/usr/share/man/man1/dnsreplay.1
-debian/tmp/usr/share/man/man1/dnsscan.1
-debian/tmp/usr/share/man/man1/dnsscope.1
-debian/tmp/usr/share/man/man1/dnstcpbench.1
-debian/tmp/usr/share/man/man1/dnswasher.1
-debian/tmp/usr/share/man/man1/dumresp.1
-debian/tmp/usr/share/man/man1/ixfrdist.1
-debian/tmp/usr/share/man/man5/ixfrdist.yml.5
-debian/tmp/usr/share/man/man1/ixplore.1
-debian/tmp/usr/share/man/man1/nproxy.1
-debian/tmp/usr/share/man/man1/nsec3dig.1
-debian/tmp/usr/share/man/man1/pdns_notify.1
-debian/tmp/usr/share/man/man1/saxfr.1
-debian/tmp/usr/share/man/man1/sdig.1
+++ /dev/null
-[type: gettext/rfc822deb] pdns-server.templates
+++ /dev/null
-#
-# Translators, if you are not familiar with the PO format, gettext
-# documentation is worth reading, especially sections dedicated to
-# this format, e.g. by running:
-# info -n '(gettext)PO Files'
-# info -n '(gettext)Header Entry'
-#
-# Some information specific to po-debconf are available at
-# /usr/share/doc/po-debconf/README-trans
-# or http://www.debian.org/intl/l10n/po-debconf/README-trans
-#
-# Developers do not need to manually edit POT or PO files.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2007-01-27 22:44+0100\n"
-"Last-Translator: Jan Outrata <outrataj@upcase.inf.upol.cz>\n"
-"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
-"Language: cs\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "IP adresa, na které má PowerDNS naslouchat:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"Pokud máte více IP adres, může výchozí napojení na všechny adresy způsobit, "
-"že OS vybere pro odchozí pakety špatnou IP, takže je doporučeno PowerDNS "
-"napojit na specifickou IP adresu."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Seznam podsítí, které je povoleno začlenit:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Zde zadejte, oddělené čárkami, podsítě, které je povoleno začlenit. Možné "
-"hodnoty jsou 127.0.0.1 pro IP adresu a 192.168.0.0/24 pro podsíť."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "Chcete spustit server PowerDNS automaticky?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Pokud zde odpovíte kladně, bude inicializační skript automaticky "
-#~ "startovat autoritativní jmenný server PowerDNS."
+++ /dev/null
-# Danish translation pdns.
-# Copyright (C) 2010 pdns & nedenstående oversættere.
-# This file is distributed under the same license as the pdns package.
-# Joe Hansen <joedalton2@yahoo.dk>, 2010.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2010-06-11 17:30+01:00\n"
-"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
-"Language-Team: Danish <debian-l10n-danish@lists.debian.org> \n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "IP-adresse hvorpå PowerDNS skal lytte:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"Hvis du har flere IP'er, kan standardopførelsen for tildeling til alle "
-"adresser medføre at operativsystemet vælger den forkerte IP til udgående "
-"pakker, så det anbefales at tildele PowerDNS en specifik IP her."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Liste af undernet som har tilladelse til rekursiv:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Indtast her, kommaadskilt, de undernet som har tilladelse til rekursiv. "
-"Tilladte værdier er 127.0.0.1 for en ip-adresse og 192.168.0.0/24 for et "
-"undernet."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "Ønsker du automatisk at starte PowerDNS-serveren?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Hvis du accepterer her, vil et opstartsskript blive brugt til automatisk "
-#~ "at starte den autoritære PowerDNS-navneserver."
+++ /dev/null
-# translation of de.po to German
-#
-# Translators, if you are not familiar with the PO format, gettext
-# documentation is worth reading, especially sections dedicated to
-# this format, e.g. by running:
-# info -n '(gettext)PO Files'
-# info -n '(gettext)Header Entry'
-# Some information specific to po-debconf are available at
-# /usr/share/doc/po-debconf/README-trans
-# or http://www.debian.org/intl/l10n/po-debconf/README-trans
-# Developers do not need to manually edit POT or PO files.
-# Christoph Haas <email@christoph-haas.de>, 2005.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: de\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2006-05-11 21:59+0200\n"
-"Last-Translator: Christoph Haas <email@christoph-haas.de>\n"
-"Language-Team: <de@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "IP-Adresse, an der PowerDNS Anfragen entgegen nimmt."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"Falls sie mehrere IP-Adressen haben, bindet sich PowerDNS standardmäßig an "
-"alle Adressen. Möglicherweise wählt das Betriebssystem dadurch aber die "
-"falsche Adresse für ausgehende Datenpakete aus. Es wird empfohlen, die IP-"
-"Adresse hier explizit anzugeben."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Liste der Subnetze, die rekursive Anfragen stellen dürfen:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Geben Sie hier - durch Kommas getrennt - die Subnetze an, die rekursive "
-"Anfragen stellen dürfen. Erlaubte Werte sind z.B. 127.0.0.1 für eine IP-"
-"Adresse oder 192.168.0.0/24 für ein Subnetz."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "Soll der PowerDNS-Server automatisch gestartet werden?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Wenn Sie hier \"OK\" auswählen, wird im Init-Skript der autoritative "
-#~ "Nameserver automatisch mit gestartet."
+++ /dev/null
-# pdns po-debconf translation to Spanish
-# Copyright (C) 2008 Software in the Public Interest
-# This file is distributed under the same license as the pdns package.
-#
-# Changes:
-# - Initial translation
-# Alba Ferri Fitó <branvan2k@gmail.com>, 2008
-# - Updates
-# Alba Ferri Fitó <branvan2k@gmail.com>, 2008
-#
-# Traductores, si no conoce el formato PO, merece la pena leer la
-# documentación de gettext, especialmente las secciones dedicadas a este
-# formato, por ejemplo ejecutando:
-# info -n '(gettext)PO Files'
-# info -n '(gettext)Header Entry'
-#
-# Equipo de traducción al español, por favor, lean antes de traducir
-# los siguientes documentos:
-#
-# - El proyecto de traducción de Debian al español
-# http://www.debian.org/intl/spanish/
-# especialmente las notas de traducción en
-# http://www.debian.org/intl/spanish/notas
-#
-# - La guía de traducción de po's de debconf:
-# /usr/share/doc/po-debconf/README-trans
-# o http://www.debian.org/intl/l10n/po-debconf/README-trans
-#
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns_2.9.21.1.0-1\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2008-26-11 04:36+0200\n"
-"Last-Translator: Alba Ferri <branvan2k@gmail.com>\n"
-"Language-Team: Spanish <debian-l10n-spanish@lists.debian.org>\n"
-"Language: es\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "Dirección IP en la que debe escuchar PowerDNS:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"Si posee múltiples IP, el comportamiento por omisión de vincular todas las "
-"direcciones puede causar que el Sistema Operativo seleccione la IP "
-"incorrecta para los paquetes salientes, por tanto se recomienda vincular "
-"PowerDNS a una IP específica."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Lista de subredes permitidas a las que se puede acceder:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Introduzca aquí, separadas por comas, las subredes permitidas a las que se "
-"puede acceder. Los valores permitidos son 127.0.0.1 para una dirección ip y "
-"192.168.0.0/24 para una subred."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "¿Desea iniciar el servidor PowerDNS automáticamente?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Si acepta, un script de inicio se usará para iniciar automáticamente el "
-#~ "servidor de nombres autoritario de PowerDNS."
+++ /dev/null
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# Piarres Beobide <pi@beobide.net>, 2009.
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2009-10-29 09:31+0200\n"
-"Last-Translator: Piarres Beobide <pi@beobide.net>\n"
-"Language-Team: Euskara <debian-l10n-basque@lists.debian.org\n"
-"Language: eu\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Virtaal 0.4.1\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "PowerDNS-ek entzun behar duen IP helbidea:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"IP helbide anitz adituzu helbide guztietara lotzeko lehenetsitako portaera k "
-"SE-ak kanporako paketeetan okerreko IP helbidea hautatzea, beraz "
-"gomendagarria da PowerDNS IP zehatz batera hemen lotzea."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Errekurtsoa erbaili dezaketen azpisare zerrenda:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"IDatzi hemen, gakoz bereizirik errekurtsoa erabili dezateken azpisareak. "
-"Onartzen diren balio formatua 127.0.0.1 ip helbideeentzat eta 192.168.0.0/24 "
-"azpisareentzat."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "PowerDNS zerbitzaria automatikoki abiaraztea nahi al duzu?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Hemen onartuaz hasiera-script bat erabiliko da PowerDNS izen-zerbitzaria "
-#~ "automatikoki abiarazteko."
+++ /dev/null
-# Copyright (C) 2009
-# This file is distributed under the same license as the pdns package.
-#
-# Esko Arajärvi <edu@iki.fi>, 2009.
-msgid ""
-msgstr ""
-"Project-Id-Version: \n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2009-11-01 20:50+0200\n"
-"Last-Translator: Esko Arajärvi <edu@iki.fi>\n"
-"Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\n"
-"Language: fi\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 1.0\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "IP-osoite, jota PowerDNS:n tulisi kuunnella:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"Oletuksena PowerDNS kuuntelee kaikkia osoitteita. Jos järjestelmällä on "
-"useampia IP-osoitteita, käyttöjärjestelmä saattaa valita väärän IP-osoitteen "
-"lähteville paketeille. Tästä syystä on suositeltavaa määritellä tässä tietty "
-"IP-osoite."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Aliverkot, jotka saavat tehdä rekursiivisia kyselyitä:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Anna pilkuin eroteltuina luettelo aliverkoista, jotka saavat tehdä "
-"rekursiivisia kyselyitä. Sallitut muodot ovat 127.0.0.1 IP-osoitteille ja "
-"192.168.0.0/24 aliverkoille."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "Tulisiko the PowerDNS-palvelin käynnistää automaattisesti?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Jos valitset tämän vaihtoehdon, PowerDNS käynnistetään automaattisesti "
-#~ "määräävänä nimipalvelimena käyttäen käynnistyskomentosarjaa."
+++ /dev/null
-# Translators, if you are not familiar with the PO format, gettext
-# documentation is worth reading, especially sections dedicated to
-# this format, e.g. by running:
-# info -n '(gettext)PO Files'
-# info -n '(gettext)Header Entry'
-# Some information specific to po-debconf are available at
-# /usr/share/doc/po-debconf/README-trans
-# or http://www.debian.org/intl/l10n/po-debconf/README-trans
-# Developers do not need to manually edit POT or PO files.
-#
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2006-05-14 14:55+0200\n"
-"Last-Translator: Jean-Luc Coulon (f5ibh) <jean-luc.coulon@wanadoo.fr>\n"
-"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
-"Language: fr\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=iso-8859-15\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "Adresse IP où PowerDNS doit être à l'écoute :"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"Si vous utilisez plusieurs adresses IP, le comportement par défaut est "
-"d'écouter sur chacune d'entre-elles, ce qui peut conduire le système "
-"d'exploitation à choisir la mauvaise adresse IP pour les paquets sortants. "
-"Il est donc recommandé d'associer PowerDNS à une adresse IP spécifique."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Liste des sous-réseaux pouvant être interrogés :"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Veuillez indiquer la liste des sous-réseaux, séparés par des virgules, qu'il "
-"est autorisé de parcourir. Des valeurs autorisées sont 127.0.0.1 pour une "
-"adresse IP et 192.168.0.0/24 pour un sous-réseau entier."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "PowerDNS doit-il être démarré automatiquement ?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Si vous choisissez cette option, PowerDNS sera lancé automatiquement au "
-#~ "démarrage du système."
+++ /dev/null
-# Galician translation of pdns's debconf templates
-# This file is distributed under the same license as the pdns package.
-# Jacobo Tarrio <jtarrio@debian.org>, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2007-03-07 00:36+0100\n"
-"Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n"
-"Language-Team: Galician <proxecto@trasno.net>\n"
-"Language: gl\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "Enderezo IP no que PowerDNS debería escoitar:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"Se ten varios enderezos IP, o comportamento por defecto de se ligar a "
-"tódolos enderezos pode facer que o sistema operativo escolla o IP incorrecto "
-"para os paquetes saíntes, polo que se recomenda ligar PowerDNS a un enderezo "
-"IP determinado."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Lista de subredes ás que se lle permite facer recursión:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Introduza aquí, separadas por comas, as subredes ás que se lle permite facer "
-"recursión. Admítense os valores 127.0.0.1 para un enderezo IP e "
-"192.168.0.0/24 para unha subrede."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "¿Quere iniciar o servidor PowerDNS automaticamente?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Se acepta esta opción, hase empregar un script de inicio para iniciar "
-#~ "automaticamente o servidor de nomes con autoridade PowerDNS."
+++ /dev/null
-# Italian translation of pdns.\r
-# COPYRIGHT (C) 2009 THE pdns'S COPYRIGHT HOLDER\r
-# This file is distributed under the same license as the pdns package.\r
-# Luca Monducci <luca.mo@tiscali.it>, 2009.\r
-# \r
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns 2.9.22 italian debconf templates\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2009-10-17 15:01+0200\n"
-"Last-Translator: Luca Monducci <luca.mo@tiscali.it>\n"
-"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n"
-"Language: it\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "Indirizzo IP su cui PowerDNS deve stare in ascolto:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"In caso di più IP, il comportamento predefinito di collegarsi su tutti gli "
-"indirizzi potrebbe comportare la scelta da parte del SO dell'IP sbagliato "
-"per i pacchetti in uscita, per questo si raccomanda di collegare PowerDNS a "
-"un IP specifico."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Elenco delle sottoreti a cui è concesso di l'uso del server:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Inserire l'elenco delle sottoreti, separate da una virgola, a cui è permesso "
-"l'uso del server. I valori ammessi sono 127.0.0.1 per un indirizzo IP e "
-"192.168.0.0/24 per una sottorete."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "Avviare il server PowerDNS automaticamente?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Accettando, verrà usato uno initscript che avvierà automaticamente il "
-#~ "nameserver autoritativo PowerDNS."
+++ /dev/null
-# Copyright (C) 2008 Debian PowerDNS Maintainers <powerdns-debian@workaround.org>\r
-# This file is distributed under the same license as pdns package.\r
-# Hideki Yamane (Debian-JP) <henrich@debian.or.jp>, 2008.\r
-# \r
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns 2.9.21.2-1\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2008-12-28 22:26+0900\n"
-"Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
-"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
-"Language: ja\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "PowerDNS が listen する IP アドレス:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"複数の IP アドレスがある場合、デフォルトの全てのアドレスをバインドするという"
-"挙動は、OS が外部へのパケットに対して誤った IP を返すようにしてしまいます。こ"
-"こで PowerDNS が特定の IP にバインドするように設定するのをお勧めします。"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "再起検索を許可するサブネットのリスト:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"再起検索を許可するサブネットをカンマで区切ってここで入力してください。許可す"
-"る値としては、127.0.0.1 は 1 つの IP アドレスで、192.168.0.0/24 はサブネット"
-"になります。"
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "自動的に PowerDNS サーバが起動するようにしますか?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "これを有効にすると、初期化スクリプトは PowerDNS の authoritative ネーム"
-#~ "サーバを自動的に起動するようになります。"
+++ /dev/null
-# Translators, if you are not familiar with the PO format, gettext
-# documentation is worth reading, especially sections dedicated to
-# this format, e.g. by running:
-# info -n '(gettext)PO Files'
-# info -n '(gettext)Header Entry'
-# Some information specific to po-debconf are available at
-# /usr/share/doc/po-debconf/README-trans
-# or http://www.debian.org/intl/l10n/po-debconf/README-trans
-# Developers do not need to manually edit POT or PO files.
-# , fuzzy
-#
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns 2.9.18-2\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2006-05-11 21:38+0200\n"
-"Last-Translator: Matthijs Mohlmann <matthijs@cacholong.nl>\n"
-"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "IP-adres waar PowerDNS op moet luisteren:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"Als u meerdere IP-adressen heeft, dan is het standaard gedrag om op alle "
-"adressen te luisteren. Dat kan als gevolg kan hebben dat het OS het "
-"verkeerde IP-adres kiest voor uitgaande pakketten. Daarom is het aan te "
-"raden om PowerDNS op een specifiek IP-adres te laten luisteren."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Subnetten vanwaar recursieve query's worden uitgevoerd:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Voer hier, gescheiden door komma's, de subnetten in die recursieve query's "
-"mogen uitvoeren. Toegestane waarden zijn 127.0.0.1 voor een IP-adres en "
-"192.168.0.0/24 voor een subnet."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "Wilt u PowerDNS automatisch laten starten?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Als u bevestigend antwoordt op deze dialoog, dan zal er een opstartscript "
-#~ "gebruikt worden om PowerDNS automatisch te starten."
+++ /dev/null
-# translation of pdns debconf to Portuguese
-# 2005-11-03 - Luís de Matos - Initial translation
-#
-# Luís de Matos <gass@otiliamatos.ath.cx>, 2005.
-# Américo Monteiro <a_monteiro@netcabo.pt>, 2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns 2.9.21-2\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2007-09-26 22:42+0100\n"
-"Last-Translator: Américo Monteiro <a_monteiro@netcabo.pt>\n"
-"Language-Team: Portuguese <traduz@debianpt.org>\n"
-"Language: pt\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.4\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "O endereço IP onde o PowerDNS deverá escutar:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"Se tem vários IPs, o comportamento por omissão de ligar a todos os endereços "
-"pode levar o SO a seleccionar um IP errado para os pacotes de saída, "
-"portanto é recomendado ligar aqui o PowerDNS a um IP específico."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Lista de subredes que são autorizadas a aceder:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Insira aqui, separadas por vírgulas, as subredes que são autorizadas a "
-"aceder. Os valores autorizados são 127.0.0.1 para um endereço ip e "
-"192.168.0.0/24 para uma subrede."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "Deseja iniciar automaticamente o servidor PowerDNS?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Se aceitar aqui, será utilizado um script de inicialização para iniciar "
-#~ "automaticamente o servidor de nomes autoritário PowerDNS."
+++ /dev/null
-# Debconf translations for pdns.
-# Copyright (C) 2011 THE pdns'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the pdns package.
-# Adriano Rafael Gomes <adrianorg@arg.eti.br>, 2011, 2013.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns 3.1-4\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2013-07-20 18:21-0300\n"
-"Last-Translator: Adriano Rafael Gomes <adrianorg@arg.eti.br>\n"
-"Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian."
-"org>\n"
-"Language: pt_BR\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "Endereço IP onde o PowerDNS deverá escutar:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"Se você tiver múltiplos IPs, o comportamento padrão de escutar em todos os "
-"endereços pode fazer com que o SO selecione o IP errado para a saída dos "
-"pacotes, assim, é recomendado que o PowerDNS escute em um IP específico aqui."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Lista de sub-redes às quais é permitido usar recursão:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Informe aqui, separadas por vírgulas, as sub-redes às quais é permitido usar "
-"recursão. Valores permitidos são, por exemplo, 127.0.0.1 para um endereço IP "
-"e 192.168.0.0/24 para uma sub-rede."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "Você quer iniciar o servidor PowerDNS automaticamente?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Se você aceitar aqui, um script de inicialização será usado para iniciar "
-#~ "automaticamente o servidor de nomes autoritativo PowerDNS."
+++ /dev/null
-# translation of ru.po to Russian
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-#
-# Yuri Kozlov <yuray@komyakino.ru>, 2009.
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns 2.9.22-1\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2009-07-19 09:17+0400\n"
-"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
-"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
-"Language: ru\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.4\n"
-"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
-"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "IP-адрес, на котором PowerDNS должен принимать запросы:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"Если у вас несколько IP, то поведение по умолчанию, когда запросы "
-"принимаются со всех адресов, может привести к тому, что ОС выберет неверный "
-"IP для исходящих пакетов, поэтому рекомендуется привязать PowerDNS к какому-"
-"то определённому IP."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Список подсетей, для которых разрешены рекурсивные запросы:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Введите через запятую список подсетей, для которых разрешены рекурсивные "
-"запросы. Можно указывать отдельные адреса в виде 127.0.0.1 и целые подсети в "
-"виде 192.168.0.0/24."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "Запускать сервер PowerDNS автоматически?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "При включении машины можно автоматически запускать авторитетный сервер "
-#~ "имён PowerDNS."
+++ /dev/null
-#
-# Translators, if you are not familiar with the PO format, gettext
-# documentation is worth reading, especially sections dedicated to
-# this format, e.g. by running:
-# info -n '(gettext)PO Files'
-# info -n '(gettext)Header Entry'
-#
-# Some information specific to po-debconf are available at
-# /usr/share/doc/po-debconf/README-trans
-# or http://www.debian.org/intl/l10n/po-debconf/README-trans
-#
-# Developers do not need to manually edit POT or PO files.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns 2.9.18-3\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2006-05-11 21:44+0100\n"
-"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
-"Language-Team: Swedish <sv@li.org>\n"
-"Language: sv\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=iso-8859-1\n"
-"Content-Transfer-Encoding: 8bit\n"
-"X-Poedit-Language: swed\n"
-"X-Poedit-Country: swed\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "IP-adress som PowerDNS ska lyssna på:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"Om du har flera IP-adresser kan standardbeteendet, som är att binda till "
-"alla adresser, leda till att operativsystemet väljer fel IP-adress för "
-"utgående paket så det rekommenderas att binda PowerDNS till en specifik IP-"
-"adress här."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Lista på subnät som tillåts ställa rekursiva frågor:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Ange de subnät (kommaseparerade) som ska tillåtas ställa rekursiva frågor. "
-"Tillåtna värden är 127.0.0.1 för en IP-adress och 192.168.0.0/24 för ett "
-"subnät."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "Vill du starta PowerDNS-servern automatiskt?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Om du accepterar här kommer ett init-skript att användas för att "
-#~ "automatiskt starta PowerDNS auktoritativa namnserver."
+++ /dev/null
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"Language: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr ""
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr ""
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
+++ /dev/null
-# Vietnamese translation for pdns.
-# Copyright © 2007 Free Software Foundation, Inc.
-# Clytie Siddall <clytie@riverland.net.au>, 2005-2007.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: pdns 2.9.20-8\n"
-"Report-Msgid-Bugs-To: pdns@packages.debian.org\n"
-"POT-Creation-Date: 2012-06-17 13:40+0000\n"
-"PO-Revision-Date: 2007-05-30 22:46+0930\n"
-"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
-"Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
-"Language: vi\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=utf-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: LocFactoryEditor 1.6.3b1\n"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid "IP address where PowerDNS should listen on:"
-msgstr "Địa chỉ IP nơi PowerDNS nên lắng nghe:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:1001
-msgid ""
-"If you have multiple IPs, the default behaviour of binding to all addresses "
-"can cause the OS to select the wrong IP for outgoing packets, so it is "
-"recommended to bind PowerDNS to a specific IP here."
-msgstr ""
-"Nếu bạn có nhiều địa chỉ IP khác nhau, hành vi mặc định là đóng kết đến mọi "
-"địa chỉ thì có thể gây ra hệ điều hành chọn địa chỉ IP không đúng cho gói "
-"tin gởi ra. Vì thế khuyên bạn đóng kết trình PowerDNS đến một địa chỉ IP "
-"riêng."
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid "List of subnets that are allowed to recurse:"
-msgstr "Danh sách mạng phụ được phép đệ qui:"
-
-#. Type: string
-#. Description
-#: ../pdns-server.templates:2001
-msgid ""
-"Enter here, comma separated, the subnets that are allowed to recurse. "
-"Allowed values are 127.0.0.1 for an ip address and 192.168.0.0/24 for a "
-"subnet."
-msgstr ""
-"Hãy nhập vào đây, định giới bằng dấu chấm phẩy, những mạng phụ được phép đệ "
-"qui. Giá trị có thể là 127.0.0.1 cho địa chỉ IP và 192.168.0.0/24 cho mạng "
-"phụ."
-
-#~ msgid "Do you want to start the PowerDNS server automatically?"
-#~ msgstr "Bạn có muốn tự động khởi chạy trình phục vụ PowerDNS không?"
-
-#~ msgid ""
-#~ "If you accept here, an initscript will be used to automatically start the "
-#~ "PowerDNS authoritative nameserver."
-#~ msgstr ""
-#~ "Chấp nhận ở đây thì một tập lệnh khởi chạy (initscript) được dùng để tự "
-#~ "động khởi chạy trình phục vụ tên có uy quyền PowerDNS."
+++ /dev/null
-#!/bin/sh
-#
-# Script to update PowerDNS recursor configuration fragment
-#
-# N.B. Resolvconf may run us even if pdns not running.
-# If pdns is installed then we go ahead and update
-# the pdns configuration file in case pdns is started later.
-#
-# Assumption: On entry, PWD contains the resolv.conf-type files
-#
-# Licensed under the GNU GPL. See /usr/share/common-licenses/GPL
-#
-# History:
-# April 2005: Written by Jack Bates <ms419@freezone.co.uk> and
-# Thomas Hood <jdthood@yahoo.co.uk>
-
-set -e
-PATH=/bin:/sbin
-
-DEFAULT=/etc/default/pdns
-[ -f $DEFAULT ] && . $DEFAULT
-
-if [ -z "${RESOLVCONF_UPDATE_FORWARDERS:-}" ]; then
- echo "Warning: \$RESOLVCONF_UPDATE_FORWARDERS not defined in $DEFAULT." >&2
- echo " Pulling the emergency brake..." >&2
- exit 0
-fi
-
-case $RESOLVCONF_UPDATE_FORWARDERS in
- y*|Y*|1|on|On|true|True|TRUE) :;;
- *)
- echo "Not updating PowerDNS, disabled in $DEFAULT." >&2
- exit 0
- ;;
-esac
-
-[ -x /usr/sbin/pdns_server ] || exit 0
-[ -x /lib/resolvconf/list-records ] || exit 1
-
-RUN_DIR=/var/run
-CONF_FILE="$RUN_DIR/pdns.recursors"
-TMP_FILE="${CONF_FILE}_new.$$"
-
-# Get list of records, excluding our own
-RSLVCNFFILES="$(/lib/resolvconf/list-records | sed -e '/^lo.pdns$/d')"
-
-clean_up() { rm -f "$TMP_FILE" ; }
-trap clean_up EXIT
-clean_up
-
-# Convert nameserver lines to recursor statements, without duplicates
-if [ "$RSLVCNFFILES" ]; then
- sed -n "
- s/^nameserver[[:space:]]\+/recursor=/
- # If no substitution (not a nameserver line) then skip line
- T
- # Append hold space (i.e., previous recursor statements) to pattern space
- G
- # If this line is a duplicate then skip line
- /\(^.*\n\).*\1/d
- # Disable 127.0.0.1 lines, can cause a dns loop.
- /=127\./d
- # Copy pattern space, including current line, to hold space
- h
- # Print current line
- P
- " $RSLVCNFFILES > "$TMP_FILE"
-else
- :> "$TMP_FILE"
-fi
-
-if [ "$1" = "-i" ]; then
- mv -f "$TMP_FILE" "$CONF_FILE"
- exit 0
-fi
-
-# Reload pdns unless we know its configuration file hasn't changed
-if [ -x /usr/bin/diff ] && [ -f "$CONF_FILE" ] && /usr/bin/diff -q "$CONF_FILE" "$TMP_FILE" > /dev/null ; then
- # No change
- rm -f "$TMP_FILE"
-else
- mv -f "$TMP_FILE" "$CONF_FILE"
- [ -x /etc/init.d/pdns ] && ps -C pdns_server > /dev/null && invoke-rc.d pdns reload || :
-fi
-
+++ /dev/null
-#!/usr/bin/make -f
-
-# Backends
-backends := bind ldap pipe gmysql godbc gpgsql gsqlite3 geoip lua lua2 mydns remote random opendbx tinydns
-
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-
-ENABLE_SYSTEMD := --enable-systemd --with-systemd=/lib/systemd/system
-LIBSYSTEMD_DEV := , libsystemd-dev
-DEBHELPER_WITH_SYSTEMD := --with systemd
-
-ENABLE_LIBSODIUM := --enable-libsodium
-LIBSODIUM_DEV := , libsodium-dev
-
-# $(ID) and $(VERSION_ID) come from the environment, source this from /etc/os-release
-ifeq ($(ID), ubuntu)
- ifeq ($(VERSION_ID), 14.04)
- # Disable building with and depending on systemd on Ubuntu Trusty
- ENABLE_SYSTEMD=
- LIBSYSTEMD_DEV=
- DEBHELPER_WITH_SYSTEMD=
-
- # Also disable libsodium
- ENABLE_LIBSODIUM=
- LIBSODIUM_DEV=
- endif
-endif
-
-debian/control: debian/control.in
- sed -e "s!@LIBSYSTEMDDEV@!$(LIBSYSTEMD_DEV)!" \
- -e "s!@LIBSODIUMDEV@!$(LIBSODIUM_DEV)!" $< > $@
-
-# Use new build system
-%:
- dh $@ \
- --with autoreconf \
- --parallel \
- $(DEBHELPER_WITH_SYSTEMD)
-
-override_dh_auto_configure:
- test -f pdns/dnslabeltext.cc && mv pdns/dnslabeltext.cc debian/dnslabeltext.cc.moved || true
- ./configure \
- --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE) \
- --prefix=/usr \
- --sysconfdir=/etc/powerdns \
- --mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info \
- --libdir='$${prefix}/lib/$(DEB_HOST_MULTIARCH)' \
- --libexecdir='$${prefix}/lib' \
- --with-dynmodules="$(backends)" \
- --with-modules="" \
- --enable-tools \
- --enable-ixfrdist \
- --enable-unit-tests \
- --with-lua=luajit \
- --enable-experimental-pkcs11 \
- $(ENABLE_SYSTEMD) \
- $(ENABLE_LIBSODIUM)
-
-# pdns-server has a debug package
-override_dh_strip:
- dh_strip --dbg-package=pdns-server-dbg
-
-# Additional permissions
-override_dh_fixperms:
- dh_fixperms
- chmod 755 debian/pdns-server/etc/resolvconf/update.d/pdns
-
-override_dh_auto_install:
- dh_auto_install
- rm -f debian/pdns-server/etc/powerdns/pdns.conf-dist
-
-# init script needs to be named pdns, not pdns-server
-override_dh_installinit:
- dh_systemd_enable --name=pdns
- dh_installinit --name=pdns
- dh_systemd_start --restart-after-upgrade
-
-override_dh_install:
- dh_install
- ./pdns/pdns_server --no-config --config | sed \
- -e 's!# module-dir=.*!!' \
- -e 's!# include-dir=.*!&\ninclude-dir=/etc/powerdns/pdns.d!' \
- -e 's!# launch=.*!&\nlaunch=!' \
- -e 's!# setgid=.*!setgid=pdns!' \
- -e 's!# setuid=.*!setuid=pdns!' \
- > debian/pdns-server/usr/share/pdns-server/pdns.conf
-
-# Verbose build (shows used compiler/linker and their flags)
-override_dh_auto_build-arch:
- dh_auto_build -- V=1
-
-# Verbose tests (shows used compiler/linker and their flags)
-override_dh_auto_test:
- $(MAKE) -C pdns check || (cat pdns/test-suite.log && false)
- #dh_auto_test -- V=1
-
-# restore moved files
-override_dh_clean:
- test -f debian/dnslabeltext.cc.moved && mv debian/dnslabeltext.cc.moved pdns/dnslabeltext.cc || true
- dh_clean
+++ /dev/null
-3.0 (quilt)
+++ /dev/null
-Tests: smoke
-Depends: pdns-server, dnsutils
-Restrictions: needs-root
+++ /dev/null
-#!/bin/bash
-exec 2>&1
-set -ex
-
-cat <<EOF >/etc/powerdns/bindbackend.conf
-zone "example.org" { type master; file "/etc/powerdns/example.org.zone"; };
-EOF
-
-cat <<EOF >/etc/powerdns/example.org.zone
-example.org. 172800 IN SOA ns1.example.org. dns.example.org. 1 10800 3600 604800 3600
-example.org. 172800 IN NS ns1.example.org.
-smoke.example.org. 172800 IN A 127.0.0.123
-EOF
-
-service pdns restart
-
-TMPFILE=$(mktemp)
-cleanup() {
- rm -f "$TMPFILE"
-}
-trap cleanup EXIT
-
-dig @127.0.0.1 smoke.example.org 2>&1 | tee "$TMPFILE"
-
-if grep -c '127\.0\.0\.123' "$TMPFILE"; then
- echo success
-else
- echo smoke could not be resolved
- exit 1
-fi
-
+++ /dev/null
-interest pdns-server
+++ /dev/null
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-# Site Directory Pattern Version Script
-version=3
-http://downloads.powerdns.com/releases/ pdns-([0-9]+.*)\.tar\.(gz|bz2) debian uupdate
+++ /dev/null
-Source: dnsdist
-Section: net
-Priority: optional
-Maintainer: PowerDNS Autobuilder <powerdns.support@powerdns.com>
-Origin: PowerDNS
-Build-Depends: debhelper (>= 9), dh-autoreconf, dh-systemd (>= 1.5), libboost-dev, libedit-dev, libluajit5.1-dev, protobuf-compiler, libprotobuf-dev, lib-snmp-dev, pkg-config @LIBRE2DEV@ @LIBSODIUMDEV@ @LIBSYSTEMDDEV@
-Standards-Version: 3.9.7
-Homepage: http://dnsdist.org
-
-Package: dnsdist
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Powerful, scriptable DNS loadbalancer
- Highly DoS- and abuse-aware load balancing tool for DNS traffic,
- with Lua scripting and configuration capability.
- Can be configured to use various sets of rules to classify, route
- and reject traffic.
-
-Package: dnsdist-dbg
-Architecture: any
-Section: debug
-Priority: optional
-Depends: dnsdist (= ${binary:Version}), ${misc:Depends}
-Description: debugging symbols for dnsdist
-
+++ /dev/null
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: dnsdist
-Source: http://dnsdist.net
-
-Files: *
-Copyright: 2002-2016 PowerDNS.COM BV and contributors
-License: GPL-2 with OpenSSL Exception
-
-Files: ext/yahttp/*
-Copyright: 2014 Aki Tuomi
-License: Expat
-
-Files: ext/json11/*
-Copyright: 2013 Dropbox, Inc.
-License: Expat
-
-Files: ext/luawrapper/*
-Copyright: 2013, Pierre KRIEGER
-License: BSD-3
-
-Files: ext/incbin/*
-Copyright: 2015, Dale Weiler
-License: public-domain
- This is free and unencumbered software released into the public domain.
- .
- Anyone is free to copy, modify, publish, use, compile, sell, or
- distribute this software, either in source code form or as a compiled
- binary, for any purpose, commercial or non-commercial, and by any
- means.
- .
- In jurisdictions that recognize copyright laws, the author or authors
- of this software dedicate any and all copyright interest in the
- software to the public domain. We make this dedication for the benefit
- of the public at large and to the detriment of our heirs and
- successors. We intend this dedication to be an overt act of
- relinquishment in perpetuity of all present and future rights to this
- software under copyright law.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
- OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
- ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- OTHER DEALINGS IN THE SOFTWARE.
- .
- For more information, please refer to <http://unlicense.org/>
-
-License: GPL-2 with OpenSSL Exception
- This program is free software; you can redistribute it and/or modify
- it under the terms of version 2 of the GNU General Public License as
- published by the Free Software Foundation.
- .
- In addition, for the avoidance of any doubt, permission is granted to
- link this program with OpenSSL and to (re)distribute the binaries
- produced as the result of such linking.
- .
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- .
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
-
-License: Expat
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
- .
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
-
-License: BSD-3
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of the <organization> nor the
- names of its contributors may be used to endorse or promote products
- derived from this software without specific prior written permission.
- .
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+++ /dev/null
-/etc/dnsdist
+++ /dev/null
-usr/bin/dnsdist
+++ /dev/null
-debian/tmp/usr/share/man/man1/dnsdist.1
+++ /dev/null
-#! /bin/sh
-
-set -e
-
-# summary of how this script can be called:
-# * <postinst> `configure' <most-recently-configured-version>
-# * <old-postinst> `abort-upgrade' <new version>
-# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-# <new-version>
-# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-# <failed-install-package> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-case "$1" in
- configure)
-
- adduser --force-badname --system --home /nonexistent --group \
- --no-create-home --quiet _dnsdist || true
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
+++ /dev/null
-description "dnsdist - A powerful DNS loadbalancer"
-
-start on runlevel [2345]
-stop on runlevel [!2345]
-
-author "Pieter Lexis <pieter.lexis@powerdns.com>"
-
-# Keep the --supervised option when modifying this
-exec /usr/bin/dnsdist --supervised
+++ /dev/null
-#!/usr/bin/make -f
-# See debhelper(7) (uncomment to enable)
-# output every command that modifies files on the build system.
-#DH_VERBOSE = 1
-
-# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/default.mk
-
-ENABLE_LIBSODIUM := --enable-libsodium --enable-dnscrypt
-LIBSODIUM_DEV := , libsodium-dev
-
-ENABLE_SYSTEMD := --enable-systemd --with-systemd=/lib/systemd/system
-LIBSYSTEMD_DEV := , libsystemd-dev
-DEBHELPER_WITH_SYSTEMD := --with systemd
-DH_INSTALLINIT_OVERRIDE := dh_systemd_start --restart-after-upgrade dnsdist.service # Do not stop the service in prerm, but restart during postinst on upgrade
-PREPARE_SERVICE := sed -i 's!^ExecStart.*!& -u _dnsdist -g _dnsdist!' dnsdist.service.in
-FILES_SYSTEMD := 'lib/systemd/system/dnsdist*'
-
-ENABLE_RE2 := --enable-re2
-LIBRE2_DEV := , libre2-dev
-
-# $(ID) and $(VERSION_ID) come from the environment, source this from /etc/os-release
-ifeq ($(ID), ubuntu)
- ifeq ($(VERSION_ID), 14.04)
- # Disable building and depending on libsodium on Ubuntu Trusty
- ENABLE_LIBSODIUM=
- ENABLE_SYSTEMD=
- LIBSYSTEMD_DEV=
- LIBSODIUM_DEV=
- DEBHELPER_WITH_SYSTEMD=
- ENABLE_RE2=
- LIBRE2_DEV=
- DH_INSTALLINIT_OVERRIDE=true
- PREPARE_SERVICE=true
- FILES_SYSTEMD=''
- endif
-endif
-
-debian/control: debian/control.in
- sed -e "s!@LIBSODIUMDEV@!$(LIBSODIUM_DEV)!" \
- -e "s!@LIBSYSTEMDDEV@!$(LIBSYSTEMD_DEV)!" \
- -e "s!@LIBRE2DEV@!$(LIBRE2_DEV)!" $< > $@
-
-debian/dnsdist.install: debian/dnsdist.install.in
- cp $< $@
- echo $(FILES_SYSTEMD) >> $@
-
-%:
- dh $@ \
- --with autotools-dev \
- --parallel \
- $(DEBHELPER_WITH_SYSTEMD)
-
-override_dh_auto_configure:
- $(PREPARE_SERVICE)
- ./configure \
- --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE) \
- --prefix=/usr \
- --sysconfdir=/etc/dnsdist \
- --mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info \
- --libdir='$${prefix}/lib/$(DEB_HOST_MULTIARCH)' \
- --libexecdir='$${prefix}/lib' \
- --with-protobuf=yes \
- --with-net-snmp \
- --with-lua=luajit \
- $(ENABLE_SYSTEMD) \
- $(ENABLE_RE2) \
- $(ENABLE_LIBSODIUM)
-
-override_dh_auto_build-arch:
- dh_auto_build -- V=1
-
-override_dh_strip:
- dh_strip --dbg-package=dnsdist-dbg
-
-override_dh_auto_test:
- $(MAKE) check || (cat test-suite.log && false)
-
-override_dh_installinit:
- dh_installinit
- $(DH_INSTALLINIT_OVERRIDE)
+++ /dev/null
-3.0 (quilt)
+++ /dev/null
-See /usr/share/doc/quilt/README.source
+++ /dev/null
-Source: pdns-recursor
-Section: net
-Priority: extra
-Standards-Version: 3.9.6
-Maintainer: PowerDNS Autobuilder <powerdns.support@powerdns.com>
-Origin: PowerDNS
-Build-Depends: debhelper (>= 9~), dh-systemd, quilt, dpkg-dev (>= 1.17.0~), libboost-dev, libboost-serialization-dev, libluajit5.1-dev, libprotobuf-dev, protobuf-compiler, pkg-config @LIBSYSTEMDDEV@ @LIBSODIUMDEV@ @LIBSNMPDEV@
-Homepage: http://www.powerdns.com/
-
-Package: pdns-recursor
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-6), adduser
-Replaces: pdns
-Recommends: pdns-doc
-Description: PowerDNS recursor
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This is the recursive nameserver that goes out to the internet and
- resolve queries about other domains.
-
-Package: pdns-recursor-dbg
-Section: debug
-Architecture: any
-Depends: pdns-recursor (= ${binary:Version}), ${misc:Depends}
-Description: debugging symbols for PowerDNS recursor
- PowerDNS is a versatile nameserver which supports a large number
- of different backends ranging from simple zonefiles to relational
- databases and load balancing/failover algorithms.
- PowerDNS tries to emphasize speed and security.
- .
- This package contains debugging symbols for PowerDNS to assist in
- debugging, such as with gdb. It is not required for normal operation.
+++ /dev/null
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: PowerDNS
-Source: https://www.powerdns.com/downloads.html
-
-Files: *
-Copyright: 2002 - 2014 PowerDNS.COM BV and contributors
-License: GPL-2 with OpenSSL Exception
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License version 2
- as published by the Free Software Foundation
- .
- In addition, for the avoidance of any doubt, permission is granted to
- link this program with OpenSSL and to (re)distribute the binaries
- produced as the result of such linking.
- .
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- .
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
-
-Files: debian/*
-Copyright: 2002 - 2004 Wichert Akkermann <wichert@wiggy.net>
- 2004 - 2013 Matthijs Möhlmann <matthijs@cacholong.nl>
- 2012 - 2013 Marc Haber <mh+debian-packages@zugschlus.de>
- 2014 Christian Hofstaedtler <zeha@debian.org>
-License: GPL-2
-
-Files: pdns/ext/yahttp*
-Copyright: 2014 Aki Tuomi
-License: LGPL-2.1+
-
-License: Expat
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
- .
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
-
-License: GPL-2
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License.
- .
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- .
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
-
-License: GPL-2+
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
- .
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- .
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- .
- On Debian systems, the full text of the GNU General Public
- License version 2 can be found in the file
- `/usr/share/common-licenses/GPL-2'.
-
-License: LGPL-2.1+
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
- .
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
- .
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- .
- On Debian systems, the full text of the GNU Lesser General Public
- License version 2.1 can be found in the file
- `/usr/share/common-licenses/LGPL-2.1'.
+++ /dev/null
-# Variables for PowerDNS recursor
-#
-# Set START to yes to start the pdns-recursor
-START=yes
-# Run resolvconf?
-RESOLVCONF=yes
+++ /dev/null
-etc/powerdns
-etc/powerdns/recursor.d
-etc/init.d
-etc/default
-usr/bin
-usr/sbin
-usr/share/doc/pdns-recursor
+++ /dev/null
-#!/bin/sh
-### BEGIN INIT INFO
-# Provides: pdns-recursor
-# Required-Start: $network $remote_fs $syslog
-# Required-Stop: $network $remote_fs $syslog
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: PowerDNS Recursor - Recursive DNS Server
-# Description: PowerDNS Recursor - Recursive DNS Server
-### END INIT INFO
-
-#
-# Authors: Matthijs Möhlmann <matthijs@cacholong.nl>
-# Christoph Haas <haas@debian.org>
-#
-# Thanks to:
-# Thomas Hood <jdthood@aglu.demon.nl>
-#
-# initscript for PowerDNS recursor
-
-. /lib/lsb/init-functions
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-DESC="PowerDNS recursor"
-NAME=pdns_recursor
-DAEMON=/usr/sbin/$NAME
-# Derive the socket-dir setting from /etc/powerdns/recursor.conf
-# or fall back to the default /var/run if not specified there.
-PIDDIR=$(awk -F= '/^socket-dir=/ {print $2}' /etc/powerdns/recursor.conf)
-if [ -z "$PIDDIR" ]; then PIDDIR=/var/run; fi
-mkdir -p "$PIDDIR"
-PIDFILE=$PIDDIR/$NAME.pid
-
-# Gracefully exit if the package has been removed.
-test -x $DAEMON || exit 0
-
-# Read config file if it is present.
-if [ -r /etc/default/pdns-recursor ]; then
- . /etc/default/pdns-recursor
-fi
-
-start() {
-# Return
-# 0 if daemon has been started / was already running
-# >0 if daemon could not be started
- start-stop-daemon --start --oknodo --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null || return 0
- start-stop-daemon --start --oknodo --quiet --pidfile $PIDFILE --exec $DAEMON -- --daemon=yes || return 2
-}
-
-start_resolvconf() {
- if [ "X$RESOLVCONF" = "Xyes" ] && [ -x /sbin/resolvconf ]; then
- echo "nameserver 127.0.0.1" | /sbin/resolvconf -a lo.pdns-recursor
- fi
- return 0
-}
-
-stop() {
-# Return
-# 0 if daemon has been stopped
-# 1 if daemon was already stopped
-# 2 if daemon could not be stopped
-# other if a failure occured
- start-stop-daemon --stop --quiet --retry=HUP/30/TERM/5/KILL/5 --pidfile $PIDFILE --name $NAME
- RETVAL="$?"
- [ "$RETVAL" = 2 ] && return 2
- rm -f $PIDFILE
- return "$RETVAL"
-}
-
-stop_resolvconf() {
- if [ "X$RESOLVCONF" = "Xyes" ] && [ -x /sbin/resolvconf ]; then
- /sbin/resolvconf -d lo.pdns-recursor
- fi
- return 0
-}
-
-case "$1" in
- start)
- if [ "$START" != "yes" ]; then
- log_begin_msg "Not starting $DESC -- disabled."
- log_end_msg 0
- exit 0
- fi
- log_daemon_msg "Starting $DESC" "pdns-recursor"
- start
- case "$?" in
- 0)
- start_resolvconf
- break
- ;;
- 1)
- log_progress_msg "(already running)"
- break
- ;;
- *)
- log_progress_msg " (failed)."
- log_end_msg 1
- exit 1
- ;;
- esac
- log_end_msg 0
- ;;
- stop)
- stop_resolvconf
- log_daemon_msg "Stopping $DESC" "pdns-recursor"
- stop
- case "$?" in
- 0)
- break
- ;;
- 1)
- log_progress_msg "(not running)"
- break
- ;;
- *)
- log_progress_msg "(failed)"
- log_end_msg 1
- exit 1
- ;;
- esac
- log_end_msg 0
- ;;
- restart|force-reload)
- if [ "$START" != "yes" ]; then
- $0 stop
- exit 0
- fi
- log_daemon_msg "Restarting $DESC" "pdns-recursor"
- stop
- case "$?" in
- 0|1)
- start
- case "$?" in
- 0)
- log_end_msg 0
- exit 0
- ;;
- 1)
- log_progress_msg "(failed -- old process still running)"
- log_end_msg 1
- exit 1
- ;;
- *)
- log_progress_msg "(failed to start)"
- log_end_msg 1
- exit 1
- ;;
- esac
- ;;
- *)
- log_progress_msg "(failed to stop)"
- log_end_msg 1
- exit 1
- ;;
- esac
- ;;
- force-stop)
- killall -v -9 pdns_recursor
- echo "killed"
- ;;
- status)
- status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
- ;;
- *)
- echo "Usage: $0 {start|stop|restart|force-reload|force-stop|status}" >&2
- exit 3
- ;;
-esac
-
-exit 0
-
+++ /dev/null
-debian/tmp/usr/sbin/pdns_recursor usr/sbin/
-debian/tmp/usr/bin/rec_control usr/bin/
-lib/systemd/system/pdns-recursor.service lib/systemd/system/
-lib/systemd/system/pdns-recursor@.service lib/systemd/system/
+++ /dev/null
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ pdns_recursor\[[0-9]+\]: stats: .*
+++ /dev/null
-pdns_recursor.1
-rec_control.1
+++ /dev/null
-#!/bin/sh
-#
-#
-
-set -e
-
-case "$1" in
- configure)
- if [ -z "`getent group pdns`" ]; then
- addgroup --quiet --system pdns
- fi
- if [ -z "`getent passwd pdns`" ]; then
- echo -n "Creating user and group pdns..."
- adduser --quiet --system --home /var/spool/powerdns --shell /bin/false --ingroup pdns --disabled-password --disabled-login --gecos "PowerDNS" pdns
- echo "done"
- fi
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# Those using dependency based boot sequencing with sysv-rc and
-# installing pdns-recursor version 3.1.7.1-2 or earlier would have wrong
-# runlevel symlinks. Recover from this.
-if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "3.1.7.1-2" \
- && [ -f /etc/rc2.d/S[0-9][0-9]pdns-recursor ] && [ ! -f /etc/rc1.d/K[0-9][0-9]pdns-recursor ]
-then
- update-rc.d -f pdns-recursor remove
-fi
-
-# Init script has errors in previous versions. Postinst script should just
-# return the exit status of this script
-initscript_error() {
- return $1
-}
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/bin/sh
-#
-# Add an error handler to catch up with a fault in the pdns-recursor script.
-
-set -e
-
-# Set the old version.
-MODE=$1
-OLDVERSION=$2
-
-# Init script has errors in previous versions.
-initscript_error() {
-
- # Versions older then 3.2-4 have a bug in the initscript.
- if dpkg --compare-versions "$OLDVERSION" lt-nl "3.2-4" &&
- [ "$MODE" = "failed-upgrade" ]; then
-
- return 0
- fi
-
- return $1
-}
-
-#DEBHELPER#
-
-exit 0
-
+++ /dev/null
-#!/usr/bin/make -f
-
-# Enable hardening features for daemons
-# Note: blhc (build log hardening check) will find these false positives: CPPFLAGS 2 missing, LDFLAGS 1 missing
-export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow,+pie
-DPKG_EXPORT_BUILDFLAGS = 1
-# Include buildflags.mk so we can append to the vars it sets.
-include /usr/share/dpkg/buildflags.mk
-
-ENABLE_SYSTEMD := --enable-systemd --with-systemd=/lib/systemd/system
-LIBSYSTEMD_DEV := , libsystemd-dev
-DEBHELPER_WITH_SYSTEMD := --with systemd
-
-ENABLE_LIBSODIUM := --enable-libsodium
-LIBSODIUM_DEV := , libsodium-dev
-
-ENABLE_NETSNMP := --with-net-snmp
-NETSNMP_DEV := , libsnmp-dev
-
-# $(ID) and $(VERSION_ID) come from the environment, source this from /etc/os-release
-ifeq ($(ID), ubuntu)
- ifeq ($(VERSION_ID), 14.04)
- # Disable building with and depending on systemd on Ubuntu Trusty
- ENABLE_SYSTEMD=
- LIBSYSTEMD_DEV=
- DEBHELPER_WITH_SYSTEMD=
-
- # Also disable libsodium
- ENABLE_LIBSODIUM=
- LIBSODIUM_DEV=
- endif
-endif
-
-ifeq ($(ID), debian)
- ifeq ($(VERSION_ID), 9)
- # SNMP is linked to OpenSSL 1.0 while we link against OpenSSL 1.1
- ENABLE_NETSNMP = --without-net-snmp
- NETSNMP_DEV =
- endif
-endif
-
-debian/control: debian/control.in
- sed -e "s!@LIBSYSTEMDDEV@!$(LIBSYSTEMD_DEV)!" \
- -e "s!@LIBSODIUMDEV@!$(LIBSODIUM_DEV)!" \
- -e "s!@LIBSNMPDEV@!$(LIBSNMP_DEV)!" \
- $< > $@
-
-# Use new build system
-%:
- dh $@ \
- --with autoreconf \
- --parallel \
- $(DEBHELPER_WITH_SYSTEMD)
-
-override_dh_auto_configure:
- ./configure \
- --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE) \
- --prefix=/usr \
- --sysconfdir=/etc/powerdns \
- --mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info \
- --libdir='$${prefix}/lib/$(DEB_HOST_MULTIARCH)' \
- --libexecdir='$${prefix}/lib' \
- --with-lua=luajit \
- --with-protobuf=yes \
- $(ENABLE_NETSNMP) \
- $(ENABLE_SYSTEMD) \
- $(ENABLE_LIBSODIUM)
-
-override_dh_auto_install:
- ./pdns_recursor --config | sed \
- -e 's!# config-dir=.*!config-dir=/etc/powerdns!' \
- -e 's!# local-address=.*!local-address=127.0.0.1!' \
- -e 's!# quiet=.*!quiet=yes!' \
- -e 's!# setgid=.*!setgid=pdns!' \
- -e 's!# setuid=.*!setuid=pdns!' \
- -e 's!# include-dir=.*!include-dir=/etc/powerdns/recursor.d/!' \
- > debian/pdns-recursor/etc/powerdns/recursor.conf
- dh_auto_install -- STRIP_BINARIES=0
- rm -f debian/pdns-recursor/etc/powerdns/recursor.conf-dist
-
-override_dh_strip:
- dh_strip --dbg-package=pdns-recursor-dbg
-
-override_dh_installinit:
- dh_installinit --error-handler=initscript_error -- defaults 19 85
-
-override_dh_auto_test:
- $(MAKE) check || (cat test-suite.log && false)
+++ /dev/null
-3.0 (quilt)
+++ /dev/null
-Tests: smoke
-Depends: @, dnsutils
-Restrictions: needs-root
+++ /dev/null
-#!/bin/bash
-exec 2>&1
-set -ex
-
-cat <<EOF >>/etc/powerdns/recursor.conf
-auth-zones=example.org=/etc/powerdns/example.org.zone
-EOF
-
-cat <<EOF >/etc/powerdns/example.org.zone
-example.org. 172800 IN SOA ns1.example.org. dns.example.org. 1 10800 3600 604800 3600
-example.org. 172800 IN NS ns1.example.org.
-smoke.example.org. 172800 IN A 127.0.0.123
-EOF
-
-service pdns-recursor restart
-
-TMPFILE=$(mktemp)
-cleanup() {
- rm -f "$TMPFILE"
-}
-trap cleanup EXIT
-
-dig @127.0.0.1 smoke.example.org 2>&1 | tee "$TMPFILE"
-
-if grep -c '127\.0\.0\.123' "$TMPFILE"; then
- echo success
-else
- echo smoke could not be resolved
- exit 1
-fi
-
+++ /dev/null
-# Site Directory Pattern Version Script
-version=3
-http://downloads.powerdns.com/releases/ pdns-recursor-(.*)\.tar\.bz2 debian uupdate
+++ /dev/null
-#!/usr/bin/env bash
-VERSION=$1
-DEB_VERSION=$2
-RPM_VERSION=$3
-[ -z "$VERSION" -o -z "$DEB_VERSION" -o -z "$RPM_VERSION" ] && exit 1
-
-DIST_HOST="$(id -u -n)@$(hostname -f 2>/dev/null || hostname 2>/dev/null || echo localhost)"
-
-sed -r "s/Version: (.*)/Version: $RPM_VERSION/" -i pdns.spec
-sed -r "s/AC_INIT\(\[pdns\],(.*)/AC_INIT([pdns], [$VERSION])/" -i configure.ac
-sed -r "s/^(.*)AC_SUBST\(\[DIST_HOST\],(.*)/AC_SUBST([DIST_HOST], [$DIST_HOST])/" -i configure.ac
-sed -r "1 s/^pdns \\(([^)]*)-([0-9.])\\)/pdns \\($DEB_VERSION-\\2\\)/" -i debian/changelog
+++ /dev/null
-#!/usr/bin/env bash
-
-if [ "$#" -ne "3" ] ; then echo "Syntax: set-version-recursor VERSION DEB_VERSION RPM_VERSION"; exit ; fi
-
-VERSION=$1
-DEB_VERSION=$2
-RPM_VERSION=$3
-[ -z "$VERSION" -o -z "$DEB_VERSION" -o -z "$RPM_VERSION" ] && exit 1
-
-DIST_HOST="$(id -u -n)@$(hostname -f 2>/dev/null || hostname 2>/dev/null || echo localhost)"
-
-sed -r "s/^VERSION=(.*)/VERSION=$VERSION/" -i pdns/dist-recursor
-sed -r "s/^DIST_HOST=(.*)/DIST_HOST=$DIST_HOST/" -i pdns/dist-recursor
-sed -r "s/Version: (.*)/Version: $RPM_VERSION/" -i pdns/pdns-recursor.spec