1 |
%define name smeserver-dhcp-dns |
2 |
%define version 1.2.0 |
3 |
%define release 2 |
4 |
|
5 |
Summary: contrib to update dynamically the dns data |
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 |
BuildArchitectures: noarch |
15 |
BuildRequires: e-smith-devtools |
16 |
Requires: e-smith-release >= 9.0 |
17 |
AutoReqProv: no |
18 |
|
19 |
%description |
20 |
Implementation of some features arround dhcp to dynamically update dns data file whenever the dhcp file changes. |
21 |
This eliminates the 'pc-0001' etc. default names. |
22 |
|
23 |
%changelog |
24 |
* Thu Jul 30 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-2 |
25 |
- finished lease are now prohibited |
26 |
|
27 |
* Sat Jul 25 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-1 |
28 |
- enhancement following the bug [SME: 2388] |
29 |
- e-smith-tinydns-2.4.0_add_hostname_following_dhcpdleases_hostname.patch |
30 |
- waiting a release to the core, it is now a contrib for sme9 |
31 |
|
32 |
* Wed Jun 18 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.2-1 |
33 |
- correction of file 65dhcpARecords |
34 |
|
35 |
* Sun May 18 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.0-12 |
36 |
- add a tinydns expand-template on event dhcp-dns |
37 |
- add a restart dhcp-dns to signal-event dhcp-dns |
38 |
- minor correction on event->action name |
39 |
|
40 |
* Tue May 13 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1.0-8 |
41 |
- First release for SME Server 9.0 |
42 |
- Thanks to John Crisp, Stefano Zamboni and Rick Jones |
43 |
- This contribs is made from the solution of Stefano Zamboni [SME:2388] |
44 |
- and the original idea of Rick Jones. |
45 |
|
46 |
* Sun Mar 20 2005 Rick Jones <rick@activeservice.co.uk> |
47 |
- [1.0-1] |
48 |
- First complete release, includes resolution of client name clashes |
49 |
- (thanks to Placido Sanchez for suggestions and load-testing) |
50 |
- also ignores expired entries in the leases file |
51 |
|
52 |
* Fri Apr 30 2004 Rick Jones <rick@activeservice.co.uk> |
53 |
- [0.9-rc1] |
54 |
- First provisional release, added GPL & README |
55 |
|
56 |
* Fri Apr 30 2004 Rick Jones <rick@activeservice.co.uk> |
57 |
- [0.2-2] |
58 |
- Patch hostentries web-panel to allow non-IP entry of remote host, |
59 |
- allows Cname support to be used (un-patch when RPM removed) |
60 |
|
61 |
* Fri Apr 23 2004 Rick Jones <rick@activeservice.co.uk> |
62 |
- [0.2-1] |
63 |
- Handle static IPs, replaces 50domainARecords with 60hostARecords |
64 |
|
65 |
* Thu Apr 22 2004 Rick Jones <rick@activeservice.co.uk> |
66 |
- [0.1-3] |
67 |
- Regenerate old DNS data after RPM removal |
68 |
- Minor tidying |
69 |
|
70 |
* Thu Apr 22 2004 Rick Jones <rick@activeservice.co.uk> |
71 |
- [0.1-2] |
72 |
- Moved actual daemon code into dhcp-dnsd, run just execs (better for ps) |
73 |
- Add missing "run" file for log directory, and create /var/log directory |
74 |
- Add some logging output |
75 |
- Remove rc files (service is up by default, no startup needed) |
76 |
- Re-arrange initialisation & cleanup |
77 |
|
78 |
* Sun Apr 18 2004 Rick Jones <rick@activeservice.co.uk> |
79 |
- [0.1-1] |
80 |
- Initial beta release |
81 |
|
82 |
|
83 |
|
84 |
%prep |
85 |
%setup |
86 |
%build |
87 |
perl createlinks |
88 |
|
89 |
|
90 |
%install |
91 |
rm -rf $RPM_BUILD_ROOT |
92 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
93 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
94 |
--file /var/service/dhcp-dns/dhcp-dns 'attr(0750,root,root)' \ |
95 |
--file /var/service/dhcp-dns/run 'attr(0750,root,root)' \ |
96 |
> %{name}-%{version}-%{release}-filelist |
97 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
98 |
%clean |
99 |
cd .. |
100 |
rm -rf %{name}-%{version} |
101 |
|
102 |
%pre |
103 |
%preun |
104 |
|
105 |
%post |
106 |
|
107 |
%postun |
108 |
|
109 |
%files -f %{name}-%{version}-%{release}-filelist |
110 |
%defattr(-,root,root) |