summaryrefslogtreecommitdiff
path: root/net/ddclient/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/ddclient/patches/patch-aa')
-rw-r--r--net/ddclient/patches/patch-aa26
1 files changed, 21 insertions, 5 deletions
diff --git a/net/ddclient/patches/patch-aa b/net/ddclient/patches/patch-aa
index da50925c81f..36fcd73b3b7 100644
--- a/net/ddclient/patches/patch-aa
+++ b/net/ddclient/patches/patch-aa
@@ -1,14 +1,30 @@
-$NetBSD: patch-aa,v 1.3 2005/08/02 09:55:38 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2007/10/03 18:31:19 bad Exp $
---- ddclient.orig Sun Nov 18 19:54:48 2001
-+++ ddclient
-@@ -1,3 +1,2 @@
+--- ddclient.orig 2005-03-20 12:01:23.000000000 +0100
++++ ddclient 2007-10-03 20:25:46.000000000 +0200
+@@ -1,5 +1,4 @@
-#!/usr/bin/perl -w
-#!/usr/local/bin/perl -w
+#!@PERL5@ -w
######################################################################
-@@ -22,3 +21,3 @@
+ # $Header: /cvsroot/pkgsrc/net/ddclient/patches/patch-aa,v 1.4 2007/10/03 18:31:19 bad Exp $
+ #
+@@ -22,7 +21,8 @@
+ $program =~ s/d$//;
+ my $now = time;
my $hostname = hostname();
-my $etc = ($program =~ /test/i) ? './' : '/etc/ddclient/';
+my $etc = ($program =~ /test/i) ? './' : '@PKG_SYSCONFDIR@/';
++my $var = ($program =~ /test/i) ? './' : '@VARBASE@/';
my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/';
+ my $msgs = '';
+ my $last_msgs = '';
+@@ -217,7 +217,7 @@
+ 'global-defaults' => {
+ 'daemon' => setv(T_DELAY, 0, 0, 1, 0, interval('60s')),
+ 'file' => setv(T_FILE, 0, 0, 1, "$etc$program.conf", undef),
+- 'cache' => setv(T_FILE, 0, 0, 1, "$etc$program.cache", undef),
++ 'cache' => setv(T_FILE, 0, 0, 1, "${var}db/$program.cache", undef),
+ 'pid' => setv(T_FILE, 0, 0, 1, "", undef),
+ 'proxy' => setv(T_FQDNP, 0, 0, 1, '', undef),
+ 'protocol' => setv(T_PROTO, 0, 0, 1, 'dyndns2', undef),