summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/powerdns-pgsql/DESCR9
-rw-r--r--net/powerdns-pgsql/Makefile13
-rw-r--r--net/powerdns-pgsql/PLIST2
3 files changed, 24 insertions, 0 deletions
diff --git a/net/powerdns-pgsql/DESCR b/net/powerdns-pgsql/DESCR
new file mode 100644
index 00000000000..7b1b82cb385
--- /dev/null
+++ b/net/powerdns-pgsql/DESCR
@@ -0,0 +1,9 @@
+The PowerDNS nameserver is a modern, advanced and high performance
+authoritative-only nameserver. It is written from scratch and conforms
+to all the relevant DNS standards documents. PowerDNS is open source.
+
+The PowerDNS nameserver utilizes a flexible backend architecture that
+can access DNS information from any data source. This includes file
+formats, BIND zone files, relational databases or LDAP directories.
+
+This packages provides the PostgreSQL backend module.
diff --git a/net/powerdns-pgsql/Makefile b/net/powerdns-pgsql/Makefile
new file mode 100644
index 00000000000..5d6708b5155
--- /dev/null
+++ b/net/powerdns-pgsql/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/13 09:36:06 ghen Exp $
+
+.include "../../net/powerdns/Makefile.backend"
+
+PKGNAME= ${DISTNAME:S/pdns/powerdns-pgsql/}
+COMMENT= PostgreSQL backend module for PowerDNS
+
+CONFIGURE_ARGS+= --with-dynmodules="gpgsql"
+CONFIGURE_ARGS+= --with-pgsql-lib=${BUILDLINK_PREFIX.${PGSQL_TYPE}}/lib
+CONFIGURE_ARGS+= --with-pgsql-includes=${BUILDLINK_PREFIX.${PGSQL_TYPE}}/include
+
+.include "../../mk/pgsql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/powerdns-pgsql/PLIST b/net/powerdns-pgsql/PLIST
new file mode 100644
index 00000000000..4d899753d44
--- /dev/null
+++ b/net/powerdns-pgsql/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/13 09:36:06 ghen Exp $
+lib/pdns/libgpgsqlbackend.la