summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorghen <ghen@pkgsrc.org>2006-08-13 09:36:06 +0000
committerghen <ghen@pkgsrc.org>2006-08-13 09:36:06 +0000
commitf07481cadc3df6a0dfabff3583148e895cedc04d (patch)
treec4d42ff0cd9b51168ba08a745ef7ac57f889dfda /net
parent7c70ab590cdd44ba92525a8797585158004e3fd2 (diff)
downloadpkgsrc-f07481cadc3df6a0dfabff3583148e895cedc04d.tar.gz
Import net/powerdns-pgsql.
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.
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