there's no point in devel/stable split anymore

This commit is contained in:
sturm 2006-03-24 20:12:28 +00:00
parent 68b8af12f3
commit 124c5802cc
21 changed files with 39 additions and 383 deletions

View File

@ -1,6 +1,35 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $
# $OpenBSD: Makefile,v 1.2 2006/03/24 20:12:28 sturm Exp $
SUBDIR+= stable
SUBDIR+= devel
VERSION= 1.0.28
COMMENT= "simple and performant DNS server"
DISTNAME= maradns-${VERSION}
CATEGORIES= net
.include <bsd.port.subdir.mk>
HOMEPAGE= http://www.maradns.org/
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pthread
MAKE_FLAGS= CC="${CC}" FLAGS="${CFLAGS}"
NO_REGRESS= Yes
MASTER_SITES= ${HOMEPAGE}/download/ \
http://maradns.3va.net/download/ \
http://maradns.glou.net/download/
post-configure:
@perl -pi -e "s,/etc,${SYSCONFDIR},g" ${WRKSRC}/maragen/mararc.m4 \
${WRKSRC}/parse/ParseMaraRc.c ${WRKSRC}/doc/en/examples/ex*
@perl -pi -e "s, = 99, = 537," ${WRKSRC}/doc/en/examples/ex*
post-install:
@mv ${PREFIX}/share/doc/maradns/examples \
${PREFIX}/share/examples/maradns
.include <bsd.port.mk>

View File

@ -1,20 +0,0 @@
# $OpenBSD: Makefile.inc,v 1.4 2004/12/16 00:31:23 alek Exp $
COMMENT= "simple and performant DNS server"
DISTNAME= maradns-${VERSION}
CATEGORIES= net
HOMEPAGE= http://www.maradns.org/
# stable: Public Domain
# devel: BSD license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pthread
MAKE_FLAGS= CC="${CC}" FLAGS="${CFLAGS}"
NO_REGRESS= Yes

View File

@ -1,12 +0,0 @@
# $OpenBSD: Makefile,v 1.5 2005/07/22 17:37:36 sturm Exp $
VERSION= 1.1.16
PKGNAME= ${DISTNAME}p0
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 <bsd.port.mk>

View File

@ -1,4 +0,0 @@
MD5 (maradns-1.1.16.tar.bz2) = 17738068b413cbbb9c2e63274aa9d1ee
RMD160 (maradns-1.1.16.tar.bz2) = 30b16cc3da6f145a47531549333dfeee42aa4a26
SHA1 (maradns-1.1.16.tar.bz2) = 05b8737e50b0fb9d8f35d0659ea855e047bf777d
SIZE (maradns-1.1.16.tar.bz2) = 412698

View File

@ -1,12 +0,0 @@
$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

View File

@ -1,72 +0,0 @@
$OpenBSD: patch-build_install_sh,v 1.2 2003/05/04 17:29:57 margarida Exp $
--- build/install.sh.orig Fri Jan 10 21:32:09 2003
+++ build/install.sh Sun May 4 18:17:47 2003
@@ -86,6 +86,13 @@ if [ -f $SBIN/zoneserver ] ; then
fi
cp zoneserver $SBIN
+# Install duende
+cd $TOPLEVEL/tools
+if [ -f $BIN/duende ] ; then
+ rm $BIN/duende
+fi
+cp duende $BIN
+
# Install the askmara binary
cd $TOPLEVEL/tools
if [ -f $BIN/askmara ] ; then
@@ -100,7 +107,7 @@ else
cd $TOPLEVEL/doc/en/man
fi
cp askmara.1 getzone.1 $MAN1
-cp maradns.8 zoneserver.8 $MAN8
+cp duende.8 maradns.8 zoneserver.8 $MAN8
cp csv1.5 mararc.5 $MAN5
# Place all the documents in $DOCS
@@ -108,44 +115,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

View File

@ -1,14 +0,0 @@
$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

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-tcp_zoneserver_c,v 1.1 2005/11/13 01:10:12 naddy Exp $
--- tcp/zoneserver.c.orig Sat Nov 12 23:19:53 2005
+++ tcp/zoneserver.c Sat Nov 12 23:20:09 2005
@@ -32,7 +32,7 @@
#include <errno.h>
#include <string.h>
#include <time.h>
-#ifdef __FreeBSD__
+#if defined __FreeBSD__ || defined __OpenBSD__
#include <sys/time.h>
#endif
#include <sys/types.h>

View File

