Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2002 19:32:14 +0400 (MSD)
From:      Alex Kapranoff <kappa@agava.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/38921: Update and enhance net/maradns port
Message-ID:  <200206051532.g55FWE3g068260@kapkan.domain>

next in thread | raw e-mail | index | archive | help

>Number:         38921
>Category:       ports
>Synopsis:       Update and enhance net/maradns port
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 05 08:30:04 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kapranoff
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
AGAVA Software
>Environment:
System: FreeBSD kapkan.domain 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #3: Wed May 15 17:36:44 MSD 2002 root@kapkan.domain:/usr/src/sys/compile/KAPKAN i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

NB: patch-configure should really be sent to the author, but I cannot do
this as he is too paranoid about spam. I'm cursed to live in '.ru' so
his mailserver denies my mail.

diff -urN /usr/ports/net/maradns/Makefile maradns/Makefile
--- /usr/ports/net/maradns/Makefile	Sat Jun  1 08:44:10 2002
+++ maradns/Makefile	Wed Jun  5 19:26:20 2002
@@ -6,10 +6,11 @@
 #
 
 PORTNAME=	maradns
-PORTVERSION=	0.9.34
+PORTVERSION=	0.9.36
 CATEGORIES=	net
 MASTER_SITES=	http://www.maradns.org/download/ \
-		ftp://ftp.nuug.no/pub/anders/distfiles/
+		http://maradns.3va.net/download/ \
+		http://maradns.glou.net/download/
 
 MAINTAINER=	ports@FreeBSD.org
 
@@ -40,6 +41,7 @@
 	${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} -m 751 ${FILESDIR}/maradns.sh.sample ${PREFIX}/etc/rc.d
 .ifndef(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/00README.FIRST ${DOCSDIR}
diff -urN /usr/ports/net/maradns/distinfo maradns/distinfo
--- /usr/ports/net/maradns/distinfo	Sat Jun  1 08:44:10 2002
+++ maradns/distinfo	Wed Jun  5 19:07:47 2002
@@ -1 +1 @@
-MD5 (maradns-0.9.34.tar.bz2) = 9033d6721ba634a93f365059e3670722
+MD5 (maradns-0.9.36.tar.bz2) = 045a7a12762e03e295a19a9cc8f4ddb6
diff -urN /usr/ports/net/maradns/files/maradns.sh.sample maradns/files/maradns.sh.sample
--- /usr/ports/net/maradns/files/maradns.sh.sample	Thu Jan  1 03:00:00 1970
+++ maradns/files/maradns.sh.sample	Wed Jun  5 18:15:14 2002
@@ -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 -urN /usr/ports/net/maradns/files/patch-configure maradns/files/patch-configure
--- /usr/ports/net/maradns/files/patch-configure	Thu Jan  1 03:00:00 1970
+++ maradns/files/patch-configure	Wed Jun  5 19:16:58 2002
@@ -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 -urN /usr/ports/net/maradns/pkg-plist maradns/pkg-plist
--- /usr/ports/net/maradns/pkg-plist	Tue May 14 10:54:18 2002
+++ maradns/pkg-plist	Wed Jun  5 18:15:48 2002
@@ -1,5 +1,6 @@
 bin/askmara
 etc/mararc.sample
+etc/rc.d/maradns.sh.sample
 sbin/getzone
 sbin/maradns
 sbin/zoneserver
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206051532.g55FWE3g068260>