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:
parent
4be12eb8ac
commit
b45bc4d266
@ -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.
|
@ -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
3
ddclient-3.8.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f343d2297b97b769949d4d6c3f603a8c52433acf2104245538808a2ea003ed5e
|
||||
size 41996
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user