diff --git a/net/maradns/Makefile b/net/maradns/Makefile new file mode 100644 index 00000000000..fd76543f6ab --- /dev/null +++ b/net/maradns/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ + +SUBDIR+= stable +SUBDIR+= devel + +.include diff --git a/net/maradns/Makefile.inc b/net/maradns/Makefile.inc new file mode 100644 index 00000000000..057e881f5ce --- /dev/null +++ b/net/maradns/Makefile.inc @@ -0,0 +1,20 @@ +# $OpenBSD: Makefile.inc,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ + +COMMENT= "simple and performant DNS server" + +DISTNAME= maradns-${VERSION} +CATEGORIES= net + +HOMEPAGE= http://www.maradns.org + +MAINTAINER= Margarida Sequeira + +# stable: Public Domain - devel: BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MAKE_FLAGS= CC="${CC}" FLAGS="${CFLAGS}" + +NO_REGRESS= Yes diff --git a/net/maradns/devel/Makefile b/net/maradns/devel/Makefile new file mode 100644 index 00000000000..3d68ac74200 --- /dev/null +++ b/net/maradns/devel/Makefile @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ + +VERSION= 1.1.06 + +MASTER_SITES= ${HOMEPAGE}/download/1.1/ \ + http://maradns.3va.net/download/1.1/ \ + http://maradns.glou.net/download/1.1/ + +EXTRACT_SUFX= .tar.bz2 + +.include diff --git a/net/maradns/devel/distinfo b/net/maradns/devel/distinfo new file mode 100644 index 00000000000..a6d73d06fbe --- /dev/null +++ b/net/maradns/devel/distinfo @@ -0,0 +1,3 @@ +MD5 (maradns-1.1.06.tar.bz2) = 5bba687af4bdc8aec3474852598c621e +RMD160 (maradns-1.1.06.tar.bz2) = 40351495cfc31512581ba8aa1b39339514283d5e +SHA1 (maradns-1.1.06.tar.bz2) = b1a272725af3cf6a2029e2b5c7331d146339a24b diff --git a/net/maradns/devel/patches/patch-build_install_locations b/net/maradns/devel/patches/patch-build_install_locations new file mode 100644 index 00000000000..8fc148b74a9 --- /dev/null +++ b/net/maradns/devel/patches/patch-build_install_locations @@ -0,0 +1,12 @@ +$OpenBSD: patch-build_install_locations,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ +--- build/install.locations.orig Thu Nov 14 23:59:09 2002 ++++ build/install.locations Fri Nov 15 00:02:17 2002 +@@ -33,7 +33,7 @@ MAN5="$PREFIX/man/man5/" + # The directory to put man pages which describe the server programs + MAN8="$PREFIX/man/man8/" + # The directory to put a copy of the MaraDNS documents on the system +-DOCS="$PREFIX/doc/maradns-$VERSION" ++DOCS="$PREFIX/share/doc/maradns-devel" + + # Mandrake does not have a /usr/local/man. Ugh. + # As a result, we need the following kludge to get this to diff --git a/net/maradns/devel/patches/patch-build_install_sh b/net/maradns/devel/patches/patch-build_install_sh new file mode 100644 index 00000000000..9cfca06656e --- /dev/null +++ b/net/maradns/devel/patches/patch-build_install_sh @@ -0,0 +1,49 @@ +$OpenBSD: patch-build_install_sh,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ +--- build/install.sh.orig Sun Jun 16 05:19:26 2002 ++++ build/install.sh Fri Nov 15 02:35:43 2002 +@@ -108,44 +108,4 @@ cd .. + mkdir $DOCS > /dev/null 2>&1 + cp -r * $DOCS + cd $TOPLEVEL +-cp maradns.pgp.key $DOCS +- +-# If the system in question does not already have configuration files, +-# place example configuration files in /etc +-if [ -d docs/$LANGUAGE/examples ] ; then +- cd doc/$LANGUAGE/examples +-else +- cd doc/en/examples +-fi +- +-if [ ! -f $RPM_BUILD_ROOT/etc/mararc ] ; then +- cp example_mararc $RPM_BUILD_ROOT/etc/mararc +-fi +-if [ ! -d $RPM_BUILD_ROOT/etc/maradns ] ; then +- mkdir $RPM_BUILD_ROOT/etc/maradns +- chmod 755 $RPM_BUILD_ROOT/etc/maradns +-fi +-cp example_csv1 $RPM_BUILD_ROOT/etc/maradns/db.example.com +- +-# Finally, set up the startup files, as needed +-# Go back to the top-level MaraDNS directory +-cd $TOPLEVEL +-# And copy over the init files if this system looks to be a sysVish init +-# system +-if [ -d $RPM_BUILD_ROOT/etc/rc.d/init.d ] ; then +- echo Adding MaraDNS startup scripts +- if [ ! -f $RPM_BUILD_ROOT/etc/rc.d/init.d/maradns ] ; then +- cp $BUILDDIR/mara.startup $RPM_BUILD_ROOT/etc/rc.d/init.d/maradns +- fi +- if cd $RPM_BUILD_ROOT/etc/rc.d/rc3.d/ ; then +- echo Starting up MaraDNS at runlevel 3 +- rm S60maradns +- ln -s ../init.d/maradns S60maradns +- fi +- if cd $RPM_BUILD_ROOT/etc/rc.d/rc5.d/ ; then +- echo starting up MaraDNS at runlevel 5 +- rm S60maradns +- ln -s ../init.d/maradns S60maradns +- fi +-fi +- ++cp maradns.gpg.key $DOCS diff --git a/net/maradns/devel/patches/patch-configure b/net/maradns/devel/patches/patch-configure new file mode 100644 index 00000000000..1a8cc61dbfa --- /dev/null +++ b/net/maradns/devel/patches/patch-configure @@ -0,0 +1,14 @@ +$OpenBSD: patch-configure,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ +--- configure.orig Mon Sep 2 05:57:06 2002 ++++ configure Thu Nov 14 23:55:33 2002 +@@ -66,8 +66,8 @@ elif echo $UNAME | grep -i freebsd > /de + echo http://www.freebsd.org/cgi/query-pr.cgi?pr=28389 + elif echo $UNAME | grep -i openbsd > /dev/null ; then + cat $BUILDDIR/Makefile.linux >> Makefile +- echo It looks like you are using OpenBSD\; please read doc/faq.txt +- echo before trying to compile MaraDNS ++ echo It looks like you are using OpenBSD\; proceeding the ++ echo compile of MaraDNS.. + elif echo $UNAME | grep -i cygwin > /dev/null ; then + cat $BUILDDIR/Makefile.noflock >> Makefile + cp $BUILDDIR/Makefile.server.win9x server/Makefile diff --git a/net/maradns/devel/patches/patch-server_Makefile b/net/maradns/devel/patches/patch-server_Makefile new file mode 100644 index 00000000000..839abbaf108 --- /dev/null +++ b/net/maradns/devel/patches/patch-server_Makefile @@ -0,0 +1,10 @@ +$OpenBSD: patch-server_Makefile,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ +--- server/Makefile.orig Wed Nov 13 16:50:03 2002 ++++ server/Makefile Wed Nov 13 16:50:36 2002 +@@ -35,5 +35,5 @@ timestamp.o: timestamp.c MaraDNS_locale. + $(CC) -c $(FLAGS) -o timestamp.o timestamp.c + + maradns: MaraDNS.c $(OBJECTS) MaraDNS_locale.h +- $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS) -lpthread ++ $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS) -pthread + diff --git a/net/maradns/devel/pkg/DESCR b/net/maradns/devel/pkg/DESCR new file mode 100644 index 00000000000..c5249dab937 --- /dev/null +++ b/net/maradns/devel/pkg/DESCR @@ -0,0 +1,4 @@ +maradns is a DNS server written with security, simplicity, +and performance in mind. + +WWW: ${HOMEPAGE} diff --git a/net/maradns/devel/pkg/MESSAGE b/net/maradns/devel/pkg/MESSAGE new file mode 100644 index 00000000000..d8591a6e35a --- /dev/null +++ b/net/maradns/devel/pkg/MESSAGE @@ -0,0 +1,9 @@ +=============================================================== + +A complete set of documentation for MaraDNS has been installed +in ${PREFIX}/share/doc/maradns-devel +It contains a FAQ, configuration examples and full instructions +on how to setup MaraDNS. + +=============================================================== + diff --git a/net/maradns/devel/pkg/PLIST b/net/maradns/devel/pkg/PLIST new file mode 100644 index 00000000000..ce4e13a0e82 --- /dev/null +++ b/net/maradns/devel/pkg/PLIST @@ -0,0 +1,173 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ +@pkgcfl maradns-1.0.* +bin/askmara +bin/getzone +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-devel/QuickStart +share/doc/maradns-devel/README +share/doc/maradns-devel/changelog.html +share/doc/maradns-devel/changelog.txt +share/doc/maradns-devel/credits.txt +share/doc/maradns-devel/download.html +share/doc/maradns-devel/examples/example_authoritative_mararc.txt +share/doc/maradns-devel/examples/example_csv1 +share/doc/maradns-devel/examples/example_csv1.txt +share/doc/maradns-devel/examples/example_full_mararc +share/doc/maradns-devel/examples/example_mararc +share/doc/maradns-devel/examples/example_recursive_mararc.txt +share/doc/maradns-devel/faq.html +share/doc/maradns-devel/faq.txt +share/doc/maradns-devel/files.txt +share/doc/maradns-devel/logfile +share/doc/maradns-devel/man/askmara.1 +share/doc/maradns-devel/man/csv1.5 +share/doc/maradns-devel/man/getzone.1 +share/doc/maradns-devel/man/make.postscript +share/doc/maradns-devel/man/maradns.8 +share/doc/maradns-devel/man/mararc.5 +share/doc/maradns-devel/man/read.manpage +share/doc/maradns-devel/man/zoneserver.8 +share/doc/maradns-devel/maradns.gpg.key +share/doc/maradns-devel/misc/0README +share/doc/maradns-devel/misc/RFC1035.compliance +share/doc/maradns-devel/misc/cache.poison.protection +share/doc/maradns-devel/misc/decompress_api.abw +share/doc/maradns-devel/misc/decompress_api.html +share/doc/maradns-devel/misc/describing_dns_rrs.abw +share/doc/maradns-devel/misc/describing_dns_rrs.html +share/doc/maradns-devel/misc/handling.compression +share/doc/maradns-devel/misc/how.maradns.stores.rrs +share/doc/maradns-devel/misc/how.to.support.sql +share/doc/maradns-devel/misc/js-manpages/README +share/doc/maradns-devel/misc/js-manpages/js_alloc.3 +share/doc/maradns-devel/misc/js-manpages/js_append.3 +share/doc/maradns-devel/misc/js-manpages/js_atoi.3 +share/doc/maradns-devel/misc/js-manpages/js_buf_eof.3 +share/doc/maradns-devel/misc/js-manpages/js_buf_getline.3 +share/doc/maradns-devel/misc/js-manpages/js_buf_read.3 +share/doc/maradns-devel/misc/js-manpages/js_close.3 +share/doc/maradns-devel/misc/js-manpages/js_copy.3 +share/doc/maradns-devel/misc/js-manpages/js_create.3 +share/doc/maradns-devel/misc/js-manpages/js_dealloc.3 +share/doc/maradns-devel/misc/js-manpages/js_destroy.3 +share/doc/maradns-devel/misc/js-manpages/js_destroy_force.3 +share/doc/maradns-devel/misc/js-manpages/js_fgrep.3 +share/doc/maradns-devel/misc/js-manpages/js_fgrep_offset.3 +share/doc/maradns-devel/misc/js-manpages/js_get_encode.3 +share/doc/maradns-devel/misc/js-manpages/js_getline_stdin.3 +share/doc/maradns-devel/misc/js-manpages/js_has_sanity.3 +share/doc/maradns-devel/misc/js-manpages/js_insert.3 +share/doc/maradns-devel/misc/js-manpages/js_issame.3 +share/doc/maradns-devel/misc/js-manpages/js_js2str.3 +share/doc/maradns-devel/misc/js-manpages/js_length.3 +share/doc/maradns-devel/misc/js-manpages/js_lock.3 +share/doc/maradns-devel/misc/js-manpages/js_match.3 +share/doc/maradns-devel/misc/js-manpages/js_match_offset.3 +share/doc/maradns-devel/misc/js-manpages/js_newline_chars.3 +share/doc/maradns-devel/misc/js-manpages/js_nonmatch.3 +share/doc/maradns-devel/misc/js-manpages/js_nonmatch_offset.3 +share/doc/maradns-devel/misc/js-manpages/js_octets.3 +share/doc/maradns-devel/misc/js-manpages/js_open.3 +share/doc/maradns-devel/misc/js-manpages/js_open_append.3 +share/doc/maradns-devel/misc/js-manpages/js_open_read.3 +share/doc/maradns-devel/misc/js-manpages/js_open_write.3 +share/doc/maradns-devel/misc/js-manpages/js_qstr2js.3 +share/doc/maradns-devel/misc/js-manpages/js_read.3 +share/doc/maradns-devel/misc/js-manpages/js_set_chsize.3 +share/doc/maradns-devel/misc/js-manpages/js_set_encode.3 +share/doc/maradns-devel/misc/js-manpages/js_show_stdout.3 +share/doc/maradns-devel/misc/js-manpages/js_space_chars.3 +share/doc/maradns-devel/misc/js-manpages/js_str2js.3 +share/doc/maradns-devel/misc/js-manpages/js_substr.3 +share/doc/maradns-devel/misc/js-manpages/js_tolower.3 +share/doc/maradns-devel/misc/js-manpages/js_unlock.3 +share/doc/maradns-devel/misc/js-manpages/js_val.3 +share/doc/maradns-devel/misc/js-manpages/js_write.3 +share/doc/maradns-devel/misc/man_macros/README +share/doc/maradns-devel/misc/man_macros/example_manpage.1 +share/doc/maradns-devel/misc/man_macros/man.macros +share/doc/maradns-devel/misc/man_macros/man.macros.7 +share/doc/maradns-devel/misc/multiple.qdcount +share/doc/maradns-devel/misc/old.changelog +share/doc/maradns-devel/misc/private_rrs.abw +share/doc/maradns-devel/misc/private_rrs.html +share/doc/maradns-devel/misc/propagation.txt +share/doc/maradns-devel/misc/recursive-case-insensitive +share/doc/maradns-devel/misc/recursive.algorithm +share/doc/maradns-devel/misc/resolution.algorithm +share/doc/maradns-devel/misc/rfc/rfc1035.txt +share/doc/maradns-devel/misc/rfc1034.notes.abw +share/doc/maradns-devel/misc/rtest.output +share/doc/maradns-devel/misc/spammers/azmalink.net +share/doc/maradns-devel/misc/spammers/hiddenonline/google.search +share/doc/maradns-devel/misc/spammers/hiddenonline/hiddenonline.spam +share/doc/maradns-devel/misc/spammers/hiddenonline/whois.dimeit.com +share/doc/maradns-devel/misc/spammers/hiddenonline/whois.hiddenonline.net +share/doc/maradns-devel/misc/www.monty.de +share/doc/maradns-devel/misc/year_2038_statement.abw +share/doc/maradns-devel/misc/year_2038_statement.html +share/doc/maradns-devel/misc/year_2038_statement.txt +share/doc/maradns-devel/ps/README +share/doc/maradns-devel/source/SOURCE.FILES +share/doc/maradns-devel/source/askmara.ej +share/doc/maradns-devel/source/authoritative.ej +share/doc/maradns-devel/source/changelog.ej +share/doc/maradns-devel/source/changelog.embed +share/doc/maradns-devel/source/compile.ej +share/doc/maradns-devel/source/convert.ej +share/doc/maradns-devel/source/credits.ej +share/doc/maradns-devel/source/credits.embed +share/doc/maradns-devel/source/csv1.ej +share/doc/maradns-devel/source/data_structures.ej +share/doc/maradns-devel/source/download.ej +share/doc/maradns-devel/source/ej.doc.format +share/doc/maradns-devel/source/ej.template +share/doc/maradns-devel/source/example_auth_mararc +share/doc/maradns-devel/source/example_csv1 +share/doc/maradns-devel/source/example_full_mararc +share/doc/maradns-devel/source/example_mararc +share/doc/maradns-devel/source/example_mararc.ej +share/doc/maradns-devel/source/example_recursive_mararc +share/doc/maradns-devel/source/example_simple_csv1 +share/doc/maradns-devel/source/faq.ej +share/doc/maradns-devel/source/faq.embed +share/doc/maradns-devel/source/files.ej +share/doc/maradns-devel/source/getzone.ej +share/doc/maradns-devel/source/glossary.ej +share/doc/maradns-devel/source/maradns.ej +share/doc/maradns-devel/source/mararc.ej +share/doc/maradns-devel/source/quick_start.ej +share/doc/maradns-devel/source/recordtypes.ej +share/doc/maradns-devel/source/recursive.ej +share/doc/maradns-devel/source/security_design.embed +share/doc/maradns-devel/source/tutorial.ej +share/doc/maradns-devel/source/zoneserver.ej +share/doc/maradns-devel/tutorial/authoritative.html +share/doc/maradns-devel/tutorial/compile.html +share/doc/maradns-devel/tutorial/convert.html +share/doc/maradns-devel/tutorial/glossary.html +share/doc/maradns-devel/tutorial/man.csv1.html +share/doc/maradns-devel/tutorial/man.maradns.html +share/doc/maradns-devel/tutorial/man.mararc.html +share/doc/maradns-devel/tutorial/recordtypes.html +share/doc/maradns-devel/tutorial/recursive.html +share/doc/maradns-devel/tutorial/tutorial.html +@dirrm share/doc/maradns-devel/tutorial +@dirrm share/doc/maradns-devel/source +@dirrm share/doc/maradns-devel/ps +@dirrm share/doc/maradns-devel/misc/spammers/hiddenonline +@dirrm share/doc/maradns-devel/misc/spammers +@dirrm share/doc/maradns-devel/misc/rfc +@dirrm share/doc/maradns-devel/misc/man_macros +@dirrm share/doc/maradns-devel/misc/js-manpages +@dirrm share/doc/maradns-devel/misc +@dirrm share/doc/maradns-devel/man +@dirrm share/doc/maradns-devel/examples +@dirrm share/doc/maradns-devel diff --git a/net/maradns/stable/Makefile b/net/maradns/stable/Makefile new file mode 100644 index 00000000000..d774a8f3117 --- /dev/null +++ b/net/maradns/stable/Makefile @@ -0,0 +1,10 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ + +VERSION= 1.0.08 + +MASTER_SITES= ${HOMEPAGE}/download/ \ + http://maradns.3va.net/download/ \ + http://maradns.glou.net/download/ + + +.include diff --git a/net/maradns/stable/distinfo b/net/maradns/stable/distinfo new file mode 100644 index 00000000000..feca65c82a1 --- /dev/null +++ b/net/maradns/stable/distinfo @@ -0,0 +1,3 @@ +MD5 (maradns-1.0.08.tar.gz) = 5eca03ef6e95af94912c0810178baa08 +RMD160 (maradns-1.0.08.tar.gz) = 7443d90e2b4fe121c94b4285cbe7558d13a35128 +SHA1 (maradns-1.0.08.tar.gz) = 37c0af32cea7ec9dc70616cc489ce8cabb84c2c1 diff --git a/net/maradns/stable/patches/patch-build_install_locations b/net/maradns/stable/patches/patch-build_install_locations new file mode 100644 index 00000000000..b259d763816 --- /dev/null +++ b/net/maradns/stable/patches/patch-build_install_locations @@ -0,0 +1,12 @@ +$OpenBSD: patch-build_install_locations,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ +--- build/install.locations.orig Wed Nov 13 17:10:49 2002 ++++ build/install.locations Wed Nov 13 17:11:38 2002 +@@ -33,7 +33,7 @@ MAN5="$PREFIX/man/man5/" + # The directory to put man pages which describe the server programs + MAN8="$PREFIX/man/man8/" + # The directory to put a copy of the MaraDNS documents on the system +-DOCS="$PREFIX/doc/maradns-$VERSION" ++DOCS="$PREFIX/share/doc/maradns" + + # Mandrake does not have a /usr/local/man. Ugh. + # As a result, we need the following kludge to get this to diff --git a/net/maradns/stable/patches/patch-build_install_sh b/net/maradns/stable/patches/patch-build_install_sh new file mode 100644 index 00000000000..34172679819 --- /dev/null +++ b/net/maradns/stable/patches/patch-build_install_sh @@ -0,0 +1,47 @@ +$OpenBSD: patch-build_install_sh,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ +--- build/install.sh.orig Fri Nov 15 02:28:49 2002 ++++ build/install.sh Fri Nov 15 02:33:20 2002 +@@ -109,43 +109,3 @@ mkdir $DOCS > /dev/null 2>&1 + cp -r * $DOCS + cd $TOPLEVEL + cp maradns.pgp.key $DOCS +- +-# If the system in question does not already have configuration files, +-# place example configuration files in /etc +-if [ -d docs/$LANGUAGE/examples ] ; then +- cd doc/$LANGUAGE/examples +-else +- cd doc/en/examples +-fi +- +-if [ ! -f $RPM_BUILD_ROOT/etc/mararc ] ; then +- cp example_mararc $RPM_BUILD_ROOT/etc/mararc +-fi +-if [ ! -d $RPM_BUILD_ROOT/etc/maradns ] ; then +- mkdir $RPM_BUILD_ROOT/etc/maradns +- chmod 755 $RPM_BUILD_ROOT/etc/maradns +-fi +-cp example_csv1 $RPM_BUILD_ROOT/etc/maradns/db.example.com +- +-# Finally, set up the startup files, as needed +-# Go back to the top-level MaraDNS directory +-cd $TOPLEVEL +-# And copy over the init files if this system looks to be a sysVish init +-# system +-if [ -d $RPM_BUILD_ROOT/etc/rc.d/init.d ] ; then +- echo Adding MaraDNS startup scripts +- if [ ! -f $RPM_BUILD_ROOT/etc/rc.d/init.d/maradns ] ; then +- cp $BUILDDIR/mara.startup $RPM_BUILD_ROOT/etc/rc.d/init.d/maradns +- fi +- if cd $RPM_BUILD_ROOT/etc/rc.d/rc3.d/ ; then +- echo Starting up MaraDNS at runlevel 3 +- rm S60maradns +- ln -s ../init.d/maradns S60maradns +- fi +- if cd $RPM_BUILD_ROOT/etc/rc.d/rc5.d/ ; then +- echo starting up MaraDNS at runlevel 5 +- rm S60maradns +- ln -s ../init.d/maradns S60maradns +- fi +-fi +- diff --git a/net/maradns/stable/patches/patch-configure b/net/maradns/stable/patches/patch-configure new file mode 100644 index 00000000000..22f761bc69f --- /dev/null +++ b/net/maradns/stable/patches/patch-configure @@ -0,0 +1,14 @@ +$OpenBSD: patch-configure,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ +--- configure.orig Wed Nov 13 18:14:04 2002 ++++ configure Wed Nov 13 18:17:30 2002 +@@ -66,8 +66,8 @@ elif echo $UNAME | grep -i freebsd > /de + echo http://www.freebsd.org/cgi/query-pr.cgi?pr=28389 + elif echo $UNAME | grep -i openbsd > /dev/null ; then + cat $BUILDDIR/Makefile.linux >> Makefile +- echo It looks like you are using OpenBSD\; please read doc/faq.txt +- echo before trying to compile MaraDNS ++ echo It looks like you are using OpenBSD\; proceeding the ++ echo compile of MaraDNS.. + elif echo $UNAME | grep -i cygwin > /dev/null ; then + cat $BUILDDIR/Makefile.noflock >> Makefile + echo It looks like you are using Cygwin\; this should compile file diff --git a/net/maradns/stable/patches/patch-server_Makefile b/net/maradns/stable/patches/patch-server_Makefile new file mode 100644 index 00000000000..839abbaf108 --- /dev/null +++ b/net/maradns/stable/patches/patch-server_Makefile @@ -0,0 +1,10 @@ +$OpenBSD: patch-server_Makefile,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ +--- server/Makefile.orig Wed Nov 13 16:50:03 2002 ++++ server/Makefile Wed Nov 13 16:50:36 2002 +@@ -35,5 +35,5 @@ timestamp.o: timestamp.c MaraDNS_locale. + $(CC) -c $(FLAGS) -o timestamp.o timestamp.c + + maradns: MaraDNS.c $(OBJECTS) MaraDNS_locale.h +- $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS) -lpthread ++ $(CC) $(FLAGS) -DVERSION=\"$(VERSION)\" -DCOMPILED=\"$(COMPILED)\" -o maradns MaraDNS.c $(OBJECTS) -pthread + diff --git a/net/maradns/stable/pkg/DESCR b/net/maradns/stable/pkg/DESCR new file mode 100644 index 00000000000..c5249dab937 --- /dev/null +++ b/net/maradns/stable/pkg/DESCR @@ -0,0 +1,4 @@ +maradns is a DNS server written with security, simplicity, +and performance in mind. + +WWW: ${HOMEPAGE} diff --git a/net/maradns/stable/pkg/MESSAGE b/net/maradns/stable/pkg/MESSAGE new file mode 100644 index 00000000000..146dd9d64bf --- /dev/null +++ b/net/maradns/stable/pkg/MESSAGE @@ -0,0 +1,9 @@ +=============================================================== + +A complete set of documentation for MaraDNS has been installed +in ${PREFIX}/share/doc/maradns +It contains a FAQ, configuration examples and full instructions +on how to setup MaraDNS. + +=============================================================== + diff --git a/net/maradns/stable/pkg/PLIST b/net/maradns/stable/pkg/PLIST new file mode 100644 index 00000000000..1f77814b1f8 --- /dev/null +++ b/net/maradns/stable/pkg/PLIST @@ -0,0 +1,172 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $ +@pkgcfl maradns-1.1.* +bin/askmara +bin/getzone +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/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/examples/example_authoritative_mararc.txt +share/doc/maradns/examples/example_csv1 +share/doc/maradns/examples/example_csv1.txt +share/doc/maradns/examples/example_full_mararc +share/doc/maradns/examples/example_mararc +share/doc/maradns/examples/example_recursive_mararc.txt +share/doc/maradns/faq.html +share/doc/maradns/faq.txt +share/doc/maradns/files.txt +share/doc/maradns/logfile +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/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/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 +@dirrm share/doc/maradns/tutorial +@dirrm share/doc/maradns/source +@dirrm share/doc/maradns/ps +@dirrm share/doc/maradns/misc/spammers/hiddenonline +@dirrm share/doc/maradns/misc/spammers +@dirrm share/doc/maradns/misc/rfc +@dirrm share/doc/maradns/misc/man_macros +@dirrm share/doc/maradns/misc/js-manpages +@dirrm share/doc/maradns/misc +@dirrm share/doc/maradns/man +@dirrm share/doc/maradns/examples +@dirrm share/doc/maradns