From bee57ea19d5e939af44b0b67ba0ba8e647896f03dd6db4072584cb14bcf6fc5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 25 Sep 2012 09:18:41 +0000 Subject: [PATCH] Accepting request 135797 from home:BinLi:branches:network use /etc instead of /etc/ddclient(bnc#781699) OBS-URL: https://build.opensuse.org/request/show/135797 OBS-URL: https://build.opensuse.org/package/show/network/ddclient?expand=0&rev=19 --- ddclient-3.8.1-config.patch | 13 +++++++++++++ ddclient.changes | 6 ++++++ 2 files changed, 19 insertions(+) diff --git a/ddclient-3.8.1-config.patch b/ddclient-3.8.1-config.patch index 31cec88..2e09ff9 100644 --- a/ddclient-3.8.1-config.patch +++ b/ddclient-3.8.1-config.patch @@ -39,3 +39,16 @@ Index: sample-etc_ddclient.conf #protocol=dyndns2 # default protocol #proxy=fasthttp.sympatico.ca:80 # default proxy #server=members.dyndns.org # default server +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 = ''; diff --git a/ddclient.changes b/ddclient.changes index 4dc42ce..538c259 100644 --- a/ddclient.changes +++ b/ddclient.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 25 04:03:07 UTC 2012 - binli@opensuse.org + +- Update ddclient-3.8.1-config.patch to check the configuraton file + from /etc instead of /etc/ddclient (bnc#781699). + ------------------------------------------------------------------- Mon Jan 9 15:25:09 UTC 2012 - chris@computersalat.de