diff --git a/ddclient-3.8.0-update_nic.patch b/ddclient-3.8.0-update_nic.patch deleted file mode 100644 index 2a5fa3e..0000000 --- a/ddclient-3.8.0-update_nic.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ruN ddclient-3.8.0-orig/ddclient ddclient-3.8.0/ddclient ---- ddclient-3.8.0-orig/ddclient 2009-01-27 19:14:02.000000000 +0000 -+++ ddclient-3.8.0/ddclient 2009-05-01 20:55:20.386630124 +0000 -@@ -726,7 +726,7 @@ - foreach my $h (sort keys %config) { - next if $config{$h}{'protocol'} ne lc($s); - $examined{$h} = 1; -- my $use = $config{$h}{'use'} || opt('use'); -+ my $use = $opt{'use'} || $config{$h}{'use'}; - local $opt{$use} = $config{$h}{$use} if $config{$h}{$use}; - my $ip = get_ip($use); - if (!defined $ip || !$ip) { diff --git a/ddclient-3.8.0.tar.bz2 b/ddclient-3.8.0.tar.bz2 deleted file mode 100644 index d614562..0000000 --- a/ddclient-3.8.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:910dc49bd4b2920fad6c4afce03805de5a4cffd0db5f3d902c5417353420aef4 -size 41701 diff --git a/ddclient-3.8.0-config.patch b/ddclient-3.8.1-config.patch similarity index 62% rename from ddclient-3.8.0-config.patch rename to ddclient-3.8.1-config.patch index 52acc80..31cec88 100644 --- a/ddclient-3.8.0-config.patch +++ b/ddclient-3.8.1-config.patch @@ -1,18 +1,7 @@ -diff -ruN ddclient-3.8.0-orig/ddclient ddclient-3.8.0/ddclient ---- ddclient-3.8.0-orig/ddclient 2009-01-27 19:14:02.000000000 +0000 -+++ ddclient-3.8.0/ddclient 2009-04-29 21:37:27.690282779 +0000 -@@ -27,7 +27,7 @@ - $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 -ruN ddclient-3.8.0-orig/sample-etc_ddclient.conf ddclient-3.8.0/sample-etc_ddclient.conf ---- ddclient-3.8.0-orig/sample-etc_ddclient.conf 2008-11-19 20:20:34.000000000 +0000 -+++ ddclient-3.8.0/sample-etc_ddclient.conf 2009-04-30 14:14:47.793725557 +0000 +Index: sample-etc_ddclient.conf +=================================================================== +--- sample-etc_ddclient.conf.orig ++++ sample-etc_ddclient.conf @@ -18,12 +18,16 @@ ## are mentioned here. ## @@ -32,8 +21,8 @@ diff -ruN ddclient-3.8.0-orig/sample-etc_ddclient.conf ddclient-3.8.0/sample-etc # ssl-library # postscript=script # run script after updating. The # new IP is added as argument. -@@ -52,10 +56,17 @@ - ## To obtain an IP address from Web status page (using the proxy if defined) +@@ -56,10 +60,17 @@ 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 # +###################################################################### diff --git a/ddclient-3.8.1-update_nic.patch b/ddclient-3.8.1-update_nic.patch new file mode 100644 index 0000000..dd43152 --- /dev/null +++ b/ddclient-3.8.1-update_nic.patch @@ -0,0 +1,19 @@ +Index: ddclient +=================================================================== +--- ddclient.orig ++++ ddclient +@@ -1,5 +1,4 @@ + #!/usr/bin/perl -w +-#!/usr/local/bin/perl -w + ###################################################################### + # $Id: ddclient 130 2011-07-11 21:02:07Z wimpunk $ + # +@@ -773,7 +772,7 @@ sub update_nics { + foreach my $h (sort keys %config) { + next if $config{$h}{'protocol'} ne lc($s); + $examined{$h} = 1; +- my $use = $config{$h}{'use'} || opt('use'); ++ my $use = opt('use') || $config{$h}{'use'}; + local $opt{$use} = $config{$h}{$use} if $config{$h}{$use}; + # bug #13: we should only do this once + # use isn't enough, we have to save the origin to. diff --git a/ddclient-3.8.1.tar.bz2 b/ddclient-3.8.1.tar.bz2 new file mode 100644 index 0000000..66e8b59 --- /dev/null +++ b/ddclient-3.8.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77a82668a53fdbed1e05ad6febe6dbefb093e3922afb20b993d4ad9ee868258f +size 43711 diff --git a/ddclient.changes b/ddclient.changes index e47b79f..4dc42ce 100644 --- a/ddclient.changes +++ b/ddclient.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Jan 9 15:25:09 UTC 2012 - chris@computersalat.de + +- update to 3.8.1 + * Fixing #28: FreeDNS.afraid.org changed api slightly + * Added dtdns-support + * Added support for longer password + * Added cisco-asa patch + * Added support for LoopiaDNS +- rebase patches + ------------------------------------------------------------------- Wed Oct 19 15:06:08 CEST 2011 - ro@suse.de diff --git a/ddclient.spec b/ddclient.spec index bb41bb9..000cb20 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -1,7 +1,7 @@ # # spec file for package ddclient # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,19 +16,18 @@ # - Name: ddclient Summary: A Perl Client to Update Dynamic DNS Entries -Version: 3.8.0 -Release: 15 License: GPL-2.0+ Group: Productivity/Networking/DNS/Utilities +Version: 3.8.1 +Release: 0 Url: http://ddclient.sourceforge.net/ Source0: http://switch.dl.sourceforge.net/sourceforge/ddclient/%{name}-%{version}.tar.bz2 Source1: rc.ddclient Source2: %{name}.sysconfig -Patch0: %{name}-3.8.0-config.patch -Patch1: %{name}-3.8.0-update_nic.patch +Patch0: %{name}-3.8.1-config.patch +Patch1: %{name}-3.8.1-update_nic.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %fillup_prereq Requires: perl >= 5.004 @@ -48,8 +47,8 @@ cron. %prep %setup -%patch0 -p1 -%patch1 -p1 +%patch0 +%patch1 rm -f sample-etc_ddclient.conf.orig chmod a-x sample-etc* mkdir examples