File ddclient-3.8.1-config.patch of Package ddclient.19280
Index: sample-etc_ddclient.conf
===================================================================
--- sample-etc_ddclient.conf.orig
+++ sample-etc_ddclient.conf
@@ -18,12 +18,16 @@
## are mentioned here.
##
######################################################################
+# daemon: consider to use /etc/sysconfig/ddclient instead of modifying here
+#
daemon=300 # check every 300 seconds
+#
+######################################################################
syslog=yes # log update msgs to syslog
-mail=root # mail all msgs to root
+#mail=root # mail all msgs to root
mail-failure=root # mail failed update msgs to root
pid=/var/run/ddclient.pid # record PID in file.
-ssl=yes # use ssl-support. Works with
+ssl=no # use ssl-support. Works with
# ssl-library
# postscript=script # run script after updating. The
# new IP is added as argument.
@@ -56,10 +60,18 @@ ssl=yes # use ssl-support. Works wi
## get banned from their service.
#use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP Address
#
+######################################################################
+# you do not need to define use= if you are using DSL (ppp0)
+# rc.ddclient is using "use=if, if=ppp0" as default
+#
#use=ip, ip=127.0.0.1 # via static IP's
#use=if, if=eth0 # via interfaces
+#use=if, if=ippp0 # when using ISDN
+#use=if, if=ppp0 # when using DSL
+#use=if, if=tun0 # when using tunnel device
#use=web # via web
#
+######################################################################
#protocol=dyndns2 # default protocol
#proxy=fasthttp.sympatico.ca:80 # default proxy
#server=members.dyndns.org # default server
@@ -72,6 +84,16 @@ ssl=yes # use ssl-support. Works wi
#wildcard=yes|no # add wildcard CNAME?
##
+## selfhost dynamic addresses
+## http://cms.selfhost.de/cgi-bin/selfhost?p=faq&show=113
+##
+# server=carol.selfhost.de, \
+# protocol=dyndns2, \
+# login=your-selfhost-login, \
+# password=your-selfhost-password \
+# your.selfhost.bz
+
+##
## dyndns.org dynamic addresses
##
## (supports variables: wildcard,mx,backupmx)
Index: ddclient
===================================================================
--- ddclient.orig
+++ ddclient
@@ -29,7 +29,7 @@ my $program = $programd;
$program =~ s/d$//;
my $now = time;
my $hostname = hostname();
-my $etc = ($program =~ /test/i) ? './' : '/etc/ddclient/';
+my $etc = ($program =~ /test/i) ? './' : '/etc/';
my $cachedir = ($program =~ /test/i) ? './' : '/var/cache/ddclient/';
my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/';
my $msgs = '';