--- rpms/smeserver-dhcpmanager/contribs10/smeserver-dhcpmanager.spec 2021/03/24 11:20:21 1.3 +++ 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 10 +%define release 13 Summary: provide a dhcp panel in the server-manager for The SME Server Name: %{name} @@ -15,9 +15,11 @@ 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 @@ -25,11 +27,24 @@ Patch3: smeserver-dhcpmanager-2.0.4-loca 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] @@ -112,11 +127,15 @@ Implementation of some feature arround d %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) @@ -129,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)