1 |
stephdl |
1.1 |
%define name smeserver-dhcpmanager |
2 |
stephdl |
1.3 |
%define version 2.0.2 |
3 |
stephdl |
1.2 |
%define release 1 |
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 |
|
|
|
22 |
|
|
%description |
23 |
|
|
Implementation of some feature arround dhcp clients like : wol, cleaning dhcpd.leases, Scan of your network etc// |
24 |
|
|
|
25 |
|
|
%changelog |
26 |
stephdl |
1.3 |
* Thu Aug 13 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.2-1.sme |
27 |
|
|
- new sources in cvs |
28 |
|
|
|
29 |
stephdl |
1.2 |
* Wed Aug 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.0.1-1.sme |
30 |
stephdl |
1.1 |
- Initial release to contribs9 |
31 |
|
|
|
32 |
|
|
* Wed Aug 12 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-2.0-1.sme |
33 |
|
|
-Translations added |
34 |
|
|
-new WebUI |
35 |
|
|
|
36 |
|
|
* Sun May 18 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-12 |
37 |
|
|
- First release to sme9 |
38 |
|
|
|
39 |
|
|
* Wed Feb 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-11 |
40 |
|
|
- add default db values and change options to nmap in order to see name of computer |
41 |
|
|
|
42 |
|
|
* Mon Jan 13 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-10 |
43 |
|
|
- english wording correction [sme:8122] |
44 |
|
|
- change the nmap version to 6.25 (available in smecontribs) [sme:8120] |
45 |
|
|
- add an option to remove all leases |
46 |
|
|
- some subroutines added in the goal to save settings and stay on the same page (main page and connected IP) |
47 |
|
|
- some menu setting box redesigned. |
48 |
|
|
|
49 |
|
|
* Sun Jan 05 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-5 |
50 |
|
|
- Add a checkIP routine against wrong IP [sme:8015] |
51 |
|
|
- Add a new panel to see connected IP [sme:8113] |
52 |
|
|
- Add a counter of host up on the LAN (using nmap) [sme:8111] |
53 |
|
|
|
54 |
|
|
* Sun Dec 29 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> smeserver-dhcpmanager-1.5-3 |
55 |
|
|
- adaptation for SME Server 8.0 |
56 |
|
|
* Thu Dec 23 2004 Thierry Quaak <thierry@quaak.net> |
57 |
|
|
- Last release of e-smith-dhcpmanager-1.5-1, thanks a lot for his work |
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
%prep |
62 |
|
|
%setup |
63 |
|
|
%build |
64 |
|
|
perl createlinks |
65 |
|
|
|
66 |
|
|
|
67 |
|
|
%install |
68 |
|
|
rm -rf $RPM_BUILD_ROOT |
69 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
70 |
|
|
rm -f %{name}-%{version}-filelist |
71 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
72 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
73 |
|
|
|
74 |
|
|
%clean |
75 |
|
|
cd .. |
76 |
|
|
rm -rf %{name}-%{version} |
77 |
|
|
|
78 |
|
|
%pre |
79 |
|
|
%preun |
80 |
|
|
|
81 |
|
|
%post |
82 |
|
|
#/etc/e-smith/events/actions/navigation-conf |
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
%postun |
88 |
|
|
#rm /etc/e-smith/templates-custom/etc/dhcpd.conf/25NetbiosNameServers |
89 |
|
|
|
90 |
|
|
%files -f %{name}-%{version}-filelist |
91 |
|
|
%defattr(-,root,root) |
92 |
|
|
|