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