[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ddclient port error




The below patch changes a setting in the ddclient port which means
it no longer drops its cache file in the same dir as its config file (/etc).

The patch needs to live as /usr/ports/net/ddclient/patches/patch-ddclient

If you run ddclient, please test it and let me know of any problems
(not that there should be any -- it's relatively simple). I've been
using this for a week or so.

Once the patch is installed, you will want to `rm /etc/ddclient.cache`
to get rid of the errant old file.


Regards
Sam
  ddclient port maintainer.


--- ddclient	Thu Jan  3 23:56:34 2002
+++ ddclient	Mon Apr  1 16:17:33 2002
@@ -151,7 +151,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),