From dfe4a0137c01977ac8c8a33ab6508f9c0c5c33d6 Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Mon, 21 Apr 2014 13:42:29 +0100 Subject: [PATCH 01/45] Update to 3.8.2 and spec cleanup --- .gitignore | 1 + ddclient.NetworkManager | 4 +- ddclient.initscript | 92 ---------------------- ddclient.spec | 170 ++++++++++++++-------------------------- sources | 2 +- 5 files changed, 64 insertions(+), 205 deletions(-) delete mode 100755 ddclient.initscript diff --git a/.gitignore b/.gitignore index b5e08cd..fbce363 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ ddclient-3.8.0.tar.bz2 /ddclient-3.8.1.tar.bz2 +/ddclient-3.8.2.tar.bz2 diff --git a/ddclient.NetworkManager b/ddclient.NetworkManager index df7abf5..66ba982 100644 --- a/ddclient.NetworkManager +++ b/ddclient.NetworkManager @@ -4,12 +4,12 @@ export LC_ALL=C if [ "$2" = "down" ]; then /sbin/ip route ls | grep -q '^default' || { - [ -f /var/lock/subsys/ddclient ] && /sbin/service ddclient stop || : + [ -f /var/lock/subsys/ddclient ] && /usr/bin/systemctl stop ddclient.service || : } && { :; } fi if [ "$2" = "up" ]; then /sbin/ip -o route show dev "$1" | grep -q '^default' && { - /sbin/chkconfig ddclient && /sbin/service ddclient start || : + /usr/bin/systemctl start ddclient.service || : } || { :; } fi diff --git a/ddclient.initscript b/ddclient.initscript deleted file mode 100755 index 1271d2c..0000000 --- a/ddclient.initscript +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/bash -# -# ddclient Client to update dynamic DNS host entries -# -# chkconfig: - 65 35 -# description: ddclient is a Perl client used to update dynamic DNS \ -# entries for accounts on many dynamic DNS services. -# processname: /usr/sbin/ddclient -# config: /etc/ddclient.conf -# pidfile: /var/run/ddclient/ddclient.pid - -### BEGIN INIT INFO -# Provides: ddclient -# Required-Start: $local_fs $network $syslog -# Required-Stop: $local_fs $network $syslog -# Should-Start: $named -# Should-Stop: $named -# Short-Description: Client to update dynamic DNS host entries -# Description: ddclient is a Perl client used to update dynamic DNS -# entries for accounts on many dynamic DNS services. -### END INIT INFO - -# Source function library. -. /etc/rc.d/init.d/functions - -if [ -f /etc/sysconfig/ddclient ]; then - . /etc/sysconfig/ddclient -fi - -exec=/usr/sbin/ddclient -prog=`basename $exec` -lockfile=/var/lock/subsys/$prog -cache=/var/cache/ddclient/ddclient.cache -pid=/var/run/ddclient/ddclient.pid -RETVAL=0 - -start() { - # Check that networking is up. - [ ! -f /var/lock/subsys/network -a ! -f /var/lock/subsys/NetworkManager ] && exit 0 - - echo -n $"Starting $prog: " - [ -f $cache ] || touch $cache - chown ddclient:ddclient $cache && chmod 600 $cache || exit $? - daemon --user=ddclient --pidfile=$pid $exec $DDCLIENT_OPTIONS - RETVAL=$? - echo - [ $RETVAL -eq 0 ] && touch $lockfile - - return $RETVAL -} - -stop() { - echo -n $"Stopping $prog: " - killproc -p $pid $prog - RETVAL=$? - echo - [ $RETVAL -eq 0 ] && rm -f $lockfile - - return $RETVAL -} - -restart() { - stop - start -} - -# See how we were called. -case "$1" in - start) - start - ;; - stop) - stop - ;; - status) - status -p $pid $prog - ;; - restart|force-reload|reload) - restart - ;; - condrestart|try-restart) - if [ -f $lockfile ]; then - restart - fi - ;; - *) - echo $"Usage: $0 {start|stop|status|reload|restart|condrestart|force-reload|try-restart}" - RETVAL=1 - ;; -esac - -exit $RETVAL diff --git a/ddclient.spec b/ddclient.spec index 004465c..99ea664 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -1,10 +1,10 @@ -# This macro only defined by default around Fedora 18 time -%{!?_tmpfilesdir:%global _tmpfilesdir %{_prefix}/lib/tmpfiles.d} +%global cachedir %{_localstatedir}/cache/ddclient +%global rundir %{_localstatedir}/run/ddclient Summary: Client to update dynamic DNS host entries Name: ddclient -Version: 3.8.1 -Release: 9%{?dist} +Version: 3.8.2 +Release: 1%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://ddclient.sourceforge.net/ @@ -14,21 +14,17 @@ Source2: ddclient.service Source3: ddclient.sysconfig Source4: ddclient.NetworkManager Source5: ddclient-tmpfiles.conf -Source6: ddclient.initscript + BuildArch: noarch + +BuildRequires: systemd Requires(pre): shadow-utils -%if 0%{?fedora} > 14 || 0%{?rhel} > 6 -BuildRequires: systemd-units -Requires(post): systemd-units -Requires(preun): systemd-units -Requires(postun): systemd-units -%else -Requires(post): /sbin/chkconfig -Requires(preun): /sbin/service, /sbin/chkconfig -Requires(postun): /sbin/service -%endif -Requires: perl(Digest::SHA1), perl(IO::Socket::SSL) -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd + +Requires: perl(Digest::SHA1) +Requires: perl(IO::Socket::SSL) %description ddclient is a Perl client used to update dynamic DNS entries for accounts @@ -40,43 +36,41 @@ the failed updates and sending update status to syslog and through e-mail. %prep %setup -q # Move pid file location for running as non-root. -sed -e 's|/var/run/ddclient.pid|%{_localstatedir}/run/%{name}/%{name}.pid|' -i sample-etc_ddclient.conf - +sed -e 's|/var/run/ddclient.pid|%{rundir}/%{name}.pid|' \ + -i sample-etc_ddclient.conf # Send less mail by default, eg. not on every shutdown. sed -e 's|^mail=|#mail=|' -i sample-etc_ddclient.conf - -# http://sourceforge.net/forum/forum.php?forum_id=706446 -sed -e 's|"3\.7\.1"|"3.7.2"|' -i %{name} - # Backwards compatibility from pre-3.6.6-1 sed -e 's|/etc/ddclient/|%{_sysconfdir}/|' -i %{name} + %build +#nothing to do + %install -rm -rf $RPM_BUILD_ROOT - install -D -p -m 755 %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name} -install -D -p -m 600 sample-etc_ddclient.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf -install -D -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/%{name} -%if 0%{?fedora} > 14 || 0%{?rhel} > 6 -install -D -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service -install -D -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf -%else -install -D -p -m 755 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name} -%endif -install -D -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name} -%if 0%{?fedora}%{?rhel} > 4 -install -D -p -m 755 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d/50-%{name} -%endif -mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/{cache,run}/%{name} -touch $RPM_BUILD_ROOT%{_localstatedir}/cache/%{name}/%{name}.cache +install -D -p -m 600 sample-etc_ddclient.conf \ + $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf +install -D -p -m 644 %{SOURCE1} \ + $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/%{name} + +install -D -p -m 644 %{SOURCE2} \ + $RPM_BUILD_ROOT%{_unitdir}/%{name}.service +install -D -p -m 644 %{SOURCE3} \ + $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name} +install -D -p -m 755 %{SOURCE4} \ + $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d/50-%{name} +install -D -p -m 644 %{SOURCE5} \ + $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf + +mkdir -p $RPM_BUILD_ROOT%{cachedir} +mkdir -p $RPM_BUILD_ROOT%{rundir} +touch $RPM_BUILD_ROOT%{cachedir}/%{name}.cache # Correct permissions for later usage in %doc chmod 644 sample-* -%clean -rm -rf $RPM_BUILD_ROOT %pre getent group %{name} > /dev/null || %{_sbindir}/groupadd -r %{name} @@ -84,91 +78,47 @@ getent passwd %{name} > /dev/null || %{_sbindir}/useradd -r -g %{name} -d %{_loc exit 0 %post -%if 0%{?fedora} > 14 || 0%{?rhel} > 6 -%if 0%{?fedora} >= 18 - %systemd_post %{name}.service -%else -if [ $1 -eq 1 ]; then - # Package install, not upgrade - /bin/systemctl daemon-reload > /dev/null 2>&1 || : +%systemd_post %{name}.service +if [ $1 == 1 ]; then + mkdir -p %{rundir} + chown %{name}:%{name} %{rundir} fi -%endif -%else -/sbin/chkconfig --add %{name} -%endif %preun -%if 0%{?fedora} > 14 || 0%{?rhel} > 6 -%if 0%{?fedora} >= 18 - %systemd_preun %{name}.service -%else -# Work around RHBZ #655116 -if [ $1 -eq 0 ]; then - # Package removal, not upgrade - /bin/systemctl --no-reload disable %{name}.service > /dev/null 2>&1 || : - /bin/systemctl stop %{name}.service > /dev/null 2>&1 || : -fi -%endif -%else -if [ $1 -eq 0 ]; then - /sbin/service %{name} stop > /dev/null 2>&1 || : - /sbin/chkconfig --del %{name} -fi -%endif +%systemd_preun %{name}.service %postun -%if 0%{?fedora} > 14 || 0%{?rhel} > 6 -%if 0%{?fedora} >= 18 - %systemd_postun_with_restart %{name}.service -%else -/bin/systemctl daemon-reload >/dev/null 2>&1 || : -if [ $1 -ge 1 ]; then - # Package upgrade, not uninstall - /bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || : -fi -%endif -%else -if [ $1 -ne 0 ]; then - /sbin/service %{name} condrestart > /dev/null 2>&1 || : -fi -%endif +%systemd_postun_with_restart %{name}.service -%if 0%{?fedora} > 14 || 0%{?rhel} > 6 -%triggerun -- ddclient < 3.8.1-1 -# Save the current service runlevel info -# User must manually run systemd-sysv-convert --apply ddclient -# to migrate them to systemd targets -/usr/bin/systemd-sysv-convert --save ddclient >/dev/null 2>&1 ||: - -# Run these because the SysV package being removed won't do them -/sbin/chkconfig --del %{name} > /dev/null 2>&1 || : -/bin/systemctl try-restart %{name}.service > /dev/null 2>&1 || : -%endif %files -%defattr(-,root,root,-) %doc README* COPYING COPYRIGHT Changelog sample-etc_ppp_ip-up.local %doc sample-etc_dhclient-exit-hooks sample-etc_cron.d_ddclient %doc sample-ddclient-wrapper.sh sample-etc_dhcpc_dhcpcd-eth0.exe -%if 0%{?fedora} > 14 || 0%{?rhel} > 6 -%{_unitdir}/%{name}.service + +%{_sbindir}/%{name} %{_tmpfilesdir}/%{name}.conf -%ghost %attr(0755,%{name},%{name}) %dir %{_localstatedir}/run/%{name}/ -%else -%{_sysconfdir}/rc.d/init.d/%{name} -%attr(0755,%{name},%{name}) %dir %{_localstatedir}/run/%{name}/ -%endif -%if 0%{?fedora}%{?rhel} > 4 -%{_sysconfdir}/NetworkManager/dispatcher.d/50-%{name} -%endif -%attr(600,%{name},%{name}) %config(noreplace) %{_sysconfdir}/%{name}.conf +%{_unitdir}/%{name}.service + +# sysconfdir %config(noreplace) %{_sysconfdir}/rwtab.d/%{name} %config(noreplace) %{_sysconfdir}/sysconfig/%{name} -%{_sbindir}/%{name} -%attr(0700,%{name},%{name}) %dir %{_localstatedir}/cache/%{name}/ -%attr(0600,%{name},%{name}) %ghost %{_localstatedir}/cache/%{name}/%{name}.cache +%attr(600,%{name},%{name}) %config(noreplace) %{_sysconfdir}/%{name}.conf +%{_sysconfdir}/NetworkManager/dispatcher.d/50-%{name} + +# localstatedir +%attr(0700,%{name},%{name}) %dir %{cachedir} +%attr(0600,%{name},%{name}) %ghost %{cachedir}/%{name}.cache +%ghost %attr(0755,%{name},%{name}) %dir %{rundir} + %changelog +* Mon Apr 21 2014 Jamie Nguyen - 3.8.2-1 +- update to upstream release 3.8.2 +- remove old EPEL 6 related macros +- remove all logic for older versions of Fedora/EPEL +- make spec more readable + * Wed Dec 25 2013 Robert Scheck 3.8.1-9 - Use the new systemd macros (#850084, thanks to Lukáš Nykrýn) - Adapted the spec file to handle systemd and SysV initscripts diff --git a/sources b/sources index 61c72ba..449eb6f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7fa417bc65f8f0e6ce78418a4f631988 ddclient-3.8.1.tar.bz2 +62cd5fe93ced2c794d5f441f9d908841 ddclient-3.8.2.tar.bz2 From a0aebe6060db79f1e4d4117d219355e002b327e5 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 02:01:35 -0500 Subject: [PATCH 02/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index 99ea664..aabdccd 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.8.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://ddclient.sourceforge.net/ @@ -113,6 +113,9 @@ fi %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 3.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Mon Apr 21 2014 Jamie Nguyen - 3.8.2-1 - update to upstream release 3.8.2 - remove old EPEL 6 related macros From f741436ca38fd6c36ffbfbb26b3131b278657faa Mon Sep 17 00:00:00 2001 From: Till Maas Date: Sun, 6 Jul 2014 15:39:57 +0200 Subject: [PATCH 03/45] Retired on 2014-07-06 due to lack of a maintainer in preparation to branch Fedora 21 --- .gitignore | 3 - ddclient-tmpfiles.conf | 1 - ddclient.NetworkManager | 15 --- ddclient.rwtab | 1 - ddclient.service | 15 --- ddclient.spec | 219 ---------------------------------------- ddclient.sysconfig | 4 - dead.package | 1 + sources | 1 - 9 files changed, 1 insertion(+), 259 deletions(-) delete mode 100644 .gitignore delete mode 100644 ddclient-tmpfiles.conf delete mode 100644 ddclient.NetworkManager delete mode 100644 ddclient.rwtab delete mode 100644 ddclient.service delete mode 100644 ddclient.spec delete mode 100644 ddclient.sysconfig create mode 100644 dead.package delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index fbce363..0000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -ddclient-3.8.0.tar.bz2 -/ddclient-3.8.1.tar.bz2 -/ddclient-3.8.2.tar.bz2 diff --git a/ddclient-tmpfiles.conf b/ddclient-tmpfiles.conf deleted file mode 100644 index 881d82f..0000000 --- a/ddclient-tmpfiles.conf +++ /dev/null @@ -1 +0,0 @@ -d /var/run/ddclient 0755 ddclient ddclient - diff --git a/ddclient.NetworkManager b/ddclient.NetworkManager deleted file mode 100644 index 66ba982..0000000 --- a/ddclient.NetworkManager +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -export LC_ALL=C - -if [ "$2" = "down" ]; then - /sbin/ip route ls | grep -q '^default' || { - [ -f /var/lock/subsys/ddclient ] && /usr/bin/systemctl stop ddclient.service || : - } && { :; } -fi - -if [ "$2" = "up" ]; then - /sbin/ip -o route show dev "$1" | grep -q '^default' && { - /usr/bin/systemctl start ddclient.service || : - } || { :; } -fi diff --git a/ddclient.rwtab b/ddclient.rwtab deleted file mode 100644 index 927514c..0000000 --- a/ddclient.rwtab +++ /dev/null @@ -1 +0,0 @@ -files /var/cache/ddclient/ddclient.cache diff --git a/ddclient.service b/ddclient.service deleted file mode 100644 index 3bdd806..0000000 --- a/ddclient.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=A Perl Client Used To Update Dynamic DNS -After=syslog.target network.target nss-lookup.target - -[Service] -User=ddclient -Group=ddclient -Type=forking -PIDFile=/var/run/ddclient/ddclient.pid -EnvironmentFile=-/etc/sysconfig/ddclient -ExecStartPre=/bin/touch /var/cache/ddclient/ddclient.cache -ExecStart=/usr/sbin/ddclient $DDCLIENT_OPTIONS - -[Install] -WantedBy=multi-user.target diff --git a/ddclient.spec b/ddclient.spec deleted file mode 100644 index aabdccd..0000000 --- a/ddclient.spec +++ /dev/null @@ -1,219 +0,0 @@ -%global cachedir %{_localstatedir}/cache/ddclient -%global rundir %{_localstatedir}/run/ddclient - -Summary: Client to update dynamic DNS host entries -Name: ddclient -Version: 3.8.2 -Release: 2%{?dist} -License: GPLv2+ -Group: System Environment/Daemons -URL: http://ddclient.sourceforge.net/ -Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 -Source1: ddclient.rwtab -Source2: ddclient.service -Source3: ddclient.sysconfig -Source4: ddclient.NetworkManager -Source5: ddclient-tmpfiles.conf - -BuildArch: noarch - -BuildRequires: systemd -Requires(pre): shadow-utils -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd - -Requires: perl(Digest::SHA1) -Requires: perl(IO::Socket::SSL) - -%description -ddclient is a Perl client used to update dynamic DNS entries for accounts -on many different dynamic DNS services. Features include: Operating as a -daemon, manual and automatic updates, static and dynamic updates, optimized -updates for multiple addresses, MX, wildcards, abuse avoidance, retrying -the failed updates and sending update status to syslog and through e-mail. - -%prep -%setup -q -# Move pid file location for running as non-root. -sed -e 's|/var/run/ddclient.pid|%{rundir}/%{name}.pid|' \ - -i sample-etc_ddclient.conf -# Send less mail by default, eg. not on every shutdown. -sed -e 's|^mail=|#mail=|' -i sample-etc_ddclient.conf -# Backwards compatibility from pre-3.6.6-1 -sed -e 's|/etc/ddclient/|%{_sysconfdir}/|' -i %{name} - - -%build -#nothing to do - - -%install -install -D -p -m 755 %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name} -install -D -p -m 600 sample-etc_ddclient.conf \ - $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf -install -D -p -m 644 %{SOURCE1} \ - $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/%{name} - -install -D -p -m 644 %{SOURCE2} \ - $RPM_BUILD_ROOT%{_unitdir}/%{name}.service -install -D -p -m 644 %{SOURCE3} \ - $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name} -install -D -p -m 755 %{SOURCE4} \ - $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d/50-%{name} -install -D -p -m 644 %{SOURCE5} \ - $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf - -mkdir -p $RPM_BUILD_ROOT%{cachedir} -mkdir -p $RPM_BUILD_ROOT%{rundir} -touch $RPM_BUILD_ROOT%{cachedir}/%{name}.cache - -# Correct permissions for later usage in %doc -chmod 644 sample-* - - -%pre -getent group %{name} > /dev/null || %{_sbindir}/groupadd -r %{name} -getent passwd %{name} > /dev/null || %{_sbindir}/useradd -r -g %{name} -d %{_localstatedir}/cache/%{name} -s /sbin/nologin -c "Dynamic DNS Client" %{name} -exit 0 - -%post -%systemd_post %{name}.service -if [ $1 == 1 ]; then - mkdir -p %{rundir} - chown %{name}:%{name} %{rundir} -fi - -%preun -%systemd_preun %{name}.service - -%postun -%systemd_postun_with_restart %{name}.service - - -%files -%doc README* COPYING COPYRIGHT Changelog sample-etc_ppp_ip-up.local -%doc sample-etc_dhclient-exit-hooks sample-etc_cron.d_ddclient -%doc sample-ddclient-wrapper.sh sample-etc_dhcpc_dhcpcd-eth0.exe - -%{_sbindir}/%{name} -%{_tmpfilesdir}/%{name}.conf -%{_unitdir}/%{name}.service - -# sysconfdir -%config(noreplace) %{_sysconfdir}/rwtab.d/%{name} -%config(noreplace) %{_sysconfdir}/sysconfig/%{name} -%attr(600,%{name},%{name}) %config(noreplace) %{_sysconfdir}/%{name}.conf -%{_sysconfdir}/NetworkManager/dispatcher.d/50-%{name} - -# localstatedir -%attr(0700,%{name},%{name}) %dir %{cachedir} -%attr(0600,%{name},%{name}) %ghost %{cachedir}/%{name}.cache -%ghost %attr(0755,%{name},%{name}) %dir %{rundir} - - -%changelog -* Sat Jun 07 2014 Fedora Release Engineering - 3.8.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Mon Apr 21 2014 Jamie Nguyen - 3.8.2-1 -- update to upstream release 3.8.2 -- remove old EPEL 6 related macros -- remove all logic for older versions of Fedora/EPEL -- make spec more readable - -* Wed Dec 25 2013 Robert Scheck 3.8.1-9 -- Use the new systemd macros (#850084, thanks to Lukáš Nykrýn) -- Adapted the spec file to handle systemd and SysV initscripts - -* Sat Aug 10 2013 Paul Howarth - 3.8.1-8 -- BR: systemd-units for %%{_unitdir} macro definition (fixes FTBFS #992118) -- Put tmpfiles config in %%{_tmpfilesdir}, not under /etc -- Package installation creates %%{_localstatedir}/run/%%{name} (#909272, #957355) -- Service files are not executable -- Require perl(Digest::SHA1) (#909258) -- Wait for name resolution to be available before starting (#905553) - -* Sat Aug 03 2013 Fedora Release Engineering - 3.8.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed Jul 17 2013 Petr Pisar - 3.8.1-6 -- Perl 5.18 rebuild - -* Wed Feb 13 2013 Fedora Release Engineering - 3.8.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Jul 18 2012 Fedora Release Engineering - 3.8.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Tue May 15 2012 Jon Ciesla - 3.8.1-3 -- Add ghost to /var/run/ddclient - -* Mon May 14 2012 Jon Ciesla - 3.8.1-2 -- Add tmpfiles.d. - -* Thu Mar 29 2012 Jon Ciesla - 3.8.1-1 -- Latest upstream. -- Migrate to systemd, 718756. - -* Fri Jan 13 2012 Fedora Release Engineering - 3.8.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Thu Feb 10 2011 Robert Scheck 3.8.0-4 -- Replaced Requires(hint) by Requires as RPM 4.9 dropped support - -* Tue Feb 08 2011 Fedora Release Engineering -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sat May 29 2010 Robert Scheck 3.8.0-2 -- Fixed wrong permissions at NetworkManager dispatcher (#506286) -- Updated %%description to be more verbose and detailed (#588053) - -* Sat May 01 2010 Robert Scheck 3.8.0-1 -- Upgrade to 3.8.0 and several spec file cleanups (#551906) -- Rewrote initscript to match LSB standards and headers (#246903) -- Added dispatcher to NetworkManager to avoid failures (#506286) - -* Fri Jul 24 2009 Fedora Release Engineering - 3.7.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Tue Feb 24 2009 Fedora Release Engineering - 3.7.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Wed Jan 23 2008 Robert Scheck 3.7.3-1 -- Upgrade to 3.7.3 (#429438) -- Updated the license tag according to the guidelines - -* Thu Jun 14 2007 Ville Skyttä - 3.7.2-1 -- 3.7.2. -- Tweak default config to send less mail (eg. not on every shutdown). - -* Fri Mar 2 2007 Ville Skyttä - 3.7.1-1 -- 3.7.1, cache file moved to /var/cache/ddclient. -- Run as a dedicated ddclient user (#220539). -- Add read only root/temporary state config (#220540). -- Create/chmod cache in init script instead of %%post. -- Add scriptlet dependencies, try-restart action and other minor tweaks. - -* Sat Jul 30 2005 Ville Skyttä - 3.6.6-1 -- 3.6.6, update URLs (#165272). -- Restart service on future package upgrades (still manually needed this time). -- Don't set service to autostart on "chkconfig --add". -- Fix sysconfig/ddclient permissions. -- Drop non-useful samples. - -* Wed Apr 6 2005 Michael Schwendt - 3.6.3-5 -- rebuilt - -* Mon Apr 05 2004 Toshio Kuratomi - 0:3.6.3-0.fdr.4.fc1 -- Fix %%doc %%attr ownership -- Touch the cache file in %%post - -* Mon Sep 08 2003 Michael Schwendt - 0:3.6.3-0.fdr.3 -- Add own Fedora-style initscript and /etc/sysconfig/ddclient file. -- Fix file permissions of config file and example files. -- Since ddclient.cache.patch uses hardcoded /var, don't use - %%_localstatedir in spec file either. - -* Sun Sep 07 2003 Thomas Vander Stichele -- 0:3.6.3-0.fdr.2: fixed ghostness of cache file diff --git a/ddclient.sysconfig b/ddclient.sysconfig deleted file mode 100644 index 97de4c1..0000000 --- a/ddclient.sysconfig +++ /dev/null @@ -1,4 +0,0 @@ -# -*- sh -*- -# ddclient service options, see ddclient --help for what's available. -# -DDCLIENT_OPTIONS="-daemon 300" diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..6975116 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Retired on 2014-07-06 due to lack of a maintainer in preparation to branch Fedora 21 diff --git a/sources b/sources deleted file mode 100644 index 449eb6f..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -62cd5fe93ced2c794d5f441f9d908841 ddclient-3.8.2.tar.bz2 From aacb82e476e594c2416ec651ad9f43b26b32678b Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Sun, 27 Mar 2016 23:19:19 -0400 Subject: [PATCH 04/45] Revert "Retired on 2014-07-06 due to lack of a maintainer in preparation to branch Fedora 21" This reverts commit f741436ca38fd6c36ffbfbb26b3131b278657faa. --- .gitignore | 3 + ddclient-tmpfiles.conf | 1 + ddclient.NetworkManager | 15 +++ ddclient.rwtab | 1 + ddclient.service | 15 +++ ddclient.spec | 219 ++++++++++++++++++++++++++++++++++++++++ ddclient.sysconfig | 4 + dead.package | 1 - sources | 1 + 9 files changed, 259 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 ddclient-tmpfiles.conf create mode 100644 ddclient.NetworkManager create mode 100644 ddclient.rwtab create mode 100644 ddclient.service create mode 100644 ddclient.spec create mode 100644 ddclient.sysconfig delete mode 100644 dead.package create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fbce363 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +ddclient-3.8.0.tar.bz2 +/ddclient-3.8.1.tar.bz2 +/ddclient-3.8.2.tar.bz2 diff --git a/ddclient-tmpfiles.conf b/ddclient-tmpfiles.conf new file mode 100644 index 0000000..881d82f --- /dev/null +++ b/ddclient-tmpfiles.conf @@ -0,0 +1 @@ +d /var/run/ddclient 0755 ddclient ddclient - diff --git a/ddclient.NetworkManager b/ddclient.NetworkManager new file mode 100644 index 0000000..66ba982 --- /dev/null +++ b/ddclient.NetworkManager @@ -0,0 +1,15 @@ +#!/bin/sh + +export LC_ALL=C + +if [ "$2" = "down" ]; then + /sbin/ip route ls | grep -q '^default' || { + [ -f /var/lock/subsys/ddclient ] && /usr/bin/systemctl stop ddclient.service || : + } && { :; } +fi + +if [ "$2" = "up" ]; then + /sbin/ip -o route show dev "$1" | grep -q '^default' && { + /usr/bin/systemctl start ddclient.service || : + } || { :; } +fi diff --git a/ddclient.rwtab b/ddclient.rwtab new file mode 100644 index 0000000..927514c --- /dev/null +++ b/ddclient.rwtab @@ -0,0 +1 @@ +files /var/cache/ddclient/ddclient.cache diff --git a/ddclient.service b/ddclient.service new file mode 100644 index 0000000..3bdd806 --- /dev/null +++ b/ddclient.service @@ -0,0 +1,15 @@ +[Unit] +Description=A Perl Client Used To Update Dynamic DNS +After=syslog.target network.target nss-lookup.target + +[Service] +User=ddclient +Group=ddclient +Type=forking +PIDFile=/var/run/ddclient/ddclient.pid +EnvironmentFile=-/etc/sysconfig/ddclient +ExecStartPre=/bin/touch /var/cache/ddclient/ddclient.cache +ExecStart=/usr/sbin/ddclient $DDCLIENT_OPTIONS + +[Install] +WantedBy=multi-user.target diff --git a/ddclient.spec b/ddclient.spec new file mode 100644 index 0000000..aabdccd --- /dev/null +++ b/ddclient.spec @@ -0,0 +1,219 @@ +%global cachedir %{_localstatedir}/cache/ddclient +%global rundir %{_localstatedir}/run/ddclient + +Summary: Client to update dynamic DNS host entries +Name: ddclient +Version: 3.8.2 +Release: 2%{?dist} +License: GPLv2+ +Group: System Environment/Daemons +URL: http://ddclient.sourceforge.net/ +Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 +Source1: ddclient.rwtab +Source2: ddclient.service +Source3: ddclient.sysconfig +Source4: ddclient.NetworkManager +Source5: ddclient-tmpfiles.conf + +BuildArch: noarch + +BuildRequires: systemd +Requires(pre): shadow-utils +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd + +Requires: perl(Digest::SHA1) +Requires: perl(IO::Socket::SSL) + +%description +ddclient is a Perl client used to update dynamic DNS entries for accounts +on many different dynamic DNS services. Features include: Operating as a +daemon, manual and automatic updates, static and dynamic updates, optimized +updates for multiple addresses, MX, wildcards, abuse avoidance, retrying +the failed updates and sending update status to syslog and through e-mail. + +%prep +%setup -q +# Move pid file location for running as non-root. +sed -e 's|/var/run/ddclient.pid|%{rundir}/%{name}.pid|' \ + -i sample-etc_ddclient.conf +# Send less mail by default, eg. not on every shutdown. +sed -e 's|^mail=|#mail=|' -i sample-etc_ddclient.conf +# Backwards compatibility from pre-3.6.6-1 +sed -e 's|/etc/ddclient/|%{_sysconfdir}/|' -i %{name} + + +%build +#nothing to do + + +%install +install -D -p -m 755 %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name} +install -D -p -m 600 sample-etc_ddclient.conf \ + $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf +install -D -p -m 644 %{SOURCE1} \ + $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/%{name} + +install -D -p -m 644 %{SOURCE2} \ + $RPM_BUILD_ROOT%{_unitdir}/%{name}.service +install -D -p -m 644 %{SOURCE3} \ + $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name} +install -D -p -m 755 %{SOURCE4} \ + $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d/50-%{name} +install -D -p -m 644 %{SOURCE5} \ + $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf + +mkdir -p $RPM_BUILD_ROOT%{cachedir} +mkdir -p $RPM_BUILD_ROOT%{rundir} +touch $RPM_BUILD_ROOT%{cachedir}/%{name}.cache + +# Correct permissions for later usage in %doc +chmod 644 sample-* + + +%pre +getent group %{name} > /dev/null || %{_sbindir}/groupadd -r %{name} +getent passwd %{name} > /dev/null || %{_sbindir}/useradd -r -g %{name} -d %{_localstatedir}/cache/%{name} -s /sbin/nologin -c "Dynamic DNS Client" %{name} +exit 0 + +%post +%systemd_post %{name}.service +if [ $1 == 1 ]; then + mkdir -p %{rundir} + chown %{name}:%{name} %{rundir} +fi + +%preun +%systemd_preun %{name}.service + +%postun +%systemd_postun_with_restart %{name}.service + + +%files +%doc README* COPYING COPYRIGHT Changelog sample-etc_ppp_ip-up.local +%doc sample-etc_dhclient-exit-hooks sample-etc_cron.d_ddclient +%doc sample-ddclient-wrapper.sh sample-etc_dhcpc_dhcpcd-eth0.exe + +%{_sbindir}/%{name} +%{_tmpfilesdir}/%{name}.conf +%{_unitdir}/%{name}.service + +# sysconfdir +%config(noreplace) %{_sysconfdir}/rwtab.d/%{name} +%config(noreplace) %{_sysconfdir}/sysconfig/%{name} +%attr(600,%{name},%{name}) %config(noreplace) %{_sysconfdir}/%{name}.conf +%{_sysconfdir}/NetworkManager/dispatcher.d/50-%{name} + +# localstatedir +%attr(0700,%{name},%{name}) %dir %{cachedir} +%attr(0600,%{name},%{name}) %ghost %{cachedir}/%{name}.cache +%ghost %attr(0755,%{name},%{name}) %dir %{rundir} + + +%changelog +* Sat Jun 07 2014 Fedora Release Engineering - 3.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Apr 21 2014 Jamie Nguyen - 3.8.2-1 +- update to upstream release 3.8.2 +- remove old EPEL 6 related macros +- remove all logic for older versions of Fedora/EPEL +- make spec more readable + +* Wed Dec 25 2013 Robert Scheck 3.8.1-9 +- Use the new systemd macros (#850084, thanks to Lukáš Nykrýn) +- Adapted the spec file to handle systemd and SysV initscripts + +* Sat Aug 10 2013 Paul Howarth - 3.8.1-8 +- BR: systemd-units for %%{_unitdir} macro definition (fixes FTBFS #992118) +- Put tmpfiles config in %%{_tmpfilesdir}, not under /etc +- Package installation creates %%{_localstatedir}/run/%%{name} (#909272, #957355) +- Service files are not executable +- Require perl(Digest::SHA1) (#909258) +- Wait for name resolution to be available before starting (#905553) + +* Sat Aug 03 2013 Fedora Release Engineering - 3.8.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 3.8.1-6 +- Perl 5.18 rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 3.8.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Jul 18 2012 Fedora Release Engineering - 3.8.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue May 15 2012 Jon Ciesla - 3.8.1-3 +- Add ghost to /var/run/ddclient + +* Mon May 14 2012 Jon Ciesla - 3.8.1-2 +- Add tmpfiles.d. + +* Thu Mar 29 2012 Jon Ciesla - 3.8.1-1 +- Latest upstream. +- Migrate to systemd, 718756. + +* Fri Jan 13 2012 Fedora Release Engineering - 3.8.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Feb 10 2011 Robert Scheck 3.8.0-4 +- Replaced Requires(hint) by Requires as RPM 4.9 dropped support + +* Tue Feb 08 2011 Fedora Release Engineering +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat May 29 2010 Robert Scheck 3.8.0-2 +- Fixed wrong permissions at NetworkManager dispatcher (#506286) +- Updated %%description to be more verbose and detailed (#588053) + +* Sat May 01 2010 Robert Scheck 3.8.0-1 +- Upgrade to 3.8.0 and several spec file cleanups (#551906) +- Rewrote initscript to match LSB standards and headers (#246903) +- Added dispatcher to NetworkManager to avoid failures (#506286) + +* Fri Jul 24 2009 Fedora Release Engineering - 3.7.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Feb 24 2009 Fedora Release Engineering - 3.7.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Jan 23 2008 Robert Scheck 3.7.3-1 +- Upgrade to 3.7.3 (#429438) +- Updated the license tag according to the guidelines + +* Thu Jun 14 2007 Ville Skyttä - 3.7.2-1 +- 3.7.2. +- Tweak default config to send less mail (eg. not on every shutdown). + +* Fri Mar 2 2007 Ville Skyttä - 3.7.1-1 +- 3.7.1, cache file moved to /var/cache/ddclient. +- Run as a dedicated ddclient user (#220539). +- Add read only root/temporary state config (#220540). +- Create/chmod cache in init script instead of %%post. +- Add scriptlet dependencies, try-restart action and other minor tweaks. + +* Sat Jul 30 2005 Ville Skyttä - 3.6.6-1 +- 3.6.6, update URLs (#165272). +- Restart service on future package upgrades (still manually needed this time). +- Don't set service to autostart on "chkconfig --add". +- Fix sysconfig/ddclient permissions. +- Drop non-useful samples. + +* Wed Apr 6 2005 Michael Schwendt - 3.6.3-5 +- rebuilt + +* Mon Apr 05 2004 Toshio Kuratomi - 0:3.6.3-0.fdr.4.fc1 +- Fix %%doc %%attr ownership +- Touch the cache file in %%post + +* Mon Sep 08 2003 Michael Schwendt - 0:3.6.3-0.fdr.3 +- Add own Fedora-style initscript and /etc/sysconfig/ddclient file. +- Fix file permissions of config file and example files. +- Since ddclient.cache.patch uses hardcoded /var, don't use + %%_localstatedir in spec file either. + +* Sun Sep 07 2003 Thomas Vander Stichele +- 0:3.6.3-0.fdr.2: fixed ghostness of cache file diff --git a/ddclient.sysconfig b/ddclient.sysconfig new file mode 100644 index 0000000..97de4c1 --- /dev/null +++ b/ddclient.sysconfig @@ -0,0 +1,4 @@ +# -*- sh -*- +# ddclient service options, see ddclient --help for what's available. +# +DDCLIENT_OPTIONS="-daemon 300" diff --git a/dead.package b/dead.package deleted file mode 100644 index 6975116..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Retired on 2014-07-06 due to lack of a maintainer in preparation to branch Fedora 21 diff --git a/sources b/sources new file mode 100644 index 0000000..449eb6f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +62cd5fe93ced2c794d5f441f9d908841 ddclient-3.8.2.tar.bz2 From 1267d44d671a0ad444c8f233c3b467fa74951afc Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Thu, 31 Mar 2016 22:39:36 -0400 Subject: [PATCH 05/45] New upstream release 3.8.3 (#1226537) - Change NetworkManager dispatcher to look for PID file (#1316149) --- .gitignore | 1 + ddclient.NetworkManager | 2 +- ddclient.spec | 11 ++++++++--- sources | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index fbce363..b0b8954 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ ddclient-3.8.0.tar.bz2 /ddclient-3.8.1.tar.bz2 /ddclient-3.8.2.tar.bz2 +/ddclient-3.8.3.tar.bz2 diff --git a/ddclient.NetworkManager b/ddclient.NetworkManager index 66ba982..b5a9233 100644 --- a/ddclient.NetworkManager +++ b/ddclient.NetworkManager @@ -4,7 +4,7 @@ export LC_ALL=C if [ "$2" = "down" ]; then /sbin/ip route ls | grep -q '^default' || { - [ -f /var/lock/subsys/ddclient ] && /usr/bin/systemctl stop ddclient.service || : + [ -f /var/run/ddclient/ddclient.pid ] && /usr/bin/systemctl stop ddclient.service || : } && { :; } fi diff --git a/ddclient.spec b/ddclient.spec index aabdccd..4ccee0f 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -3,8 +3,8 @@ Summary: Client to update dynamic DNS host entries Name: ddclient -Version: 3.8.2 -Release: 2%{?dist} +Version: 3.8.3 +Release: 1%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://ddclient.sourceforge.net/ @@ -92,7 +92,8 @@ fi %files -%doc README* COPYING COPYRIGHT Changelog sample-etc_ppp_ip-up.local +%license COPYING COPYRIGHT +%doc README* RELEASENOTE ChangeLog Changelog.old sample-etc_ppp_ip-up.local %doc sample-etc_dhclient-exit-hooks sample-etc_cron.d_ddclient %doc sample-ddclient-wrapper.sh sample-etc_dhcpc_dhcpcd-eth0.exe @@ -113,6 +114,10 @@ fi %changelog +* Mon Mar 28 2016 Scott Talbert - 3.8.3-1 +- New upstream release 3.8.3 (#1226537) +- Change NetworkManager dispatcher to look for PID file (#1316149) + * Sat Jun 07 2014 Fedora Release Engineering - 3.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index 449eb6f..53a415a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -62cd5fe93ced2c794d5f441f9d908841 ddclient-3.8.2.tar.bz2 +3b426ae52d509e463b42eeb08fb89e0b ddclient-3.8.3.tar.bz2 From 73dcd721e48424346fbaafc7ead295aea485d6fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 24 Jun 2016 10:43:42 +0200 Subject: [PATCH 06/45] Mandatory Perl build-requires added --- ddclient.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/ddclient.spec b/ddclient.spec index 4ccee0f..f553d7b 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -17,6 +17,7 @@ Source5: ddclient-tmpfiles.conf BuildArch: noarch +BuildRequires: perl-generators BuildRequires: systemd Requires(pre): shadow-utils Requires(post): systemd From 1c23acfb425b2b2170bb9c6f9b90b0154837fb18 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Fri, 30 Dec 2016 14:50:33 -0500 Subject: [PATCH 07/45] Prevent NetworkManager from starting ddclient if it is disabled (#1409178) --- ddclient.NetworkManager | 2 +- ddclient.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ddclient.NetworkManager b/ddclient.NetworkManager index b5a9233..9ce54f1 100644 --- a/ddclient.NetworkManager +++ b/ddclient.NetworkManager @@ -10,6 +10,6 @@ fi if [ "$2" = "up" ]; then /sbin/ip -o route show dev "$1" | grep -q '^default' && { - /usr/bin/systemctl start ddclient.service || : + /usr/bin/systemctl is-enabled ddclient >/dev/null && /usr/bin/systemctl start ddclient.service || : } || { :; } fi diff --git a/ddclient.spec b/ddclient.spec index f553d7b..03bd59d 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.8.3 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://ddclient.sourceforge.net/ @@ -115,6 +115,9 @@ fi %changelog +* Fri Dec 30 2016 Scott Talbert - 3.8.3-2 +- Prevent NetworkManager from starting ddclient if it is disabled (#1409178) + * Mon Mar 28 2016 Scott Talbert - 3.8.3-1 - New upstream release 3.8.3 (#1226537) - Change NetworkManager dispatcher to look for PID file (#1316149) From 98d5a526785fd48c448d0cd19fb798ef19dc0954 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 08:14:27 +0000 Subject: [PATCH 08/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index 03bd59d..438adb5 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.8.3 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://ddclient.sourceforge.net/ @@ -115,6 +115,9 @@ fi %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 3.8.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Fri Dec 30 2016 Scott Talbert - 3.8.3-2 - Prevent NetworkManager from starting ddclient if it is disabled (#1409178) From 31d65a7ade815eed418bf57bd64ff44d934e18dc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 06:02:42 +0000 Subject: [PATCH 09/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index 438adb5..08ca6a0 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.8.3 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://ddclient.sourceforge.net/ @@ -115,6 +115,9 @@ fi %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 3.8.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 10 2017 Fedora Release Engineering - 3.8.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 7d2e787f716af280b2f00943365cca1c830f6dd7 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Fri, 8 Sep 2017 22:49:14 -0400 Subject: [PATCH 10/45] Start after network-online.target rather than network.target (#1476999) --- ddclient.service | 2 +- ddclient.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ddclient.service b/ddclient.service index 3bdd806..6c9d0c2 100644 --- a/ddclient.service +++ b/ddclient.service @@ -1,6 +1,6 @@ [Unit] Description=A Perl Client Used To Update Dynamic DNS -After=syslog.target network.target nss-lookup.target +After=syslog.target network-online.target nss-lookup.target [Service] User=ddclient diff --git a/ddclient.spec b/ddclient.spec index 08ca6a0..cdc94bf 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.8.3 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://ddclient.sourceforge.net/ @@ -115,6 +115,9 @@ fi %changelog +* Sat Sep 09 2017 Scott Talbert - 3.8.3-5 +- Start after network-online.target rather than network.target (#1476999) + * Wed Jul 26 2017 Fedora Release Engineering - 3.8.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 2123704f3ecf424aad93fe38163ba03f278881ce Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 06:29:14 +0000 Subject: [PATCH 11/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index cdc94bf..b3a08de 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.8.3 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://ddclient.sourceforge.net/ @@ -115,6 +115,9 @@ fi %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 3.8.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Sat Sep 09 2017 Scott Talbert - 3.8.3-5 - Start after network-online.target rather than network.target (#1476999) From d6110a60cfb415014c221f080a5d034673118d9a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 12 Jul 2018 22:39:44 +0000 Subject: [PATCH 12/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index b3a08de..459ca31 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.8.3 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://ddclient.sourceforge.net/ @@ -115,6 +115,9 @@ fi %changelog +* Thu Jul 12 2018 Fedora Release Engineering - 3.8.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 3.8.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From c6ba33191fb9f7c017b3efadaf3e570de5dae41d Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Thu, 9 Aug 2018 20:39:50 -0400 Subject: [PATCH 13/45] New upstream release 3.9.0 --- .gitignore | 1 + ddclient.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index b0b8954..9e71a47 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ ddclient-3.8.0.tar.bz2 /ddclient-3.8.1.tar.bz2 /ddclient-3.8.2.tar.bz2 /ddclient-3.8.3.tar.bz2 +/ddclient-3.9.0.tar.gz diff --git a/ddclient.spec b/ddclient.spec index 459ca31..89c914f 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -3,12 +3,12 @@ Summary: Client to update dynamic DNS host entries Name: ddclient -Version: 3.8.3 -Release: 7%{?dist} +Version: 3.9.0 +Release: 1%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://ddclient.sourceforge.net/ -Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 +Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: ddclient.rwtab Source2: ddclient.service Source3: ddclient.sysconfig @@ -115,6 +115,9 @@ fi %changelog +* Fri Aug 10 2018 Scott Talbert - 3.9.0-1 +- New upstream release 3.9.0 + * Thu Jul 12 2018 Fedora Release Engineering - 3.8.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 53a415a..bd4eb78 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3b426ae52d509e463b42eeb08fb89e0b ddclient-3.8.3.tar.bz2 +SHA512 (ddclient-3.9.0.tar.gz) = ae314c96a37dd90256d6acf62f4a4523b72f540194131e351a032239b00b4520351f6549d3b20a9209fe49ccc6de7ce158ffa8635d341066ea71b789dc667438 From dab6e5c94b390f68075952578ea5a01fdf439964 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:41 +0100 Subject: [PATCH 14/45] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- ddclient.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index 89c914f..ae1537d 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -6,7 +6,6 @@ Name: ddclient Version: 3.9.0 Release: 1%{?dist} License: GPLv2+ -Group: System Environment/Daemons URL: http://ddclient.sourceforge.net/ Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: ddclient.rwtab From 683b18526e6d3b387c92528de13b1c68b99ed7a1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 16:54:38 +0000 Subject: [PATCH 15/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index ae1537d..b65bde9 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.9.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: http://ddclient.sourceforge.net/ Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz @@ -114,6 +114,9 @@ fi %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 3.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Aug 10 2018 Scott Talbert - 3.9.0-1 - New upstream release 3.9.0 From ec0c406519e19eea4755b56ee2e1bfa1ce20279e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 21:39:35 +0000 Subject: [PATCH 16/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index b65bde9..bb9ec2e 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.9.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: http://ddclient.sourceforge.net/ Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz @@ -114,6 +114,9 @@ fi %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 3.9.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Jan 31 2019 Fedora Release Engineering - 3.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 9eef3881b6ace56d7fdb749ee31df0d18d665254 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Thu, 22 Aug 2019 16:00:12 +0200 Subject: [PATCH 17/45] Move the NetworkManager dispatcher script out of /etc It's not user configuration and shouldn't ever have been there. Except for that it used to be the only location NetworkManager looked into. With NetworkManager 1.20 that is no longer the case and the dispatcher scripts can be moved to /usr/lib. --- ddclient.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ddclient.spec b/ddclient.spec index bb9ec2e..a6f596d 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.9.0 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: http://ddclient.sourceforge.net/ Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz @@ -26,6 +26,9 @@ Requires(postun): systemd Requires: perl(Digest::SHA1) Requires: perl(IO::Socket::SSL) +# Old NetworkManager expects the dispatcher scripts in a different place +Conflicts: NetworkManager < 1.20 + %description ddclient is a Perl client used to update dynamic DNS entries for accounts on many different dynamic DNS services. Features include: Operating as a @@ -60,7 +63,7 @@ install -D -p -m 644 %{SOURCE2} \ install -D -p -m 644 %{SOURCE3} \ $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name} install -D -p -m 755 %{SOURCE4} \ - $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d/50-%{name} + $RPM_BUILD_ROOT%{_prefix}/lib/NetworkManager/dispatcher.d/50-%{name} install -D -p -m 644 %{SOURCE5} \ $RPM_BUILD_ROOT%{_tmpfilesdir}/%{name}.conf @@ -105,7 +108,7 @@ fi %config(noreplace) %{_sysconfdir}/rwtab.d/%{name} %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %attr(600,%{name},%{name}) %config(noreplace) %{_sysconfdir}/%{name}.conf -%{_sysconfdir}/NetworkManager/dispatcher.d/50-%{name} +%{_prefix}/lib/NetworkManager/dispatcher.d/50-%{name} # localstatedir %attr(0700,%{name},%{name}) %dir %{cachedir} @@ -114,6 +117,9 @@ fi %changelog +* Thu Aug 22 2019 Lubomir Rintel - 3.9.0-4 +- Move the NetworkManager dispatcher script out of /etc + * Wed Jul 24 2019 Fedora Release Engineering - 3.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From e6d8ae7b0dde5985f21e86160c5e478263fc6328 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 15:29:12 +0000 Subject: [PATCH 18/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index a6f596d..3282fcb 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.9.0 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ URL: http://ddclient.sourceforge.net/ Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz @@ -117,6 +117,9 @@ fi %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 3.9.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Aug 22 2019 Lubomir Rintel - 3.9.0-4 - Move the NetworkManager dispatcher script out of /etc From 4f6660a8fc5dcce623efe92297248592e8c7b31b Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Fri, 31 Jan 2020 11:02:24 -0500 Subject: [PATCH 19/45] Update to new upstream release 3.9.1 (#1796923) --- .gitignore | 1 + ddclient.spec | 14 ++++++++++---- sources | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 9e71a47..c284ae6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ ddclient-3.8.0.tar.bz2 /ddclient-3.8.2.tar.bz2 /ddclient-3.8.3.tar.bz2 /ddclient-3.9.0.tar.gz +/ddclient-3.9.1.tar.gz diff --git a/ddclient.spec b/ddclient.spec index 3282fcb..d7bffdb 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -3,11 +3,11 @@ Summary: Client to update dynamic DNS host entries Name: ddclient -Version: 3.9.0 -Release: 5%{?dist} +Version: 3.9.1 +Release: 1%{?dist} License: GPLv2+ -URL: http://ddclient.sourceforge.net/ -Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +URL: https://ddclient.net/ +Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: ddclient.rwtab Source2: ddclient.service Source3: ddclient.sysconfig @@ -23,8 +23,11 @@ Requires(post): systemd Requires(preun): systemd Requires(postun): systemd +Requires: perl(Data::Validate::IP) Requires: perl(Digest::SHA1) +Requires: perl(IO::Socket::INET6) Requires: perl(IO::Socket::SSL) +Requires: perl(JSON::PP) # Old NetworkManager expects the dispatcher scripts in a different place Conflicts: NetworkManager < 1.20 @@ -117,6 +120,9 @@ fi %changelog +* Fri Jan 31 2020 Scott Talbert - 3.9.1-1 +- Update to new upstream release 3.9.1 (#1796923) + * Tue Jan 28 2020 Fedora Release Engineering - 3.9.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index bd4eb78..a2a5237 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ddclient-3.9.0.tar.gz) = ae314c96a37dd90256d6acf62f4a4523b72f540194131e351a032239b00b4520351f6549d3b20a9209fe49ccc6de7ce158ffa8635d341066ea71b789dc667438 +SHA512 (ddclient-3.9.1.tar.gz) = a8a4d6cb94e4239a7b7b4fc7d9ebef703cbd6c45fc3394b644694a053b5b8aa8d109410b5b8b3676a5f30b18474d24c7feb16c65c30b28bd7d941d8a214b1346 From cf6d21ed296e98fdbd70ce71f8dd8a26fe180b50 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 15:07:04 +0000 Subject: [PATCH 20/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index d7bffdb..7dc1cf9 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.9.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -120,6 +120,9 @@ fi %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 3.9.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Scott Talbert - 3.9.1-1 - Update to new upstream release 3.9.1 (#1796923) From ddf1fe4085ae45353927bb27493b1602fda262d6 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Sat, 12 Sep 2020 13:31:45 -0400 Subject: [PATCH 21/45] Move pidfile from /var/run to /run (#1876265) --- ddclient-tmpfiles.conf | 2 +- ddclient.NetworkManager | 2 +- ddclient.service | 2 +- ddclient.spec | 7 +++++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ddclient-tmpfiles.conf b/ddclient-tmpfiles.conf index 881d82f..6eed278 100644 --- a/ddclient-tmpfiles.conf +++ b/ddclient-tmpfiles.conf @@ -1 +1 @@ -d /var/run/ddclient 0755 ddclient ddclient - +d /run/ddclient 0755 ddclient ddclient - diff --git a/ddclient.NetworkManager b/ddclient.NetworkManager index 9ce54f1..fe7c614 100644 --- a/ddclient.NetworkManager +++ b/ddclient.NetworkManager @@ -4,7 +4,7 @@ export LC_ALL=C if [ "$2" = "down" ]; then /sbin/ip route ls | grep -q '^default' || { - [ -f /var/run/ddclient/ddclient.pid ] && /usr/bin/systemctl stop ddclient.service || : + [ -f /run/ddclient/ddclient.pid ] && /usr/bin/systemctl stop ddclient.service || : } && { :; } fi diff --git a/ddclient.service b/ddclient.service index 6c9d0c2..72baf65 100644 --- a/ddclient.service +++ b/ddclient.service @@ -6,7 +6,7 @@ After=syslog.target network-online.target nss-lookup.target User=ddclient Group=ddclient Type=forking -PIDFile=/var/run/ddclient/ddclient.pid +PIDFile=/run/ddclient/ddclient.pid EnvironmentFile=-/etc/sysconfig/ddclient ExecStartPre=/bin/touch /var/cache/ddclient/ddclient.cache ExecStart=/usr/sbin/ddclient $DDCLIENT_OPTIONS diff --git a/ddclient.spec b/ddclient.spec index 7dc1cf9..aab11c2 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -1,10 +1,10 @@ %global cachedir %{_localstatedir}/cache/ddclient -%global rundir %{_localstatedir}/run/ddclient +%global rundir %{_rundir}/ddclient Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.9.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -120,6 +120,9 @@ fi %changelog +* Sat Sep 12 2020 Scott Talbert - 3.9.1-3 +- Move pidfile from /var/run to /run (#1876265) + * Mon Jul 27 2020 Fedora Release Engineering - 3.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From ae828f0d00434f41763eed4c94e28c7894e1900a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 03:06:07 +0000 Subject: [PATCH 22/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index aab11c2..09363a3 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.9.1 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -120,6 +120,9 @@ fi %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 3.9.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Sep 12 2020 Scott Talbert - 3.9.1-3 - Move pidfile from /var/run to /run (#1876265) From beca248f4466227efe02bdac6e015d3128e37af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 2 Mar 2021 16:13:58 +0100 Subject: [PATCH 23/45] Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. --- ddclient.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index 09363a3..38c7e47 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.9.1 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -120,6 +120,10 @@ fi %changelog +* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 3.9.1-5 +- Rebuilt for updated systemd-rpm-macros + See https://pagure.io/fesco/issue/2583. + * Tue Jan 26 2021 Fedora Release Engineering - 3.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 444af70618dcae8ce1376378a6a6eef8157b3573 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 20:29:29 +0000 Subject: [PATCH 24/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index 38c7e47..b3d6ee7 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.9.1 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -120,6 +120,9 @@ fi %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 3.9.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 3.9.1-5 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. From fe1f076ff0e67abc860d733f4c38640fce62f417 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 00:22:07 +0000 Subject: [PATCH 25/45] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index b3d6ee7..3c2936b 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.9.1 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -120,6 +120,9 @@ fi %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 3.9.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Wed Jul 21 2021 Fedora Release Engineering - 3.9.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 5c8a7e0a286f1ba047bb5d85f3503842ae1010d5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 00:08:40 +0000 Subject: [PATCH 26/45] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index 3c2936b..de6c827 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.9.1 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -120,6 +120,9 @@ fi %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 3.9.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Jan 20 2022 Fedora Release Engineering - 3.9.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 8cdd072b36f748b2b459524bc18243c51f3ef48d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 01:05:03 +0000 Subject: [PATCH 27/45] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index de6c827..3648678 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.9.1 -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -120,6 +120,9 @@ fi %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 3.9.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Jul 21 2022 Fedora Release Engineering - 3.9.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From af4e9846af4a7222319f8aa2a9745ab80b222f0f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 17:05:39 +0000 Subject: [PATCH 28/45] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index 3648678..e72f789 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.9.1 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -120,6 +120,9 @@ fi %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 3.9.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Thu Jan 19 2023 Fedora Release Engineering - 3.9.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From de46b77f6afb361434f2caab0f2847fa9ff9a77b Mon Sep 17 00:00:00 2001 From: kenneth topp Date: Thu, 14 Sep 2023 01:14:11 -0400 Subject: [PATCH 29/45] upgrade to 3.10.0 --- ddclient.service | 2 +- ddclient.spec | 25 ++++++++++++------------- sources | 2 +- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/ddclient.service b/ddclient.service index 72baf65..063dce1 100644 --- a/ddclient.service +++ b/ddclient.service @@ -1,5 +1,5 @@ [Unit] -Description=A Perl Client Used To Update Dynamic DNS +Description=Dynamic DNS Update Client After=syslog.target network-online.target nss-lookup.target [Service] diff --git a/ddclient.spec b/ddclient.spec index e72f789..1433524 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -3,8 +3,8 @@ Summary: Client to update dynamic DNS host entries Name: ddclient -Version: 3.9.1 -Release: 10%{?dist} +Version: 3.10.0 +Release: 1%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -41,22 +41,21 @@ the failed updates and sending update status to syslog and through e-mail. %prep %setup -q -# Move pid file location for running as non-root. -sed -e 's|/var/run/ddclient.pid|%{rundir}/%{name}.pid|' \ - -i sample-etc_ddclient.conf # Send less mail by default, eg. not on every shutdown. -sed -e 's|^mail=|#mail=|' -i sample-etc_ddclient.conf -# Backwards compatibility from pre-3.6.6-1 -sed -e 's|/etc/ddclient/|%{_sysconfdir}/|' -i %{name} +sed -e 's|^mail=|#mail=|' -i ddclient.conf.in +./autogen +%configure \ + --runstatedir=%{rundir} + %build -#nothing to do +make %install install -D -p -m 755 %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name} -install -D -p -m 600 sample-etc_ddclient.conf \ +install -D -p -m 600 ddclient.conf \ $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf install -D -p -m 644 %{SOURCE1} \ $RPM_BUILD_ROOT%{_sysconfdir}/rwtab.d/%{name} @@ -99,7 +98,7 @@ fi %files %license COPYING COPYRIGHT -%doc README* RELEASENOTE ChangeLog Changelog.old sample-etc_ppp_ip-up.local +%doc README* ChangeLog.md sample-etc_ppp_ip-up.local %doc sample-etc_dhclient-exit-hooks sample-etc_cron.d_ddclient %doc sample-ddclient-wrapper.sh sample-etc_dhcpc_dhcpcd-eth0.exe @@ -120,8 +119,8 @@ fi %changelog -* Wed Jul 19 2023 Fedora Release Engineering - 3.9.1-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild +* Thu Sep 14 2023 kenneth topp - 3.10.0-1 +- Update to new upstream release 3.10.0 * Thu Jan 19 2023 Fedora Release Engineering - 3.9.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index a2a5237..55e05d4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ddclient-3.9.1.tar.gz) = a8a4d6cb94e4239a7b7b4fc7d9ebef703cbd6c45fc3394b644694a053b5b8aa8d109410b5b8b3676a5f30b18474d24c7feb16c65c30b28bd7d941d8a214b1346 +SHA512 (ddclient-3.10.0.tar.gz) = 4740a96813e47e7989d61253ac8a69c6e0f70dd3c61a05227b03d973d9a024d17d6a31c16d633ade48a3fc58f0c79b8a0da8a4ec3369d852a2417e86e9971a05 From b5524324ee8610bb3e083c13aa8f9bb650b48661 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Mon, 2 Oct 2023 19:46:20 -0400 Subject: [PATCH 30/45] Add 3.10.0 to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index c284ae6..c668f05 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ ddclient-3.8.0.tar.bz2 /ddclient-3.8.3.tar.bz2 /ddclient-3.9.0.tar.gz /ddclient-3.9.1.tar.gz +/ddclient-3.10.0.tar.gz From dfae5d9532ab00a48c42987b6fec5a856b9ec026 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Mon, 2 Oct 2023 20:06:55 -0400 Subject: [PATCH 31/45] Add missing BRs for 3.10.0 --- ddclient.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ddclient.spec b/ddclient.spec index 1433524..1bb1deb 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -16,7 +16,12 @@ Source5: ddclient-tmpfiles.conf BuildArch: noarch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: make BuildRequires: perl-generators +BuildRequires: perl(Sys::Hostname) +BuildRequires: perl(version) BuildRequires: systemd Requires(pre): shadow-utils Requires(post): systemd From 77b9e7cded9c9122c79bc50008e07713450105f0 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Mon, 2 Oct 2023 21:15:40 -0400 Subject: [PATCH 32/45] Enable tests --- ddclient.spec | 21 ++++++++++++++++++++- fix-version.patch | 10 ++++++++++ skip-tests.patch | 11 +++++++++++ 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 fix-version.patch create mode 100644 skip-tests.patch diff --git a/ddclient.spec b/ddclient.spec index 1bb1deb..15d40e6 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -13,6 +13,8 @@ Source2: ddclient.service Source3: ddclient.sysconfig Source4: ddclient.NetworkManager Source5: ddclient-tmpfiles.conf +Patch0: fix-version.patch +Patch1: skip-tests.patch BuildArch: noarch @@ -28,6 +30,19 @@ Requires(post): systemd Requires(preun): systemd Requires(postun): systemd +# For tests +BuildRequires: iproute +BuildRequires: perl(HTTP::Daemon) +BuildRequires: perl(HTTP::Daemon::SSL) +BuildRequires: perl(HTTP::Message::PSGI) +BuildRequires: perl(HTTP::Request) +BuildRequires: perl(HTTP::Response) +BuildRequires: perl(IO::Socket::INET6) +BuildRequires: perl(Test::MockModule) +BuildRequires: perl(Test::TCP) +BuildRequires: perl(Test::Warnings) +BuildRequires: perl(Time::HiRes) + Requires: perl(Data::Validate::IP) Requires: perl(Digest::SHA1) Requires: perl(IO::Socket::INET6) @@ -45,7 +60,7 @@ updates for multiple addresses, MX, wildcards, abuse avoidance, retrying the failed updates and sending update status to syslog and through e-mail. %prep -%setup -q +%autosetup -p 1 # Send less mail by default, eg. not on every shutdown. sed -e 's|^mail=|#mail=|' -i ddclient.conf.in ./autogen @@ -82,6 +97,10 @@ touch $RPM_BUILD_ROOT%{cachedir}/%{name}.cache chmod 644 sample-* +%check +make VERBOSE=1 check + + %pre getent group %{name} > /dev/null || %{_sbindir}/groupadd -r %{name} getent passwd %{name} > /dev/null || %{_sbindir}/useradd -r -g %{name} -d %{_localstatedir}/cache/%{name} -s /sbin/nologin -c "Dynamic DNS Client" %{name} diff --git a/fix-version.patch b/fix-version.patch new file mode 100644 index 0000000..6cfa382 --- /dev/null +++ b/fix-version.patch @@ -0,0 +1,10 @@ +diff -up ddclient-3.10.0/configure.ac.version ddclient-3.10.0/configure.ac +--- ddclient-3.10.0/configure.ac.version 2022-10-20 14:06:35.000000000 -0400 ++++ ddclient-3.10.0/configure.ac 2023-10-02 21:05:05.843126787 -0400 +@@ -1,5 +1,5 @@ + AC_PREREQ([2.63]) +-AC_INIT([ddclient], [3.10.0_2]) ++AC_INIT([ddclient], [3.10.0]) + AC_CONFIG_SRCDIR([ddclient.in]) + AC_CONFIG_AUX_DIR([build-aux]) + AC_CONFIG_MACRO_DIR([m4]) diff --git a/skip-tests.patch b/skip-tests.patch new file mode 100644 index 0000000..295008f --- /dev/null +++ b/skip-tests.patch @@ -0,0 +1,11 @@ +diff -up ddclient-3.10.0/t/get_ip_from_if.pl.skiptests ddclient-3.10.0/t/get_ip_from_if.pl +--- ddclient-3.10.0/t/get_ip_from_if.pl.skiptests 2022-10-20 14:06:35.000000000 -0400 ++++ ddclient-3.10.0/t/get_ip_from_if.pl 2023-10-02 20:55:16.776008589 -0400 +@@ -40,6 +40,7 @@ subtest "get_ip_from_interface tests" => + }; + + subtest "Get default interface and IP for test system" => sub { ++ plan skip_all => 'Fedora build system does not have a global IP address'; + my $interface = ddclient::get_default_interface(4); + if ($interface) { + isnt($interface, "lo", "Check for loopback 'lo'"); From 71fe96402c62640ea15966b4deb8b3f5b86e5442 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Fri, 17 Nov 2023 23:11:18 -0500 Subject: [PATCH 33/45] Update to new upstream release 3.11.1 (#2244514) --- .gitignore | 1 + ddclient.spec | 8 +++++--- fix-version.patch | 10 ---------- sources | 2 +- 4 files changed, 7 insertions(+), 14 deletions(-) delete mode 100644 fix-version.patch diff --git a/.gitignore b/.gitignore index c668f05..2460f75 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ ddclient-3.8.0.tar.bz2 /ddclient-3.9.0.tar.gz /ddclient-3.9.1.tar.gz /ddclient-3.10.0.tar.gz +/ddclient-3.11.1.tar.gz diff --git a/ddclient.spec b/ddclient.spec index 15d40e6..cfa4422 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -3,7 +3,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient -Version: 3.10.0 +Version: 3.11.1 Release: 1%{?dist} License: GPLv2+ URL: https://ddclient.net/ @@ -13,8 +13,7 @@ Source2: ddclient.service Source3: ddclient.sysconfig Source4: ddclient.NetworkManager Source5: ddclient-tmpfiles.conf -Patch0: fix-version.patch -Patch1: skip-tests.patch +Patch0: skip-tests.patch BuildArch: noarch @@ -143,6 +142,9 @@ fi %changelog +* Sat Nov 18 2023 Scott Talbert - 3.11.1-1 +- Update to new upstream release 3.11.1 (#2244514) + * Thu Sep 14 2023 kenneth topp - 3.10.0-1 - Update to new upstream release 3.10.0 diff --git a/fix-version.patch b/fix-version.patch deleted file mode 100644 index 6cfa382..0000000 --- a/fix-version.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -up ddclient-3.10.0/configure.ac.version ddclient-3.10.0/configure.ac ---- ddclient-3.10.0/configure.ac.version 2022-10-20 14:06:35.000000000 -0400 -+++ ddclient-3.10.0/configure.ac 2023-10-02 21:05:05.843126787 -0400 -@@ -1,5 +1,5 @@ - AC_PREREQ([2.63]) --AC_INIT([ddclient], [3.10.0_2]) -+AC_INIT([ddclient], [3.10.0]) - AC_CONFIG_SRCDIR([ddclient.in]) - AC_CONFIG_AUX_DIR([build-aux]) - AC_CONFIG_MACRO_DIR([m4]) diff --git a/sources b/sources index 55e05d4..31ffa60 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ddclient-3.10.0.tar.gz) = 4740a96813e47e7989d61253ac8a69c6e0f70dd3c61a05227b03d973d9a024d17d6a31c16d633ade48a3fc58f0c79b8a0da8a4ec3369d852a2417e86e9971a05 +SHA512 (ddclient-3.11.1.tar.gz) = e823ce54f94e268d62c52e2e13f32e5549b0f91721c876e0bfde2f948ac60d6346fb633b96eda410174c9f039c9c67034efdec7826f249f85c5890e33b3279b0 From 62a8823bfb85df9dabadbb6ea0b20c498ebffec1 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Tue, 28 Nov 2023 19:59:34 -0500 Subject: [PATCH 34/45] Update to new upstream release 3.11.2 (#2251294) --- .gitignore | 1 + ddclient.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2460f75..b62a677 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ ddclient-3.8.0.tar.bz2 /ddclient-3.9.1.tar.gz /ddclient-3.10.0.tar.gz /ddclient-3.11.1.tar.gz +/ddclient-3.11.2.tar.gz diff --git a/ddclient.spec b/ddclient.spec index cfa4422..ad39109 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -3,7 +3,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient -Version: 3.11.1 +Version: 3.11.2 Release: 1%{?dist} License: GPLv2+ URL: https://ddclient.net/ @@ -142,6 +142,9 @@ fi %changelog +* Wed Nov 29 2023 Scott Talbert - 3.11.2-1 +- Update to new upstream release 3.11.2 (#2251294) + * Sat Nov 18 2023 Scott Talbert - 3.11.1-1 - Update to new upstream release 3.11.1 (#2244514) diff --git a/sources b/sources index 31ffa60..ecf716b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ddclient-3.11.1.tar.gz) = e823ce54f94e268d62c52e2e13f32e5549b0f91721c876e0bfde2f948ac60d6346fb633b96eda410174c9f039c9c67034efdec7826f249f85c5890e33b3279b0 +SHA512 (ddclient-3.11.2.tar.gz) = b0d275f5ccc36cd8b532b6176de885696ff189dbdffa71bc63e9fa6db2aaf4ab5ff3290c251e318f05b2163c546dcc785eb3582388d9fb70e8439e35e5cbcd7f From 2d99e2428085120d6023fffe136c973c7483cffd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 16:49:56 +0000 Subject: [PATCH 35/45] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index ad39109..8684213 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.11.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -142,6 +142,9 @@ fi %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 3.11.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Wed Nov 29 2023 Scott Talbert - 3.11.2-1 - Update to new upstream release 3.11.2 (#2251294) From 232543659a1e9c5fc9805b8ee360ae3295afdd40 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jan 2024 09:03:56 +0000 Subject: [PATCH 36/45] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index 8684213..ba4bebd 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.11.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -142,6 +142,9 @@ fi %changelog +* Wed Jan 24 2024 Fedora Release Engineering - 3.11.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 3.11.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 5d2f8d6b92afefdfdfeb31c92924f1f2d26e1cb5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 20:38:14 +0000 Subject: [PATCH 37/45] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index ba4bebd..60ad7bb 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.11.2 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -142,6 +142,9 @@ fi %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 3.11.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Jan 24 2024 Fedora Release Engineering - 3.11.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From b12bce988a9b27b64d73723d8131a7876939794f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Thu, 25 Jul 2024 23:26:46 +0200 Subject: [PATCH 38/45] convert GPLv2+ license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- ddclient.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ddclient.spec b/ddclient.spec index 60ad7bb..5336d29 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,8 +4,9 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.11.2 -Release: 4%{?dist} -License: GPLv2+ +Release: 5%{?dist} +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later URL: https://ddclient.net/ Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: ddclient.rwtab @@ -142,6 +143,9 @@ fi %changelog +* Thu Jul 25 2024 Miroslav Suchý - 3.11.2-5 +- convert license to SPDX + * Wed Jul 17 2024 Fedora Release Engineering - 3.11.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From c19b9f7de1194032c41b0aebfadecd09ad760e29 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 15:22:14 +0000 Subject: [PATCH 39/45] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index 5336d29..aeb31d7 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.11.2 -Release: 5%{?dist} +Release: 6%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: https://ddclient.net/ @@ -143,6 +143,9 @@ fi %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 3.11.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jul 25 2024 Miroslav Suchý - 3.11.2-5 - convert license to SPDX From 330c9d04358092a6c71521c6d90e2c02a90b5276 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Tue, 21 Jan 2025 19:20:25 -0500 Subject: [PATCH 40/45] Fix FTBFS with newer autoconf --- ...98c315b9b909e57e87acf9fd3a15a0b3e213.patch | 52 +++++++++++++++++++ ddclient.spec | 10 ++-- 2 files changed, 58 insertions(+), 4 deletions(-) create mode 100644 a12398c315b9b909e57e87acf9fd3a15a0b3e213.patch diff --git a/a12398c315b9b909e57e87acf9fd3a15a0b3e213.patch b/a12398c315b9b909e57e87acf9fd3a15a0b3e213.patch new file mode 100644 index 0000000..cea273f --- /dev/null +++ b/a12398c315b9b909e57e87acf9fd3a15a0b3e213.patch @@ -0,0 +1,52 @@ +From a12398c315b9b909e57e87acf9fd3a15a0b3e213 Mon Sep 17 00:00:00 2001 +From: Richard Hansen +Date: Thu, 19 Dec 2024 05:00:56 -0500 +Subject: [PATCH] Makefile.am: Fix Automake portability warning + +This silences: + + Makefile.am:20: warning: escaping \# comment markers is not portable +--- + Makefile.am | 21 ++++++++------------- + 1 file changed, 8 insertions(+), 13 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index e0172251..d9baa981 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -16,19 +16,7 @@ EXTRA_DIST = \ + sample-get-ip-from-fritzbox + CLEANFILES = + +-# Command that replaces substitution variables with their values. +-subst = sed \ +- -e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \ +- -e '1 s|^\#\!.*perl$$|\#\!$(PERL)|g' \ +- -e 's|@localstatedir[@]|$(localstatedir)|g' \ +- -e 's|@runstatedir[@]|$(runstatedir)|g' \ +- -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ +- -e 's|@CURL[@]|$(CURL)|g' +- +-# Files that will be generated by passing their *.in file through +-# $(subst). + subst_files = ddclient ddclient.conf +- + EXTRA_DIST += $(subst_files:=.in) + CLEANFILES += $(subst_files) + +@@ -36,7 +24,14 @@ $(subst_files): Makefile + rm -f '$@' '$@'.tmp + in='$@'.in; \ + test -f "$${in}" || in='$(srcdir)/'$${in}; \ +- $(subst) "$${in}" >'$@'.tmp && \ ++ sed \ ++ -e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \ ++ -e '1 s|^#\!.*perl$$|#\!$(PERL)|g' \ ++ -e 's|@localstatedir[@]|$(localstatedir)|g' \ ++ -e 's|@runstatedir[@]|$(runstatedir)|g' \ ++ -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ ++ -e 's|@CURL[@]|$(CURL)|g' \ ++ "$${in}" >'$@'.tmp && \ + { ! test -x "$${in}" || chmod +x '$@'.tmp; } + mv '$@'.tmp '$@' + diff --git a/ddclient.spec b/ddclient.spec index aeb31d7..c7ff339 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 3.11.2 -Release: 6%{?dist} +Release: 7%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: https://ddclient.net/ @@ -15,6 +15,7 @@ Source3: ddclient.sysconfig Source4: ddclient.NetworkManager Source5: ddclient-tmpfiles.conf Patch0: skip-tests.patch +Patch1: https://github.com/ddclient/ddclient/commit/a12398c315b9b909e57e87acf9fd3a15a0b3e213.patch BuildArch: noarch @@ -66,10 +67,8 @@ sed -e 's|^mail=|#mail=|' -i ddclient.conf.in ./autogen -%configure \ - --runstatedir=%{rundir} - %build +%configure --runstatedir=%{rundir} make @@ -143,6 +142,9 @@ fi %changelog +* Wed Jan 22 2025 Scott Talbert - 3.11.2-7 +- Fix FTBFS with newer autoconf + * Thu Jan 16 2025 Fedora Release Engineering - 3.11.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 9641e62cc5e19d481750c66f417570c6c37ee44a Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Tue, 21 Jan 2025 21:14:21 -0500 Subject: [PATCH 41/45] Update to new upstream release 4.0.0 (#2334061) --- .gitignore | 1 + ...98c315b9b909e57e87acf9fd3a15a0b3e213.patch | 52 ------------------- ddclient.spec | 9 ++-- skip-tests.patch | 11 ---- sources | 2 +- 5 files changed, 7 insertions(+), 68 deletions(-) delete mode 100644 a12398c315b9b909e57e87acf9fd3a15a0b3e213.patch delete mode 100644 skip-tests.patch diff --git a/.gitignore b/.gitignore index b62a677..cae593d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ ddclient-3.8.0.tar.bz2 /ddclient-3.10.0.tar.gz /ddclient-3.11.1.tar.gz /ddclient-3.11.2.tar.gz +/ddclient-4.0.0.tar.gz diff --git a/a12398c315b9b909e57e87acf9fd3a15a0b3e213.patch b/a12398c315b9b909e57e87acf9fd3a15a0b3e213.patch deleted file mode 100644 index cea273f..0000000 --- a/a12398c315b9b909e57e87acf9fd3a15a0b3e213.patch +++ /dev/null @@ -1,52 +0,0 @@ -From a12398c315b9b909e57e87acf9fd3a15a0b3e213 Mon Sep 17 00:00:00 2001 -From: Richard Hansen -Date: Thu, 19 Dec 2024 05:00:56 -0500 -Subject: [PATCH] Makefile.am: Fix Automake portability warning - -This silences: - - Makefile.am:20: warning: escaping \# comment markers is not portable ---- - Makefile.am | 21 ++++++++------------- - 1 file changed, 8 insertions(+), 13 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index e0172251..d9baa981 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -16,19 +16,7 @@ EXTRA_DIST = \ - sample-get-ip-from-fritzbox - CLEANFILES = - --# Command that replaces substitution variables with their values. --subst = sed \ -- -e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \ -- -e '1 s|^\#\!.*perl$$|\#\!$(PERL)|g' \ -- -e 's|@localstatedir[@]|$(localstatedir)|g' \ -- -e 's|@runstatedir[@]|$(runstatedir)|g' \ -- -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ -- -e 's|@CURL[@]|$(CURL)|g' -- --# Files that will be generated by passing their *.in file through --# $(subst). - subst_files = ddclient ddclient.conf -- - EXTRA_DIST += $(subst_files:=.in) - CLEANFILES += $(subst_files) - -@@ -36,7 +24,14 @@ $(subst_files): Makefile - rm -f '$@' '$@'.tmp - in='$@'.in; \ - test -f "$${in}" || in='$(srcdir)/'$${in}; \ -- $(subst) "$${in}" >'$@'.tmp && \ -+ sed \ -+ -e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' \ -+ -e '1 s|^#\!.*perl$$|#\!$(PERL)|g' \ -+ -e 's|@localstatedir[@]|$(localstatedir)|g' \ -+ -e 's|@runstatedir[@]|$(runstatedir)|g' \ -+ -e 's|@sysconfdir[@]|$(sysconfdir)|g' \ -+ -e 's|@CURL[@]|$(CURL)|g' \ -+ "$${in}" >'$@'.tmp && \ - { ! test -x "$${in}" || chmod +x '$@'.tmp; } - mv '$@'.tmp '$@' - diff --git a/ddclient.spec b/ddclient.spec index c7ff339..bcd1146 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -3,8 +3,8 @@ Summary: Client to update dynamic DNS host entries Name: ddclient -Version: 3.11.2 -Release: 7%{?dist} +Version: 4.0.0 +Release: 1%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: https://ddclient.net/ @@ -14,8 +14,6 @@ Source2: ddclient.service Source3: ddclient.sysconfig Source4: ddclient.NetworkManager Source5: ddclient-tmpfiles.conf -Patch0: skip-tests.patch -Patch1: https://github.com/ddclient/ddclient/commit/a12398c315b9b909e57e87acf9fd3a15a0b3e213.patch BuildArch: noarch @@ -142,6 +140,9 @@ fi %changelog +* Wed Jan 22 2025 Scott Talbert - 4.0.0-1 +- Update to new upstream release 4.0.0 (#2334061) + * Wed Jan 22 2025 Scott Talbert - 3.11.2-7 - Fix FTBFS with newer autoconf diff --git a/skip-tests.patch b/skip-tests.patch deleted file mode 100644 index 295008f..0000000 --- a/skip-tests.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -up ddclient-3.10.0/t/get_ip_from_if.pl.skiptests ddclient-3.10.0/t/get_ip_from_if.pl ---- ddclient-3.10.0/t/get_ip_from_if.pl.skiptests 2022-10-20 14:06:35.000000000 -0400 -+++ ddclient-3.10.0/t/get_ip_from_if.pl 2023-10-02 20:55:16.776008589 -0400 -@@ -40,6 +40,7 @@ subtest "get_ip_from_interface tests" => - }; - - subtest "Get default interface and IP for test system" => sub { -+ plan skip_all => 'Fedora build system does not have a global IP address'; - my $interface = ddclient::get_default_interface(4); - if ($interface) { - isnt($interface, "lo", "Check for loopback 'lo'"); diff --git a/sources b/sources index ecf716b..76f2cf8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ddclient-3.11.2.tar.gz) = b0d275f5ccc36cd8b532b6176de885696ff189dbdffa71bc63e9fa6db2aaf4ab5ff3290c251e318f05b2163c546dcc785eb3582388d9fb70e8439e35e5cbcd7f +SHA512 (ddclient-4.0.0.tar.gz) = 095723aa43c4f08d7e3aa46c0bc47e753fdcbcb2cd0ac5f77cd687f98694985ad70e2f6509c05aaa232d0412fcb0aef8bb07a6d9e4302130ab1db047c14e1e86 From 15504eddf02f6f098704689ec78df7278ca1b114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 11 Feb 2025 14:36:23 +0100 Subject: [PATCH 42/45] Add sysusers.d config file to allow rpm to create users/groups automatically See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers. --- ddclient.spec | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/ddclient.spec b/ddclient.spec index bcd1146..90420e6 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 4.0.0 -Release: 1%{?dist} +Release: 2%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: https://ddclient.net/ @@ -24,7 +24,6 @@ BuildRequires: perl-generators BuildRequires: perl(Sys::Hostname) BuildRequires: perl(version) BuildRequires: systemd -Requires(pre): shadow-utils Requires(post): systemd Requires(preun): systemd Requires(postun): systemd @@ -64,6 +63,11 @@ the failed updates and sending update status to syslog and through e-mail. sed -e 's|^mail=|#mail=|' -i ddclient.conf.in ./autogen +# Create a sysusers.d config file +cat >ddclient.sysusers.conf < /dev/null || %{_sbindir}/groupadd -r %{name} -getent passwd %{name} > /dev/null || %{_sbindir}/useradd -r -g %{name} -d %{_localstatedir}/cache/%{name} -s /sbin/nologin -c "Dynamic DNS Client" %{name} -exit 0 %post %systemd_post %{name}.service @@ -137,9 +139,13 @@ fi %attr(0700,%{name},%{name}) %dir %{cachedir} %attr(0600,%{name},%{name}) %ghost %{cachedir}/%{name}.cache %ghost %attr(0755,%{name},%{name}) %dir %{rundir} +%{_sysusersdir}/ddclient.conf %changelog +* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 4.0.0-2 +- Add sysusers.d config file to allow rpm to create users/groups automatically + * Wed Jan 22 2025 Scott Talbert - 4.0.0-1 - Update to new upstream release 4.0.0 (#2334061) From fde29b6f78189de3c98750ee7b34b3b02b5157e8 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Sun, 30 Mar 2025 11:48:50 -0400 Subject: [PATCH 43/45] Restore expected ddclient.conf dir to pre-4.0 location (#2354194) --- ddclient.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ddclient.spec b/ddclient.spec index 90420e6..d9b07d2 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 4.0.0 -Release: 2%{?dist} +Release: 3%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: https://ddclient.net/ @@ -70,7 +70,7 @@ EOF %build -%configure --runstatedir=%{rundir} +%configure --runstatedir=%{rundir} --with-confdir='${sysconfdir}' make @@ -143,6 +143,9 @@ fi %changelog +* Tue Mar 25 2025 Scott Talbert - 4.0.0-3 +- Restore expected ddclient.conf dir to pre-4.0 location (#2354194) + * Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 4.0.0-2 - Add sysusers.d config file to allow rpm to create users/groups automatically From 7897f4b54a1fd077bc811d59db9dffa4e7085a00 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Mon, 31 Mar 2025 22:00:22 -0400 Subject: [PATCH 44/45] Switch systemd service to use exec and remove pid file (#2355909) --- ddclient.service | 5 ++--- ddclient.spec | 5 ++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ddclient.service b/ddclient.service index 063dce1..0ccec5a 100644 --- a/ddclient.service +++ b/ddclient.service @@ -5,11 +5,10 @@ After=syslog.target network-online.target nss-lookup.target [Service] User=ddclient Group=ddclient -Type=forking -PIDFile=/run/ddclient/ddclient.pid +Type=exec EnvironmentFile=-/etc/sysconfig/ddclient ExecStartPre=/bin/touch /var/cache/ddclient/ddclient.cache -ExecStart=/usr/sbin/ddclient $DDCLIENT_OPTIONS +ExecStart=/usr/sbin/ddclient $DDCLIENT_OPTIONS --foreground [Install] WantedBy=multi-user.target diff --git a/ddclient.spec b/ddclient.spec index d9b07d2..c198c39 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 4.0.0 -Release: 3%{?dist} +Release: 4%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: https://ddclient.net/ @@ -143,6 +143,9 @@ fi %changelog +* Tue Apr 01 2025 Scott Talbert - 4.0.0-4 +- Switch systemd service to use exec and remove pid file (#2355909) + * Tue Mar 25 2025 Scott Talbert - 4.0.0-3 - Restore expected ddclient.conf dir to pre-4.0 location (#2354194) From e0d29fead337e15c30739a138385dd5325d407e1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 19:05:32 +0000 Subject: [PATCH 45/45] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- ddclient.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ddclient.spec b/ddclient.spec index c198c39..e64e7d9 100644 --- a/ddclient.spec +++ b/ddclient.spec @@ -4,7 +4,7 @@ Summary: Client to update dynamic DNS host entries Name: ddclient Version: 4.0.0 -Release: 4%{?dist} +Release: 5%{?dist} # Automatically converted from old format: GPLv2+ - review is highly recommended. License: GPL-2.0-or-later URL: https://ddclient.net/ @@ -143,6 +143,9 @@ fi %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 4.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Tue Apr 01 2025 Scott Talbert - 4.0.0-4 - Switch systemd service to use exec and remove pid file (#2355909)