1 |
%define name smeserver-dhcpmanager |
2 |
%define version 1.5 |
3 |
%define release 10 |
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 |
Patch0: smeserver-dhcpmanager-1.5-checkip-scanIP-and-new-panelIP.patch |
11 |
Patch1: smeserver-dhcpmanager-1.5-wording-scan_network-remove_all_leases-other_changes.patch |
12 |
License: GNU GPL version 2 |
13 |
URL: http://www.contribs.org |
14 |
Group: SMEserver/addon |
15 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
16 |
#Prefix: %{_prefix} |
17 |
BuildArchitectures: noarch |
18 |
BuildRequires: e-smith-devtools |
19 |
Requires: e-smith-release >= 8.0 |
20 |
Requires: net-tools |
21 |
Requires: nmap >= 6.25 |
22 |
AutoReqProv: no |
23 |
|
24 |
%description |
25 |
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// |
26 |
|
27 |
%changelog |
28 |
* Mon Jan 13 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-10 |
29 |
- english wording correction [sme:8122] |
30 |
- change the nmap version to 6.25 (available in smecontribs) [sme:8120] |
31 |
- add an option to remove all leases |
32 |
- some subroutines added in the goal to save settings and stay on the same page (main page and connected IP) |
33 |
- some menu setting box redesigned. |
34 |
|
35 |
* Sun Jan 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-5 |
36 |
- Add a checkIP routine against wrong IP [sme:8015] |
37 |
- Add a new panel to see connected IP [sme:8113] |
38 |
- Add a counter of host up on the LAN (using nmap) [sme:8111] |
39 |
|
40 |
* Sun Dec 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-3 |
41 |
- adaptation for SME Server 8.0 |
42 |
* Thu Dec 23 2004 Thierry Quaak <thierry@quaak.net> |
43 |
- Last release of e-smith-dhcpmanager-1.5-1, thanks a lot for his work |
44 |
|
45 |
|
46 |
|
47 |
%prep |
48 |
%setup |
49 |
%patch0 -p1 |
50 |
%patch1 -p1 |
51 |
|
52 |
%build |
53 |
perl createlinks |
54 |
|
55 |
|
56 |
%install |
57 |
rm -rf $RPM_BUILD_ROOT |
58 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
59 |
rm -f %{name}-%{version}-filelist |
60 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
61 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
62 |
|
63 |
%clean |
64 |
cd .. |
65 |
rm -rf %{name}-%{version} |
66 |
|
67 |
%pre |
68 |
%preun |
69 |
|
70 |
%post |
71 |
#/etc/e-smith/events/actions/navigation-conf |
72 |
|
73 |
|
74 |
|
75 |
|
76 |
%postun |
77 |
#rm /etc/e-smith/templates-custom/etc/dhcpd.conf/25NetbiosNameServers |
78 |
|
79 |
%files -f %{name}-%{version}-filelist |
80 |
%defattr(-,root,root) |
81 |
|