1 Summary: BIND - DNS name server
2 Summary(de): BIND - DNS-Namenserver
3 Summary(fr): BIND - serveur de noms DNS
4 Summary(pl): BIND - serwer nazw DNS
5 Summary(tr): DNS alan adý sunucusu
10 License: Distributable
11 Group: Networking/Daemons
12 Group(de): Netzwerkwesen/Server
13 Group(pl): Sieciowe/Serwery
14 Source0: ftp://ftp.isc.org/isc/bind9/%{version}/%{name}-%{version}.tar.gz
15 Source1: %{name}-conf.tar.gz
17 Source3: named.sysconfig
18 Source4: named.logrotate
23 BuildRequires: openssl-devel
25 Prereq: rc-scripts >= 0.2.0
26 Requires: %{name}-libs = %{version}
27 Prereq: /sbin/chkconfig
29 #Requires(pre,post): fileutils
30 #Requires(pre,postun): shadow
31 #Requires(post,preun): chkconfig
32 #Requires(post,preun): rc-scripts
33 URL: http://www.isc.org/products/BIND/bind9.html
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Obsoletes: caching-nameserver
36 Conflicts: %{name}-chroot
37 Conflicts: kernel < 2.2.18
40 BIND (Berkeley Internet Name Domain) is an implementation of the DNS
41 (Domain Name System) protocols. BIND includes a DNS server (named),
42 which resolves host names to IP addresses, and a resolver library
43 (routines for applications to use when interfacing with DNS). A DNS
44 server allows clients to name resources or objects and share the
45 information with other network machines. The named DNS server can be
46 used on workstations as a caching name server, but is generally only
47 needed on one machine for an entire network. Note that the
48 configuration files for making BIND act as a simple caching nameserver
49 are included in the caching-nameserver package.
51 Install the bind package if you need a DNS server for your network. If
52 you want bind to act a caching name server, you will also need to
53 install the caching-nameserver package.
56 Enthält den Namen-Server, der zum Umwandeln von Host-Namen in
57 IP-Adressen und umgekehrt verwendet wird. Er kann auf Workstations als
58 caching Namen-Server verwendet werden, ist aber i.d.R. nur auf einem
59 Recher des Netzwerks erforderlich.
62 Contient le serveur de noms named, utilisé pour définir les
63 traductions nom d'hôte vers adresse IP (et vice versa). Il peut être
64 utilisé sur les stations de travail comme serveur de nom en cache mais
65 n'est souvent nécessaire que sur une machine pour un réseau entier.
68 Pakiet ten zawiera demona named, który s³u¿y do zmieniania nazw
69 komputerów na numery IP i odwrotnie. Mo¿e byæ on u¿ywany na stacjach
70 roboczych jako bufor odwo³añ do serwisu nazw (caching name server),
71 ale generalnie wystarczy tylko jedna jednostka wyposa¿ona w ten
72 program na fragment sieci.
75 Bu paket, makina adýný IP numarasýna (ya da tersi) çevirmek için
76 kullanýlan alan adý sunucusunu içerir. Ýþ istasyonlarýnda bir önbellek
77 isim sunucusu olarak da kullanýlabilir ama genellikle bütün bir að
78 için sadece bir makina üzerinde kurulur.
81 Summary: DNS utils - host, dig, dnsquery, nslookup
82 Summary(de): DNS-Utils - Host, Dig, Dnsquery, Nslookup
83 Summary(fr): Utilitaires DNS - host, dig, dnsquery, nslookup
84 Summary(pl): Narzêdzia DNS - host, dig, dnsquery, nslookup
85 Summary(tr): DNS araçlarý - host, dig, dnsquery, nslookup
86 Group: Networking/Utilities
87 Group(de): Netzwerkwesen/Werkzeuge
88 Group(pl): Sieciowe/Narzêdzia
89 Requires: %{name}-libs = %{version}
92 Bind-utils contains a collection of utilities for querying DNS (Domain
93 Name Service) name servers to find out information about Internet
94 hosts. These tools will provide you with the IP addresses for given
95 host names, as well as other information about registered domains and
98 You should install bind-utils if you need to get information from DNS
101 %description -l de utils
102 Dienstprogrammsammlung zum Abfragen von Namen-Servern und Hosts. Diese
103 Tools bestimmen die IP-Adresse eines angegebenen Host-Namen und finden
104 Informationen über registrierte Domains und Netzwerk-Adressen.
106 %description -l fr utils
107 Ensemble d'utilitaires pour interroger les serveurs de noms et
108 rechercher des hôtes. Ces outils vous permettent de déterminer les
109 adresses IP pour des noms d'hôtes donnés, et trouver des informations
110 sur les noms de domaine déclarés et les adresses réseau.
112 %description -l pl utils
113 Pakiet ten zawiera zbiór aplikacji umo¿liwiaj±cych odpytywanie
114 serwerów nazw z innych domen w celu uzyskania informacji o komupterach
117 %description -l tr utils
118 Bu pakette isim sunucularýný sorgulamak ve makina adreslerini çözmek
119 için kullanýlan araçlar bulunmaktadýr.
122 Summary: DNS libraries
123 Summary(pl): Biblioteki DNS
126 Group(fr): Librairies
127 Group(pl): Biblioteki
130 The bind-libs package contains all libraries required for
131 running BIND and bind utils.
134 Summary: DNS development includes and libs
135 Summary(pl): Pliki nag³ówkowe i biblioteka statyczna
136 Group: Development/Libraries
137 Group(de): Entwicklung/Libraries
138 Group(fr): Development/Librairies
139 Group(pl): Programowanie/Biblioteki
140 Requires: %{name}-libs = %{version}
143 The bind-devel package contains all the include files and the library
144 required for DNS (Domain Name Service) development for BIND.
146 You should install bind-devel if you want to develop bind DNS
147 applications. If you install bind-devel, you'll also need to install
150 %description -l pl devel
151 Pakiet zawiera pliki nag³ówkowe i bibliotekê statyczn±. Je¿eli
152 bêdziesz pisa³ programy pod binda, lub kompilowa³ kod ¼ród³owy
153 oprogramowania korzystaj±cego z tych plików nag³ówkowych czy
154 biblioteki powiniene¶ zainstalowaæ ten pakiet.
157 Summary: DNS static libs
158 Summary(pl): Biblioteka statyczna
159 Group: Development/Libraries
160 Group(de): Entwicklung/Libraries
161 Group(fr): Development/Librairies
162 Group(pl): Programowanie/Biblioteki
165 Static bind libraries.
167 %description -l pl static
168 Statyczne biblioteki binda.
176 --with-openssl=%{_prefix} \
182 rm -rf $RPM_BUILD_ROOT
184 install -d $RPM_BUILD_ROOT{%{_includedir},%{_bindir},%{_sbindir},%{_includedir}}
185 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{rc.d/init.d,logrotate.d,sysconfig}
186 install -d $RPM_BUILD_ROOT%{_mandir}/man{1,3,5,8}
187 install -d $RPM_BUILD_ROOT%{_var}/{lib/named/{M,S,dev,etc},run,log}
190 DESTDIR=$RPM_BUILD_ROOT
192 install doc/man/bin/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
193 install doc/man/bin/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
194 install %{SOURCE6} $RPM_BUILD_ROOT%{_mandir}/man5
195 install doc/man/{bin/*.8,dnssec/*.8} $RPM_BUILD_ROOT%{_mandir}/man8
196 install %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man8
198 install conf-pld/*.zone $RPM_BUILD_ROOT%{_var}/lib/named/M
199 install conf-pld/*.hint $RPM_BUILD_ROOT%{_var}/lib/named
200 install conf-pld/*.conf $RPM_BUILD_ROOT%{_var}/lib/named/etc
201 install bin/tests/named.conf EXAMPLE-CONFIG-named
202 install bin/tests/ndc.conf EXAMPLE-CONFIG-ndc
203 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/named
204 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/named
205 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/named
206 ln -s %{_var}/lib/named/etc/named.conf $RPM_BUILD_ROOT%{_sysconfdir}/named.conf
207 ln -s %{_var}/lib/named/named.log $RPM_BUILD_ROOT%{_var}/log/named
208 touch $RPM_BUILD_ROOT%{_var}/lib/named/{named.log,dev/{random,null}}
210 gzip -9nf README EXAMPLE-CONFIG-* doc/misc/*
213 if [ -f %{_sysconfdir}/named.boot ]; then
214 cp %{_sysconfdir}/named.boot /etc/named.boot.2conf
215 mv -f %{_sysconfdir}/named.boot /etc/named.rpmsave
216 echo "Warrnig:%{_sysconfdir}/named.boot saved as /etc/named.rpmsave" 1>&2
218 if ! id -g named > /dev/null 2>&1 ; then
219 %{_sbindir}/groupadd -g 58 named
221 if ! id -u named > /dev/null 2>&1 ; then
222 %{_sbindir}/useradd -u 58 -g 58 -d /dev/null -s /bin/false -c "BIND user" named
226 /sbin/chkconfig --add named
228 if [ -f /var/lock/subsys/named ]; then
229 %{_sysconfdir}/rc.d/init.d/named restart 1>&2
231 echo "Type \"%{_sysconfdir}/rc.d/init.d/named start\" to start named" 1>&2
235 if [ "$1" = "0" ]; then
236 if [ -f /var/lock/subsys/named ]; then
237 %{_sysconfdir}/rc.d/init.d/named stop 1>&2
239 /sbin/chkconfig --del named
243 if [ "$1" = "0" ]; then
244 %{_sbindir}/userdel named
245 %{_sbindir}/groupdel named
248 %post libs -p /sbin/ldconfig
249 %postun libs -p /sbin/ldconfig
252 rm -rf $RPM_BUILD_ROOT
255 %defattr(644,root,root,755)
256 %doc *.gz doc/misc/*.gz doc/arm/*
258 %attr(754,root,root) %{_sysconfdir}/rc.d/init.d/named
259 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sysconfig/named
260 %attr(640,root,named) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/named.conf
261 %attr(640,root,root) %config %verify(not size mtime md5) %{_sysconfdir}/logrotate.d/named
263 %attr(755,root,root) %{_sbindir}/*
264 %attr(755,root,root) %{_bindir}/nsupdate
267 %{_mandir}/man8/lwres*
268 %{_mandir}/man8/named*
269 %{_mandir}/man8/rndc*
270 %{_mandir}/man5/rndc*
271 %{_mandir}/man8/nsupdate*
273 %attr(770,root,named) %dir %{_var}/lib/named
274 %attr(750,root,named) %dir %{_var}/lib/named/M
275 %attr(770,root,named) %dir %{_var}/lib/named/S
276 %attr(770,root,named) %dir %{_var}/lib/named/dev
278 %{_var}/lib/named/M/*
279 %{_var}/lib/named/root.*
280 %{_var}/lib/named/etc/*
282 %ghost %{_var}/lib/named/dev/*
283 %attr(660,named,named) %ghost %{_var}/log/named
286 %defattr(644,root,root,755)
287 %attr(755,root,root) %{_bindir}/dig
288 %attr(755,root,root) %{_bindir}/host
289 %attr(755,root,root) %{_bindir}/nslookup
290 %{_mandir}/man1/dig.1*
291 %{_mandir}/man1/host.1*
292 %{_mandir}/man8/nslookup.8*
295 %defattr(644,root,root,755)
296 %attr(755,root,root) %{_libdir}/*.so.*.*
299 %defattr(644,root,root,755)
300 %attr(755,root,root) %{_bindir}/*.sh
305 %defattr(644,root,root,755)