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