--- rpms/smeserver-ddclient/contribs10/smeserver-ddclient.spec 2021/03/12 16:06:59 1.12 +++ rpms/smeserver-ddclient/contribs10/smeserver-ddclient.spec 2024/05/08 09:19:39 1.40 @@ -1,10 +1,10 @@ -# $Id: smeserver-ddclient.spec,v 1.11 2021/03/05 12:07:41 brianr Exp $ +# $Id: smeserver-ddclient.spec,v 1.39 2024/04/11 12:28:09 jcrisp Exp $ # Authority: dungog # Name: Stephen Noble %define name smeserver-ddclient %define version 1.3.0 -%define release 9 +%define release 33 Summary: ddclient panel for SME Server Name: %{name} @@ -19,6 +19,28 @@ Patch2: smeserver-ddclient-1.3.0-Update- Patch3: smeserver-ddclient-1.3.0-Add-in-latest-dd-services-from-ddclient-391.patch Patch4: smeserver-ddclient-1.3.0-Correct-service-file-ExecStart.patch Patch5: smeserver-ddclient-1.3.0-Update-code-in-ip-up.local-for-systemd.patch +Patch6: smeserver-ddclient-1.3.0-Change_default_urlcheckip.patch +Patch7: smeserver-ddclient-1.3.0-bz11667-fix-perms-and-postupgrade.patch +Patch8: smeserver-ddclient-1.3.0-locale-2021-08-21.patch +Patch9: smeserver-ddclient-1.3.0-locale-2021-08-23.patch +Patch10: smeserver-ddclient-1.3.0-bz11667-Update-Events-and-Links.patch +Patch11: smeserver-ddclient-1.3.0-bz11667-Update-SM2-lib.patch +Patch12: smeserver-ddclient-1.3.0-locale-2021-09-08.patch +Patch13: smeserver-ddclient-1.3.0-Set-urlcheckip-default-back-to-dyndns.patch +Patch14: smeserver-ddclient-1.3.0-Add-class-to-div-in-main-module.patch +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 +Patch27: smeserver-ddclient-1.3.0-Fix-ppoe-restart-and-expand-template-for-bootstrap-and-console-save.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildRequires: e-smith-devtools @@ -26,11 +48,88 @@ 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 +* Wed May 08 2024 Brian Read 1.3.0-33.sme +- change command on ppoe up to use systemd [SME: 12676 ] +- Add console-save and bootrap-console-save to expand template take out post-upgrade [SME: 12675 ] + +* 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] + +* Wed Jan 12 2022 John Crisp 1.3.0-20 +- Fix unit file, add config entries [SME: 11847] + +* Mon Dec 20 2021 Brian Read 1.3.0-19.sme +- Fix-typo-in-description-paragraph [SME: 11812] + +* Fri Dec 03 2021 Brian Read 1.3.0-18.sme +- Add in class to Div id=module declaration in ep file [SME: 11794] + +* Thu Nov 11 2021 Brian Read 1.3.0-17.sme +- Set default urlcheckip back to the dyndns.org service [SME: 11752] + +* Wed Sep 08 2021 Terry Fage 1.3.0-16.sme +- Update locale 2021-09-08.patch + +* Tue Aug 31 2021 John Crisp 1.3.0-15.sme +- Fix events in ddclient SM2 library [SME:11667] + +* Tue Aug 31 2021 John Crisp 1.3.0-14.sme +- Fix events in ddclient web script [SME:11667] +- Add service link in domain-create + +* Mon Aug 23 2021 Terry Fage 1.3.0-13.sme +- Update locale 2021-08-23.patch + +* Sun Aug 22 2021 Terry Fage 1.3.0-12.sme +- Update locale 2021-08-21.patch + +* Thu Aug 05 2021 John Crisp 1.3.0-11.sme +- Fix ddclient.conf perms and wrong link in post-upgrade [SME: 11667] + +* Sat Jul 24 2021 Brian Read 1.3.0-10.sme +- Replace default checkip.dyndns.org with bot.whatismyipaddress.com [SME: 11656] + * Fri Mar 12 2021 Brian Read 1.3.0-9.sme - Update code in ip-up.local for systemd [SME: 11450] @@ -233,6 +332,28 @@ ddclient panel and config files for SMES %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 +%patch17 -p1 +%patch18 -p1 +%patch19 -p1 +%patch20 -p1 +%patch21 -p1 +%patch22 -p1 +%patch23 -p1 +%patch24 -p1 +%patch25 -p1 +%patch26 -p1 +%patch27 -p1 %build perl createlinks @@ -241,9 +362,13 @@ perl createlinks 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 > %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ +> %{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 @@ -253,5 +378,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) +