summaryrefslogtreecommitdiff
path: root/net/maradns
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2003-09-25 14:12:50 +0000
committerxtraeme <xtraeme@pkgsrc.org>2003-09-25 14:12:50 +0000
commit133995d090294220f392c9611d20a4d099f7074f (patch)
tree47819d4252d353236a49906a95ce8f44fdacaca6 /net/maradns
parente14a482e366f364938ef2ead070101ccf7e7ab15 (diff)
downloadpkgsrc-133995d090294220f392c9611d20a4d099f7074f.tar.gz
Initial import of maradns 1.0.17.
Package provided by pancake <pancake@phreaker.net> via pkgsrc-wip. MaraDNS is a package that implements the Domain Name Service (DNS), an essential internet service. MaraDNS is intended for environments where a DNS server must be secure and where the server must use the absolute minimum number of resources possible. MaraDNS was created in response to issues people had with the DNS servers available in early 2001; and has the following design goals: Security-aware programming. A DNS server needs to be secure. I have a number of security features in the code, including: 1. The code uses a special string library which is resistant to buffer overflows. 2. The code, if started as root, mandates running as an unpriviledged user in a chroot() jail. Open-Source. The 1.0 release of the DNS server is public-domain code; the 1.2 release will be released under a very liberal BSD-style license. Simplicity. This DNS server has the minimum number of features needed to correctly act as an authoritative and/or recursive name server.
Diffstat (limited to 'net/maradns')
-rw-r--r--net/maradns/DESCR21
-rw-r--r--net/maradns/Makefile24
-rw-r--r--net/maradns/PLIST168
-rw-r--r--net/maradns/distinfo4
-rw-r--r--net/maradns/files/maradns.sh18
5 files changed, 235 insertions, 0 deletions
diff --git a/net/maradns/DESCR b/net/maradns/DESCR
new file mode 100644
index 00000000000..cd4a73a6427
--- /dev/null
+++ b/net/maradns/DESCR
@@ -0,0 +1,21 @@
+MaraDNS is a package that implements the Domain Name Service (DNS), an
+essential internet service. MaraDNS is intended for environments where a DNS
+server must be secure and where the server must use the absolute minimum
+number of resources possible. MaraDNS was created in response to issues
+people had with the DNS servers available in early 2001; and has the
+following design goals:
+
+Security-aware programming. A DNS server needs to be secure. I have a number
+of security features in the code, including:
+
+ 1. The code uses a special string library which is resistant to buffer
+ overflows.
+
+ 2. The code, if started as root, mandates running as an unpriviledged user
+ in a chroot() jail.
+
+Open-Source. The 1.0 release of the DNS server is public-domain code;
+the 1.2 release will be released under a very liberal BSD-style license.
+
+Simplicity. This DNS server has the minimum number of features needed to
+correctly act as an authoritative and/or recursive name server.
diff --git a/net/maradns/Makefile b/net/maradns/Makefile
new file mode 100644
index 00000000000..f71d85e192d
--- /dev/null
+++ b/net/maradns/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/25 14:12:50 xtraeme Exp $
+
+DISTNAME= maradns-1.0.17
+CATEGORIES= net
+MASTER_SITES= http://www.maradns.org/download/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pancake@phreaker.net
+HOMEPAGE= http://www.maradns.org/
+COMMENT= Secure DNS server for *NIX systems
+
+USE_PKGINSTALL= YES
+RCD_SCRIPTS= maradns
+
+EGDIR= ${PREFIX}/share/examples/maradns
+CONF_FILES= ${EGDIR}/example_mararc ${PKG_SYSCONFDIR}/mararc
+
+post-install:
+ ${MV} ${PREFIX}/doc/${DISTNAME} ${PREFIX}/share/doc/maradns
+ ${RMDIR} ${PREFIX}/doc/
+ ${MV} ${PREFIX}/share/doc/maradns/examples \
+ ${PREFIX}/share/examples/maradns
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/maradns/PLIST b/net/maradns/PLIST
new file mode 100644
index 00000000000..7082e1ee75b
--- /dev/null
+++ b/net/maradns/PLIST
@@ -0,0 +1,168 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/25 14:12:51 xtraeme Exp $
+bin/askmara
+bin/getzone
+etc/mararc
+etc/rc.d/maradns
+man/man1/askmara.1
+man/man1/getzone.1
+man/man5/csv1.5
+man/man5/mararc.5
+man/man8/maradns.8
+man/man8/zoneserver.8
+sbin/maradns
+sbin/zoneserver
+share/doc/maradns/Makefile
+share/doc/maradns/QuickStart
+share/doc/maradns/README
+share/doc/maradns/changelog.html
+share/doc/maradns/changelog.txt
+share/doc/maradns/credits.txt
+share/doc/maradns/download.html
+share/doc/maradns/faq.html
+share/doc/maradns/faq.txt
+share/doc/maradns/files.txt
+share/doc/maradns/logfile
+share/doc/maradns/man/Makefile
+share/doc/maradns/man/askmara.1
+share/doc/maradns/man/csv1.5
+share/doc/maradns/man/getzone.1
+share/doc/maradns/man/make.postscript
+share/doc/maradns/man/maradns.8
+share/doc/maradns/man/mararc.5
+share/doc/maradns/man/read.manpage
+share/doc/maradns/man/zoneserver.8
+share/doc/maradns/maradns.pgp.key
+share/doc/maradns/misc/0README
+share/doc/maradns/misc/RFC1035.compliance
+share/doc/maradns/misc/cache.poison.protection
+share/doc/maradns/misc/decompress_api.abw
+share/doc/maradns/misc/decompress_api.html
+share/doc/maradns/misc/describing_dns_rrs.abw
+share/doc/maradns/misc/describing_dns_rrs.html
+share/doc/maradns/misc/handling.compression
+share/doc/maradns/misc/how.maradns.stores.rrs
+share/doc/maradns/misc/how.to.support.sql
+share/doc/maradns/misc/js-manpages/README
+share/doc/maradns/misc/js-manpages/js_alloc.3
+share/doc/maradns/misc/js-manpages/js_append.3
+share/doc/maradns/misc/js-manpages/js_atoi.3
+share/doc/maradns/misc/js-manpages/js_buf_eof.3
+share/doc/maradns/misc/js-manpages/js_buf_getline.3
+share/doc/maradns/misc/js-manpages/js_buf_read.3
+share/doc/maradns/misc/js-manpages/js_close.3
+share/doc/maradns/misc/js-manpages/js_copy.3
+share/doc/maradns/misc/js-manpages/js_create.3
+share/doc/maradns/misc/js-manpages/js_dealloc.3
+share/doc/maradns/misc/js-manpages/js_destroy.3
+share/doc/maradns/misc/js-manpages/js_destroy_force.3
+share/doc/maradns/misc/js-manpages/js_fgrep.3
+share/doc/maradns/misc/js-manpages/js_fgrep_offset.3
+share/doc/maradns/misc/js-manpages/js_get_encode.3
+share/doc/maradns/misc/js-manpages/js_getline_stdin.3
+share/doc/maradns/misc/js-manpages/js_has_sanity.3
+share/doc/maradns/misc/js-manpages/js_insert.3
+share/doc/maradns/misc/js-manpages/js_issame.3
+share/doc/maradns/misc/js-manpages/js_js2str.3
+share/doc/maradns/misc/js-manpages/js_length.3
+share/doc/maradns/misc/js-manpages/js_lock.3
+share/doc/maradns/misc/js-manpages/js_match.3
+share/doc/maradns/misc/js-manpages/js_match_offset.3
+share/doc/maradns/misc/js-manpages/js_newline_chars.3
+share/doc/maradns/misc/js-manpages/js_nonmatch.3
+share/doc/maradns/misc/js-manpages/js_nonmatch_offset.3
+share/doc/maradns/misc/js-manpages/js_octets.3
+share/doc/maradns/misc/js-manpages/js_open.3
+share/doc/maradns/misc/js-manpages/js_open_append.3
+share/doc/maradns/misc/js-manpages/js_open_read.3
+share/doc/maradns/misc/js-manpages/js_open_write.3
+share/doc/maradns/misc/js-manpages/js_qstr2js.3
+share/doc/maradns/misc/js-manpages/js_read.3
+share/doc/maradns/misc/js-manpages/js_set_chsize.3
+share/doc/maradns/misc/js-manpages/js_set_encode.3
+share/doc/maradns/misc/js-manpages/js_show_stdout.3
+share/doc/maradns/misc/js-manpages/js_space_chars.3
+share/doc/maradns/misc/js-manpages/js_str2js.3
+share/doc/maradns/misc/js-manpages/js_substr.3
+share/doc/maradns/misc/js-manpages/js_tolower.3
+share/doc/maradns/misc/js-manpages/js_unlock.3
+share/doc/maradns/misc/js-manpages/js_val.3
+share/doc/maradns/misc/js-manpages/js_write.3
+share/doc/maradns/misc/man_macros/README
+share/doc/maradns/misc/man_macros/example_manpage.1
+share/doc/maradns/misc/man_macros/man.macros
+share/doc/maradns/misc/man_macros/man.macros.7
+share/doc/maradns/misc/multiple.qdcount
+share/doc/maradns/misc/old.changelog
+share/doc/maradns/misc/private_rrs.abw
+share/doc/maradns/misc/private_rrs.html
+share/doc/maradns/misc/propagation.txt
+share/doc/maradns/misc/recursive-case-insensitive
+share/doc/maradns/misc/recursive.algorithm
+share/doc/maradns/misc/resolution.algorithm
+share/doc/maradns/misc/rfc/rfc1035.txt
+share/doc/maradns/misc/rtest.output
+share/doc/maradns/misc/spammers/azmalink.net
+share/doc/maradns/misc/spammers/hiddenonline/google.search
+share/doc/maradns/misc/spammers/hiddenonline/hiddenonline.spam
+share/doc/maradns/misc/spammers/hiddenonline/whois.dimeit.com
+share/doc/maradns/misc/spammers/hiddenonline/whois.hiddenonline.net
+share/doc/maradns/misc/www.monty.de
+share/doc/maradns/misc/year_2038_statement.abw
+share/doc/maradns/misc/year_2038_statement.html
+share/doc/maradns/misc/year_2038_statement.txt
+share/doc/maradns/ps/Makefile
+share/doc/maradns/ps/README
+share/doc/maradns/source/SOURCE.FILES
+share/doc/maradns/source/askmara.ej
+share/doc/maradns/source/authoritative.ej
+share/doc/maradns/source/changelog.ej
+share/doc/maradns/source/changelog.embed
+share/doc/maradns/source/compile.ej
+share/doc/maradns/source/convert.ej
+share/doc/maradns/source/credits.ej
+share/doc/maradns/source/credits.embed
+share/doc/maradns/source/csv1.ej
+share/doc/maradns/source/data_structures.ej
+share/doc/maradns/source/download.ej
+share/doc/maradns/source/ej.doc.format
+share/doc/maradns/source/ej.template
+share/doc/maradns/source/example_auth_mararc
+share/doc/maradns/source/example_csv1
+share/doc/maradns/source/example_full_mararc
+share/doc/maradns/source/example_mararc
+share/doc/maradns/source/example_mararc.ej
+share/doc/maradns/source/example_recursive_mararc
+share/doc/maradns/source/example_simple_csv1
+share/doc/maradns/source/faq.ej
+share/doc/maradns/source/faq.embed
+share/doc/maradns/source/files.ej
+share/doc/maradns/source/getzone.ej
+share/doc/maradns/source/glossary.ej
+share/doc/maradns/source/maradns.ej
+share/doc/maradns/source/mararc.ej
+share/doc/maradns/source/quick_start.ej
+share/doc/maradns/source/recordtypes.ej
+share/doc/maradns/source/recursive.ej
+share/doc/maradns/source/security_design.embed
+share/doc/maradns/source/tutorial.ej
+share/doc/maradns/source/zoneserver.ej
+share/doc/maradns/tutorial/Makefile
+share/doc/maradns/tutorial/authoritative.html
+share/doc/maradns/tutorial/compile.html
+share/doc/maradns/tutorial/convert.html
+share/doc/maradns/tutorial/glossary.html
+share/doc/maradns/tutorial/man.csv1.html
+share/doc/maradns/tutorial/man.maradns.html
+share/doc/maradns/tutorial/man.mararc.html
+share/doc/maradns/tutorial/recordtypes.html
+share/doc/maradns/tutorial/recursive.html
+share/doc/maradns/tutorial/tutorial.html
+share/examples/maradns/Makefile
+share/examples/maradns/example_authoritative_mararc.txt
+share/examples/maradns/example_csv1
+share/examples/maradns/example_csv1.txt
+share/examples/maradns/example_full_mararc
+share/examples/maradns/example_mararc
+share/examples/maradns/example_recursive_mararc.txt
+@dirrm share/examples/maradns
+@dirrm share/doc/maradns
diff --git a/net/maradns/distinfo b/net/maradns/distinfo
new file mode 100644
index 00000000000..9983d876bdf
--- /dev/null
+++ b/net/maradns/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/25 14:12:50 xtraeme Exp $
+
+SHA1 (maradns-1.0.17.tar.bz2) = ea5ef5915d8284aa45a09554757bfae895e5e822
+Size (maradns-1.0.17.tar.bz2) = 414083 bytes
diff --git a/net/maradns/files/maradns.sh b/net/maradns/files/maradns.sh
new file mode 100644
index 00000000000..61306b8d0a6
--- /dev/null
+++ b/net/maradns/files/maradns.sh
@@ -0,0 +1,18 @@
+#!@RCS_SCRIPTS_SHELL@
+#
+# $NetBSD: maradns.sh,v 1.1.1.1 2003/09/25 14:12:51 xtraeme Exp $
+#
+
+# PROVIDE: maradns
+# REQUIRE: DAEMON
+
+. /etc/rc.subr
+
+name="maradns"
+rcvar=$name
+command="@PREFIX@/sbin/${name}"
+pidfile="/var/run/${name}.pid"
+required_files="@PKG_SYSCONFDIR@/mararc"
+
+load_rc_config $name
+run_rc_command "$1"