Accepting request 100287 from network

update to 3.8.1 (forwarded request 99508 from computersalat)

OBS-URL: https://build.opensuse.org/request/show/100287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ddclient?expand=0&rev=28
This commit is contained in:
Stephan Kulow 2012-01-17 10:32:38 +00:00 committed by Git OBS Bridge
commit 7400a2df30
7 changed files with 46 additions and 40 deletions

View File

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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:910dc49bd4b2920fad6c4afce03805de5a4cffd0db5f3d902c5417353420aef4
size 41701

View File

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

View File

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

3
ddclient-3.8.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77a82668a53fdbed1e05ad6febe6dbefb093e3922afb20b993d4ad9ee868258f
size 43711

View File

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

View File

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