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