mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Remove dns/powerdns-devel port per maintainer approval
As dns/powerdns was just updated to version 3.4, there was a decision to be had to disable the -devel version or just remove the port altogether. Due to the frequency of releases and the manner on how the upcoming version is tested, it made sense to retire the port (at version 3.3). PR: 194508 Submitted by: maintainer (Ralf van der Enden)
This commit is contained in:
parent
d36598b5a4
commit
fba0107277
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371435
1
MOVED
1
MOVED
@ -7167,3 +7167,4 @@ devel/py-olefileio_pl|devel/py-olefile|2014-10-17|Upstream name change
|
||||
audio/mad||2014-10-20|Directly use audio/libmad or audio/madplay
|
||||
mail/dspam-devel|mail/dspam|2014-10-20|Merged into mail/dspam
|
||||
dns/bind98|dns/bind99|2014-10-21|BIND 9.8 EOL
|
||||
dns/powerdns-devel|dns/powerdns|2014-10-24|Older than dns/powerdns and no longer needed
|
||||
|
@ -141,7 +141,6 @@
|
||||
SUBDIR += pear-Net_DNS
|
||||
SUBDIR += pear-Net_DNS2
|
||||
SUBDIR += powerdns
|
||||
SUBDIR += powerdns-devel
|
||||
SUBDIR += powerdns-recursor
|
||||
SUBDIR += py-adns
|
||||
SUBDIR += py-bonjour
|
||||
|
@ -1,230 +0,0 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= powerdns
|
||||
PORTVERSION= 3.3.1
|
||||
PORTREVISION= 5
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= dns ipv6
|
||||
PKGNAMESUFFIX= -devel
|
||||
DISTNAME= auth-${PORTVERSION:S/.r/-rc/}
|
||||
|
||||
MAINTAINER= tremere@cainites.net
|
||||
COMMENT= Advanced DNS server with multiple backends including SQL
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
BUILD_DEPENDS= ragel:${PORTSDIR}/devel/ragel \
|
||||
bash:${PORTSDIR}/shells/bash
|
||||
LIB_DEPENDS= libboost_serialization.so:${PORTSDIR}/devel/boost-libs
|
||||
|
||||
USE_GITHUB= YES
|
||||
GH_ACCOUNT= PowerDNS
|
||||
GH_PROJECT= pdns
|
||||
GH_TAGNAME= auth-3.3.1
|
||||
GH_COMMIT= 8e1c18b
|
||||
|
||||
CONFLICTS= powerdns-[2-3].[0-9]*
|
||||
|
||||
USES= bison gmake libtool lua:51 pkgconfig
|
||||
USE_SUBMAKE= YES
|
||||
USE_AUTOTOOLS= autoconf:env automake:env libtoolize:env
|
||||
GNU_CONFIGURE= YES
|
||||
INSTALL_TARGET= install-strip
|
||||
CXXFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CONFIGURE_ARGS= --disable-static \
|
||||
--with-modules="" \
|
||||
--with-dynmodules="pipe ${MODULES}" \
|
||||
--sysconfdir="${PREFIX}/etc/pdns" \
|
||||
--with-boost="${LOCALBASE}"
|
||||
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
|
||||
CURDIR2="${.CURDIR}" \
|
||||
MKDIR="${MKDIR}" \
|
||||
DISTNAME="${DISTNAME}" \
|
||||
POWERDNS_OPTIONS="${POWERDNS_OPTIONS}"
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
USE_RC_SUBR+= pdns
|
||||
|
||||
OPTIONS_DEFINE= GEO MYSQL MYSQL_LOCAL OPENDBX OPENLDAP OPENLDAP_LOCAL \
|
||||
PGSQL PGSQL_LOCAL POLARSSL SQLITE3 TOOLS
|
||||
OPTIONS_GROUP= DNSSEC EXPERIMENTAL
|
||||
OPTIONS_GROUP_DNSSEC= BOTAN110 CRYPTOPP
|
||||
OPTIONS_GROUP_EXPERIMENTAL= LUA MYDNS REMOTE REMOTE_HTTP TINYDNS
|
||||
|
||||
PGSQL_DESC= PostgreSQL backend
|
||||
PGSQL_LOCAL_DESC= RUN_DEPEND on PostgreSQL server
|
||||
MYSQL_DESC= MySQL backend
|
||||
MYSQL_LOCAL_DESC= RUN_DEPEND on MySQL server
|
||||
OPENDBX_DESC= OpenDBX backend
|
||||
OPENLDAP_DESC= OpenLDAP backend
|
||||
OPENLDAP_LOCAL_DESC= RUN_DEPEND on OpenLDAP server
|
||||
SQLITE3_DESC= SQLite 3 backend
|
||||
GEO_DESC= Geo backend
|
||||
DNSSEC_DESC= Enable extra DNSSEC options
|
||||
EXPERIMENTAL_DESC= Experimental backends
|
||||
BOTAN110_DESC= Faster signing + ECDSA & GOST algorithms
|
||||
CRYPTOPP_DESC= ECDSA algorithms
|
||||
POLARSSL_DESC= Use embedded PolarSSL
|
||||
LUA_DESC= Lua backend
|
||||
MYDNS_DESC= MyDNS backend
|
||||
REMOTE_DESC= Remote backend
|
||||
REMOTE_HTTP_DESC= Enable HTTP for the Remote backend
|
||||
TINYDNS_DESC= TinyDNS backend
|
||||
TOOLS_DESC= Build extra tools
|
||||
|
||||
OPTIONS_DEFAULT= PGSQL DNSSEC BOTAN110 POLARSSL
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
# Don't use CONFIGURE_ENABLE, the configure script
|
||||
# has a bug. The options are being enabled even using --disable-
|
||||
|
||||
TOOLS_CONFIGURE_ON= --enable-tools
|
||||
|
||||
PGSQL_CONFIGURE_ON= --with-pgsql=${LOCALBASE}
|
||||
PGSQL_CONFIGURE_OFF= --without-pgsql
|
||||
PGSQL_USE= PGSQL=YES
|
||||
PGSQL_LOCAL_USE= PGSQL=server
|
||||
|
||||
MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}
|
||||
MYSQL_CONFIGURE_OFF= --without-mysql
|
||||
MYSQL_USE= MYSQL=YES
|
||||
MYSQL_LOCAL_USE= MYSQL=server
|
||||
|
||||
MYDNS_CONFIGURE_ON= --with-mysql=${LOCALBASE}
|
||||
MYDNS_USE= MYSQL=YES
|
||||
MYDNS_LOCAL_USE= MYSQL=server
|
||||
|
||||
OPENLDAP_CXXFLAGS= -DLDAP_DEPRECATED=1
|
||||
OPENLDAP_USE= OPENLDAP=YES
|
||||
OPENLDAP_LOCAL_RUN_DEPENDS= openldap-server>=0:${PORTSDIR}/net/openldap24-server
|
||||
|
||||
REMOTE_HTTP_CONFIGURE_ON= --enable-remotebackend-http
|
||||
REMOTE_HTTP_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
|
||||
|
||||
SQLITE3_USE= SQLITE=3
|
||||
|
||||
OPENDBX_LIB_DEPENDS= libopendbx.so:${PORTSDIR}/databases/opendbx
|
||||
|
||||
BOTAN110_CONFIGURE_ON= --enable-botan1.10
|
||||
BOTAN110_LIB_DEPENDS= libbotan-1.10.so:${PORTSDIR}/security/botan110
|
||||
|
||||
TINYDNS_LIB_DEPENDS= libcdb.so:${PORTSDIR}/databases/tinycdb
|
||||
TINYDNS_CONFIGURE_ON= CDB_LIBS="-L${LOCALBASE}/lib -lcdb" CDB_CFLAGS="-I${LOCALBASE}/include"
|
||||
|
||||
CRYPTOPP_CONFIGURE_ON= --enable-cryptopp
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MGEO}
|
||||
MODULES+= geo
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MPGSQL}
|
||||
MODULES+= gpgsql
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMYSQL}
|
||||
MODULES+= gmysql
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MPGSQL_LOCAL}
|
||||
SUB_LIST+= PGSQL_REQ=postgresql
|
||||
.else
|
||||
SUB_LIST+= PGSQL_REQ=
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMYSQL_LOCAL}
|
||||
SUB_LIST+= MYSQL_REQ=mysql
|
||||
.else
|
||||
SUB_LIST+= MYSQL_REQ=
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MOPENLDAP}
|
||||
MODULES+= ldap
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MOPENLDAP_LOCAL}
|
||||
SUB_LIST+= SLAPD_REQ=slapd
|
||||
.else
|
||||
SUB_LIST+= SLAPD_REQ=
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MSQLITE3}
|
||||
MODULES+= gsqlite3
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MLUA}
|
||||
MODULES+= lua
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMYDNS}
|
||||
MODULES+= mydns
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MREMOTE}
|
||||
MODULES+= remote
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MTINYDNS}
|
||||
MODULES+= tinydns
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MOPENDBX}
|
||||
MODULES+= opendbx
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MPOLARSSL}
|
||||
CONFIGURE_ARGS+= --without-system-polarssl
|
||||
.else
|
||||
LIB_DEPENDS+= libpolarssl.so:${PORTSDIR}/security/polarssl
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MCRYPTOPP}
|
||||
. if exists(${LOCALBASE}/lib/libcryptopp.so)
|
||||
LIB_DEPENDS+= libcryptopp.so:${PORTSDIR}/security/cryptopp
|
||||
. else
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
|
||||
. endif
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${REINPLACE_CMD} -e "s;/bin/bash;/usr/bin/env bash;" \
|
||||
-e "s;sed -r;sed -E -e;g" \
|
||||
-e "s;-i;-i \.bak;g" \
|
||||
${WRKSRC}/build-scripts/set-version-auth
|
||||
@${REINPLACE_CMD} -e 's;\$$(LIBCURL_LIBS) \$$(MYSQL_lib);;g' \
|
||||
-e 's;\$$(LIBCURL_CFLAGS);;g' \
|
||||
${WRKSRC}/pdns/Makefile.am
|
||||
.if ${PORT_OPTIONS:MBOTAN110}
|
||||
@${REINPLACE_CMD} -e 's;\$$(BOOST_CPPFLAGS);;g' \
|
||||
-e 's;-lgmp -lrt;;g' \
|
||||
${WRKSRC}/pdns/Makefile.am
|
||||
@${REINPLACE_CMD} -E -e 's;(\$$\(BOTAN110_CFLAGS\));\1 \$$\(BOOST_CPPFLAGS\);' \
|
||||
${WRKSRC}/pdns/Makefile.am
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MOPENLDAP}
|
||||
@${REINPLACE_CMD} -e 's;la_LDFLAGS =;la_LDFLAGS = -L${LOCALBASE}/lib ;' \
|
||||
${WRKSRC}/modules/ldapbackend/Makefile.am
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MPGSQL}
|
||||
@${REINPLACE_CMD} -E -e 's;(PGSQL_inc_check="\$$withval/include/pgsql)";\1 \$$withval/include";' \
|
||||
${WRKSRC}/configure.ac
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MREMOTE_HTTP}
|
||||
@${REINPLACE_CMD} -E -e 's;-module -avoid-version;-module -avoid-version \$$(LIBCURL_LIBS);' \
|
||||
${WRKSRC}/modules/remotebackend/Makefile.am
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
(cd ${WRKSRC} && ${WRKSRC}/build-scripts/set-version-auth git-${GH_TAGNAME} 0.0.${GH_TAGNAME} 0.0.${GH_TAGNAME} && ${WRKSRC}/bootstrap)
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.for i in pdns.conf
|
||||
${INSTALL_DATA} ${FILESDIR}/$i ${STAGEDIR}${EXAMPLESDIR}/
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (auth-3.3.1.tar.gz) = 1ea90c58ffcb0c048bc952b3edf234a763f43fcb35adefe5b4448e185f0568c0
|
||||
SIZE (auth-3.3.1.tar.gz) = 1809736
|
@ -1,464 +0,0 @@
|
||||
# MySQL
|
||||
#launch=gmysql
|
||||
#gmysql-host=127.0.0.1
|
||||
#gmysql-dbname=pdns
|
||||
#gmysql-user=pdns
|
||||
#gmysql-password=pdns
|
||||
|
||||
# PostgreSQL
|
||||
#launch=gpgsql
|
||||
#gpgsql-host=127.0.0.1
|
||||
#gpgsql-dbname=pdns
|
||||
#gpgsql-user=pdns
|
||||
#gpgsql-password=pdns
|
||||
|
||||
# SQLite 2
|
||||
#launch=gsqlite
|
||||
#gsqlite-database=<path to your SQLite database>
|
||||
|
||||
# SQLite 3
|
||||
#launch=gsqlite3
|
||||
#gsqlite3-database=<path to your SQLite database>
|
||||
|
||||
# LDAP (check http://www.linuxnetworks.de for more information)
|
||||
#launch=ldap
|
||||
#ldap-host (default "127.0.0.1:389")
|
||||
#ldap-starttls (default "no")
|
||||
#ldap-basedn (default "")
|
||||
#ldap-binddn (default "")
|
||||
#ldap-secret (default "")
|
||||
#ldap-method (default "simple")
|
||||
#ldap-filter-axfr (default "(:target:)" )
|
||||
#ldap-filter-lookup (default "(:target:)" )
|
||||
|
||||
# OpenDBX (check http://www.linuxnetworks.de for more information)
|
||||
#launch=opendbx
|
||||
#opendbx-backend (default "mysql")
|
||||
#opendbx-host-read (default "127.0.0.1")
|
||||
#opendbx-host-write (default "127.0.0.1")
|
||||
#opendbx-database (default "powerdns")
|
||||
#opendbx-username (default "powerdns")
|
||||
#opendbx-password (default "")
|
||||
|
||||
# Autogenerated configuration file template
|
||||
#################################
|
||||
# allow-axfr-ips Allow zonetransfers only to these subnets
|
||||
#
|
||||
# allow-axfr-ips=0.0.0.0/0,::/0
|
||||
|
||||
#################################
|
||||
# allow-recursion List of subnets that are allowed to recurse
|
||||
#
|
||||
# allow-recursion=0.0.0.0/0
|
||||
|
||||
#################################
|
||||
# allow-recursion-override Set this so that local data fully overrides the recursor
|
||||
#
|
||||
# allow-recursion-override=no
|
||||
|
||||
#################################
|
||||
# cache-ttl Seconds to store packets in the PacketCache
|
||||
#
|
||||
# cache-ttl=20
|
||||
|
||||
#################################
|
||||
# chroot If set, chroot to this directory for more security
|
||||
#
|
||||
# chroot=
|
||||
|
||||
#################################
|
||||
# config-dir Location of configuration directory (pdns.conf)
|
||||
#
|
||||
# config-dir=/usr/local/etc/pdns
|
||||
|
||||
#################################
|
||||
# config-name Name of this virtual configuration - will rename the binary image
|
||||
#
|
||||
# config-name=
|
||||
|
||||
#################################
|
||||
# control-console Debugging switch - don't use
|
||||
#
|
||||
# control-console=no
|
||||
|
||||
#################################
|
||||
# daemon Operate as a daemon
|
||||
#
|
||||
# daemon=no
|
||||
|
||||
#################################
|
||||
# default-soa-name name to insert in the SOA record if none set in the backend
|
||||
#
|
||||
# default-soa-name=a.misconfigured.powerdns.server
|
||||
|
||||
#################################
|
||||
# default-ttl Seconds a result is valid if not set otherwise
|
||||
#
|
||||
# default-ttl=3600
|
||||
|
||||
#################################
|
||||
# disable-axfr Disable zonetransfers but do allow TCP queries
|
||||
#
|
||||
# disable-axfr=no
|
||||
|
||||
#################################
|
||||
# disable-tcp Do not listen to TCP queries
|
||||
#
|
||||
# disable-tcp=no
|
||||
|
||||
#################################
|
||||
# distributor-threads Default number of Distributor (backend) threads to start
|
||||
#
|
||||
# distributor-threads=3
|
||||
|
||||
#################################
|
||||
# do-ipv6-additional-processing Do AAAA additional processing
|
||||
#
|
||||
# do-ipv6-additional-processing=no
|
||||
|
||||
#################################
|
||||
# edns-subnet-option-number EDNS option number to use
|
||||
#
|
||||
# edns-subnet-option-number=20730
|
||||
|
||||
#################################
|
||||
# edns-subnet-processing If we should act on EDNS Subnet options
|
||||
#
|
||||
# edns-subnet-processing=no
|
||||
|
||||
#################################
|
||||
# entropy-source If set, read entropy from this file
|
||||
#
|
||||
# entropy-source=/dev/urandom
|
||||
|
||||
#################################
|
||||
# fancy-records Process URL and MBOXFW records
|
||||
#
|
||||
# fancy-records=no
|
||||
|
||||
#################################
|
||||
# guardian Run within a guardian process
|
||||
#
|
||||
# guardian=no
|
||||
|
||||
#################################
|
||||
# launch Which backends to launch and order to query them in
|
||||
#
|
||||
# launch=
|
||||
|
||||
#################################
|
||||
# lazy-recursion Only recurse if question cannot be answered locally
|
||||
#
|
||||
# lazy-recursion=yes
|
||||
|
||||
#################################
|
||||
# load-modules Load this module - supply absolute or relative path
|
||||
#
|
||||
# load-modules=
|
||||
|
||||
#################################
|
||||
# local-address Local IP addresses to which we bind
|
||||
#
|
||||
# local-address=0.0.0.0
|
||||
|
||||
#################################
|
||||
# local-ipv6 Local IP address to which we bind
|
||||
#
|
||||
# local-ipv6=
|
||||
|
||||
#################################
|
||||
# local-port The port on which we listen
|
||||
#
|
||||
# local-port=53
|
||||
|
||||
#################################
|
||||
# log-dns-details If PDNS should log DNS non-erroneous details
|
||||
#
|
||||
# log-dns-details=
|
||||
|
||||
#################################
|
||||
# log-dns-queries If PDNS should log all incoming DNS queries
|
||||
#
|
||||
# log-dns-queries=no
|
||||
|
||||
#################################
|
||||
# log-failed-updates If PDNS should log failed update requests
|
||||
#
|
||||
# log-failed-updates=
|
||||
|
||||
#################################
|
||||
# logfile Logfile to use (Windows only)
|
||||
#
|
||||
# logfile=pdns.log
|
||||
|
||||
#################################
|
||||
# logging-facility Log under a specific facility
|
||||
#
|
||||
# logging-facility=
|
||||
|
||||
#################################
|
||||
# loglevel Amount of logging. Higher is more. Do not set below 3
|
||||
#
|
||||
# loglevel=4
|
||||
|
||||
#################################
|
||||
# master Act as a master
|
||||
#
|
||||
# master=no
|
||||
|
||||
#################################
|
||||
# max-cache-entries Maximum number of cache entries
|
||||
#
|
||||
# max-cache-entries=1000000
|
||||
|
||||
#################################
|
||||
# max-queue-length Maximum queuelength before considering situation lost
|
||||
#
|
||||
# max-queue-length=5000
|
||||
|
||||
#################################
|
||||
# max-tcp-connections Maximum number of TCP connections
|
||||
#
|
||||
# max-tcp-connections=10
|
||||
|
||||
#################################
|
||||
# module-dir Default directory for modules
|
||||
#
|
||||
# module-dir=/usr/local/lib
|
||||
|
||||
#################################
|
||||
# negquery-cache-ttl Seconds to store packets in the PacketCache
|
||||
#
|
||||
# negquery-cache-ttl=60
|
||||
|
||||
#################################
|
||||
# no-shuffle Set this to prevent random shuffling of answers - for regression testing
|
||||
#
|
||||
# no-shuffle=off
|
||||
|
||||
#################################
|
||||
# out-of-zone-additional-processing Do out of zone additional processing
|
||||
#
|
||||
# out-of-zone-additional-processing=yes
|
||||
|
||||
#################################
|
||||
# overload-queue-length Maximum queuelength moving to packetcache only
|
||||
#
|
||||
# overload-queue-length=0
|
||||
|
||||
#################################
|
||||
# per-zone-axfr-acls When set, backends that implement it perform per-zone AXFL ACL checks
|
||||
#
|
||||
# per-zone-axfr-acls=off
|
||||
|
||||
#################################
|
||||
# pipebackend-abi-version Version of the pipe backend ABI
|
||||
#
|
||||
# pipebackend-abi-version=1
|
||||
|
||||
#################################
|
||||
# query-cache-ttl Seconds to store packets in the PacketCache
|
||||
#
|
||||
# query-cache-ttl=20
|
||||
|
||||
#################################
|
||||
# query-local-address Source IP address for sending queries
|
||||
#
|
||||
# query-local-address=0.0.0.0
|
||||
|
||||
#################################
|
||||
# query-local-address6 Source IPv6 address for sending queries
|
||||
#
|
||||
# query-local-address6=::
|
||||
|
||||
#################################
|
||||
# query-logging Hint backends that queries should be logged
|
||||
#
|
||||
# query-logging=no
|
||||
|
||||
#################################
|
||||
# queue-limit Maximum number of milliseconds to queue a query
|
||||
#
|
||||
# queue-limit=1500
|
||||
|
||||
#################################
|
||||
# receiver-threads Default number of Distributor (backend) threads to start
|
||||
#
|
||||
# receiver-threads=1
|
||||
|
||||
#################################
|
||||
# recursive-cache-ttl Seconds to store packets in the PacketCache
|
||||
#
|
||||
# recursive-cache-ttl=10
|
||||
|
||||
#################################
|
||||
# recursor If recursion is desired, IP address of a recursing nameserver
|
||||
#
|
||||
# recursor=no
|
||||
|
||||
#################################
|
||||
# retrieval-threads Number of AXFR-retrieval threads for slave operation
|
||||
#
|
||||
# retrieval-threads=2
|
||||
|
||||
#################################
|
||||
# send-root-referral Send out old-fashioned root-referral instead of ServFail in case of no authority
|
||||
#
|
||||
# send-root-referral=no
|
||||
|
||||
#################################
|
||||
# server-id Returned when queried for 'server.id' TXT or NSID, defaults to hostname
|
||||
#
|
||||
# server-id=
|
||||
|
||||
#################################
|
||||
# setgid If set, change group id to this gid for more security
|
||||
#
|
||||
# setgid=
|
||||
|
||||
#################################
|
||||
# setuid If set, change user id to this uid for more security
|
||||
#
|
||||
# setuid=
|
||||
|
||||
#################################
|
||||
# signing-threads Default number of signer threads to start
|
||||
#
|
||||
# signing-threads=3
|
||||
|
||||
#################################
|
||||
# skip-cname Do not perform CNAME indirection for each query
|
||||
#
|
||||
# skip-cname=no
|
||||
|
||||
#################################
|
||||
# slave Act as a slave
|
||||
#
|
||||
# slave=no
|
||||
|
||||
#################################
|
||||
# slave-cycle-interval Reschedule failed SOA serial checks once every .. seconds
|
||||
#
|
||||
# slave-cycle-interval=60
|
||||
|
||||
#################################
|
||||
# slave-renotify If we should send out notifications for slaved updates
|
||||
#
|
||||
# slave-renotify=no
|
||||
|
||||
#################################
|
||||
# smtpredirector Our smtpredir MX host
|
||||
#
|
||||
# smtpredirector=a.misconfigured.powerdns.smtp.server
|
||||
|
||||
#################################
|
||||
# soa-expire-default Default SOA expire
|
||||
#
|
||||
# soa-expire-default=604800
|
||||
|
||||
#################################
|
||||
# soa-minimum-ttl Default SOA mininum ttl
|
||||
#
|
||||
# soa-minimum-ttl=3600
|
||||
|
||||
#################################
|
||||
# soa-refresh-default Default SOA refresh
|
||||
#
|
||||
# soa-refresh-default=10800
|
||||
|
||||
#################################
|
||||
# soa-retry-default Default SOA retry
|
||||
#
|
||||
# soa-retry-default=3600
|
||||
|
||||
#################################
|
||||
# soa-serial-offset Make sure that no SOA serial is less than this number
|
||||
#
|
||||
# soa-serial-offset=0
|
||||
|
||||
#################################
|
||||
# socket-dir Where the controlsocket will live
|
||||
#
|
||||
# socket-dir=/var/run
|
||||
|
||||
#################################
|
||||
# strict-rfc-axfrs Perform strictly rfc compliant axfrs (very slow)
|
||||
#
|
||||
# strict-rfc-axfrs=no
|
||||
|
||||
#################################
|
||||
# tcp-control-address If set, PowerDNS can be controlled over TCP on this address
|
||||
#
|
||||
# tcp-control-address=
|
||||
|
||||
#################################
|
||||
# tcp-control-port If set, PowerDNS can be controlled over TCP on this address
|
||||
#
|
||||
# tcp-control-port=53000
|
||||
|
||||
#################################
|
||||
# tcp-control-range If set, remote control of PowerDNS is possible over these networks only
|
||||
#
|
||||
# tcp-control-range=127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10
|
||||
|
||||
#################################
|
||||
# tcp-control-secret If set, PowerDNS can be controlled over TCP after passing this secret
|
||||
#
|
||||
# tcp-control-secret=
|
||||
|
||||
#################################
|
||||
# trusted-notification-proxy IP address of incoming notification proxy
|
||||
#
|
||||
# trusted-notification-proxy=
|
||||
|
||||
#################################
|
||||
# urlredirector Where we send hosts to that need to be url redirected
|
||||
#
|
||||
# urlredirector=127.0.0.1
|
||||
|
||||
#################################
|
||||
# use-logfile Use a log file (Windows only)
|
||||
#
|
||||
# use-logfile=no
|
||||
|
||||
#################################
|
||||
# version-string PowerDNS version in packets - full, anonymous, powerdns or custom
|
||||
#
|
||||
# version-string=full
|
||||
|
||||
#################################
|
||||
# webserver Start a webserver for monitoring
|
||||
#
|
||||
# webserver=no
|
||||
|
||||
#################################
|
||||
# webserver-address IP Address of webserver to listen on
|
||||
#
|
||||
# webserver-address=127.0.0.1
|
||||
|
||||
#################################
|
||||
# webserver-password Password required for accessing the webserver
|
||||
#
|
||||
# webserver-password=
|
||||
|
||||
#################################
|
||||
# webserver-port Port of webserver to listen on
|
||||
#
|
||||
# webserver-port=8081
|
||||
|
||||
#################################
|
||||
# webserver-print-arguments If the webserver should print arguments
|
||||
#
|
||||
# webserver-print-arguments=no
|
||||
|
||||
#################################
|
||||
# wildcard-url Process URL and MBOXFW records
|
||||
#
|
||||
# wildcard-url=no
|
||||
|
||||
#################################
|
||||
# wildcards Honor wildcards in the database
|
||||
#
|
||||
# wildcards=
|
||||
|
||||
|
@ -1,38 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: pdns_server
|
||||
# REQUIRE: DAEMON %%MYSQL_REQ%% %%PGSQL_REQ%% %%SLAPD_REQ%%
|
||||
# KEYWORD: shutdown
|
||||
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf to enable powerdns:
|
||||
#
|
||||
# pdns_enable="YES"
|
||||
# pdns_flags="<set as needed>"
|
||||
#
|
||||
# See pdns_server(8) for flags.
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=pdns
|
||||
rcvar=pdns_enable
|
||||
|
||||
command=%%PREFIX%%/sbin/pdns_server
|
||||
|
||||
# set defaults
|
||||
|
||||
pdns_enable=${pdns_enable:-"NO"}
|
||||
pdns_conf=${pdns_conf:-"%%PREFIX%%/etc/pdns/pdns.conf"}
|
||||
|
||||
load_rc_config ${name}
|
||||
|
||||
required_files=${pdns_conf}
|
||||
|
||||
monitor_cmd="${command} --daemon=no --guardian=no --control-console --loglevel=9"
|
||||
extra_commands="monitor"
|
||||
|
||||
run_rc_command "$1"
|
@ -1,10 +0,0 @@
|
||||
|
||||
*******************************************************************
|
||||
Enable powerdns in /etc/rc.conf with the following line:
|
||||
|
||||
pdns_enable="YES"
|
||||
|
||||
Configuration templates are available in %%PREFIX%%/etc/pdns
|
||||
as pdns.conf-dist.
|
||||
*******************************************************************
|
||||
|
@ -1,4 +0,0 @@
|
||||
PowerDNS is an advanced DNS server, which allows for several different
|
||||
backends. Current backends include MySQL, PostgreSQL, bind, etc.
|
||||
|
||||
WWW: http://www.powerdns.com/
|
@ -1,40 +0,0 @@
|
||||
bin/pdns_control
|
||||
bin/pdnssec
|
||||
bin/zone2json
|
||||
bin/zone2ldap
|
||||
bin/zone2sql
|
||||
sbin/pdns_server
|
||||
%%TOOLS%%bin/dnsbulktest
|
||||
%%TOOLS%%bin/dnsreplay
|
||||
%%TOOLS%%bin/dnsscan
|
||||
%%TOOLS%%bin/dnsscope
|
||||
%%TOOLS%%bin/dnstcpbench
|
||||
%%TOOLS%%bin/dnswasher
|
||||
%%TOOLS%%bin/nproxy
|
||||
%%TOOLS%%bin/nsec3dig
|
||||
%%PGSQL%%lib/libgpgsqlbackend.so
|
||||
%%MYSQL%%lib/libgmysqlbackend.so
|
||||
%%SQLITE3%%lib/libgsqlite3backend.so
|
||||
%%OPENLDAP%%lib/libldapbackend.so
|
||||
%%OPENDBX%%lib/libopendbxbackend.so
|
||||
%%GEO%%lib/libgeobackend.so
|
||||
%%TINYDNS%%lib/libtinydnsbackend.so
|
||||
%%REMOTE%%lib/libremotebackend.so
|
||||
%%MYDNS%%lib/libmydnsbackend.so
|
||||
%%LUA%%lib/libluabackend.so
|
||||
lib/libpipebackend.so
|
||||
%%TOOLS%%man/man1/dnstcpbench.1.gz
|
||||
%%TOOLS%%man/man8/dnsreplay.8.gz
|
||||
%%TOOLS%%man/man8/dnsscope.8.gz
|
||||
%%TOOLS%%man/man8/dnswasher.8.gz
|
||||
man/man8/pdns_control.8.gz
|
||||
man/man8/pdns_server.8.gz
|
||||
man/man8/pdnssec.8.gz
|
||||
man/man8/zone2ldap.8.gz
|
||||
man/man8/zone2sql.8.gz
|
||||
@unexec if cmp -s %D/etc/pdns/pdns.conf %D/etc/pdns/pdns.conf-dist; then rm -f %D/etc/pdns/pdns.conf; fi
|
||||
etc/pdns/pdns.conf-dist
|
||||
@exec [ -f %B/pdns.conf ] || cp %B/%f %B/pdns.conf
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pdns.conf
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
@dirrmtry etc/pdns
|
Loading…
Reference in New Issue
Block a user