--- rpms/smeserver-dhcpmanager/contribs10/smeserver-dhcpmanager.spec 2020/10/12 15:05:33 1.2 +++ rpms/smeserver-dhcpmanager/contribs10/smeserver-dhcpmanager.spec 2022/03/10 12:22:07 1.7 @@ -1,6 +1,6 @@ %define name smeserver-dhcpmanager %define version 2.0.4 -%define release 9 +%define release 13 Summary: provide a dhcp panel in the server-manager for The SME Server Name: %{name} @@ -15,20 +15,43 @@ BuildRoot: %{_tmppath}/%{name}-buildroot BuildArchitectures: noarch BuildRequires: e-smith-devtools Requires: e-smith-release >= 9.0 +Requires: e-smith-base >= 5.8.0-93 Requires: net-tools Requires: nmap >= 2:6.25 AutoReqProv: no + Patch0: smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch Patch1: smeserver-dhcpmanager-2.0.4-locale-2016-03-09.patch Patch2: smeserver-dhcpmanager-2.0.4.uniq_by_mac.patch Patch3: smeserver-dhcpmanager-2.0.4-locale-2017-02-02.patch Patch4: smeserver-dhcpmanager-2.0.4-locale-2017-03-25.patch Patch5: smeserver-dhcpmanager-2.0.4-locale-2017-12-02.patch +Patch6: smeserver-dhcpmanager-2.0.4-Add-Update-event-to-createlinks.patch +Patch7: smeserver-dhcpmanager-2.0.4-bz11506-noCustomTemplates.patch +Patch8: smeserver-dhcpmanager-2.0.4-locale-2021-08-22.patch +Patch9: smeserver-dhcpmanager-2.0.4-Add-panels-for-SM2.patch %description Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// %changelog +* Tue Jan 18 2022 Brian Read 2.0.4-13.sme +- Add panels for SM2 [SME: 11850] + +* Sun Aug 22 2021 Terry Fage 2.0.4-12.sme +- apply locale 2021-08-22 patch + +* Tue Mar 30 2021 Jean-Philippe Pialasse 2.0.4-11.sme +- removing tmeplate custom, merged with core [SME: 11506] +- adding third DNS entry [SME: 11506] + +* Wed Mar 24 2021 Brian Read 2.0.4-10.sme +- Add Update event to createlinks [SME: 11029] + +* Wed Mar 24 2021 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + * Mon Oct 12 2020 Brian Read 2.0.4-9.sme - Import to SME10 tree - [SME: 11029 ] @@ -39,7 +62,7 @@ Implementation of some feature arround d - apply locale 2017-03-25 patch * Mon Mar 13 2017 Jean-Philipe Pialasse 2.0.4-6.sme -- fix issue with last patch deleting pt-br file [SME: 10150] +- Add Update event to createlinks issue with last patch deleting pt-br file [SME: 10150] * Wed Feb 01 2017 Jean-Philipe Pialasse 2.0.4-5.sme - apply locale 2017-02-02.patch @@ -103,11 +126,16 @@ Implementation of some feature arround d %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 + +rm -rf root/etc/e-smith/templates-custom %build perl createlinks - %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) @@ -120,16 +148,19 @@ cd .. rm -rf %{name}-%{version} %pre + %preun %post -#/etc/e-smith/events/actions/navigation-conf - - +if [ -f /usr/share/smanager/lib/SrvMngr.pm ] +then + rm -f /usr/share/smanager/lib/I18N/Modules/Dhcpd/en.pm + /usr/sbin/e-smith/signal-event smanager-refresh +fi +true %postun -#rm /etc/e-smith/templates-custom/etc/dhcpd.conf/25NetbiosNameServers %files -f %{name}-%{version}-filelist %defattr(-,root,root)