@ -1,18 +0,0 @@
maradns is a DNS server written with security, simplicity,
and performance in mind.
Features:
* Security-aware programming.
A DNS server needs to be secure.
There's 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 unprivileged user in a chroot() jail.
* Open-Source.
This DNS server is BSD licensed code.
There are no restrictions attached to this code.
* Simplicity.
This DNS server has the minimum number of features needed
to correctly act as an authoritative and/or recursive
name server.

View File

@ -1,4 +0,0 @@
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.

View File

@ -1,181 +0,0 @@
@comment $OpenBSD: PLIST,v 1.5 2005/07/22 17:37:36 sturm Exp $
bin/askmara
bin/duende
bin/getzone
@man man/man1/askmara.1
@man man/man1/getzone.1
@man man/man5/csv1.5
@man man/man5/mararc.5
@man man/man8/duende.8
@man man/man8/maradns.8
@man man/man8/zoneserver.8
sbin/maradns
sbin/zoneserver
share/doc/maradns-devel/
share/doc/maradns-devel/Makefile
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/
share/doc/maradns-devel/examples/Makefile
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/
share/doc/maradns-devel/man/Makefile
share/doc/maradns-devel/man/askmara.1
share/doc/maradns-devel/man/csv1.5
share/doc/maradns-devel/man/duende.8
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/
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/
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/
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/
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/
share/doc/maradns-devel/misc/spammers/azmalink.net
share/doc/maradns-devel/misc/spammers/hiddenonline/
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/
share/doc/maradns-devel/ps/Makefile
share/doc/maradns-devel/ps/README
share/doc/maradns-devel/source/
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/duende.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/
share/doc/maradns-devel/tutorial/Makefile
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

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-build_install_locations,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $
$OpenBSD: patch-build_install_locations,v 1.1 2006/03/24 20:12:28 sturm 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/"

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-build_install_sh,v 1.1.1.1 2002/11/15 20:19:32 brad Exp $
$OpenBSD: patch-build_install_sh,v 1.1 2006/03/24 20:12:28 sturm 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

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-configure,v 1.2 2005/07/22 17:40:28 sturm Exp $
$OpenBSD: patch-configure,v 1.1 2006/03/24 20:12:28 sturm 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

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-parse_Makefile,v 1.1 2004/10/31 19:05:28 sturm Exp $
$OpenBSD: patch-parse_Makefile,v 1.1 2006/03/24 20:12:28 sturm Exp $
--- parse/Makefile.orig Sat Oct 9 09:30:31 2004
+++ parse/Makefile Sat Oct 9 09:31:43 2004
@@ -25,6 +25,9 @@ ParseCsv1.o: ParseCsv1.c ../libs/JsStr.h

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-tuzona_zoneserver_c,v 1.1 2005/11/13 01:10:12 naddy Exp $
$OpenBSD: patch-tuzona_zoneserver_c,v 1.1 2006/03/24 20:12:28 sturm Exp $
--- tuzona/zoneserver.c.orig Sat Nov 12 23:14:04 2005
+++ tuzona/zoneserver.c Sat Nov 12 23:16:08 2005
@@ -15,7 +15,7 @@

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2005/07/22 17:40:28 sturm Exp $
@comment $OpenBSD: PLIST,v 1.1 2006/03/24 20:12:29 sturm Exp $
@newgroup _maradns:537
@newuser _maradns:537:_maradns::MaraDNS Account:${SYSCONFDIR}/maradns:/sbin/nologin
bin/askmara

View File

@ -1,20 +0,0 @@
# $OpenBSD: Makefile,v 1.10 2005/07/22 17:40:28 sturm Exp $
VERSION= 1.0.28
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
MASTER_SITES= ${HOMEPAGE}/download/ \
http://maradns.3va.net/download/ \
http://maradns.glou.net/download/
post-configure:
@perl -pi -e "s,/etc,${SYSCONFDIR},g" ${WRKSRC}/maragen/mararc.m4 \
${WRKSRC}/parse/ParseMaraRc.c ${WRKSRC}/doc/en/examples/ex*
@perl -pi -e "s, = 99, = 537," ${WRKSRC}/doc/en/examples/ex*
post-install:
@mv ${PREFIX}/share/doc/maradns/examples \
${PREFIX}/share/examples/maradns
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
MD5 (maradns-1.0.28.tar.gz) = 287238aef125d7edf4b792c4dc6f4e8f
RMD160 (maradns-1.0.28.tar.gz) = ce0aeaf04ed21be782a76164fba9434c6376d0d9
SHA1 (maradns-1.0.28.tar.gz) = 6f4c9b48a23f8bc663cd3b5f1bcbaf63d533879f
SIZE (maradns-1.0.28.tar.gz) = 708181