summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorghen <ghen>2006-08-13 09:36:06 +0000
committerghen <ghen>2006-08-13 09:36:06 +0000
commitd043bef3db1efbc0ef754d2c67849ff260a87ea3 (patch)
treec4d42ff0cd9b51168ba08a745ef7ac57f889dfda /net
parent4b7e434018625135a18f358bfe67a78ebd2288c5 (diff)
downloadpkgsrc-d043bef3db1efbc0ef754d2c67849ff260a87ea3.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