aboutsummaryrefslogtreecommitdiffstats
path: root/dns/maradns
diff options
context:
space:
mode:
Diffstat (limited to 'dns/maradns')
-rw-r--r--dns/maradns/Makefile6
-rw-r--r--dns/maradns/distinfo2
-rw-r--r--dns/maradns/files/maradns.sh.sample20
-rw-r--r--dns/maradns/files/patch-configure15
-rw-r--r--dns/maradns/pkg-plist1
5 files changed, 41 insertions, 3 deletions
diff --git a/dns/maradns/Makefile b/dns/maradns/Makefile
index fc780811ec6d..2deaff8281e1 100644
--- a/dns/maradns/Makefile
+++ b/dns/maradns/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= maradns
-PORTVERSION= 0.9.34
+PORTVERSION= 0.9.92
CATEGORIES= net
MASTER_SITES= http://www.maradns.org/download/ \
- ftp://ftp.nuug.no/pub/anders/distfiles/
+ http://maradns.glou.net/download/ \
+ http://maradns.3va.net/download/
MAINTAINER= ports@FreeBSD.org
@@ -40,6 +41,7 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/doc/en/man/mararc.5 ${MANPREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/doc/en/man/maradns.8 ${MANPREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/doc/en/man/zoneserver.8 ${MANPREFIX}/man/man8
+ ${INSTALL_SCRIPT} ${FILESDIR}/maradns.sh.sample ${PREFIX}/etc/rc.d
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/00README.FIRST ${DOCSDIR}
diff --git a/dns/maradns/distinfo b/dns/maradns/distinfo
index 30552d4b6895..1577511cf11b 100644
--- a/dns/maradns/distinfo
+++ b/dns/maradns/distinfo
@@ -1 +1 @@
-MD5 (maradns-0.9.34.tar.bz2) = 9033d6721ba634a93f365059e3670722
+MD5 (maradns-0.9.92.tar.bz2) = 180a5fbfd5910244a6705ccce63c2198
diff --git a/dns/maradns/files/maradns.sh.sample b/dns/maradns/files/maradns.sh.sample
new file mode 100644
index 000000000000..f7ef9a47d951
--- /dev/null
+++ b/dns/maradns/files/maradns.sh.sample
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
+ echo "$0: Cannot determine the PREFIX" >&2
+ exit 1
+fi
+
+case "$1" in
+start)
+ [ -x ${PREFIX}/sbin/maradns ] && ${PREFIX}/sbin/maradns > /var/log/maradns.log & && echo -n ' maradns'
+ ;;
+stop)
+ killall maradns && echo -n ' maradns'
+ ;;
+*)
+ echo "Usage: `basename $0` {start|stop}" >&2
+ ;;
+esac
+
+exit 0
diff --git a/dns/maradns/files/patch-configure b/dns/maradns/files/patch-configure
new file mode 100644
index 000000000000..99aac62ddeb3
--- /dev/null
+++ b/dns/maradns/files/patch-configure
@@ -0,0 +1,15 @@
+Unneeded confusion for users.
+
+--- configure.orig Wed Jun 5 19:14:27 2002
++++ configure Wed Jun 5 19:15:32 2002
+@@ -61,9 +61,7 @@
+ elif echo $UNAME | grep -i freebsd > /dev/null ; then
+ cat $BUILDDIR/Makefile.linux >> Makefile
+ echo It looks like you are using FreeBSD\; this should compile
+- echo fine by typing in \'make\'. There is an official port here:
+- echo
+- echo http://www.freebsd.org/cgi/query-pr.cgi?pr=28389
++ echo fine by typing in \'make\'.
+ 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
diff --git a/dns/maradns/pkg-plist b/dns/maradns/pkg-plist
index 79d7c7550e4a..dc04fd6cfc0b 100644
--- a/dns/maradns/pkg-plist
+++ b/dns/maradns/pkg-plist
@@ -1,5 +1,6 @@
bin/askmara
etc/mararc.sample
+etc/rc.d/maradns.sh.sample
sbin/getzone
sbin/maradns
sbin/zoneserver