1 |
|
# $Id: e-smith-dnscache.spec,v 1.7 2008/10/07 18:01:45 slords Exp $ |
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.2.0 |
7 |
%define release 8 |
%define release 2 |
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 |
13 |
Patch0: e-smith-dnscache-1.0.0.validateNameServer.patch |
Patch1: e-smith-dnscache-2.2.0-Droot.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 |
|
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
16 |
Requires: e-smith-lib >= 1.15.1-19 |
Requires: e-smith-lib >= 1.15.1-19 |
23 |
caching nameserver |
caching nameserver |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
|
* Wed Dec 19 2012 Ian Wells <esmith@wellsi.com> 2.2.0-2.sme |
27 |
|
- D-root is changing its IPv4 address [SME: 7189] |
28 |
|
|
29 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
30 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
31 |
|
|
32 |
|
* Fri Aug 08 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-13 |
33 |
|
- Add down file for dnscache.forwarder, and modify dnscache run file |
34 |
|
so that it brings up the dnscache.forwarder service when it |
35 |
|
is started. [SME: 4414] |
36 |
|
|
37 |
|
* Fri Aug 08 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-12 |
38 |
|
- Ensure that forwarding instance of dnscache has random data |
39 |
|
available on stdin. [SME: 4416] |
40 |
|
|
41 |
|
* Wed Jun 18 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-11 |
42 |
|
- Use new address for L root server, and delete included version of |
43 |
|
root/servers/@ file, since we template it. [SME: 4414] |
44 |
|
|
45 |
|
* Wed Jun 18 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-10 |
46 |
|
- Fix validation of NameServer properties pulled from networks db. |
47 |
|
[SME: 1343] |
48 |
|
|
49 |
|
* Wed Jun 18 2008 Charlie Brady <charlie_brady@mitel.com> 1.0.0-9 |
50 |
|
- Fix delegation of reverse lookup for nets which aren't /8, |
51 |
|
/16 or /24. [SME: 4249] |
52 |
|
|
53 |
* Tue Oct 16 2007 Charlie Brady <charlie_brady@mitel.com> 1.0.0-08 |
* Tue Oct 16 2007 Charlie Brady <charlie_brady@mitel.com> 1.0.0-08 |
54 |
- Increase default CacheSize to 10M, with corresponding increase |
- Increase default CacheSize to 10M, with corresponding increase |
55 |
in DataSize. [SME: 2371] |
in DataSize. [SME: 2371] |
436 |
|
|
437 |
%prep |
%prep |
438 |
%setup |
%setup |
|
%patch0 -p1 |
|
439 |
%patch1 -p1 |
%patch1 -p1 |
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
440 |
|
|
441 |
%build |
%build |
442 |
perl createlinks |
perl createlinks |
449 |
mkdir -p root/var/log/dnscache |
mkdir -p root/var/log/dnscache |
450 |
mkdir -p root/var/log/dnscache.forwarder |
mkdir -p root/var/log/dnscache.forwarder |
451 |
mkdir -p root/var/service/dnscache.forwarder/root/ip |
mkdir -p root/var/service/dnscache.forwarder/root/ip |
452 |
|
touch root/var/service/dnscache.forwarder/down |
453 |
touch root/var/service/dnscache.forwarder/root/ip/127 |
touch root/var/service/dnscache.forwarder/root/ip/127 |
454 |
|
|
455 |
|
|