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