diff options
author | pat <pat@FreeBSD.org> | 2002-06-18 14:28:36 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-06-18 14:28:36 +0800 |
commit | 5fff616c7e375c4602e82b468c19b5e8dfa2a9f7 (patch) | |
tree | 5dbfd0223711b86e1f4a9dedd7eba6c539184a19 /dns/maradns | |
parent | d008926eeb3bfb7e2cd09ce55462e82f4b1cb69b (diff) | |
download | freebsd-ports-gnome-5fff616c7e375c4602e82b468c19b5e8dfa2a9f7.tar.gz freebsd-ports-gnome-5fff616c7e375c4602e82b468c19b5e8dfa2a9f7.tar.zst freebsd-ports-gnome-5fff616c7e375c4602e82b468c19b5e8dfa2a9f7.zip |
- Update to 0.9.92
- Add startup script and reword configure message
Based on PR: ports/38921
Submitted by: Alex Kapranoff <kappa@agava.com>
Diffstat (limited to 'dns/maradns')
-rw-r--r-- | dns/maradns/Makefile | 6 | ||||
-rw-r--r-- | dns/maradns/distinfo | 2 | ||||
-rw-r--r-- | dns/maradns/files/maradns.sh.sample | 20 | ||||
-rw-r--r-- | dns/maradns/files/patch-configure | 15 | ||||
-rw-r--r-- | dns/maradns/pkg-plist | 1 |
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 |