1 |
|
# $Id$ |
2 |
|
|
3 |
Summary: e-smith module to configure dnscache |
Summary: e-smith module to configure dnscache |
4 |
%define name e-smith-dnscache |
%define name e-smith-dnscache |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 1.0.0 |
%define version 2.0.0 |
7 |
%define release 11 |
%define release 1 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: System Environment/Base |
Group: System Environment/Base |
12 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
|
Patch0: e-smith-dnscache-1.0.0.validateNameServer.patch |
|
|
Patch1: e-smith-dnscache-1.0.0-dnscacne_servers.patch |
|
|
Patch2: e-smith-dnscache-1.0.0-dnscacne_forwarder.patch |
|
|
Patch3: e-smith-dnscache-1.0.0-sigpipe.patch |
|
|
Patch4: e-smith-dnscache-1.0.0-cachesize.patch |
|
|
Patch5: e-smith-dnscache-1.0.0-reverse_delegation.patch |
|
|
Patch6: e-smith-dnscache-1.0.0.validateNameServer.patch2 |
|
|
Patch7: e-smith-dnscache-1.0.0-L.root.patch |
|
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
15 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
22 |
caching nameserver |
caching nameserver |
23 |
|
|
24 |
%changelog |
%changelog |
25 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
26 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
27 |
|
|
28 |
|
* Fri Aug 08 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-13 |
29 |
|
- Add down file for dnscache.forwarder, and modify dnscache run file |
30 |
|
so that it brings up the dnscache.forwarder service when it |
31 |
|
is started. [SME: 4414] |
32 |
|
|
33 |
|
* Fri Aug 08 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-12 |
34 |
|
- Ensure that forwarding instance of dnscache has random data |
35 |
|
available on stdin. [SME: 4416] |
36 |
|
|
37 |
* Wed Jun 18 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-11 |
* Wed Jun 18 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-11 |
38 |
- Use new address for L root server, and delete included version of |
- Use new address for L root server, and delete included version of |
39 |
root/servers/@ file, since we template it. [SME: 4414] |
root/servers/@ file, since we template it. [SME: 4414] |
432 |
|
|
433 |
%prep |
%prep |
434 |
%setup |
%setup |
|
%patch0 -p1 |
|
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
435 |
|
|
436 |
%build |
%build |
437 |
perl createlinks |
perl createlinks |
444 |
mkdir -p root/var/log/dnscache |
mkdir -p root/var/log/dnscache |
445 |
mkdir -p root/var/log/dnscache.forwarder |
mkdir -p root/var/log/dnscache.forwarder |
446 |
mkdir -p root/var/service/dnscache.forwarder/root/ip |
mkdir -p root/var/service/dnscache.forwarder/root/ip |
447 |
|
touch root/var/service/dnscache.forwarder/down |
448 |
touch root/var/service/dnscache.forwarder/root/ip/127 |
touch root/var/service/dnscache.forwarder/root/ip/127 |
449 |
|
|
450 |
|
|