--- rpms/smeserver-ddclient/contribs10/smeserver-ddclient.spec 2020/07/01 13:41:35 1.6 +++ rpms/smeserver-ddclient/contribs10/smeserver-ddclient.spec 2021/11/11 11:56:58 1.21 @@ -1,10 +1,10 @@ -# $Id: smeserver-ddclient.spec,v 1.5 2020/07/01 05:41:03 brianr Exp $ +# $Id: smeserver-ddclient.spec,v 1.20 2021/09/08 04:47:38 terryfage Exp $ # Authority: dungog # Name: Stephen Noble %define name smeserver-ddclient %define version 1.3.0 -%define release 3 +%define release 17 Summary: ddclient panel for SME Server Name: %{name} @@ -14,18 +14,75 @@ 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 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: smeserver-manager >= 0.1.0-24 Requires: ddclient >= 3.9.1 Requires: e-smith-formmagick AutoReqProv: no %changelog +* 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 ] @@ -199,11 +256,24 @@ 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 %build perl createlinks @@ -219,10 +289,10 @@ echo "%doc COPYING" >> %{name}-%{versio 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 %files -f %{name}-%{version}-filelist %defattr(-,root,root)