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
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')
-rw-r--r--net-dns/ddclient/ChangeLog13
-rw-r--r--net-dns/ddclient/ddclient-3.6.2.ebuild27
-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
5 files changed, 82 insertions, 0 deletions
diff --git a/net-dns/ddclient/ChangeLog b/net-dns/ddclient/ChangeLog
new file mode 100644
index 000000000000..a1eb26f170b8
--- /dev/null
+++ b/net-dns/ddclient/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for net-dns/ddclient
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ChangeLog,v 1.1 2002/06/29 00:55:03 bangert Exp $
+
+*ddclient-3.6.2 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/net-dns/ddclient/ddclient-3.6.2.ebuild b/net-dns/ddclient/ddclient-3.6.2.ebuild
new file mode 100644
index 000000000000..6c18aa935df5
--- /dev/null
+++ b/net-dns/ddclient/ddclient-3.6.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-dns/ddclient/ddclient-3.6.2.ebuild,v 1.1 2002/06/29 00:55:03 bangert Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A perl based client for dyndns"
+SRC_URI="http://burry.ca:4141/ddclient/${P}.tar.gz"
+HOMEPAGE="http://burry.ca:4141/ddclient/"
+RDEPEND="sys-devel/perl"
+SLOT="0"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
+}
+src_install () {
+
+ exeinto /usr/sbin
+ doexe ddclient
+ insinto /etc/ddclient
+ doins sample-*
+ dodoc README COPYING COPYRIGHT
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/ddclient.rc6 ddclient
+}
+
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