From b45bc4d26642ab434bbbafe57250186e64dcca591cfeb132d2a7d112ae908b95 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 3 Jan 2014 09:57:13 +0000 Subject: [PATCH] Accepting request 212506 from home:benoit_monin:branches:network Update to upstream version 3.8.2 OBS-URL: https://build.opensuse.org/request/show/212506 OBS-URL: https://build.opensuse.org/package/show/network/ddclient?expand=0&rev=31 --- ddclient-3.8.1-update_nic.patch | 19 ------------------- ddclient-3.8.1.tar.bz2 | 3 --- ddclient-3.8.2.tar.bz2 | 3 +++ ddclient.changes | 14 ++++++++++++++ ddclient.spec | 12 +++++------- 5 files changed, 22 insertions(+), 29 deletions(-) delete mode 100644 ddclient-3.8.1-update_nic.patch delete mode 100644 ddclient-3.8.1.tar.bz2 create mode 100644 ddclient-3.8.2.tar.bz2 diff --git a/ddclient-3.8.1-update_nic.patch b/ddclient-3.8.1-update_nic.patch deleted file mode 100644 index dd43152..0000000 --- a/ddclient-3.8.1-update_nic.patch +++ /dev/null @@ -1,19 +0,0 @@ -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 deleted file mode 100644 index 66e8b59..0000000 --- a/ddclient-3.8.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:77a82668a53fdbed1e05ad6febe6dbefb093e3922afb20b993d4ad9ee868258f -size 43711 diff --git a/ddclient-3.8.2.tar.bz2 b/ddclient-3.8.2.tar.bz2 new file mode 100644 index 0000000..1bb5e24 --- /dev/null +++ b/ddclient-3.8.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f343d2297b97b769949d4d6c3f603a8c52433acf2104245538808a2ea003ed5e +size 41996 diff --git a/ddclient.changes b/ddclient.changes index e810239..cea5829 100644 --- a/ddclient.changes +++ b/ddclient.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Dec 31 17:02:59 UTC 2013 - benoit.monin@gmx.fr + +- update to 3.8.2 + * adding support by ChangeIP + * sha-1 patch to allow Digest::SHA + * allow reuse of use + * preventing deep sleep - see bug #46 + * Fallback to iproute if ifconfig doesn't work +- drop ddclient-3.8.1-update_nic.patch: upstream changed the "use" + logic +- move all sample-* to examples under the documentation directory +- update source url on sourceforge + ------------------------------------------------------------------- Wed Dec 4 13:08:25 UTC 2013 - seife+obs@b1-systems.com diff --git a/ddclient.spec b/ddclient.spec index 1ea90ce..e8665ec 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -20,16 +20,15 @@ Name: ddclient Summary: A Perl Client to Update Dynamic DNS Entries License: GPL-2.0+ Group: Productivity/Networking/DNS/Utilities -Version: 3.8.1 +Version: 3.8.2 Release: 0 Url: http://ddclient.sourceforge.net/ -Source0: http://switch.dl.sourceforge.net/sourceforge/ddclient/%{name}-%{version}.tar.bz2 +Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: %{name}.service Source2: %{name}.sysconfig Source3: %{name}-tmpfiles.conf Source4: rc.%{name} Patch0: %{name}-3.8.1-config.patch -Patch1: %{name}-3.8.1-update_nic.patch BuildRequires: pkgconfig(systemd) BuildArch: noarch Requires(pre): %fillup_prereq @@ -52,11 +51,10 @@ cron. %prep %setup %patch0 -%patch1 rm -f sample-etc_ddclient.conf.orig chmod a-x sample-* mkdir examples -mv sample-ddclient-wrapper.sh examples +mv sample-* examples %build #%%configure @@ -76,7 +74,7 @@ mv sample-ddclient-wrapper.sh examples %{__mkdir_p} %{buildroot}%{_sysconfdir}/init.d %endif %{__install} -m 755 %{name} %{buildroot}%{_sbindir}/ -%{__install} -m 644 sample-etc_ddclient.conf %{buildroot}%{_sysconfdir}/%{name}.conf +%{__install} -m 644 examples/sample-etc_ddclient.conf %{buildroot}%{_sysconfdir}/%{name}.conf # init script and config file %if 0%{?suse_version} >=1230 %{__install} -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}.service @@ -113,7 +111,7 @@ mv sample-ddclient-wrapper.sh examples %files %defattr(-, root, root) -%doc COPY* README* sample* examples +%doc COPY* README* examples %config(noreplace) %attr(600,root,root) %{_sysconfdir}/%{name}.conf %if 0%{?suse_version} >=1230 %{_unitdir}/%{name}.service