summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2002-06-29 00:55:03 +0000
committerThilo Bangert <bangert@gentoo.org>2002-06-29 00:55:03 +0000
commit6fd1686d6b18a634b4c81211c4c7292986fb3f27 (patch)
tree2fe3b5fdb45b1b92faf53493b06c26d8d9b22116 /net-dns/ddclient/files
parentnew category: net-dns (diff)
downloadgentoo-2-6fd1686d6b18a634b4c81211c4c7292986fb3f27.tar.gz
gentoo-2-6fd1686d6b18a634b4c81211c4c7292986fb3f27.tar.bz2
gentoo-2-6fd1686d6b18a634b4c81211c4c7292986fb3f27.zip
new category: net-dns. initial import
Diffstat (limited to 'net-dns/ddclient/files')
-rw-r--r--net-dns/ddclient/files/ddclient-3.6.2-gentoo.diff11
-rw-r--r--net-dns/ddclient/files/ddclient.rc630
-rw-r--r--net-dns/ddclient/files/digest-ddclient-3.6.21
3 files changed, 42 insertions, 0 deletions
diff --git a/net-dns/ddclient/files/ddclient-3.6.2-gentoo.diff b/net-dns/ddclient/files/ddclient-3.6.2-gentoo.diff
new file mode 100644
index 000000000000..8b5c383a0fa9
--- /dev/null
+++ b/net-dns/ddclient/files/ddclient-3.6.2-gentoo.diff
@@ -0,0 +1,11 @@
+--- ddclient-3.6.2/ddclient~ Mon Jul 2 18:18:12 2001
++++ ddclient-3.6.2/ddclient Mon Jul 9 16:52:02 2001
+@@ -20,7 +20,7 @@
+ $program =~ s/d$//;
+ my $now = time;
+ my $hostname = hostname();
+-my $etc = ($program =~ /test/i) ? './' : '/etc/';
++my $etc = ($program =~ /test/i) ? './' : '/etc/ddclient/';
+ my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/';
+ my $msgs = '';
+ my $last_msgs = '';
diff --git a/net-dns/ddclient/files/ddclient.rc6 b/net-dns/ddclient/files/ddclient.rc6
new file mode 100644
index 000000000000..247a64eb58a0
--- /dev/null
+++ b/net-dns/ddclient/files/ddclient.rc6
@@ -0,0 +1,30 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/files/ddclient.rc6,v 1.1 2002/06/29 00:55:03 bangert Exp $
+
+depend() {
+ need net
+}
+
+checkconfig() {
+ if [ ! -e /etc/ddclient/ddclient.conf ] ; then
+ eerror "You need a /etc/ddclient/ddclient.conf file to run ddclient"
+ eerror "There is a sample file in /etc/ddclient/"
+ return 1
+ fi
+
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting DDClient"
+ start-stop-daemon --start --quiet --exec /usr/sbin/ddclient
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping DDClient"
+ start-stop-daemon --stop --quiet --pidfile /var/run/ddclient.pid
+ eend $?
+}
diff --git a/net-dns/ddclient/files/digest-ddclient-3.6.2 b/net-dns/ddclient/files/digest-ddclient-3.6.2
new file mode 100644
index 000000000000..90aabef965df
--- /dev/null
+++ b/net-dns/ddclient/files/digest-ddclient-3.6.2
@@ -0,0 +1 @@
+MD5 40741dbf315889b1bd1b08e36ca665c0 ddclient-3.6.2.tar.gz 32793