1 |
%define name smeserver-dhcpmanager |
2 |
%define version 2.0.4 |
3 |
%define release 15 |
4 |
|
5 |
Summary: provide a dhcp panel in the server-manager for The SME Server |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
9 |
Source: %{name}-%{version}.tar.gz |
10 |
License: GNU GPL version 2 |
11 |
URL: http://www.contribs.org |
12 |
Group: SMEserver/addon |
13 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
14 |
#Prefix: %{_prefix} |
15 |
BuildArchitectures: noarch |
16 |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 9.0 |
18 |
Requires: e-smith-base >= 5.8.0-93 |
19 |
Requires: net-tools |
20 |
Requires: nmap >= 2:6.25 |
21 |
AutoReqProv: no |
22 |
|
23 |
Patch0: smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch |
24 |
Patch1: smeserver-dhcpmanager-2.0.4-locale-2016-03-09.patch |
25 |
Patch2: smeserver-dhcpmanager-2.0.4.uniq_by_mac.patch |
26 |
Patch3: smeserver-dhcpmanager-2.0.4-locale-2017-02-02.patch |
27 |
Patch4: smeserver-dhcpmanager-2.0.4-locale-2017-03-25.patch |
28 |
Patch5: smeserver-dhcpmanager-2.0.4-locale-2017-12-02.patch |
29 |
Patch6: smeserver-dhcpmanager-2.0.4-Add-Update-event-to-createlinks.patch |
30 |
Patch7: smeserver-dhcpmanager-2.0.4-bz11506-noCustomTemplates.patch |
31 |
Patch8: smeserver-dhcpmanager-2.0.4-locale-2021-08-22.patch |
32 |
Patch9: smeserver-dhcpmanager-2.0.4-Add-panels-for-SM2.patch |
33 |
Patch10: smeserver-dhcpmanager-2.0.4-More-changes-for-sm2-panels.patch |
34 |
Patch11: smeserver-dhcpmanager-2.0.4-Yet-more-changes-for-SM2-panels.patch |
35 |
|
36 |
%description |
37 |
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// |
38 |
|
39 |
%changelog |
40 |
* Sat Dec 30 2023 Brian Read <brianr@koozali.org> 2.0.4-15.sme |
41 |
- And more fixes for SM2 panels [SME: ] |
42 |
|
43 |
* Tue Dec 19 2023 Brian Read <brianr@koozali.org> 2.0.4-14.sme |
44 |
- More fixes for SM2 panels [SME: ] |
45 |
- Remove Winpopup facility (no longer supported by Windose) |
46 |
|
47 |
* Tue Jan 18 2022 Brian Read <brianr@bjsystems.co.uk> 2.0.4-13.sme |
48 |
- Add panels for SM2 [SME: 11850] |
49 |
|
50 |
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 2.0.4-12.sme |
51 |
- apply locale 2021-08-22 patch |
52 |
|
53 |
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.0.4-11.sme |
54 |
- removing tmeplate custom, merged with core [SME: 11506] |
55 |
- adding third DNS entry [SME: 11506] |
56 |
|
57 |
* Wed Mar 24 2021 Brian Read <brianr@bjsystems.co.uk> 2.0.4-10.sme |
58 |
- Add Update event to createlinks [SME: 11029] |
59 |
|
60 |
* Wed Mar 24 2021 BogusDateBot |
61 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
62 |
by assuming the date is correct and changing the weekday. |
63 |
|
64 |
* Mon Oct 12 2020 Brian Read <brianr@bjsystems.co.uk> 2.0.4-9.sme |
65 |
- Import to SME10 tree - [SME: 11029 ] |
66 |
|
67 |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 2.0.4-8.sme |
68 |
- apply locale 2017-12-02 patch |
69 |
|
70 |
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-7.sme |
71 |
- apply locale 2017-03-25 patch |
72 |
|
73 |
* Mon Mar 13 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-6.sme |
74 |
- Add Update event to createlinks issue with last patch deleting pt-br file [SME: 10150] |
75 |
|
76 |
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-5.sme |
77 |
- apply locale 2017-02-02.patch |
78 |
|
79 |
* Tue Jun 28 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-4.sme |
80 |
- sort the IP table by uniq mac address with the last dhcp lease |
81 |
|
82 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.0.4-3.sme |
83 |
- apply locale 2016-03-09 patch |
84 |
|
85 |
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-2.sme |
86 |
- Added smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch |
87 |
|
88 |
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-1.sme |
89 |
- new tarball 2.0.4 |
90 |
|
91 |
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.3-1.sme |
92 |
- new tarball 2.0.3 |
93 |
|
94 |
* Mon Aug 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.2-2.sme |
95 |
- added locale smeserver-dhcpmanager-2.0.2-locale-2015-08-17.patch |
96 |
|
97 |
* Thu Aug 13 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.2-1.sme |
98 |
- new sources in cvs |
99 |
|
100 |
* Wed Aug 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.1-1.sme |
101 |
- Initial release to contribs9 |
102 |
|
103 |
* Wed Aug 12 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-2.0-1.sme |
104 |
-Translations added |
105 |
-new WebUI |
106 |
|
107 |
* Sun May 18 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-12 |
108 |
- First release to sme9 |
109 |
|
110 |
* Wed Feb 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-11 |
111 |
- add default db values and change options to nmap in order to see name of computer |
112 |
|
113 |
* Mon Jan 13 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-10 |
114 |
- english wording correction [sme:8122] |
115 |
- change the nmap version to 6.25 (available in smecontribs) [sme:8120] |
116 |
- add an option to remove all leases |
117 |
- some subroutines added in the goal to save settings and stay on the same page (main page and connected IP) |
118 |
- some menu setting box redesigned. |
119 |
|
120 |
* Sun Jan 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-5 |
121 |
- Add a checkIP routine against wrong IP [sme:8015] |
122 |
- Add a new panel to see connected IP [sme:8113] |
123 |
- Add a counter of host up on the LAN (using nmap) [sme:8111] |
124 |
|
125 |
* Sun Dec 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-3 |
126 |
- adaptation for SME Server 8.0 |
127 |
* Thu Dec 23 2004 Thierry Quaak <thierry@quaak.net> |
128 |
- Last release of e-smith-dhcpmanager-1.5-1, thanks a lot for his work |
129 |
|
130 |
%prep |
131 |
%setup |
132 |
%patch0 -p1 |
133 |
%patch1 -p1 |
134 |
%patch2 -p1 |
135 |
%patch3 -p1 |
136 |
%patch4 -p1 |
137 |
%patch5 -p1 |
138 |
%patch6 -p1 |
139 |
%patch7 -p1 |
140 |
%patch8 -p1 |
141 |
%patch9 -p1 |
142 |
%patch10 -p1 |
143 |
%patch11 -p1 |
144 |
|
145 |
rm -rf root/etc/e-smith/templates-custom |
146 |
|
147 |
%build |
148 |
perl createlinks |
149 |
|
150 |
%install |
151 |
rm -rf $RPM_BUILD_ROOT |
152 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
153 |
rm -f %{name}-%{version}-filelist |
154 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
155 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
156 |
|
157 |
%clean |
158 |
cd .. |
159 |
rm -rf %{name}-%{version} |
160 |
|
161 |
%pre |
162 |
|
163 |
%preun |
164 |
|
165 |
%post |
166 |
if [ -f /usr/share/smanager/lib/SrvMngr.pm ] |
167 |
then |
168 |
rm -f /usr/share/smanager/lib/I18N/Modules/Dhcpd/en.pm |
169 |
/usr/sbin/e-smith/signal-event smanager-refresh |
170 |
fi |
171 |
true |
172 |
|
173 |
|
174 |
%postun |
175 |
|
176 |
%files -f %{name}-%{version}-filelist |
177 |
%defattr(-,root,root) |
178 |
|