1 |
%define name smeserver-dhcpmanager |
2 |
%define version 2.0.4 |
3 |
%define release 7 |
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: net-tools |
19 |
Requires: nmap >= 2:6.25 |
20 |
AutoReqProv: no |
21 |
Patch0: smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch |
22 |
Patch1: smeserver-dhcpmanager-2.0.4-locale-2016-03-09.patch |
23 |
Patch2: smeserver-dhcpmanager-2.0.4.uniq_by_mac.patch |
24 |
Patch3: smeserver-dhcpmanager-2.0.4-locale-2017-02-02.patch |
25 |
Patch4: smeserver-dhcpmanager-2.0.4-locale-2017-03-25.patch |
26 |
|
27 |
%description |
28 |
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// |
29 |
|
30 |
%changelog |
31 |
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-7.sme |
32 |
- apply locale 2017-03-25 patch |
33 |
|
34 |
* Mon Mar 13 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-6.sme |
35 |
- fix issue with last patch deleting pt-br file [SME: 10150] |
36 |
|
37 |
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.0.4-5.sme |
38 |
- apply locale 2017-02-02.patch |
39 |
|
40 |
* Tue Jun 28 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-4.sme |
41 |
- sort the IP table by uniq mac address with the last dhcp lease |
42 |
|
43 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.0.4-3.sme |
44 |
- apply locale 2016-03-09 patch |
45 |
|
46 |
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-2.sme |
47 |
- Added smeserver-dhcpmanager-2.0.4-locale-2015-09-12.patch |
48 |
|
49 |
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.4-1.sme |
50 |
- new tarball 2.0.4 |
51 |
|
52 |
* Tue Aug 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.3-1.sme |
53 |
- new tarball 2.0.3 |
54 |
|
55 |
* Mon Aug 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.2-2.sme |
56 |
- added locale smeserver-dhcpmanager-2.0.2-locale-2015-08-17.patch |
57 |
|
58 |
* Thu Aug 13 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.2-1.sme |
59 |
- new sources in cvs |
60 |
|
61 |
* Wed Aug 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.1-1.sme |
62 |
- Initial release to contribs9 |
63 |
|
64 |
* Wed Aug 12 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-2.0-1.sme |
65 |
-Translations added |
66 |
-new WebUI |
67 |
|
68 |
* Sun May 18 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-12 |
69 |
- First release to sme9 |
70 |
|
71 |
* Wed Feb 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-11 |
72 |
- add default db values and change options to nmap in order to see name of computer |
73 |
|
74 |
* Mon Jan 13 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-10 |
75 |
- english wording correction [sme:8122] |
76 |
- change the nmap version to 6.25 (available in smecontribs) [sme:8120] |
77 |
- add an option to remove all leases |
78 |
- some subroutines added in the goal to save settings and stay on the same page (main page and connected IP) |
79 |
- some menu setting box redesigned. |
80 |
|
81 |
* Sun Jan 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-5 |
82 |
- Add a checkIP routine against wrong IP [sme:8015] |
83 |
- Add a new panel to see connected IP [sme:8113] |
84 |
- Add a counter of host up on the LAN (using nmap) [sme:8111] |
85 |
|
86 |
* Sun Dec 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-3 |
87 |
- adaptation for SME Server 8.0 |
88 |
* Thu Dec 23 2004 Thierry Quaak <thierry@quaak.net> |
89 |
- Last release of e-smith-dhcpmanager-1.5-1, thanks a lot for his work |
90 |
|
91 |
|
92 |
|
93 |
%prep |
94 |
%setup |
95 |
%patch0 -p1 |
96 |
%patch1 -p1 |
97 |
%patch2 -p1 |
98 |
%patch3 -p1 |
99 |
%patch4 -p1 |
100 |
|
101 |
%build |
102 |
perl createlinks |
103 |
|
104 |
|
105 |
%install |
106 |
rm -rf $RPM_BUILD_ROOT |
107 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
108 |
rm -f %{name}-%{version}-filelist |
109 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
110 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
111 |
|
112 |
%clean |
113 |
cd .. |
114 |
rm -rf %{name}-%{version} |
115 |
|
116 |
%pre |
117 |
%preun |
118 |
|
119 |
%post |
120 |
#/etc/e-smith/events/actions/navigation-conf |
121 |
|
122 |
|
123 |
|
124 |
|
125 |
%postun |
126 |
#rm /etc/e-smith/templates-custom/etc/dhcpd.conf/25NetbiosNameServers |
127 |
|
128 |
%files -f %{name}-%{version}-filelist |
129 |
%defattr(-,root,root) |
130 |
|