/[smeserver]/rpms/djbdns/sme7/djbdns.spec
ViewVC logotype

Contents of /rpms/djbdns/sme7/djbdns.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Tue Jan 29 14:03:03 2008 UTC (16 years, 4 months ago) by bytegw
Branch: MAIN
CVS Tags: djbdns-1_05-7_el4_sme
Changes since 1.2: +16 -1 lines
Updates

1 #
2 # RPM spec file for Dan Bernstein's djbdns package
3 #
4 # $Id: djbdns.spec,v 1.5 2004/11/11 21:03:51 charlieb Exp $
5 #
6 Summary: collection of Domain Name System tools
7 %define name djbdns
8 Name: %{name}
9 %define version 1.05
10 %define release 7
11 Version: %{version}
12 Release: %{release}%{?dist}
13 License: Public Domain
14 Group: Networking/Daemons
15 Source: http://cr.yp.to/%{name}/%{name}-%{version}.tar.gz
16 URL: http://cr.yp.to/%{name}.html
17 Patch0: %{name}-%{version}.patch.2001022000
18 Patch1: dns_transmit-bug.patch
19 Patch2: http://homepages.tesco.net./~J.deBoynePollard/Softwares/djbdns/dnscache-cname-handling.patch
20 Patch3: http://homepages.tesco.net./~J.deBoynePollard/Softwares/djbdns/dnscache-strict-forwardonly.patch
21 Patch4: http://homepages.tesco.net./~J.deBoynePollard/Softwares/djbdns/tinydns-alias-chain-truncation.patch
22 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
23 Provides: djbdns
24 AutoReqProv: no
25
26 %description
27 djbdns is a collection of Domain Name System tools. It includes several
28 components:
29
30 - The dnscache program is a local DNS cache. It accepts recursive
31 DNS queries from local clients such as web browsers. It collects
32 responses from remote DNS servers.
33
34 - The tinydns program is a fast, UDP-only DNS server. It makes
35 local DNS information available to the Internet. It supports load
36 balancing and client differentiation.
37
38 - The walldns program is a reverse DNS wall. It provides matching
39 reverse and forward records while hiding local host information.
40
41 - The rbldns program is an IP-address-listing DNS server. It uses
42 DNS to publish a list of IP addresses, such as RBL or DUL.
43
44 - The dns library handles outgoing and incoming DNS packets. It can
45 be used by clients such as web browsers to look up host addresses,
46 host names, MX records, etc. It supports asynchronous resolution.
47
48 - The dnsfilter program is a parallel IP-address-to-host-name
49 converter.
50
51 - The dnsip, dnsipq, dnsname, dnstxt, and dnsmx programs are simple
52 command-line interfaces to DNS.
53
54 - The dnsq and dnstrace programs are DNS debugging tools.
55
56 djbdns was written by Daniel J Bernstein, and was placed into the public
57 domain on Dec 28, 2007.
58
59 %changelog
60 * Mon Jan 28 2008 Charlie Brady <charlie_brady@mitel.com> 1.05-7
61 - Patch tinydns to publish complete client-side alias chains. [SME: 3826]
62
63 * Mon Jan 28 2008 Charlie Brady <charlie_brady@mitel.com> 1.05-6
64 - Patch to fix problems with delegation loops. [SME: 3825]
65
66 * Mon Jan 28 2008 Charlie Brady <charlie_brady@mitel.com> 1.05-5
67 - Patch to fix various problems in dnscache CNAME record handling. [SME: 3824]
68
69 * Thu Jan 10 2008 Charlie Brady <charlieb@e-smith.com> 1.05-4
70 - Patch around TCP bug: http://alkemio.org/dns_transmit-bug.html
71 - Change license to "Public Domain' - http://cr.yp.to/distributors.html
72
73 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
74 - Clean up spec so package can be built by koji/plague
75
76 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
77 - Update to new release naming. No functional changes.
78 - Make Packager generic
79
80 * Thu Nov 11 2004 Charlie Brady <charlieb@e-smith.com> 1.05-02
81 - Use "conf-cc" value which works around errno problem.
82
83 * Tue Feb 20 2001 Peter Samuel <peters@e-smith.com>
84 - [1.05-01]
85 - Updated for djbdns-1.05.
86
87 * Tue Feb 6 2001 Peter Samuel <peters@e-smith.com>
88 - [1.04-01]
89 - Now installs in its own root area prior to creating binary RPM.
90
91 %prep
92 %setup
93
94 # This patch allows files to be installed in a relative directory prior
95 # to creating the binary RPM. It does not change the installed files or
96 # their final installed locations.
97
98 %patch0 -p1
99
100 # Create the relative installation directories.
101
102 mkdir -p ./root/usr
103 mkdir -p ./root/etc
104
105 %patch1 -p1
106 %patch2 -p1
107 %patch3 -p1
108 %patch4 -p1
109
110 %build
111 echo "gcc -O2 -Wall --include /usr/include/errno.h" > conf-cc
112 echo "gcc -s -Os -pipe" > conf-ld
113 make
114
115 %install
116 make setup
117 make check
118 rm -rf $RPM_BUILD_ROOT
119 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
120
121 %clean
122 rm -rf $RPM_BUILD_ROOT
123
124 %files
125 %attr(644,root,root) /etc/dnsroots.global
126 %attr(755,root,root) /usr/local/bin/axfrdns
127 %attr(755,root,root) /usr/local/bin/axfrdns-conf
128 %attr(755,root,root) /usr/local/bin/axfr-get
129 %attr(755,root,root) /usr/local/bin/dnscache
130 %attr(755,root,root) /usr/local/bin/dnscache-conf
131 %attr(755,root,root) /usr/local/bin/dnsfilter
132 %attr(755,root,root) /usr/local/bin/dnsip
133 %attr(755,root,root) /usr/local/bin/dnsipq
134 %attr(755,root,root) /usr/local/bin/dnsmx
135 %attr(755,root,root) /usr/local/bin/dnsname
136 %attr(755,root,root) /usr/local/bin/dnsq
137 %attr(755,root,root) /usr/local/bin/dnsqr
138 %attr(755,root,root) /usr/local/bin/dnstrace
139 %attr(755,root,root) /usr/local/bin/dnstracesort
140 %attr(755,root,root) /usr/local/bin/dnstxt
141 %attr(755,root,root) /usr/local/bin/pickdns
142 %attr(755,root,root) /usr/local/bin/pickdns-conf
143 %attr(755,root,root) /usr/local/bin/pickdns-data
144 %attr(755,root,root) /usr/local/bin/random-ip
145 %attr(755,root,root) /usr/local/bin/rbldns
146 %attr(755,root,root) /usr/local/bin/rbldns-conf
147 %attr(755,root,root) /usr/local/bin/rbldns-data
148 %attr(755,root,root) /usr/local/bin/tinydns
149 %attr(755,root,root) /usr/local/bin/tinydns-conf
150 %attr(755,root,root) /usr/local/bin/tinydns-data
151 %attr(755,root,root) /usr/local/bin/tinydns-edit
152 %attr(755,root,root) /usr/local/bin/tinydns-get
153 %attr(755,root,root) /usr/local/bin/walldns
154 %attr(755,root,root) /usr/local/bin/walldns-conf

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed