--- rpms/smeserver-ddclient/contribs10/smeserver-ddclient.spec 2020/07/01 05:41:03 1.5 +++ 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.4 2020/06/28 09:11:42 brianr 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 3 +%define release 32 Summary: ddclient panel for SME Server Name: %{name} @@ -14,18 +14,136 @@ License: GNU GPL version 2 Group: SMEserver/addon Source: %{name}-%{version}.tar.gz Patch0: smeserver-ddclient-1.3.0-Add-in-extra-services.patch +Patch1: smeserver-ddclient-1.3.0-Add-in-link-to-wiki.patch +Patch2: smeserver-ddclient-1.3.0-Update-Createlinks-for-SME10-Systemd.patch +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 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildRequires: e-smith-devtools Obsoletes: sme7-ddclient BuildArchitectures: noarch Requires: e-smith-release >= 10.0 -Requires: smeserver-manager >= 0.1.0-24 -Requires: ddclient >= 3.9.1 +#Requires: smeserver-manager >= 0.1.0-24 +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] + +* 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] + +* Fri Mar 05 2021 Brian Read 1.3.0-8.sme +- Correct ExecStart in Service file [SME: 11370] + +* Fri Mar 05 2021 Brian Read 1.3.0-7.sme +- Update list of services in SM1 [SME: 11414] +- Add in Wantedby in service file dropin + +* Sun Jan 10 2021 Brian Read 1.3.0-6.sme +- Update Createlinks according to bug:10959 [SME: 11320] + +* Wed Dec 02 2020 Brian Read 1.3.0-5.sme +- Update spec file to take out requires smeserver-manager [SME: 10942] + +* Wed Jul 22 2020 Brian Read 1.3.0-4.sme +- fix [SME:10942] + * Tue Jun 30 2020 Brian Read 1.3.0-3.sme - Add in extra services from ddclient 3.9.1 [SME:10942 ] @@ -67,7 +185,7 @@ AutoReqProv: no * Sat Jul 11 2015 stephane de labrusse - 1.2.1-6.sme - Added locale smeserver-ddclient-1.2.1-locale-2015-07-11.patch -* Mon Jul 10 2015 stephane de labrusse - 1.2.1-5.sme +* Fri Jul 10 2015 stephane de labrusse - 1.2.1-5.sme - added spdns.de [SME: 8975] - added custom fields for dns providers [SME: 8961] - added custom fields for free domains and panel options to ddclient [SME: 8983] @@ -76,7 +194,7 @@ AutoReqProv: no - add locale smeserver-ddclient-1.2.1-locale-2015-07-01.patch - add translation missing Namecheap_translation.patch [SME: 8964] -* Mon Jun 16 2015 stephane de Labrusse - 1.2.1-2.sme +* Tue Jun 16 2015 stephane de Labrusse - 1.2.1-2.sme - first import to sme9contribs * Mon Aug 25 2014 stephane de Labrusse - 1.2.1-1.sme @@ -97,7 +215,7 @@ AutoReqProv: no * Tue Nov 26 2013 stephane de Labrusse 1.0.0-27.sme - 5 more dynamic dns services (DtDNS, Loopia, dnspark.com, OVH DynHost,Noip ,changeip) [SME:8019] -* Mon Jul 25 2013 stephane de Labrusse 1.0.0-26.sme +* Thu Jul 25 2013 stephane de Labrusse 1.0.0-26.sme - modify the path of template ddclient.conf [SME: 8018] * Sun Jul 14 2013 JP Pialasse 1.0.0-24.sme @@ -156,7 +274,7 @@ AutoReqProv: no * Wed Jun 25 2008 Jonathan Martens 1.0.0-7 - Apply 25 Jun 2008 locale patch -* Thu May 21 2008 Jonathan Martens 1.0.0-6 +* Wed May 21 2008 Jonathan Martens 1.0.0-6 - Apply 21 May 2008 locale patch * Mon May 5 2008 Jonathan Martens 1.0.0-5 @@ -199,11 +317,37 @@ AutoReqProv: no - initial release %description -ddclient panel and config files for SME9. +ddclient panel and config files for SMEServer V10. %prep %setup %patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%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 %build perl createlinks @@ -212,17 +356,29 @@ 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 %post -systemctl enable ddclient -systemctl start ddclient -/sbin/e-smith/signal-event smanager-refresh -systemctl restart smanager +#systemctl enable ddclient +#systemctl start ddclient +#/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) +