diff options
author | minskim <minskim@pkgsrc.org> | 2005-10-29 16:59:17 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-10-29 16:59:17 +0000 |
commit | 949809316cabfb970dd4175468728b71ae31a59a (patch) | |
tree | 5ccd38358e98e65384b2cd520458fc35e2e37419 /net | |
parent | a51ec216f4bdf8258e6366f5587eb22180983fae (diff) | |
download | pkgsrc-949809316cabfb970dd4175468728b71ae31a59a.tar.gz |
Import mydns-mysql from pkgsrc-wip. Packaged by Geert Hendrickx, and
slightly modified by me.
MyDNS is a free DNS server for UNIX. It was implemented from scratch
and is designed to serve records directly from an SQL database
(currently either MySQL or PostgreSQL).
Its primary objectives are stability, security, interoperability, and
speed, though not necessarily in that order.
MyDNS does not include recursive name service, nor a resolver library.
It is primarily designed for organizations with many zones and/or
resource records who desire the ability to perform real-time dynamic
updates on their DNS data via MySQL.
MyDNS starts and is ready to answer questions immediately, no matter
how much DNS data you have in the database. It is very fast and
memory- efficient. It includes complete documentation, including a
manual and a FAQ.
MyDNS supports a few frills, including round robin DNS, dynamic load
balancing, and outgoing AXFR for non-MyDNS nameservers.
MyDNS is licensed under the GNU General Public License.
This package provides the MySQL-based version.
Diffstat (limited to 'net')
-rw-r--r-- | net/mydns-mysql/DESCR | 23 | ||||
-rw-r--r-- | net/mydns-mysql/MESSAGE | 11 | ||||
-rw-r--r-- | net/mydns-mysql/Makefile | 17 | ||||
-rw-r--r-- | net/mydns-mysql/PLIST | 23 |
4 files changed, 74 insertions, 0 deletions
diff --git a/net/mydns-mysql/DESCR b/net/mydns-mysql/DESCR new file mode 100644 index 00000000000..c20c1b9a870 --- /dev/null +++ b/net/mydns-mysql/DESCR @@ -0,0 +1,23 @@ +MyDNS is a free DNS server for UNIX. It was implemented from scratch +and is designed to serve records directly from an SQL database +(currently either MySQL or PostgreSQL). + +Its primary objectives are stability, security, interoperability, and +speed, though not necessarily in that order. + +MyDNS does not include recursive name service, nor a resolver library. +It is primarily designed for organizations with many zones and/or +resource records who desire the ability to perform real-time dynamic +updates on their DNS data via MySQL. + +MyDNS starts and is ready to answer questions immediately, no matter +how much DNS data you have in the database. It is very fast and +memory- efficient. It includes complete documentation, including a +manual and a FAQ. + +MyDNS supports a few frills, including round robin DNS, dynamic load +balancing, and outgoing AXFR for non-MyDNS nameservers. + +MyDNS is licensed under the GNU General Public License. + +This package provides the MySQL-based version. diff --git a/net/mydns-mysql/MESSAGE b/net/mydns-mysql/MESSAGE new file mode 100644 index 00000000000..81b7cbf36f3 --- /dev/null +++ b/net/mydns-mysql/MESSAGE @@ -0,0 +1,11 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2005/10/29 16:59:17 minskim Exp $ + +MyDNS uses two tables in a MySQL database: "soa" and "rr" (you can change +this in ${PKG_SYSCONFDIR}/mydns.conf if you want). MyDNS can give the commands +to generate these tables: + + ${PREFIX}/sbin/mydns --create-tables + +You can pipe the output right into the mysql(1) client. +=========================================================================== diff --git a/net/mydns-mysql/Makefile b/net/mydns-mysql/Makefile new file mode 100644 index 00000000000..4e93f25a36e --- /dev/null +++ b/net/mydns-mysql/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/10/29 16:59:17 minskim Exp $ + +PKGNAME= ${DISTNAME:S/-/-mysql-/} +COMMENT= MySQL-based DNS server + +CONFLICTS= mydns-pgsql-[0-9]* + +DISTINFO_FILE= ${.CURDIR}/../../net/mydns-pgsql/distinfo +PATCHDIR= ${.CURDIR}/../../net/mydns-pgsql/patches +FILESDIR= ${.CURDIR}/../../net/mydns-pgsql/files + +CONFIGURE_ARGS+= --without-pgsql +CONFIGURE_ARGS+= --with-mysql-lib=${BUILDLINK_PREFIX.mysql-client}/lib/mysql +CONFIGURE_ARGS+= --with-mysql-include=${BUILDLINK_PREFIX.mysql-client}/include/mysql + +.include "../../mk/mysql.buildlink3.mk" +.include "../../net/mydns-pgsql/Makefile.common" diff --git a/net/mydns-mysql/PLIST b/net/mydns-mysql/PLIST new file mode 100644 index 00000000000..aa2567d935b --- /dev/null +++ b/net/mydns-mysql/PLIST @@ -0,0 +1,23 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/29 16:59:17 minskim Exp $ +bin/mydns-conf +bin/mydnscheck +bin/mydnsexport +bin/mydnsimport +bin/mydnsptrconvert +info/mydns.info +lib/charset.alias +man/man5/mydns.conf.5 +man/man8/mydns-conf.8 +man/man8/mydns.8 +man/man8/mydnscheck.8 +man/man8/mydnsexport.8 +man/man8/mydnsimport.8 +man/man8/mydnsptrconvert.8 +sbin/mydns +share/examples/mydns-mysql/mydns.conf +share/examples/rc.d/mydns +${PKGLOCALEDIR}/locale/es/LC_MESSAGES/mydns.mo +${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/mydns.mo +${PKGLOCALEDIR}/locale/locale.alias +${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/mydns.mo +@dirrm share/examples/mydns-mysql |