diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2005-01-15 03:31:00 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2005-01-15 03:31:00 +0000 |
commit | f840fc71639630fd44207f06a341dd2bedcc2bce (patch) | |
tree | 77891e07f272b05c7bda58d6d1b5bf18abf443c0 /net-dns/mydns/files | |
parent | get rid of $ARCH ... use $(tc-arch) since it is cross-compile friendly atm (diff) | |
download | historical-f840fc71639630fd44207f06a341dd2bedcc2bce.tar.gz historical-f840fc71639630fd44207f06a341dd2bedcc2bce.tar.bz2 historical-f840fc71639630fd44207f06a341dd2bedcc2bce.zip |
Version bumped. Fixed Bug 77895.
Diffstat (limited to 'net-dns/mydns/files')
-rw-r--r-- | net-dns/mydns/files/digest-mydns-0.10.3 | 1 | ||||
-rw-r--r-- | net-dns/mydns/files/digest-mydns-1.0.0 | 1 | ||||
-rw-r--r-- | net-dns/mydns/files/mydns.rc6 | 15 | ||||
-rw-r--r-- | net-dns/mydns/files/mydns.rc6-0.11.0 | 3 |
4 files changed, 11 insertions, 9 deletions
diff --git a/net-dns/mydns/files/digest-mydns-0.10.3 b/net-dns/mydns/files/digest-mydns-0.10.3 deleted file mode 100644 index e0b1245305d0..000000000000 --- a/net-dns/mydns/files/digest-mydns-0.10.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 1a549ec56413ac74a7601a4501cc689f mydns-0.10.3.tar.bz2 540942 diff --git a/net-dns/mydns/files/digest-mydns-1.0.0 b/net-dns/mydns/files/digest-mydns-1.0.0 new file mode 100644 index 000000000000..c38688e43810 --- /dev/null +++ b/net-dns/mydns/files/digest-mydns-1.0.0 @@ -0,0 +1 @@ +MD5 3a0b312f53c6a8fb17cb7d2cf27fad24 mydns-1.0.0.tar.bz2 545441 diff --git a/net-dns/mydns/files/mydns.rc6 b/net-dns/mydns/files/mydns.rc6 index 6f5679361b29..f52849b258f4 100644 --- a/net-dns/mydns/files/mydns.rc6 +++ b/net-dns/mydns/files/mydns.rc6 @@ -1,29 +1,32 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/files/mydns.rc6,v 1.4 2004/07/14 23:24:43 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/files/mydns.rc6,v 1.5 2005/01/15 03:31:00 matsuu Exp $ depend() { - use mysql postgresql + need net __db__ + use logger } checkconfig() { if [ ! -f /etc/mydns.conf ] ; then eerror "No /etc/mydns.conf file exists!" + eerror "You should now run these commands:" + eerror "# /usr/sbin/mydns --dump-config > /etc/mydns.conf" + eerror "# chmod 0600 /etc/mydns.conf" return 1 fi } start() { checkconfig || return 1 - ebegin "Starting mydnsd" - sleep 2 - /usr/sbin/mydns -b >/dev/null 2>&1 & + ebegin "Starting mydns" + start-stop-daemon --start --quiet --exec /usr/sbin/mydns -- -b eend $? } stop () { - ebegin "Stopping mydnsd" + ebegin "Stopping mydns" PIDFILE=`cat /etc/mydns.conf | grep pidfile | awk '{ print $3 }'` if [ $PIDFILE == "" ]; then PIDFILE=/var/run/mydns.pid diff --git a/net-dns/mydns/files/mydns.rc6-0.11.0 b/net-dns/mydns/files/mydns.rc6-0.11.0 index 8e7814b75e5d..17d2e9305636 100644 --- a/net-dns/mydns/files/mydns.rc6-0.11.0 +++ b/net-dns/mydns/files/mydns.rc6-0.11.0 @@ -1,12 +1,11 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/files/mydns.rc6-0.11.0,v 1.2 2004/07/14 23:24:43 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/mydns/files/mydns.rc6-0.11.0,v 1.3 2005/01/15 03:31:00 matsuu Exp $ depend() { need net __db__ use logger - provide dns } checkconfig() { |