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
9 Copyright: distributable
10 Group: Networking/Daemons
11 Group(pl): Sieciowe/Serwery
12 Source0: ftp://ftp.isc.org/isc/bind/%{version}/%{name}-%{version}.src.tar.gz
13 Source1: ftp://ftp.isc.org/isc/bind/%{version}/%{name}-%{version}.doc.tar.gz
14 Source2: ftp://ftp.isc.org/isc/bind/%{version}/%{name}-%{version}.contrib.tar.gz
16 Source4: named.sysconfig
17 Source5: named.logrotate
19 Patch1: bind-pselect.patch
20 Patch2: bind-fds.patch
21 Patch3: bind-nonlist.patch
22 Patch5: bind-host.patch
23 Patch6: bind-glibc21.patch
24 Patch8: bind-mkdep.patch
25 Patch9: bind-probe_ipv6.patch
26 Patch10: bind-host-forcetype.patch
28 Prereq: /sbin/chkconfig
30 Obsoletes: caching-nameserver
31 URL: http://www.isc.org/bind.html
32 Buildroot: /tmp/%{name}-%{version}-root
34 %define _datadir %{_prefix}/share/misc
35 %define _sysconfdir /etc
38 BIND (Berkeley Internet Name Domain) is an implementation of the DNS (Domain
39 Name System) protocols. BIND includes a DNS server (named), which resolves
40 host names to IP addresses, and a resolver library (routines for
41 applications to use when interfacing with DNS). A DNS server allows clients
42 to name resources or objects and share the information with other network
43 machines. The named DNS server can be used on workstations as a caching name
44 server, but is generally only needed on one machine for an entire network.
45 Note that the configuration files for making BIND act as a simple caching
46 nameserver are included in the caching-nameserver package.
48 Install the bind package if you need a DNS server for your network. If you
49 want bind to act a caching name server, you will also need to install the
50 caching-nameserver package.
53 Enthält den Namen-Server, der zum Umwandeln von Host-Namen in
54 IP-Adressen und umgekehrt verwendet wird. Er kann auf
55 Workstations als caching Namen-Server verwendet werden, ist aber
56 i.d.R. nur auf einem Recher des Netzwerks erforderlich.
59 Contient le serveur de noms named, utilisé pour définir les traductions
60 nom d'hôte vers adresse IP (et vice versa). Il peut être utilisé sur
61 les stations de travail comme serveur de nom en cache mais n'est souvent
62 nécessaire que sur une machine pour un réseau entier.
65 Pakiet ten zawiera demona named, który s³u¿y do zmieniania nazw
66 komputerów na numery IP i odwrotnie. Mo¿e byæ on u¿ywany na stacjach
67 roboczych jako bufor odwo³añ do serwisu nazw (caching name server), ale
68 generalnie wystarczy tylko jedna jednostka wyposa¿ona w ten program na
72 Bu paket, makina adýný IP numarasýna (ya da tersi) çevirmek için kullanýlan
73 alan adý sunucusunu içerir. Ýþ istasyonlarýnda bir önbellek isim sunucusu
74 olarak da kullanýlabilir ama genellikle bütün bir að için sadece bir makina
78 Summary: DNS utils - host, dig, dnsquery, nslookup
79 Summary(de): DNS-Utils - Host, Dig, Dnsquery, Nslookup
80 Summary(fr): Utilitaires DNS - host, dig, dnsquery, nslookup
81 Summary(pl): Narzêdzia DNS - host, dig, dnsquery, nslookup
82 Summary(tr): DNS araçlarý - host, dig, dnsquery, nslookup
83 Group: Networking/Utilities
84 Group(pl): Sieciowe/Narzêdzia
87 Bind-utils contains a collection of utilities for querying DNS (Domain Name
88 Service) name servers to find out information about Internet hosts. These
89 tools will provide you with the IP addresses for given host names, as well
90 as other information about registered domains and network addresses.
92 You should install bind-utils if you need to get information from DNS name
95 %description -l de utils
96 Dienstprogrammsammlung zum Abfragen von Namen-Servern und Hosts.
97 Diese Tools bestimmen die IP-Adresse eines angegebenen Host-Namen
98 und finden Informationen über registrierte Domains und Netzwerk-Adressen.
100 %description -l fr utils
101 Ensemble d'utilitaires pour interroger les serveurs de noms et rechercher
102 des hôtes. Ces outils vous permettent de déterminer les adresses IP pour
103 des noms d'hôtes donnés, et trouver des informations sur les noms de
104 domaine déclarés et les adresses réseau.
106 %description -l pl utils
107 Pakiet ten zawiera zbiór aplikacji umo¿liwiaj±cych odpytywanie serwerów
108 nazw z innych domen w celu uzyskania informacji o komupterach i ich
111 %description -l tr utils
112 Bu pakette isim sunucularýný sorgulamak ve makina adreslerini çözmek için
113 kullanýlan araçlar bulunmaktadýr.
116 Summary: DNS development includes and libs
117 Summary(pl): Pliki nag³ówkowe i biblioteka statyczna
118 Group: Development/Libraries
119 Group(pl): Programowanie/Biblioteki
122 The bind-devel package contains all the include files and the
123 library required for DNS (Domain Name Service) development for
126 You should install bind-devel if you want to develop bind DNS
127 applications. If you install bind-devel, you'll also need to install
130 %description -l pl devel
131 Pakiet zawiera pliki nag³ówkowe i bibliotekê statyczn±. Je¿eli bêdziesz
132 pisa³ programy pod binda, lub kompilowa³ kod ¼ród³owy oprogramowania
133 korzystaj±cego z tych plików nag³ówkowych czy biblioteki powiniene¶
134 zainstalowaæ ten pakiet.
137 Summary: Bind documentation
138 Summary(pl): Dokumentacja programu bind
140 Group(pl): Dokumentacja
145 %decscription doc -l pl
146 Dokumentacja programu bind
149 %setup -q -c -n %{name}-%{version} -a 1 -a 2
161 rm -f compat/include/sys/cdefs.h
167 CDEBUG="$RPM_OPT_FLAGS" \
168 DESTBIN="%{_bindir}" \
169 DESTSBIN="%{_sbindir}" \
170 DESTMAN="%{_mandir}" \
171 DESTHELP="%{_datadir}" \
172 DESTETC="%{_sysconfdir}" \
176 rm -rf $RPM_BUILD_ROOT
178 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir},%{_datadir}} \
179 $RPM_BUILD_ROOT/etc/{sysconfig,logrotate.d,rc.d/init.d} \
180 $RPM_BUILD_ROOT%{_mandir}/man{1,3,5,7,8}
184 DESTDIR="$RPM_BUILD_ROOT" \
185 DESTINC="%{_includedir}/bind" \
186 DESTLIB="%{_libdir}" \
187 DESTBIN="%{_bindir}" \
188 DESTSBIN="%{_sbindir}" \
189 DESTMAN="%{_mandir}" \
190 DESTHELP="%{_datadir}" \
191 DESTETC="%{_sysconfdir}" \
196 strip $RPM_BUILD_ROOT{%{_sbin}/*,%{_bindir}/*} || :
204 DESTDIR=$RPM_BUILD_ROOT \
209 install -d $RPM_BUILD_ROOT/var/{log,state/named/{M,S}}
211 install src/bin/named/test/127.* $RPM_BUILD_ROOT/var/state/named/M
212 install src/bin/named/test/loca* $RPM_BUILD_ROOT/var/state/named/M
213 install src/conf/workstation/root.* $RPM_BUILD_ROOT/var/state/named/root.hint
214 install %{SOURCE6} $RPM_BUILD_ROOT/etc
216 cp src/bin/named/named.conf EXAMPLE-CONFIG
218 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/named
219 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/named
220 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/named
221 touch $RPM_BUILD_ROOT/var/log/named
223 mv $RPM_BUILD_ROOT%{_bindir}/nsupdate $RPM_BUILD_ROOT%{_sbindir}
224 rm -f $RPM_BUILD_ROOT%{_bindir}/mkservdb
226 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man[13578]/* \
227 src/README src/Version src/CHANGES EXAMPLE-CONFIG
230 if [ -f /etc/named.boot ]; then
231 cp /etc/named.boot /etc/named.boot.2conf
232 mv -f /etc/named.boot /etc/named.rpmsave
233 echo "Warrnig: /etc/named.boot saved as /etc/named.rpmsave" 1>&2
235 if ! id -g named; then
236 %{_sbindir}/groupadd -g 58 named
238 if ! id -u named; then
239 %{_sbindir}/useradd -u 58 -g 58 -d /dev/null -s /bin/false -c "BIND user" named
244 %{_sbindir}/groupdel named
245 %{_sbindir}/userdel named
249 /sbin/chkconfig --add named
251 if [ -f /var/run/named.pid ]; then
252 /etc/rc.d/init.d/named restart 1>&2
254 echo "Type \"/etc/rc.d/init.d/named start\" to start named" 1>&2
257 if [ -f /etc/named.boot.2conf ]; then
258 /usr/sbin/named-bootconf </etc/named.boot.2conf >/etc/named.conf
259 rm /etc/named.boot.2conf
263 /bin/touch /var/log/named
266 if [ "$1" = "0" ]; then
267 /etc/rc.d/init.d/named stop 1>&2
268 /sbin/chkconfig --del named
272 rm -rf $RPM_BUILD_ROOT
275 %defattr(644,root,root,755)
276 %doc {src/README,src/Version,src/CHANGES,EXAMPLE-CONFIG}.gz
278 %attr(755,root,root) /etc/rc.d/init.d/named
279 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/named
280 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/named.conf
281 %attr(640,root,root) %config %verify(not size mtime md5) /etc/logrotate.d/named
283 %attr(755,root,root) %{_sbindir}/*
285 %{_mandir}/man8/named.8*
286 %{_mandir}/man8/ndc.8*
287 %{_mandir}/man8/named-xfer.8*
288 %{_mandir}/man8/named-bootconf.8*
289 %{_mandir}/man7/hostname.7*
290 %{_mandir}/man5/irs.conf.5*
291 %{_mandir}/man5/named.conf.5*
292 %{_mandir}/man1/dnskeygen.1*
293 %{_mandir}/man8/nsupdate.8*
295 %attr(750,root,root) %dir /var/state/named
296 %attr(750,root,root) %dir /var/state/named/M
297 %attr(750,root,root) %dir /var/state/named/S
300 /var/state/named/root.*
302 %attr(640,root,root) %ghost /var/log/named
305 %defattr(644,root,root,755)
306 %attr(755,root,root) %{_bindir}/*
308 %{_datadir}/nslookup.help
310 %{_mandir}/man1/dig.1*
311 %{_mandir}/man1/host.1*
312 %{_mandir}/man1/dnsquery.1*
313 %{_mandir}/man8/nslookup.8*
314 %{_mandir}/man5/resolver.5*
317 %defattr(644,root,root,755)
324 %defattr(644,root,root,755)
325 %doc doc/html doc/rfc doc/misc doc/notes