summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2017-03-09 13:52:34 +0000
committerfhajny <fhajny@pkgsrc.org>2017-03-09 13:52:34 +0000
commit40a80c0a40ac04ea25f3c2288ae042a2575ab205 (patch)
tree81682a97c5409981285327ed83b3b7fcdfe712b4
parent87062b0c5c05a37c8b61d42d59fa9ab0d91d5041 (diff)
downloadpkgsrc-40a80c0a40ac04ea25f3c2288ae042a2575ab205.tar.gz
Import powerdns-odbc 4.0.3.
This packages provides the ODBC backend module to PowerDNS.
-rw-r--r--net/powerdns-odbc/DESCR9
-rw-r--r--net/powerdns-odbc/Makefile12
-rw-r--r--net/powerdns-odbc/PLIST3
-rw-r--r--net/powerdns/Makefile.backend3
4 files changed, 26 insertions, 1 deletions
diff --git a/net/powerdns-odbc/DESCR b/net/powerdns-odbc/DESCR
new file mode 100644
index 00000000000..ab491cfc3e0
--- /dev/null
+++ b/net/powerdns-odbc/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 ODBC backend module.
diff --git a/net/powerdns-odbc/Makefile b/net/powerdns-odbc/Makefile
new file mode 100644
index 00000000000..097697407cb
--- /dev/null
+++ b/net/powerdns-odbc/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2017/03/09 13:52:34 fhajny Exp $
+
+.include "../../net/powerdns/Makefile.backend"
+
+PKGNAME= ${DISTNAME:S/pdns/powerdns-odbc/}
+COMMENT= ODBC backend module for PowerDNS
+
+CONFIGURE_ARGS+= --with-dynmodules="godbc"
+CONFIGURE_ARGS+= --with-unixodbc=${BUILDLINK_PREFIX.unixodbc}
+
+.include "../../databases/unixodbc/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/powerdns-odbc/PLIST b/net/powerdns-odbc/PLIST
new file mode 100644
index 00000000000..fa11e1e376d
--- /dev/null
+++ b/net/powerdns-odbc/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2017/03/09 13:52:34 fhajny Exp $
+lib/pdns/pdns/libgodbcbackend.la
+share/doc/pdns/schema.mssql.sql
diff --git a/net/powerdns/Makefile.backend b/net/powerdns/Makefile.backend
index f9a0878dc9d..22807b754f7 100644
--- a/net/powerdns/Makefile.backend
+++ b/net/powerdns/Makefile.backend
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile.backend,v 1.5 2017/03/09 13:50:07 fhajny Exp $
+# $NetBSD: Makefile.backend,v 1.6 2017/03/09 13:52:34 fhajny Exp $
# used by net/powerdns-geoip/Makefile
# used by net/powerdns-ldap/Makefile
# used by net/powerdns-mysql/Makefile
+# used by net/powerdns-odbc/Makefile
# used by net/powerdns-pgsql/Makefile
.include "../../net/powerdns/Makefile.common"