diff options
Diffstat (limited to 'dns/powerdns-devel')
| -rw-r--r-- | dns/powerdns-devel/Makefile | 151 | ||||
| -rw-r--r-- | dns/powerdns-devel/Makefile.inc | 1 | ||||
| -rw-r--r-- | dns/powerdns-devel/distinfo | 3 | ||||
| -rw-r--r-- | dns/powerdns-devel/files/configure.powerdns | 70 | ||||
| -rw-r--r-- | dns/powerdns-devel/files/patch-modules_gpgsqlbackend_Makefile_in | 28 | ||||
| -rw-r--r-- | dns/powerdns-devel/files/patch-modules_gpgsqlbackend_OBJECTLIBS | 7 | ||||
| -rw-r--r-- | dns/powerdns-devel/files/pdns.conf | 304 | ||||
| -rw-r--r-- | dns/powerdns-devel/files/pdns.in | 35 | ||||
| -rw-r--r-- | dns/powerdns-devel/files/pdns_mysql.sql | 38 | ||||
| -rw-r--r-- | dns/powerdns-devel/files/pdns_postgresql.sql | 40 | ||||
| -rw-r--r-- | dns/powerdns-devel/files/pdns_recursor.in | 35 | ||||
| -rw-r--r-- | dns/powerdns-devel/files/pdns_sqlite.sql | 33 | ||||
| -rw-r--r-- | dns/powerdns-devel/files/pkg-message.in | 15 | ||||
| -rw-r--r-- | dns/powerdns-devel/pkg-descr | 6 | ||||
| -rw-r--r-- | dns/powerdns-devel/pkg-plist | 26 |
15 files changed, 0 insertions, 792 deletions
diff --git a/dns/powerdns-devel/Makefile b/dns/powerdns-devel/Makefile deleted file mode 100644 index c33d95db9f73..000000000000 --- a/dns/powerdns-devel/Makefile +++ /dev/null @@ -1,151 +0,0 @@ -# New ports collection makefile for: powerdns -# Date Created: 14.Jan 2003 -# Whom: dirk.meyer@dinoex.sub.org -# -# $FreeBSD$ -# - -PORTNAME= powerdns -PORTVERSION= 2.9.20 -CATEGORIES= dns ipv6 -MASTER_SITES= http://downloads.powerdns.com/releases/ \ - http://mirrors.evolva.ro/powerdns.com/releases/ -DISTNAME= pdns-${PORTVERSION} - -MAINTAINER= tremere@cainites.net -COMMENT= An advanced DNS server with SQL backend - -BUILD_DEPENDS= bjam:${PORTSDIR}/devel/boost - -USE_GMAKE= YES -USE_SUBMAKE= YES -USE_AUTOTOOLS= libtool:15 -INSTALLS_SHLIB= YES -CXXFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS+= --with-modules="${CONFIGURE_MODULES} pipe" \ - --with-dynmodules="" -# --enable-debug -SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \ - CURDIR2="${.CURDIR}" \ - MKDIR="${MKDIR}" \ - DISTNAME="${DISTNAME}" \ - POWERDNS_OPTIONS="${POWERDNS_OPTIONS}" -MAN8= pdns_control.8 pdns_server.8 zone2sql.8 - -SUB_FILES= pkg-message - -.include <bsd.port.pre.mk> - -USE_RC_SUBR+= pdns - -# use user config if possible -.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) -.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" -.else -.if defined(BATCH) -# default package, can be configured in /etc/make.conf -POWERDNS_OPTIONS?= \"PostgreSQL\" -.endif -# make INDEX match -NO_DESCRIBE=yes -.endif - -.if defined(WITH_POSTGRESQL_DRIVER) && !defined(WITHOUT_POSTGRESQL_DRIVER) -LIB_DEPENDS+= pq[+][+].4:${PORTSDIR}/databases/postgresql-libpq++ -CONFIGURE_ARGS+= --enable-pgsql --with-pgsql-includes=${LOCALBASE}/include -CONFIGURE_MODULES+= "gpgsql" -CFLAGS+= -DDLLIMPORT="" -.else -CONFIGURE_ARGS+= --disable-pgsql -.endif - -.if defined(WITH_MYSQL_DRIVER) -USE_MYSQL?= YES -CONFIGURE_ARGS+= --enable-mysql --with-mysql-includes=${LOCALBASE} -CONFIGURE_MODULES+= "gmysql" -PLIST_SUB+= WITHMYSQL="" -.else -CONFIGURE_ARGS+= --disable-mysql -PLIST_SUB+= WITHMYSQL="@comment " -.endif - -.if defined(WITH_LDAP) -USE_OPENLDAP?= YES -CONFIGURE_MODULES+= "ldap" -PLIST_SUB+= WITHLDAP="" -CXXFLAGS+= -L${LOCALBASE}/lib -DLDAP_DEPRECATED=1 -.else -PLIST_SUB+= WITHLDAP="@comment " -.endif - -.if defined(WITH_SQLITE) -LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2 -CONFIGURE_ARGS+= --enable-sqlite -CONFIGURE_MODULES+= "gsqlite" -PLIST_SUB+= WITHSQLLITE="" -.else -CONFIGURE_ARGS+= --disable-sqlite -PLIST_SUB+= WITHSQLLITE="@comment " -.endif - -.if defined(POWERDNS_WITH_RECURSOR) -USE_RC_SUBR+= pdns_recursor -CONFIGURE_ARGS+= --enable-recursor -PLIST_SUB+= RECURSOR="" -.else -PLIST_SUB+= RECURSOR="@comment " -.endif - -.if defined(POWERDNS_WITH_RECURSOR) -.if exists(/usr/include/ucontext.h) && ${OSVERSION} >= 500000 -UCONTEXT!= ${AWK} '/setcontext/ { print "YES" }' \ - /usr/include/ucontext.h -.if ${UCONTEXT} == "" -BROKEN= setcontext for recursor not found or FreeBSD version lower than 5.0 -.endif -.endif -.endif - -.if ${OSVERSION} < 500039 -USE_GCC=3.4 -.endif - -.if defined(NO_DESCRIBE) -describe: -.if defined(BATCH) - @ ${SETENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR}/configure.powerdns -.endif - @cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} BATCH=yes ${.TARGET} -.endif - -pre-everything:: - @ ${SETENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR}/configure.powerdns - -post-clean: - @ ${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc - -.if defined(WITH_LDAP) -post-patch: - ${REINPLACE_CMD} -e 's;-I. ;-I. -I${LOCALBASE}/include ;' \ - -e 's;la_LDFLAGS =;la_LDFLAGS = -L${LOCALBASE}/lib;' \ - ${WRKSRC}/modules/ldapbackend/Makefile.in - ${REINPLACE_CMD} -e 's;@LIBDL@;@LIBDL@ -L${LOCALBASE}/lib;' \ - -e 's;@modulelibs@;@modulelibs@ -llber;' \ - ${WRKSRC}/pdns/Makefile.in -.endif - -post-install: -.if !exists(${PREFIX}/etc/pdns.conf) - ${INSTALL_DATA} ${PREFIX}/etc/pdns.conf-dist ${PREFIX}/etc/pdns.conf -.endif -.if !defined(NOPORTDOCS) - ${MKDIR} ${EXAMPLESDIR} -.for i in pdns.conf pdns_mysql.sql pdns_postgresql.sql pdns_sqlite.sql - ${INSTALL_DATA} ${FILESDIR}/$i ${EXAMPLESDIR}/ -.endfor -.endif - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/dns/powerdns-devel/Makefile.inc b/dns/powerdns-devel/Makefile.inc deleted file mode 100644 index d7c17dcb1920..000000000000 --- a/dns/powerdns-devel/Makefile.inc +++ /dev/null @@ -1 +0,0 @@ -WITH_POSTGRESQL_DRIVER=YES diff --git a/dns/powerdns-devel/distinfo b/dns/powerdns-devel/distinfo deleted file mode 100644 index 8d9a4a9444cf..000000000000 --- a/dns/powerdns-devel/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (pdns-2.9.20.tar.gz) = 33b20ef1b767f93297101f2aa09e99ed -SHA256 (pdns-2.9.20.tar.gz) = 28984207c78bc5d40542d40366d74f6695a9cf3a7ec4f431d908966d4fc35e3d -SIZE (pdns-2.9.20.tar.gz) = 867520 diff --git a/dns/powerdns-devel/files/configure.powerdns b/dns/powerdns-devel/files/configure.powerdns deleted file mode 100644 index 6efa46c6c648..000000000000 --- a/dns/powerdns-devel/files/configure.powerdns +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -if [ -f ${WRKDIRPREFIX}${CURDIR2}/Makefile.inc ]; then - exit -fi - -if [ "${POWERDNS_OPTIONS}" ]; then - set ${POWERDNS_OPTIONS} -else - dialog --title "configuration options" --clear \ - --checklist "\n\ -Please select desired options:" -1 -1 8 \ -PostgreSQL "PostgreSQL driver" ON \ -MySQL "MySQL driver" OFF \ -OpenLDAP "OpenLDAP backend" OFF \ -SQLite "SQLite backend" OFF \ -Recursor "Build Recursor" OFF \ -2> /tmp/checklist.tmp.$$ - - retval=$? - if [ -s /tmp/checklist.tmp.$$ ]; then - set `cat /tmp/checklist.tmp.$$` - fi - rm -f /tmp/checklist.tmp.$$ - - case $retval in - 0) if [ -z "$*" ]; then - echo "Nothing selected" - fi - ;; - 1) echo "Cancel pressed." - exit 1 - ;; - esac -fi - -${MKDIR} ${WRKDIRPREFIX}${CURDIR2} -exec > ${WRKDIRPREFIX}${CURDIR2}/Makefile.inc - -while [ "$1" ]; do - case $1 in - \"PostgreSQL\") - echo WITH_POSTGRESQL_DRIVER=YES - ;; - \"MySQL\") - echo WITH_MYSQL_DRIVER=YES - ;; - \"OpenLDAP\") - echo WITH_LDAP=YES - ;; - \"SQLite\") - echo WITH_SQLITE=YES - echo SQLITE_PORT?=databases/sqlite - ;; - \"Recursor\") - echo POWERDNS_WITH_RECURSOR=YES - ;; - \"nothing\"|true) - ;; - *) - echo "Invalid option(s): $*" > /dev/stderr - rm -f ${WRKDIRPREFIX}${CURDIR2}/Makefile.inc - exit 1 - ;; - esac - shift -done -exec > /dev/stderr diff --git a/dns/powerdns-devel/files/patch-modules_gpgsqlbackend_Makefile_in b/dns/powerdns-devel/files/patch-modules_gpgsqlbackend_Makefile_in deleted file mode 100644 index 29b0dab57327..000000000000 --- a/dns/powerdns-devel/files/patch-modules_gpgsqlbackend_Makefile_in +++ /dev/null @@ -1,28 +0,0 @@ ---- modules/gpgsqlbackend/Makefile.in.orig Sat Jul 16 13:24:53 2005 -+++ modules/gpgsqlbackend/Makefile.in Mon Jul 18 14:22:07 2005 -@@ -203,14 +203,14 @@ - target_alias = @target_alias@ - lib_LTLIBRARIES = libgpgsqlbackend.la - EXTRA_DIST = OBJECTFILES OBJECTLIBS --INCLUDES = -I@PGSQL_incdir@ -+INCLUDES = -I@includedir@ -I@PGSQL_incdir@ - libgpgsqlbackend_la_SOURCES = gpgsqlbackend.cc gpgsqlbackend.hh \ - spgsql.hh spgsql.cc - - libgpgsqlbackend_la_LDFLAGS = @PGSQL_lib@ -Wl,-Bstatic -lpq \ - -Wl,-Bdynamic - --libgpgsqlbackend_la_LIBADD = -lssl -lcrypt -lcrypto -+libgpgsqlbackend_la_LIBADD = -lssl -lcrypto - all: all-am - - .SUFFIXES: -@@ -272,7 +272,7 @@ - rm -f "$${dir}/so_locations"; \ - done - libgpgsqlbackend.la: $(libgpgsqlbackend_la_OBJECTS) $(libgpgsqlbackend_la_DEPENDENCIES) -- $(CXXLINK) -rpath $(libdir) $(libgpgsqlbackend_la_LDFLAGS) $(libgpgsqlbackend_la_OBJECTS) $(libgpgsqlbackend_la_LIBADD) $(LIBS) -+# $(CXXLINK) -rpath $(libdir) $(libgpgsqlbackend_la_LDFLAGS) $(libgpgsqlbackend_la_OBJECTS) $(libgpgsqlbackend_la_LIBADD) $(LIBS) - - mostlyclean-compile: - -rm -f *.$(OBJEXT) diff --git a/dns/powerdns-devel/files/patch-modules_gpgsqlbackend_OBJECTLIBS b/dns/powerdns-devel/files/patch-modules_gpgsqlbackend_OBJECTLIBS deleted file mode 100644 index dd7c21f02974..000000000000 --- a/dns/powerdns-devel/files/patch-modules_gpgsqlbackend_OBJECTLIBS +++ /dev/null @@ -1,7 +0,0 @@ ---- modules/gpgsqlbackend/OBJECTLIBS.orig Sat Apr 23 23:40:15 2005 -+++ modules/gpgsqlbackend/OBJECTLIBS Mon Jul 18 14:21:17 2005 -@@ -1,3 +1,3 @@ ---lpq -lssl -lcrypto -lcrypt -lresolv -lnsl -+-lpq -lssl -lcrypto - - diff --git a/dns/powerdns-devel/files/pdns.conf b/dns/powerdns-devel/files/pdns.conf deleted file mode 100644 index 8a9074387d69..000000000000 --- a/dns/powerdns-devel/files/pdns.conf +++ /dev/null @@ -1,304 +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 -#launch=gsqlite -#gsqlite-database=<path to your SQLite database> - -################################# -# allow-axfr-ips If disabled, DO allow zonetransfers from these IP addresses -# -# allow-axfr-ips= - -################################# -# allow-recursion List of netmasks that are allowed to recurse -# -# allow-recursion= - -################################# -# 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 - -################################# -# 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 - -################################# -# 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 - -################################# -# 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 address 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 failed update requests -# -# log-dns-details= - -################################# -# log-failed-updates If PDNS should log failed update requests -# -# log-failed-updates= - -################################# -# logfile Logfile to use -# -# 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-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/bin/../lib - -################################# -# negquery-cache-ttl Seconds to store packets in the PacketCache -# -# negquery-cache-ttl=60 - -################################# -# only-soa Make sure that no SOA serial is less than this number -# -# only-soa=org - -################################# -# out-of-zone-additional-processing Do out of zone additional processing -# -# out-of-zone-additional-processing=no - -################################# -# query-cache-ttl Seconds to store packets in the PacketCache -# -# query-cache-ttl=20 - -################################# -# 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 Number of receiver threads to launch -# -# 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 - -################################# -# 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= - -################################# -# 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 - -################################# -# smtpredirector Our smtpredir MX host -# -# smtpredirector=a.misconfigured.powerdns.smtp.server - -################################# -# soa-minimum-ttl Default SOA mininum ttl -# -# soa-minimum-ttl=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 - -################################# -# urlredirector Where we send hosts to that need to be url redirected -# -# urlredirector=127.0.0.1 - -################################# -# use-logfile Use a log file -# -# use-logfile=no - -################################# -# 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= - - diff --git a/dns/powerdns-devel/files/pdns.in b/dns/powerdns-devel/files/pdns.in deleted file mode 100644 index 8735e8268353..000000000000 --- a/dns/powerdns-devel/files/pdns.in +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/dns/powerdns-devel/files/Attic/pdns.in,v 1.2 2006-02-20 20:46:57 dougb Exp $ -# - -# PROVIDE: pdns_server -# REQUIRE: DAEMON -# KEYWORD: shutdown - -# -# Add the following lines to /etc/rc.conf to enable powerdns: -# -#pdns_enable="YES" -# -# See pdns_server(8) for flags. -# - -. %%RC_SUBR%% - -name=pdns -rcvar=`set_rcvar` - -command=%%PREFIX%%/sbin/pdns_server - -# set defaults - -pdns_enable=${pdns_enable:-"NO"} -pdns_conf=${pdns_conf:-"%%PREFIX%%/etc/pdns.conf"} -pdns_flags=${pdns_flags:-""} - -load_rc_config ${name} - -required_files=${pdns_conf} - -run_rc_command "$1" diff --git a/dns/powerdns-devel/files/pdns_mysql.sql b/dns/powerdns-devel/files/pdns_mysql.sql deleted file mode 100644 index 278c5d56c61c..000000000000 --- a/dns/powerdns-devel/files/pdns_mysql.sql +++ /dev/null @@ -1,38 +0,0 @@ -create table domains ( - id INT auto_increment, - name VARCHAR(255) NOT NULL, - master VARCHAR(20) DEFAULT NULL, - last_check INT DEFAULT NULL, - type VARCHAR(6) NOT NULL, - notified_serial INT DEFAULT NULL, - account VARCHAR(40) DEFAULT NULL, - primary key (id) -)type=InnoDB; - -CREATE UNIQUE INDEX name_index ON domains(name); - -CREATE TABLE records ( - id INT auto_increment, - domain_id INT DEFAULT NULL, - name VARCHAR(255) DEFAULT NULL, - type VARCHAR(6) DEFAULT NULL, - content VARCHAR(255) DEFAULT NULL, - ttl INT DEFAULT NULL, - prio INT DEFAULT NULL, - change_date INT DEFAULT NULL, - primary key(id) -)type=InnoDB; - -CREATE INDEX rec_name_index ON records(name); -CREATE INDEX nametype_index ON records(name,type); -CREATE INDEX domain_id ON records(domain_id); - -create table supermasters ( - ip VARCHAR(25) NOT NULL, - nameserver VARCHAR(255) NOT NULL, - account VARCHAR(40) DEFAULT NULL -); - -GRANT SELECT ON supermasters TO pdns; -GRANT ALL ON domains TO pdns; -GRANT ALL ON records TO pdns; diff --git a/dns/powerdns-devel/files/pdns_postgresql.sql b/dns/powerdns-devel/files/pdns_postgresql.sql deleted file mode 100644 index c700a2aa6dc2..000000000000 --- a/dns/powerdns-devel/files/pdns_postgresql.sql +++ /dev/null @@ -1,40 +0,0 @@ -create table domains ( - id SERIAL PRIMARY KEY, - name VARCHAR(255) NOT NULL, - master VARCHAR(20) DEFAULT NULL, - last_check INT DEFAULT NULL, - type VARCHAR(6) NOT NULL, - notified_serial INT DEFAULT NULL, - account VARCHAR(40) DEFAULT NULL -); -CREATE UNIQUE INDEX name_index ON domains(name); - -CREATE TABLE records ( - id SERIAL PRIMARY KEY, - domain_id INT DEFAULT NULL, - name VARCHAR(255) DEFAULT NULL, - type VARCHAR(6) DEFAULT NULL, - content VARCHAR(255) DEFAULT NULL, - ttl INT DEFAULT NULL, - prio INT DEFAULT NULL, - change_date INT DEFAULT NULL, - CONSTRAINT domain_exists - FOREIGN KEY(domain_id) REFERENCES domains(id) - ON DELETE CASCADE -); - -CREATE INDEX rec_name_index ON records(name); -CREATE INDEX nametype_index ON records(name,type); -CREATE INDEX domain_id ON records(domain_id); - -create table supermasters ( - ip VARCHAR(25) NOT NULL, - nameserver VARCHAR(255) NOT NULL, - account VARCHAR(40) DEFAULT NULL -); - -GRANT SELECT ON supermasters TO pdns; -GRANT ALL ON domains TO pdns; -GRANT ALL ON domains_id_seq TO pdns; -GRANT ALL ON records TO pdns; -GRANT ALL ON records_id_seq TO pdns; diff --git a/dns/powerdns-devel/files/pdns_recursor.in b/dns/powerdns-devel/files/pdns_recursor.in deleted file mode 100644 index 96bf4743c638..000000000000 --- a/dns/powerdns-devel/files/pdns_recursor.in +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# -# $FreeBSD: /tmp/pcvs/ports/dns/powerdns-devel/files/Attic/pdns_recursor.in,v 1.2 2006-02-20 20:46:57 dougb Exp $ -# - -# PROVIDE: pdns_recursor -# REQUIRE: DAEMON -# KEYWORD: shutdown - -# -# Add the following lines to /etc/rc.conf to enable pdns_recursor: -# -#pdns_recursor_enable="YES" -# -# See http://rtfm.powerdns.com for flags. -# - -. %%RC_SUBR%% - -name=pdns_recursor -rcvar=`set_rcvar` - -command=%%PREFIX%%/sbin/pdns_recursor - -# set defaults - -pdns_recursor_enable=${pdns_recursor_enable:-"NO"} -pdns_recursor_conf=${pdns_recursor_conf:-"%%PREFIX%%/etc/recursor.conf"} -pdns_recursor_flags=${pdns_recursor_flags:-""} - -load_rc_config ${name} - -required_files=${pdns_recursor_conf} - -run_rc_command "$1" diff --git a/dns/powerdns-devel/files/pdns_sqlite.sql b/dns/powerdns-devel/files/pdns_sqlite.sql deleted file mode 100644 index f0f831fb2977..000000000000 --- a/dns/powerdns-devel/files/pdns_sqlite.sql +++ /dev/null @@ -1,33 +0,0 @@ -create table domains ( - id INTEGER PRIMARY KEY, - name VARCHAR(255) NOT NULL, - master VARCHAR(20) DEFAULT NULL, - last_check INTEGER DEFAULT NULL, - type VARCHAR(6) NOT NULL, - notified_serial INTEGER DEFAULT NULL, - account VARCHAR(40) DEFAULT NULL -); - -CREATE UNIQUE INDEX name_index ON domains(name); - -CREATE TABLE records ( - id INTEGER PRIMARY KEY, - domain_id INTEGER DEFAULT NULL, - name VARCHAR(255) DEFAULT NULL, - type VARCHAR(6) DEFAULT NULL, - content VARCHAR(255) DEFAULT NULL, - ttl INTEGER DEFAULT NULL, - prio INTEGER DEFAULT NULL, - change_date INTEGER DEFAULT NULL -); - -CREATE INDEX rec_name_index ON records(name); -CREATE INDEX nametype_index ON records(name,type); -CREATE INDEX domain_id ON records(domain_id); - -create table supermasters ( - ip VARCHAR(25) NOT NULL, - nameserver VARCHAR(255) NOT NULL, - account VARCHAR(40) DEFAULT NULL -); - diff --git a/dns/powerdns-devel/files/pkg-message.in b/dns/powerdns-devel/files/pkg-message.in deleted file mode 100644 index bb7595598837..000000000000 --- a/dns/powerdns-devel/files/pkg-message.in +++ /dev/null @@ -1,15 +0,0 @@ - -******************************************************************* - Enable powerdns in /etc/rc.conf with the following line: - - pdns_enable="YES" - - If you want to use the powerdns recursor, - you need the following additional line in /etc/rc.conf - - pdns_recursor_enable="YES" - - Configuration templates are available in %%PREFIX%%/etc - as pdns.conf-dist. -******************************************************************* - diff --git a/dns/powerdns-devel/pkg-descr b/dns/powerdns-devel/pkg-descr deleted file mode 100644 index 9e1d2d6dbb2d..000000000000 --- a/dns/powerdns-devel/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -PowerDNS is an advanced DNS server, which allows for several different -backends. Current backends include MySQL, PostgreSQL, bind, etc. - -License: GPL V2 - -WWW: http://www.powerdns.com/ diff --git a/dns/powerdns-devel/pkg-plist b/dns/powerdns-devel/pkg-plist deleted file mode 100644 index 5e5921e60e88..000000000000 --- a/dns/powerdns-devel/pkg-plist +++ /dev/null @@ -1,26 +0,0 @@ -bin/pdns_control -bin/zone2ldap -bin/zone2sql -sbin/pdns_server -%%WITHMYSQL%%lib/libgmysqlbackend.a -%%WITHMYSQL%%lib/libgmysqlbackend.so -%%WITHMYSQL%%lib/libgmysqlbackend.so.0 -%%WITHSQLLITE%%lib/libgsqlitebackend.a -%%WITHSQLLITE%%lib/libgsqlitebackend.so -%%WITHSQLLITE%%lib/libgsqlitebackend.so.0 -%%WITHLDAP%%lib/libldapbackend.a -%%WITHLDAP%%lib/libldapbackend.so -%%WITHLDAP%%lib/libldapbackend.so.0 -lib/libpipebackend.a -lib/libpipebackend.la -lib/libpipebackend.so -lib/libpipebackend.so.0 -%%RECURSOR%%sbin/pdns_recursor -@unexec if cmp -s %D/etc/pdns.conf %D/etc/pdns.conf-dist; then rm -f %D/etc/pdns.conf; fi -etc/pdns.conf-dist -@exec [ -f %B/pdns.conf ] || cp %B/%f %B/pdns.conf -%%PORTDOCS%%share/examples/powerdns/pdns.conf -%%PORTDOCS%%share/examples/powerdns/pdns_mysql.sql -%%PORTDOCS%%share/examples/powerdns/pdns_postgresql.sql -%%PORTDOCS%%share/examples/powerdns/pdns_sqlite.sql -%%PORTDOCS%%@dirrm share/examples/powerdns |
