import powerdns 2.9.21.1

pdnsd is a proxy dns server with permanent caching (the cache
contents are written to hard disk on exit) that is designed to cope
with unreachable or down dns servers (for example in dial-in
networking).

original port by dlg@ and robert@, banged into shape by me.
not hooked to the builds as this needs further testing/tweaking
This commit is contained in:
jasper 2008-10-02 18:40:41 +00:00
parent 7d6c5503a3
commit cd55a396b9
25 changed files with 803 additions and 0 deletions

114
net/powerdns/Makefile Normal file
View File

@ -0,0 +1,114 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
V= 2.9.21.1
DISTNAME= pdns-${V}
PKGNAME= powerdns-${V}
CATEGORIES= net
HOMEPAGE= http://www.powerdns.com/
COMMENT-main= modern authoritative nameserver
COMMENT-mysql= mysql database access emodule for powerdns
COMMENT-pgsql= pgsql database access module for powerdns
COMMENT-sqlite= sqlite database access module for powerdns
COMMENT-sqlite3= sqlite3 database access module for powerdns
SHARED_LIBS= geobackend 0.0 \
gmysqlbackend 0.0 \
gpgsqlbackend 0.0 \
gsqlite3backend 0.0 \
gsqlitebackend 0.0
MULTI_PACKAGES= -main
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB-main= c crypto m pthread ssl stdc++ z
MASTER_SITES= http://downloads.powerdns.com/releases/
NO_REGRESS= Yes
BUILD_DEPENDS= ::devel/boost
FLAVOR?=
BACKENDS=
# mysql
PSEUDO_FLAVORS+= no_mysql
.if ${FLAVOR:L:Mno_mysql}
CONFIGURE_ARGS+= --without-mysql
.else
MULTI_PACKAGES+= -mysql
CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
LIB_DEPENDS-mysql= lib/mysql/mysqlclient.>=10::databases/mysql
WANTLIB-mysql+= z
BACKENDS+= gmysql
.endif
# postgresql
PSEUDO_FLAVORS+= no_pgsql
.if ${FLAVOR:L:Mno_pgsql}
CONFIGURE_ARGS+= --without-pgsql
.else
MULTI_PACKAGES+= -pgsql
CONFIGURE_ARGS+= --with-pgsql=${LOCALBASE} \
--with-pgsql-includes=${LOCALBASE}/include/postgresql
LIB_DEPENDS-pgsql= pq.>=2:postgresql-client-*:databases/postgresql
BACKENDS+= gpgsql
.endif
# sqlite
PSEUDO_FLAVORS+= no_sqlite
.if ${FLAVOR:L:Mno_sqlite}
CONFIGURE_ARGS+= --without-sqlite
.else
MULTI_PACKAGES+= -sqlite
CONFIGURE_ARGS+= --with-sqlite=${LOCALBASE} \
--with-sqlite-includes=${LOCALBASE}/include
LIB_DEPENDS-sqlite= sqlite.>=8::databases/sqlite
WANTLIB-sqlite+= z
BACKENDS+= gsqlite
.endif
# sqlite3
PSEUDO_FLAVORS+= no_sqlite3
.if ${FLAVOR:L:Mno_sqlite3}
CONFIGURE_ARGS+= --without-sqlite3
.else
MULTI_PACKAGES+= -sqlite3
CONFIGURE_ARGS+= --with-sqlite3=${LOCALBASE} \
--with-sqlite3-includes=${LOCALBASE}/include
LIB_DEPENDS-sqlite3= sqlite3.>=8::databases/sqlite3
WANTLIB-sqlite3+= z
BACKENDS+= gsqlite3
.endif
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+= --with-dynmodules="${BACKENDS}" \
--disable-recursor # OpenBSD lacks ucontext.h, see PR 5099
EXAMPLE_TABLES= tables-mysql.sql \
tables-pgsql.sql \
tables-sqlite.sql
EXAMPLE_DIR= ${PREFIX}/share/examples/powerdns/
post-install:
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
.for t in ${EXAMPLE_TABLES}
${INSTALL_DATA} ${FILESDIR}/$t ${EXAMPLE_DIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/pdns/pdns.conf-dist ${EXAMPLE_DIR}
${INSTALL_DATA} ${FILESDIR}/pdns.conf ${EXAMPLE_DIR}
.include <bsd.port.mk>
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/pdns"

5
net/powerdns/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (pdns-2.9.21.1.tar.gz) = J/05ApqAy5wLwwN0IFFdGg==
RMD160 (pdns-2.9.21.1.tar.gz) = TQLnMvtzSPbutECQ1kGr2dDO6d0=
SHA1 (pdns-2.9.21.1.tar.gz) = 0vn1UiNBERTOIptHKCKPZzny5wg=
SHA256 (pdns-2.9.21.1.tar.gz) = +H6Bj74TXicQuV1+eT5IAQv7cpcjHOpBAfWOSVQHdAA=
SIZE (pdns-2.9.21.1.tar.gz) = 1002905

View File

@ -0,0 +1,363 @@
# 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>
# 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:)" )
# Autogenerated configuration file template
#################################
# allow-axfr-ips Allow zonetransfers only to these subnets
#
# allow-axfr-ips=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
#################################
# 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
#################################
# 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-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/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
#################################
# 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=
#################################
# 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
#################################
# 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
#################################
# send-root-referral Send out old-fashioned root-referral instead of ServFail in case of no authority
#
# send-root-referral=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-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
#################################
# 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
#################################
# 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=

View File

@ -0,0 +1,60 @@
-- $OpenBSD: tables-mysql.sql,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
-- Taken from FreeBSD's powerdns port.
SET SESSION sql_mode='ANSI';
CREATE TABLE "domains" (
"id" INTEGER NOT NULL AUTO_INCREMENT,
"name" VARCHAR(255) NOT NULL,
"type" VARCHAR(6) NOT NULL,
"master" VARCHAR(40) NOT NULL DEFAULT '',
"account" VARCHAR(40) NOT NULL DEFAULT '',
"notified_serial" INTEGER DEFAULT NULL,
"last_check" INTEGER DEFAULT NULL,
"status" CHAR(1) NOT NULL DEFAULT 'A',
CONSTRAINT "pk_domains_id"
PRIMARY KEY ("id"),
CONSTRAINT "unq_domains_name"
UNIQUE ("name")
) type=InnoDB;
CREATE INDEX "idx_domains_status_type" ON "domains" ("status","type");
CREATE TABLE "records" (
"id" INTEGER NOT NULL AUTO_INCREMENT,
"domain_id" INTEGER NOT NULL,
"name" VARCHAR(255) NOT NULL,
"type" VARCHAR(6) NOT NULL,
"ttl" INTEGER DEFAULT NULL,
"prio" INTEGER DEFAULT NULL,
"content" VARCHAR(255) NOT NULL,
"change_date" INTEGER DEFAULT NULL,
CONSTRAINT "pk_records_id"
PRIMARY KEY ("id"),
CONSTRAINT "fk_records_domainid"
FOREIGN KEY ("domain_id")
REFERENCES "domains" ("id")
ON UPDATE CASCADE
ON DELETE CASCADE
) type=InnoDB;
CREATE INDEX "idx_records_name_type" ON "records" ("name","type");
CREATE INDEX "idx_records_type" ON "records" ("type");
CREATE TABLE "supermasters" (
"ip" VARCHAR(40) NOT NULL,
"nameserver" VARCHAR(255) NOT NULL,
"account" VARCHAR(40) NOT NULL DEFAULT ''
);
CREATE INDEX "idx_smip_smns" ON "supermasters" ("ip","nameserver");
GRANT SELECT ON "supermasters" TO "powerdns";
GRANT ALL ON "domains" TO "powerdns";
GRANT ALL ON "records" TO "powerdns";

View File

@ -0,0 +1,60 @@
-- $OpenBSD: tables-pgsql.sql,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
-- Taken from FreeBSD's powerdns port.
CREATE TABLE "domains" (
"id" SERIAL NOT NULL,
"name" VARCHAR(255) NOT NULL,
"type" VARCHAR(6) NOT NULL,
"master" VARCHAR(40) NOT NULL DEFAULT '',
"account" VARCHAR(40) NOT NULL DEFAULT '',
"notified_serial" INTEGER DEFAULT NULL,
"last_check" INTEGER DEFAULT NULL,
"status" CHAR(1) NOT NULL DEFAULT 'A',
CONSTRAINT "pk_domains_id"
PRIMARY KEY ("id"),
CONSTRAINT "unq_domains_name"
UNIQUE ("name")
);
CREATE INDEX "idx_domains_status_type" ON "domains" ("status","type");
CREATE TABLE "records" (
"id" SERIAL NOT NULL,
"domain_id" INTEGER NOT NULL,
"name" VARCHAR(255) NOT NULL,
"type" VARCHAR(6) NOT NULL,
"ttl" INTEGER DEFAULT NULL,
"prio" INTEGER DEFAULT NULL,
"content" VARCHAR(255) NOT NULL,
"change_date" INTEGER DEFAULT NULL,
CONSTRAINT "pk_records_id"
PRIMARY KEY ("id"),
CONSTRAINT "fk_records_domainid"
FOREIGN KEY ("domain_id")
REFERENCES domains ("id")
ON UPDATE CASCADE
ON DELETE CASCADE
);
CREATE INDEX "idx_records_name_type" ON "records" ("name","type");
CREATE INDEX "idx_records_type" ON "records" ("type");
CREATE TABLE "supermasters" (
"ip" VARCHAR(40) NOT NULL,
"nameserver" VARCHAR(255) NOT NULL,
"account" VARCHAR(40) NOT NULL DEFAULT ''
);
CREATE INDEX "idx_smaster_ip_ns" ON "supermasters" ("ip","nameserver");
GRANT SELECT ON "supermasters" TO "powerdns";
GRANT ALL ON "domains" TO "powerdns";
GRANT ALL ON "domains_id_seq" TO "powerdns";
GRANT ALL ON "records" TO "powerdns";
GRANT ALL ON "records_id_seq" TO "powerdns";

View File

@ -0,0 +1,54 @@
-- $OpenBSD: tables-sqlite.sql,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
-- Taken from FreeBSD's powerdns port.
CREATE TABLE "domains" (
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
"name" VARCHAR(255) NOT NULL,
"type" VARCHAR(6) NOT NULL,
"master" VARCHAR(40) NOT NULL DEFAULT '',
"account" VARCHAR(40) NOT NULL DEFAULT '',
"notified_serial" INTEGER DEFAULT NULL,
"last_check" INTEGER DEFAULT NULL,
"status" CHAR(1) NOT NULL DEFAULT 'A',
CONSTRAINT "unq_domains_name"
UNIQUE ("name")
);
CREATE INDEX "idx_domains_status_type" ON "domains" ("status","type");
CREATE TABLE "records" (
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
"domain_id" INTEGER NOT NULL,
"name" VARCHAR(255) NOT NULL,
"type" VARCHAR(6) NOT NULL,
"ttl" INTEGER DEFAULT NULL,
"prio" INTEGER DEFAULT NULL,
"content" VARCHAR(255) NOT NULL,
"change_date" INTEGER DEFAULT NULL,
CONSTRAINT "fk_records_domainid"
FOREIGN KEY ("domain_id")
REFERENCES "domains" ("id")
ON UPDATE CASCADE
ON DELETE CASCADE
);
CREATE INDEX "idx_records_name_type" ON "records" ("name","type");
CREATE INDEX "idx_records_type" ON "records" ("type");
CREATE TABLE "supermasters" (
"ip" VARCHAR(40) NOT NULL,
"nameserver" VARCHAR(255) NOT NULL,
"account" VARCHAR(40) NOT NULL DEFAULT ''
);
CREATE INDEX "idx_smip_smns" ON "supermasters" ("ip","nameserver");
GRANT SELECT ON "supermasters" TO "powerdns";
GRANT ALL ON "domains" TO "powerdns";
GRANT ALL ON "records" TO "powerdns";

View File

@ -0,0 +1,8 @@
$OpenBSD: patch-modules_gpgsqlbackend_OBJECTLIBS,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
--- modules/gpgsqlbackend/OBJECTLIBS.orig Sun Aug 3 14:47:25 2008
+++ modules/gpgsqlbackend/OBJECTLIBS Sun Aug 3 14:47:30 2008
@@ -1,3 +1,3 @@
--lpq -lssl -lcrypto -lcrypt -lresolv -lnsl
+-lpq -lssl -lcrypto

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-pdns_Makefile_in,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
--- pdns/Makefile.in.orig Mon Sep 22 12:46:55 2008
+++ pdns/Makefile.in Mon Sep 22 12:50:20 2008
@@ -1042,8 +1042,7 @@ info-am:
install-data-am:
-install-exec-am: install-binPROGRAMS install-sbinPROGRAMS \
- install-sysconfDATA
+install-exec-am: install-binPROGRAMS install-sbinPROGRAMS
install-info: install-info-recursive

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-pdns_dns_hh,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
--- pdns/dns.hh.orig Sat Apr 21 23:56:36 2007
+++ pdns/dns.hh Sun Aug 3 11:52:57 2008
@@ -173,6 +173,8 @@ typedef enum {
#include <machine/endian.h>
#elif __linux__
# include <endian.h>
+#elif __OpenBSD__
+# include <sys/endian.h>
#else // with thanks to <arpa/nameser.h>

View File

@ -0,0 +1,19 @@
pdnsd is a proxy dns server with permanent caching (the cache
contents are written to hard disk on exit) that is designed to cope
with unreachable or down dns servers (for example in dial-in
networking).
pdnsd is configurable via a file and supports run-time configuration
using the program pdnsd-ctl that comes with pdnsd.
Wonder why you should use it instead of BIND?
* permanent disk cache (useful for frequent power-offs/reboots)
* usually smaller memory footprint (depends on cache size)
* offline-detection prevents hangs (e.g. the typical hang on startup
of some Netscape Navigator versions if not dialed in)
* better control about timeouts (also to prevent hangs)
* better control over the cache
* better run-time control
* strict RFC 2181 matching
* negative caching

View File

@ -0,0 +1,9 @@
pdnsd is a proxy dns server with permanent caching (the cache
contents are written to hard disk on exit) that is designed to cope
with unreachable or down dns servers (for example in dial-in
networking).
pdnsd is configurable via a file and supports run-time configuration
using the program pdnsd-ctl that comes with pdnsd.
This package contains the MySQL-backend.

View File

@ -0,0 +1,9 @@
pdnsd is a proxy dns server with permanent caching (the cache
contents are written to hard disk on exit) that is designed to cope
with unreachable or down dns servers (for example in dial-in
networking).
pdnsd is configurable via a file and supports run-time configuration
using the program pdnsd-ctl that comes with pdnsd.
This package contains the PostgreSQL-backend.

View File

@ -0,0 +1,9 @@
pdnsd is a proxy dns server with permanent caching (the cache
contents are written to hard disk on exit) that is designed to cope
with unreachable or down dns servers (for example in dial-in
networking).
pdnsd is configurable via a file and supports run-time configuration
using the program pdnsd-ctl that comes with pdnsd.
This package contains the SQLite-backend.

View File

@ -0,0 +1,9 @@
pdnsd is a proxy dns server with permanent caching (the cache
contents are written to hard disk on exit) that is designed to cope
with unreachable or down dns servers (for example in dial-in
networking).
pdnsd is configurable via a file and supports run-time configuration
using the program pdnsd-ctl that comes with pdnsd.
This package contains the SQLite3-backend.

View File

@ -0,0 +1,12 @@
To start the powerdns server at boot time, add the following to
${SYSCONFDIR}/rc.local:
if [ -x ${PREFIX}/sbin/pdns_server ]; then
echo -n ' pdns_server'; ${PREFIX}/sbin/pdns_server \
--daemon=no --guardian=no --control-console --loglevel=9
fi
An autogenerated configuration file has been installed into:
${PREFIX}/share/examples/pdns/pdns.conf-dist
For a quick-start ${SYSCONFDIR}/pdns/pdns.conf has been provided.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared-main,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
@lib lib/libgeobackend.so.${LIBgeobackend_VERSION}

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared-mysql,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
@lib lib/libgmysqlbackend.so.${LIBgmysqlbackend_VERSION}

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared-pgsql,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
@lib lib/libgpgsqlbackend.so.${LIBgpgsqlbackend_VERSION}

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared-sqlite,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
@lib lib/libgsqlitebackend.so.${LIBgsqlitebackend_VERSION}

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared-sqlite3,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
@lib lib/libgsqlite3backend.so.${LIBgsqlite3backend_VERSION}

View File

@ -0,0 +1,22 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
@newgroup _pdnsd:609
@newuser _pdnsd:609:_pdnsd:daemon:Proxy DNS Server:/nonexistent:/sbin/nologin
%%SHARED%%
@bin bin/pdns_control
@bin bin/zone2ldap
@bin bin/zone2sql
lib/libgeobackend.a
lib/libgeobackend.la
@man man/man8/pdns_control.8
@man man/man8/pdns_server.8
@man man/man8/zone2sql.8
@bin sbin/pdns_server
share/examples/powerdns/
@sample ${SYSCONFDIR}/pdns/
share/examples/powerdns/pdns.conf
@sample ${SYSCONFDIR}/pdns/pdns.conf
share/examples/powerdns/pdns.conf-dist
share/examples/powerdns/tables-mysql.sql
share/examples/powerdns/tables-pgsql.sql
share/examples/powerdns/tables-sqlite.sql
@extraunexec rm -rf /var/pdnsd

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST-mysql,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
%%SHARED%%
lib/libgmysqlbackend.a
lib/libgmysqlbackend.la

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST-pgsql,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
lib/libgpgsqlbackend.a
lib/libgpgsqlbackend.la

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST-sqlite,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
%%SHARED%%
lib/libgsqlitebackend.a
lib/libgsqlitebackend.la

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST-sqlite3,v 1.1.1.1 2008/10/02 18:40:41 jasper Exp $
%%SHARED%%
lib/libgsqlite3backend.a
lib/libgsqlite3backend.la