Hello community, here is the log from the commit of package ddclient for openSUSE:Factory checked in at 2020-02-04 19:53:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ddclient (Old) and /work/SRC/openSUSE:Factory/.ddclient.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ddclient" Tue Feb 4 19:53:46 2020 rev:48 rq:769612 version:3.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ddclient/ddclient.changes 2020-01-01 14:59:42.813975458 +0100 +++ /work/SRC/openSUSE:Factory/.ddclient.new.26092/ddclient.changes 2020-02-04 19:53:58.497343355 +0100 @@ -1,0 +2,26 @@ +Mon Feb 3 14:16:09 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Use properly tmpfiles-create +- Remove the systemd conditional +- Fixup download url + +------------------------------------------------------------------- +Sun Feb 2 08:26:42 UTC 2020 - Thorsten Kukuk <[email protected]> + +- Replace pwdutils with shadow, former is gone long time ago + +------------------------------------------------------------------- +Fri Jan 24 20:46:43 UTC 2020 - Manu Maier <[email protected]> + +- Upgrade to ddclient-3.9.1 + * added support for Yandex.Mail for Domain DNS service + * added support for NearlyFreeSpeech.net + * added support for DNS Made Easy + * added systemd instructions + * added support for dondominio.com + * updated perl instruction + * updated fritzbox instructions + * fixed multidomain support for namecheap + * fixed support for Yandex + +------------------------------------------------------------------- Old: ---- ddclient-3.9.0.tar.gz rc.ddclient New: ---- v3.9.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ddclient.spec ++++++ --- /var/tmp/diff_new_pack.AIQAOH/_old 2020-02-04 19:53:59.457343915 +0100 +++ /var/tmp/diff_new_pack.AIQAOH/_new 2020-02-04 19:53:59.465343920 +0100 @@ -16,38 +16,25 @@ # -#Compat macro for new _fillupdir macro introduced in Nov 2017 -%if ! %{defined _fillupdir} - %define _fillupdir /var/adm/fillup-templates -%endif - Name: ddclient +Version: 3.9.1 +Release: 0 Summary: A Perl Client to Update Dynamic DNS Entries License: GPL-2.0-or-later Group: Productivity/Networking/DNS/Utilities -Version: 3.9.0 -Release: 0 -URL: http://ddclient.sourceforge.net/ -Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +URL: https://github.com/ddclient/ddclient +Source0: https://github.com/ddclient/ddclient/archive/v%{version}.tar.gz Source1: %{name}.service Source2: %{name}.sysconfig Source3: %{name}-tmpfiles.conf -Source4: rc.%{name} Patch0: %{name}-3.8.1-config.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch -Requires(pre): %fillup_prereq -Requires(pre): pwdutils -Requires: perl-Data-Validate-IP - -%if 0%{?suse_version} >= 1230 -BuildRequires: pkgconfig(systemd) -%{?systemd_requires} -%define has_systemd 1 -%endif - Requires: perl >= 5.004 +Requires: perl-Data-Validate-IP +Requires(pre): %fillup_prereq +Requires(pre): shadow Recommends: perl-IO-Socket-SSL +BuildArch: noarch +%{?systemd_requires} %description ddclient is a client requiring only Perl. Supported @@ -62,7 +49,7 @@ cron. %prep -%setup +%setup -q %patch0 rm -f sample-etc_ddclient.conf.orig chmod a-x sample-* @@ -70,84 +57,45 @@ mv sample-* examples %build -#%%configure -#make -# If the package provides automatic testing -#make test -# nothing to do here (yet) +: %install #%%make_install install -D -m 755 %{name} %{buildroot}%{_sbindir}/%{name} install -D -m 600 examples/sample-etc_ddclient.conf %{buildroot}%{_sysconfdir}/%{name}.conf -%if 0%{?has_systemd} -sed -i -e "s,/var/run/,/run/%{name}/," %{buildroot}%{_sysconfdir}/%{name}.conf -%else -sed -i -e "s,/var/run/,/var/run/%{name}/," %{buildroot}%{_sysconfdir}/%{name}.conf -%endif -# init script and config file -%if 0%{?has_systemd} +sed -i -e "s,%{_localstatedir}/run/,/run/%{name}/," %{buildroot}%{_sysconfdir}/%{name}.conf install -D -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}.service -install -D -m 644 %{SOURCE3} %{buildroot}%{_libexecdir}/tmpfiles.d/%{name}.conf -ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} -%else -install -D -m 755 %{SOURCE4} %{buildroot}%{_sysconfdir}/init.d/%{name} -ln -s %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} -%endif +install -D -m 644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/%{name}.conf +ln -s service %{buildroot}%{_sbindir}/rc%{name} install -d -m 755 %{buildroot}%{_fillupdir} install -m 644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.%{name} -install -d -m 755 %{buildroot}/var/cache/%{name} -%if 0%{?has_systemd} +install -d -m 755 %{buildroot}%{_localstatedir}/cache/%{name} install -d -m 755 %{buildroot}/run/%{name} -%else -install -d -m 755 %{buildroot}%{_localstatedir}/run/%{name} -%endif %pre getent group %{name} >/dev/null || %{_sbindir}/groupadd -r %{name} getent passwd %{name} >/dev/null || \ %{_sbindir}/useradd -c "DDClient User" -d %{_localstatedir}/cache/%{name} \ -g %{name} -r -s /bin/false %{name} -%if 0%{?has_systemd} %service_add_pre %{name}.service -install -d -m 755 -o %{name} -g root /run/%{name} -%else -install -d -m 755 -o %{name} -g root %{_localstatedir}/run/%{name} -%endif %post -%{fillup_only} -%if 0%{?has_systemd} +%fillup_only +%tmpfiles_create %{_tmpfilesdir}/%{name}.conf %service_add_post %{name}.service -%endif %preun -%if 0%{?has_systemd} %service_del_preun %{name}.service -%else -%stop_on_removal ddclient -%endif %postun -%if 0%{?has_systemd} %service_del_postun %{name}.service -%else -%restart_on_update ddclient -%insserv_cleanup -%endif %files -%defattr(-, root, root) %doc COPY* README* examples %config(noreplace) %attr(600,%{name},root) %{_sysconfdir}/%{name}.conf -%if 0%{?has_systemd} %{_unitdir}/%{name}.service %{_libexecdir}/tmpfiles.d/ddclient.conf %ghost %dir %attr(755,%{name},%{name}) /run/%{name} -%else -/etc/init.d/%{name} -%ghost %dir %attr(755,%{name},%{name}) %{_localstatedir}/run/%{name} -%endif %{_sbindir}/%{name} %{_sbindir}/rc%{name} %{_fillupdir}/sysconfig.%{name}
