--- rpms/smeserver-ddclient/contribs10/smeserver-ddclient.spec 2022/01/17 11:58:45 1.25 +++ rpms/smeserver-ddclient/contribs10/smeserver-ddclient.spec 2024/04/11 12:28:09 1.39 @@ -1,10 +1,10 @@ -# $Id: smeserver-ddclient.spec,v 1.24 2022/01/13 14:03:14 jcrisp Exp $ +# $Id: smeserver-ddclient.spec,v 1.38 2024/04/07 21:21:50 jpp Exp $ # Authority: dungog # Name: Stephen Noble %define name smeserver-ddclient %define version 1.3.0 -%define release 21 +%define release 32 Summary: ddclient panel for SME Server Name: %{name} @@ -31,6 +31,15 @@ Patch14: smeserver-ddclient-1.3.0-Add-cl Patch15: smeserver-ddclient-1.3.0-Fix-typo-in-description-paragraph.patch Patch16: smeserver-ddclient-1.3.0-bz11847-fix-unit-file.patch Patch17: smeserver-ddclient-1.3.0-Make-intial-call-to-ddclient-honour-db-entries.patch +Patch18: smeserver-ddclient-1.3.0-bz11860-fix-zoneedit-endpoint.patch +Patch19: smeserver-ddclient-1.3.0-Add-DB-entries-for-success-and-failure-notification.patch +Patch20: smeserver-ddclient-1.3.0-locale-2022-11-11.patch +Patch21: smeserver-ddclient-1.3.0-Remove-ddc-from-front-of-messages-labels-and-update-conf-template.patch +Patch22: smeserver-ddclient-1.3.0-Update-for-3.11.1-deprecated-commands-in-template.patch +Patch23: smeserver-ddclient-1.3.0-Update-SM2-code-for-new-services-and-protocols.patch +Patch24: smeserver-ddclient-1.3.0-Alter-menu-category-for-new-arrangement.patch +Patch25: smeserver-ddclient-1.3.0-Fix-template-declaration-file-and-localise-table-sm1.patch +Patch26: smeserver-ddclient-1.3.0-bz12598-updateNameCheap.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildRequires: e-smith-devtools @@ -38,11 +47,47 @@ Obsoletes: sme7-ddclient BuildArchitectures: noarch Requires: e-smith-release >= 10.0 #Requires: smeserver-manager >= 0.1.0-24 -Requires: ddclient >= 3.9.1 +Requires: ddclient >= 3.11.1 Requires: e-smith-formmagick AutoReqProv: no %changelog +* Thu Apr 11 2024 John Crisp 1.3.0-32.sme +- update NameCheap [SME: 12598] + +* Sun Apr 07 2024 Jean-Philippe Pialasse 1.3.0-31.sme +- add fix for namecheap to last patch [SME: 12598] + +* Sun Apr 07 2024 Brian Read 1.3.0-30.sme +- Merge template files for Virtual and free form domains and fix incompatibility with 3.11.2 [SME: 12598] +- Localist free form table [SME: 12600] + +* Fri Mar 01 2024 Brian Read 1.3.0-29.sme +- Edit Menu entry to conform to new arrangements [SME: 12493] + +* Fri Nov 10 2023 Brian Read 1.3.0-28.sme +- Update template for deprecated commands and v3.11.1 ddclient [SME: 12427] +- Update SM2 code to show all new protocols etc + +* Wed Nov 08 2023 Brian Read 1.3.0-27.sme +- Alter require to greater than or equal to 3.11.1 [SME: 12425] + +* Mon Feb 13 2023 Brian Read 1.3.0-26.sme +- Remove 3.10 as a requirement in spec + +* Wed Jan 25 2023 Brian Read 1.3.0-25.sme +- Remove the ddc_ from the front of the (translateble) messages [SME: 12217] +- Update Template files for changes in conf format and contents for 3.10.0 + +* Fri Nov 11 2022 Jean-Philippe Pialasse 1.3.0-24.sme +- Update locale 2022-11-11 patch + +* Sun Feb 20 2022 Brian Read 1.3.0-23.sme +- Add-DB-entries-for-success-and-failure-notification [SME: 11874] + +* Fri Feb 04 2022 John Crisp 1.3.0-22.sme +- Fix incorrect zoneedit endpoint [SME:11860] + * Mon Jan 17 2022 Brian Read 1.3.0-21.sme - Make-intial-call-to-ddclient-honour-db-entries [SME: 11849] @@ -294,6 +339,15 @@ ddclient panel and config files for SMES %patch15 -p1 %patch16 -p1 %patch17 -p1 +%patch18 -p1 +%patch19 -p1 +%patch20 -p1 +%patch21 -p1 +%patch22 -p1 +%patch23 -p1 +%patch24 -p1 +%patch25 -p1 +%patch26 -p1 %build perl createlinks @@ -303,10 +357,12 @@ rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -ldump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ - --dir /etc/ddclient 'attr(0700,ddclient,ddclient)' \ > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist +# --dir /etc/ddclient 'attr(0600,ddclient,ddclient)' \ +# --dir /var/cache/ddclient 'attr(0600,ddclient,ddclient)' \ + %clean rm -rf $RPM_BUILD_ROOT @@ -316,6 +372,13 @@ rm -rf $RPM_BUILD_ROOT #/sbin/e-smith/signal-event smanager-refresh #systemctl restart smanager +if (systemctl list-unit-files |grep smanager) then + echo "Smanager restart in spec file" + /sbin/e-smith/signal-event smanager-refresh; +fi +true + + %files -f %{name}-%{version}-filelist %defattr(-,root,root)