1 include $(TOPDIR
)/rules.mk
3 PKG_NAME
:=pdns-recursor
5 PKG_RELEASE
:=$(AUTORELEASE
)
7 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
8 PKG_SOURCE_URL
:=https
://downloads.powerdns.com
/releases
/
9 PKG_HASH
:=b0b97f49848a1758b64bc0b99a596c1583ea525477193f3c01905f5163a4f5cf
11 PKG_MAINTAINER
:=James Taylor
<james@jtaylor.id.au
>
12 PKG_LICENCE
:=GPL-2.0
-only
13 PKG_LICENCE_FILES
:=COPYING
14 PKG_CPE_ID
:=cpe
:/a
:powerdns
:recursor
19 PKG_BUILD_DEPENDS
:=protobuf
/host
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/pdns-recursor
26 SUBMENU
:=IP Addresses and Names
28 TITLE
:=PowerDNS Recursor
29 DEPENDS
:=+boost
+boost-context
+boost-filesystem
+libatomic
+liblua
+libopenssl
+protobuf
+libfstrm
30 URL
:=https
://www.powerdns.com
/recursor.html
33 define Package
/pdns-recursor
/description
34 High-performance resolving name server
, utilizing multiple
35 processor and including Lua scripting capabilities.
38 define Package
/pdns-recursor
/conffiles
39 /etc
/powerdns
/pdns-recursor.conf
40 /etc
/init.d
/pdns-recursor
44 --sysconfdir
=/etc
/powerdns \
50 --enable-reproducible \
51 --disable-silent-rules
54 boost_cv_lib_context
=yes \
55 boost_cv_lib_context_LIBS
=-lboost_context
57 define Package
/pdns-recursor
/install
58 $(INSTALL_DIR
) $(1)/etc
/powerdns
59 $(INSTALL_CONF
) .
/files
/recursor.conf-dist
$(1)/etc
/powerdns
/
60 $(INSTALL_DIR
) $(1)/etc
/init.d
61 $(INSTALL_BIN
) .
/files
/pdns-recursor.init
$(1)/etc
/init.d
/pdns-recursor
62 $(INSTALL_DIR
) $(1)/usr
/bin
63 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/rec_control
$(1)/usr
/bin
/
64 $(INSTALL_DIR
) $(1)/usr
/sbin
65 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/pdns_recursor
$(1)/usr
/sbin
/
68 $(eval
$(call BuildPackage
,pdns-recursor
))