summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-08-07 02:50:11 +0000
committerhubertf <hubertf@pkgsrc.org>2000-08-07 02:50:11 +0000
commit2d0d49ec56f628d81924c2d8e02358e86aeb6b1b (patch)
tree62b7b6e24311ed03f629ac88d1d91765bd5e25e4 /net
parent3dd37433b56d682df66d122e53a1db6602b744e4 (diff)
downloadpkgsrc-2d0d49ec56f628d81924c2d8e02358e86aeb6b1b.tar.gz
ddclient is a Perl client used to update dynamic DNS entries for accounts
on Dynamic DNS Network Services' free DNS service. See http://www.dyndns.org for details on obtaining a free account. Comments can always be sent to: mailto:paul+ddclient@burry.dyndns.org If you use ddclient, please send a brief note to: mailto:paul+ddclient@burry.dyndns.org and indicate if you would like to be notified of new releases.
Diffstat (limited to 'net')
-rw-r--r--net/ddclient/Makefile30
-rw-r--r--net/ddclient/files/md53
-rw-r--r--net/ddclient/files/patch-sum3
-rw-r--r--net/ddclient/patches/patch-aa40
-rw-r--r--net/ddclient/pkg/COMMENT1
-rw-r--r--net/ddclient/pkg/DESCR10
-rw-r--r--net/ddclient/pkg/MESSAGE6
-rw-r--r--net/ddclient/pkg/PLIST12
8 files changed, 105 insertions, 0 deletions
diff --git a/net/ddclient/Makefile b/net/ddclient/Makefile
new file mode 100644
index 00000000000..4fe71e278f8
--- /dev/null
+++ b/net/ddclient/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/08/07 02:50:11 hubertf Exp $
+#
+
+DISTNAME= ddclient-2.3.1
+CATEGORIES= net
+MASTER_SITES= http://burry.net/ddclient/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://burry.net/ddclient
+
+NO_BUILD= yes
+
+do-install:
+ ${SED} \
+ -e 's,@LOCALBASE@,${LOCALBASE},g' \
+ -e 's,@PREFIX@,${PREFIX},g' \
+ <${WRKSRC}/ddclient >${PREFIX}/bin/ddclient
+ ${CHMOD} +x ${PREFIX}/bin/ddclient
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddclient
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ddclient
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/ddclient
+ ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/ddclient
+ ${INSTALL_DATA} ${WRKSRC}/sample-etc_cron.d_ddclient ${PREFIX}/share/doc/ddclient
+ ${INSTALL_DATA} ${WRKSRC}/sample-etc_dhcpc_dhcpcd-eth0.exe ${PREFIX}/share/doc/ddclient
+ ${INSTALL_DATA} ${WRKSRC}/sample-etc_ppp_ip-up.local ${PREFIX}/share/doc/ddclient
+ ${INSTALL_DATA} ${WRKSRC}/sample-ddclient.conf ${PREFIX}/etc/ddclient.conf-example
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ddclient/contrib
+ ${INSTALL_DATA} ${WRKSRC}/contrib/* ${PREFIX}/share/doc/ddclient/contrib
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ddclient/files/md5 b/net/ddclient/files/md5
new file mode 100644
index 00000000000..5ac2c7ebe4c
--- /dev/null
+++ b/net/ddclient/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/08/07 02:50:13 hubertf Exp $
+
+MD5 (ddclient-2.3.1.tar.gz) = 05cf94fe017f155dadb02a3b8aac8666
diff --git a/net/ddclient/files/patch-sum b/net/ddclient/files/patch-sum
new file mode 100644
index 00000000000..43c02cac2a1
--- /dev/null
+++ b/net/ddclient/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/08/07 02:50:13 hubertf Exp $
+
+MD5 (patch-aa) = 2a5e0127698da5c9916ba8d9023702e3
diff --git a/net/ddclient/patches/patch-aa b/net/ddclient/patches/patch-aa
new file mode 100644
index 00000000000..01a03101a17
--- /dev/null
+++ b/net/ddclient/patches/patch-aa
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/08/07 02:50:13 hubertf Exp $
+
+--- ddclient.orig Tue Jul 18 22:04:54 2000
++++ ddclient Mon Aug 7 04:33:20 2000
+@@ -1,2 +1,2 @@
+-#!/usr/bin/perl -w
++#!@LOCALBASE@/bin/perl -w
+ ######################################################################
+@@ -32,4 +32,4 @@
+ [ "server", "=s", "members.dyndns.org", "-server host : update DNS information on 'host'" ],
+- [ "file", "=s", "/etc/ddclient.conf", "-file path : load configuration information from 'path'" ],
+- [ "cache", "=s", "/etc/ddclient.cache", "-cache path : record address used in 'path'" ],
++ [ "file", "=s", "@PREFIX@/etc/ddclient.conf", "-file path : load configuration information from 'path'" ],
++ [ "cache", "=s", "@PREFIX@/etc/ddclient.cache", "-cache path : record address used in 'path'" ],
+ "",
+@@ -57,3 +57,3 @@
+ " ${program} -ip 192.168.1.1 -retry",
+- " -- set the ip address of all dyndns hosts listed in the /etc/ddclient.conf to 192.168.1.1",
++ " -- set the ip address of all dyndns hosts listed in the @PREFIX@/etc/ddclient.conf to 192.168.1.1",
+ " -- mark failures so they may be retried with -refresh",
+@@ -74,3 +74,3 @@
+ " ${program} -refresh -force -retry",
+- " -- refresh all dyndns hosts listed in the /etc/ddclient.conf",
++ " -- refresh all dyndns hosts listed in the @PREFIX@/etc/ddclient.conf",
+ " -- force an update even if it may be unneccessary",
+@@ -82,3 +82,3 @@
+ " ${program} -refresh -retry",
+- " -- refresh all dyndns hosts listed in the /etc/ddclient.conf that could not be updated",
++ " -- refresh all dyndns hosts listed in the @PREFIX@/etc/ddclient.conf that could not be updated",
+ " (hosts that do not require update will be skipped)",
+@@ -443,3 +443,3 @@
+ } elsif (($result = update(%args)) eq 'OK') {
+- $cache{$host} = { %args, time => time };
++ $cache{$host} = { %args, time() => time() };
+ write_cache($opt{'cache'});
+@@ -448,3 +448,3 @@
+ warning("$host was not set to $args{'ip'}, use -refresh to retry later");
+- $cache{$host} = { %args, time => 0 };
++ $cache{$host} = { %args, time() => 0 };
+ write_cache($opt{'cache'});
diff --git a/net/ddclient/pkg/COMMENT b/net/ddclient/pkg/COMMENT
new file mode 100644
index 00000000000..e6f74c8bb47
--- /dev/null
+++ b/net/ddclient/pkg/COMMENT
@@ -0,0 +1 @@
+Client to update dynamic DNS entries for accounts on dyndns.org
diff --git a/net/ddclient/pkg/DESCR b/net/ddclient/pkg/DESCR
new file mode 100644
index 00000000000..c69fbbf1fcd
--- /dev/null
+++ b/net/ddclient/pkg/DESCR
@@ -0,0 +1,10 @@
+ddclient is a Perl client used to update dynamic DNS entries for accounts
+on Dynamic DNS Network Services' free DNS service. See http://www.dyndns.org
+for details on obtaining a free account.
+
+Comments can always be sent to:
+ mailto:paul+ddclient@burry.dyndns.org
+
+If you use ddclient, please send a brief note to:
+ mailto:paul+ddclient@burry.dyndns.org
+and indicate if you would like to be notified of new releases.
diff --git a/net/ddclient/pkg/MESSAGE b/net/ddclient/pkg/MESSAGE
new file mode 100644
index 00000000000..c59dd662ced
--- /dev/null
+++ b/net/ddclient/pkg/MESSAGE
@@ -0,0 +1,6 @@
+
+1. Please register at http://www.dyndns.org/
+
+2. Copy /usr/pkg/etc/ddclient.conf-example to /usr/pkg/etc/ddclient.conf
+ and adjust to your needs.
+
diff --git a/net/ddclient/pkg/PLIST b/net/ddclient/pkg/PLIST
new file mode 100644
index 00000000000..6370ec3bd82
--- /dev/null
+++ b/net/ddclient/pkg/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/08/07 02:50:12 hubertf Exp $
+bin/ddclient
+etc/ddclient.conf-example
+share/doc/ddclient/COPYING
+share/doc/ddclient/COPYRIGHT
+share/doc/ddclient/README
+share/doc/ddclient/sample-etc_cron.d_ddclient
+share/doc/ddclient/sample-etc_dhcpc_dhcpcd-eth0.exe
+share/doc/ddclient/sample-etc_ppp_ip-up.local
+share/doc/ddclient/contrib/ddupdate
+@dirrm share/doc/ddclient/contrib
+@dirrm share/doc/ddclient