Accepting request 135839 from network

use /etc instead of /etc/ddclient(bnc#781699) (forwarded request 135797 from BinLi)

OBS-URL: https://build.opensuse.org/request/show/135839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ddclient?expand=0&rev=30
This commit is contained in:
Stephan Kulow 2012-09-25 11:39:39 +00:00 committed by Git OBS Bridge
commit c450654551
2 changed files with 19 additions and 0 deletions

View File

@ -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 = '';

View File

@ -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