summaryrefslogtreecommitdiff
path: root/dns/mydns/files
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2002-08-05 23:35:09 +0000
committerAnders Nordby <anders@FreeBSD.org>2002-08-05 23:35:09 +0000
commit58143feaad2a780814ff3b726514885217b17146 (patch)
tree15db8da0216076886d78bee6c0b4a1f2d8473834 /dns/mydns/files
parentCorrect manpage packaging problem. (diff)
Add mydns, the MySQL DNS server.
PR: 41132 Submitted by: Simon Dick <simond@irrelevant.org>
Notes
Notes: svn path=/head/; revision=64079
Diffstat (limited to 'dns/mydns/files')
-rw-r--r--dns/mydns/files/mydns.sh16
-rw-r--r--dns/mydns/files/patch-Makefile.in10
-rw-r--r--dns/mydns/files/patch-mydns.texi14
3 files changed, 40 insertions, 0 deletions
diff --git a/dns/mydns/files/mydns.sh b/dns/mydns/files/mydns.sh
new file mode 100644
index 000000000000..493a4356d676
--- /dev/null
+++ b/dns/mydns/files/mydns.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+case "$1" in
+ start)
+ %%%PREFIX%%%/sbin/mydns -b
+ ;;
+ stop)
+ kill `cat /var/run/mydns.pid`
+ ;;
+ *)
+ echo ""
+ echo "Usage: `basename $0` { start | stop }"
+ echo ""
+ exit 64
+ ;;
+esac
diff --git a/dns/mydns/files/patch-Makefile.in b/dns/mydns/files/patch-Makefile.in
new file mode 100644
index 000000000000..5553c90a1d8c
--- /dev/null
+++ b/dns/mydns/files/patch-Makefile.in
@@ -0,0 +1,10 @@
+--- Makefile.in.orig Mon Jul 29 21:37:45 2002
++++ Makefile.in Mon Jul 29 21:38:30 2002
+@@ -440,7 +440,6 @@
+
+ install-data-am:
+ @$(NORMAL_INSTALL)
+- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+
+ install-exec-am:
+
diff --git a/dns/mydns/files/patch-mydns.texi b/dns/mydns/files/patch-mydns.texi
new file mode 100644
index 000000000000..993b60f1ca29
--- /dev/null
+++ b/dns/mydns/files/patch-mydns.texi
@@ -0,0 +1,14 @@
+--- doc/mydns.texi.orig Fri Aug 2 10:30:21 2002
++++ doc/mydns.texi Mon Aug 5 23:59:29 2002
+@@ -11,6 +11,11 @@
+ @paragraphindent 0
+ @c %**end of header
+
++@dircategory Miscellaneous
++@direntry
++* mydns: (mydns). The MySQL based DNS-server.
++@end direntry
++
+ @ifinfo
+ This is the manual for MyDNS (version @value{PKGVERSION}, @value{PKGDATE}), a MySQL-based DNS server package.
+ @value{PKGCOPYRIGHT}