@ -1,12 +1,12 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := pdns
PKG_VERSION := 4.1.13
PKG_VERSION := 4.2.0
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE_URL := https://downloads.powerdns.com/releases/
PKG_HASH := e7ea9c628a03652d2ca9e048525d44ac5628a9fede45e510ff9ba756ae2f5f25
PKG_HASH := 222007f25e25aad71ac7d8b7f1797a4bcb30781e456d74ed00396e53828a903a
PKG_MAINTAINER := James Taylor <james@jtaylor.id.au>
PKG_LICENCE := GPL-2.0-only
@ -64,7 +64,7 @@ endef
d e f i n e P a c k a g e / p d n s - t o o l s
$( call Package/pdns/Default)
TITLE:= Tools for DNS debugging by PowerDNS
DEPENDS += +boost +boost-program_options +libopenssl +p11-kit +protobuf
DEPENDS += +boost +boost-program_options +libcurl +libmbedtls +lib openssl +p11-kit +protobuf
e n d e f
d e f i n e P a c k a g e / p d n s - t o o l s / d e s c r i p t i o n
@ -88,9 +88,26 @@ define Package/pdns-tools/description
* saxfr: AXFR zones and show extra information
e n d e f
d e f i n e P a c k a g e / p d n s - i x f r d i s t
$( call Package/pdns/Default)
TITLE:= Redistribute zones via AXFR and IXFR
DEPENDS += +boost +boost-program_options +libopenssl +libyaml-cpp +p11-kit +protobuf
e n d e f
d e f i n e P a c k a g e / p d n s - i x f r d i s t / d e s c r i p t i o n
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 ixfrdist tool that can redistribute multiple versions
of zones over AXFR and IXFR. This tool does not require any part of the
PowerDNS server components to work.
e n d e f
d e f i n e P a c k a g e / p d n s
$( call Package/pdns/Default)
DEPENDS += +boost +boost-program_options +liblua +libopenssl +libsodium +libsqlite3 +p11-kit
DEPENDS += +boost +boost-program_options +libcurl +lib lua +libopenssl +libsqlite3 +p11-kit
e n d e f
d e f i n e P a c k a g e / p d n s / c o n f i g
@ -137,12 +154,14 @@ define DefinePdnsBackend
endef
e n d e f
$( eval $ ( call DefinePdnsBackend ,geoip ,,libmaxminddb libyaml -cpp ,,GeoIP ) )
$( eval $ ( call DefinePdnsBackend ,mysql ,,libmysqlclient ,gmysql ,MySQL ) )
$( eval $ ( call DefinePdnsBackend ,odbc ,,unixodbc ,godbc ,ODBC ) )
$( eval $ ( call DefinePdnsBackend ,pgsql ,,libpq ,gpgsql ,PostgreSQL ) )
$( eval $ ( call DefinePdnsBackend ,sqlite 3,,libsqlite 3,gsqlite 3,SQLite 3) )
$( eval $ ( call DefinePdnsBackend ,ldap ,,libopenldap krb 5-libs ,,OpenLDAP ) )
$( eval $ ( call DefinePdnsBackend ,lua ,,lua liblua ,,Lua ) )
$( eval $ ( call DefinePdnsBackend ,lua 2,,lua liblua ,,Lua 2) )
$( eval $ ( call DefinePdnsBackend ,mydns ,,libmysqlclient ,,MyDNS ) )
$( eval $ ( call DefinePdnsBackend ,pipe ,,,,Pipe ) )
$( eval $ ( call DefinePdnsBackend ,remote ,,,,Remote ) )
@ -161,8 +180,10 @@ CONFIGURE_ARGS+= \
--with-mysql-includes= $( STAGING_DIR) /usr \
$( if $( CONFIG_PACKAGE_pdns-tools) ,--enable-tools,) \
--with-protobuf \
--enable-libsodium \
--enable-experimental-pkcs11
--without-libsodium \
--enable-experimental-pkcs11 \
--enable-lua-records \
$( if $( CONFIG_PACKAGE_pdns-ixfrdist) ,--enable-ixfrdist,)
d e f i n e P a c k a g e / p d n s / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/powerdns
@ -183,24 +204,33 @@ define Package/pdns/Default/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/powerdns/pdns/lib$( PDNS_BACKEND_$( 2) _LIB) backend.so $( 1) /usr/lib/powerdns/pdns/
e n d e f
d e f i n e P a c k a g e / p d n s - i x f r d i s t / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/powerdns
$( CP) $( PKG_INSTALL_DIR) /etc/powerdns/ixfrdist.example.yml $( 1) /etc/powerdns/
$( INSTALL_DIR) $( 1) /usr/bin
$( CP) $( PKG_INSTALL_DIR) /usr/bin/ixfrdist $( 1) /usr/bin/
e n d e f
d e f i n e P a c k a g e / p d n s - t o o l s / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( CP) $( PKG_INSTALL_DIR) /usr/bin/calidns $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/dnsbulktest $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/zone2ldap $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/dnsgram $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/dnspcap2protobuf $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/dnsreplay $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/dnsscan $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/dnsscope $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/dnstcpbench $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/dnswasher $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/dumresp $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/ixplore $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/pdns_notify $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/nproxy $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/nsec3dig $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/pdns_notify $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/saxfr $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/stubquery $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/ixplore $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/sdig $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/calidns $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/dnsbulktest $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/dnstcpbench $( 1) /usr/bin/
$( CP) $( PKG_INSTALL_DIR) /usr/bin/dnspcap2protobuf $( 1) /usr/bin/
e n d e f
d e f i n e B u i l d P d n s B a c k e n d
@ -214,3 +244,4 @@ endef
$( foreach backend ,$ ( PDNS_BACKENDS ) ,$ ( eval $ ( call BuildPdnsBackend ,$ ( backend ) ) ) )
$( eval $ ( call BuildPackage ,pdns ) )
$( eval $ ( call BuildPackage ,pdns -tools ) )
$( eval $ ( call BuildPackage ,pdns -ixfrdist ) )