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
This commit is contained in:
Dirk Mueller 2014-01-03 09:57:13 +00:00 committed by Git OBS Bridge
parent 4be12eb8ac
commit b45bc4d266
5 changed files with 22 additions and 29 deletions

View File

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

View File

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

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

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

View File

@ -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 Wed Dec 4 13:08:25 UTC 2013 - seife+obs@b1-systems.com

View File

@ -20,16 +20,15 @@ Name: ddclient
Summary: A Perl Client to Update Dynamic DNS Entries Summary: A Perl Client to Update Dynamic DNS Entries
License: GPL-2.0+ License: GPL-2.0+
Group: Productivity/Networking/DNS/Utilities Group: Productivity/Networking/DNS/Utilities
Version: 3.8.1 Version: 3.8.2
Release: 0 Release: 0
Url: http://ddclient.sourceforge.net/ 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 Source1: %{name}.service
Source2: %{name}.sysconfig Source2: %{name}.sysconfig
Source3: %{name}-tmpfiles.conf Source3: %{name}-tmpfiles.conf
Source4: rc.%{name} Source4: rc.%{name}
Patch0: %{name}-3.8.1-config.patch Patch0: %{name}-3.8.1-config.patch
Patch1: %{name}-3.8.1-update_nic.patch
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
BuildArch: noarch BuildArch: noarch
Requires(pre): %fillup_prereq Requires(pre): %fillup_prereq
@ -52,11 +51,10 @@ cron.
%prep %prep
%setup %setup
%patch0 %patch0
%patch1
rm -f sample-etc_ddclient.conf.orig rm -f sample-etc_ddclient.conf.orig
chmod a-x sample-* chmod a-x sample-*
mkdir examples mkdir examples
mv sample-ddclient-wrapper.sh examples mv sample-* examples
%build %build
#%%configure #%%configure
@ -76,7 +74,7 @@ mv sample-ddclient-wrapper.sh examples
%{__mkdir_p} %{buildroot}%{_sysconfdir}/init.d %{__mkdir_p} %{buildroot}%{_sysconfdir}/init.d
%endif %endif
%{__install} -m 755 %{name} %{buildroot}%{_sbindir}/ %{__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 # init script and config file
%if 0%{?suse_version} >=1230 %if 0%{?suse_version} >=1230
%{__install} -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}.service %{__install} -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}.service
@ -113,7 +111,7 @@ mv sample-ddclient-wrapper.sh examples
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc COPY* README* sample* examples %doc COPY* README* examples
%config(noreplace) %attr(600,root,root) %{_sysconfdir}/%{name}.conf %config(noreplace) %attr(600,root,root) %{_sysconfdir}/%{name}.conf
%if 0%{?suse_version} >=1230 %if 0%{?suse_version} >=1230
%{_unitdir}/%{name}.service %{_unitdir}/%{name}.service