summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/powerdns-mysql/DESCR9
-rw-r--r--net/powerdns-mysql/Makefile13
-rw-r--r--net/powerdns-mysql/PLIST2
3 files changed, 24 insertions, 0 deletions
diff --git a/net/powerdns-mysql/DESCR b/net/powerdns-mysql/DESCR
new file mode 100644
index 00000000000..61934732627
--- /dev/null
+++ b/net/powerdns-mysql/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 MySQL backend module.
diff --git a/net/powerdns-mysql/Makefile b/net/powerdns-mysql/Makefile
new file mode 100644
index 00000000000..bc769b0427d
--- /dev/null
+++ b/net/powerdns-mysql/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/13 09:35:02 ghen Exp $
+
+.include "../../net/powerdns/Makefile.backend"
+
+PKGNAME= ${DISTNAME:S/pdns/powerdns-mysql/}
+COMMENT= MySQL backend module for PowerDNS
+
+CONFIGURE_ARGS+= --with-dynmodules="gmysql"
+CONFIGURE_ARGS+= --with-mysql-lib=${BUILDLINK_PREFIX.mysql-client}/lib/mysql
+CONFIGURE_ARGS+= --with-mysql-includes=${BUILDLINK_PREFIX.mysql-client}/include/mysql
+
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/powerdns-mysql/PLIST b/net/powerdns-mysql/PLIST
new file mode 100644
index 00000000000..81110ff18bc
--- /dev/null
+++ b/net/powerdns-mysql/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/13 09:35:02 ghen Exp $
+lib/pdns/libgmysqlbackend.la