mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
- Update to 0.9.92
- Add startup script and reword configure message Based on PR: ports/38921 Submitted by: Alex Kapranoff <kappa@agava.com>
This commit is contained in:
parent
925eeb1b88
commit
0720cf63f1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61479
10 changed files with 82 additions and 6 deletions
|
@ -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}
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (maradns-0.9.34.tar.bz2) = 9033d6721ba634a93f365059e3670722
|
||||
MD5 (maradns-0.9.92.tar.bz2) = 180a5fbfd5910244a6705ccce63c2198
|
||||
|
|
20
dns/maradns/files/maradns.sh.sample
Normal file
20
dns/maradns/files/maradns.sh.sample
Normal file
|
@ -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
|
15
dns/maradns/files/patch-configure
Normal file
15
dns/maradns/files/patch-configure
Normal file
|
@ -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
|
|
@ -1,5 +1,6 @@
|
|||
bin/askmara
|
||||
etc/mararc.sample
|
||||
etc/rc.d/maradns.sh.sample
|
||||
sbin/getzone
|
||||
sbin/maradns
|
||||
sbin/zoneserver
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (maradns-0.9.34.tar.bz2) = 9033d6721ba634a93f365059e3670722
|
||||
MD5 (maradns-0.9.92.tar.bz2) = 180a5fbfd5910244a6705ccce63c2198
|
||||
|
|
20
net/maradns/files/maradns.sh.sample
Normal file
20
net/maradns/files/maradns.sh.sample
Normal file
|
@ -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
|
15
net/maradns/files/patch-configure
Normal file
15
net/maradns/files/patch-configure
Normal file
|
@ -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
|
|
@ -1,5 +1,6 @@
|
|||
bin/askmara
|
||||
etc/mararc.sample
|
||||
etc/rc.d/maradns.sh.sample
|
||||
sbin/getzone
|
||||
sbin/maradns
|
||||
sbin/zoneserver
|
||||
|
|
Loading…
Add table
Reference in a new issue