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 Patch4: bind-host.patch
23 Patch5: bind-glibc21.patch
24 Patch6: bind-mkdep.patch
25 Patch7: bind-probe_ipv6.patch
26 Patch8: bind-host-forcetype.patch
27 Patch9: bind-pidfile.patch
28 Patch10: bind-ttl.patch
30 Prereq: /sbin/chkconfig
31 Requires: rc-scripts >= 0.2.0
32 Obsoletes: caching-nameserver
33 URL: http://www.isc.org/bind.html
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 %define _datadir %{_prefix}/share/misc
37 %define _sysconfdir /etc
40 BIND (Berkeley Internet Name Domain) is an implementation of the DNS (Domain
41 Name System) protocols. BIND includes a DNS server (named), which resolves
42 host names to IP addresses, and a resolver library (routines for
43 applications to use when interfacing with DNS). A DNS server allows clients
44 to name resources or objects and share the information with other network
45 machines. The named DNS server can be used on workstations as a caching name
46 server, but is generally only needed on one machine for an entire network.
47 Note that the configuration files for making BIND act as a simple caching
48 nameserver are included in the caching-nameserver package.
50 Install the bind package if you need a DNS server for your network. If you
51 want bind to act a caching name server, you will also need to install the
52 caching-nameserver package.
55 Enthält den Namen-Server, der zum Umwandeln von Host-Namen in
56 IP-Adressen und umgekehrt verwendet wird. Er kann auf
57 Workstations als caching Namen-Server verwendet werden, ist aber
58 i.d.R. nur auf einem Recher des Netzwerks erforderlich.
61 Contient le serveur de noms named, utilisé pour définir les traductions
62 nom d'hôte vers adresse IP (et vice versa). Il peut être utilisé sur
63 les stations de travail comme serveur de nom en cache mais n'est souvent
64 nécessaire que sur une machine pour un réseau entier.
67 Pakiet ten zawiera demona named, który s³u¿y do zmieniania nazw
68 komputerów na numery IP i odwrotnie. Mo¿e byæ on u¿ywany na stacjach
69 roboczych jako bufor odwo³añ do serwisu nazw (caching name server), ale
70 generalnie wystarczy tylko jedna jednostka wyposa¿ona w ten program na
74 Bu paket, makina adýný IP numarasýna (ya da tersi) çevirmek için kullanýlan
75 alan adý sunucusunu içerir. Ýþ istasyonlarýnda bir önbellek isim sunucusu
76 olarak da kullanýlabilir ama genellikle bütün bir að için sadece bir makina
80 Summary: DNS utils - host, dig, dnsquery, nslookup
81 Summary(de): DNS-Utils - Host, Dig, Dnsquery, Nslookup
82 Summary(fr): Utilitaires DNS - host, dig, dnsquery, nslookup
83 Summary(pl): Narzêdzia DNS - host, dig, dnsquery, nslookup
84 Summary(tr): DNS araçlarý - host, dig, dnsquery, nslookup
85 Group: Networking/Utilities
86 Group(pl): Sieciowe/Narzêdzia
89 Bind-utils contains a collection of utilities for querying DNS (Domain Name
90 Service) name servers to find out information about Internet hosts. These
91 tools will provide you with the IP addresses for given host names, as well
92 as other information about registered domains and network addresses.
94 You should install bind-utils if you need to get information from DNS name
97 %description -l de utils
98 Dienstprogrammsammlung zum Abfragen von Namen-Servern und Hosts.
99 Diese Tools bestimmen die IP-Adresse eines angegebenen Host-Namen
100 und finden Informationen über registrierte Domains und Netzwerk-Adressen.
102 %description -l fr utils
103 Ensemble d'utilitaires pour interroger les serveurs de noms et rechercher
104 des hôtes. Ces outils vous permettent de déterminer les adresses IP pour
105 des noms d'hôtes donnés, et trouver des informations sur les noms de
106 domaine déclarés et les adresses réseau.
108 %description -l pl utils
109 Pakiet ten zawiera zbiór aplikacji umo¿liwiaj±cych odpytywanie serwerów
110 nazw z innych domen w celu uzyskania informacji o komupterach i ich
113 %description -l tr utils
114 Bu pakette isim sunucularýný sorgulamak ve makina adreslerini çözmek için
115 kullanýlan araçlar bulunmaktadýr.
118 Summary: DNS development includes and libs
119 Summary(pl): Pliki nag³ówkowe i biblioteka statyczna
120 Group: Development/Libraries
121 Group(pl): Programowanie/Biblioteki
124 The bind-devel package contains all the include files and the
125 library required for DNS (Domain Name Service) development for
128 You should install bind-devel if you want to develop bind DNS
129 applications. If you install bind-devel, you'll also need to install
132 %description -l pl devel
133 Pakiet zawiera pliki nag³ówkowe i bibliotekê statyczn±. Je¿eli bêdziesz
134 pisa³ programy pod binda, lub kompilowa³ kod ¼ród³owy oprogramowania
135 korzystaj±cego z tych plików nag³ówkowych czy biblioteki powiniene¶
136 zainstalowaæ ten pakiet.
139 Summary: Bind documentation
140 Summary(pl): Dokumentacja programu bind
142 Group(pl): Dokumentacja
147 %decscription doc -l pl
148 Dokumentacja programu bind
151 %setup -q -c -n %{name}-%{version} -a 1 -a 2
165 rm -f compat/include/sys/cdefs.h
171 CDEBUG="$RPM_OPT_FLAGS" \
172 DESTBIN="%{_bindir}" \
173 DESTSBIN="%{_sbindir}" \
174 DESTMAN="%{_mandir}" \
175 DESTHELP="%{_datadir}" \
176 DESTETC="%{_sysconfdir}" \
180 rm -rf $RPM_BUILD_ROOT
182 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir},%{_datadir}} \
183 $RPM_BUILD_ROOT/etc/{sysconfig,logrotate.d,rc.d/init.d} \
184 $RPM_BUILD_ROOT%{_mandir}/man{1,3,5,7,8}
188 DESTDIR="$RPM_BUILD_ROOT" \
189 DESTINC="%{_includedir}/bind" \
190 DESTLIB="%{_libdir}" \
191 DESTBIN="%{_bindir}" \
192 DESTSBIN="%{_sbindir}" \
193 DESTMAN="%{_mandir}" \
194 DESTHELP="%{_datadir}" \
195 DESTETC="%{_sysconfdir}" \
200 strip $RPM_BUILD_ROOT{%{_sbin}/*,%{_bindir}/*} || :
208 DESTDIR=$RPM_BUILD_ROOT \
213 install -d $RPM_BUILD_ROOT/var/{log,lib/named/{M,S}}
215 install src/bin/named/test/127.* $RPM_BUILD_ROOT/var/lib/named/M
216 install src/bin/named/test/loca* $RPM_BUILD_ROOT/var/lib/named/M
217 install src/conf/workstation/root.* $RPM_BUILD_ROOT/var/lib/named/root.hint
218 install %{SOURCE6} $RPM_BUILD_ROOT/etc
220 cp src/bin/named/named.conf EXAMPLE-CONFIG
222 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/named
223 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/named
224 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/named
225 touch $RPM_BUILD_ROOT/var/log/named
227 mv $RPM_BUILD_ROOT%{_bindir}/nsupdate $RPM_BUILD_ROOT%{_sbindir}
228 rm -f $RPM_BUILD_ROOT%{_bindir}/mkservdb \
229 $RPM_BUILD_ROOT%{_mandir}/man5/resolver.5
231 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man[13578]/* \
232 src/README src/Version src/CHANGES EXAMPLE-CONFIG
235 if [ -f /etc/named.boot ]; then
236 cp /etc/named.boot /etc/named.boot.2conf
237 mv -f /etc/named.boot /etc/named.rpmsave
238 echo "Warrnig: /etc/named.boot saved as /etc/named.rpmsave" 1>&2
240 if ! id -g named; then
241 %{_sbindir}/groupadd -g 58 named
243 if ! id -u named; then
244 %{_sbindir}/useradd -u 58 -g 58 -d /dev/null -s /bin/false -c "BIND user" named
249 /sbin/chkconfig --add named
251 if [ -f /var/lock/subsys/named ]; 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
264 chown root.named /var/log/named
267 if [ "$1" = "0" ]; then
268 if [ -f /var/lock/subsys/named ]; then
269 /etc/rc.d/init.d/named stop 1>&2
271 /sbin/chkconfig --del named
275 if [ "$1" = "0" ]; then
276 %{_sbindir}/groupdel named
277 %{_sbindir}/userdel named
282 rm -rf $RPM_BUILD_ROOT
285 %defattr(644,root,root,755)
286 %doc {src/README,src/Version,src/CHANGES,EXAMPLE-CONFIG}.gz
288 %attr(754,root,root) /etc/rc.d/init.d/named
289 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/named
290 %attr(640,root,named) %config(noreplace) %verify(not size mtime md5) /etc/named.conf
291 %attr(640,root,root) %config %verify(not size mtime md5) /etc/logrotate.d/named
293 %attr(755,root,root) %{_sbindir}/*
295 %{_mandir}/man8/named.8*
296 %{_mandir}/man8/ndc.8*
297 %{_mandir}/man8/named-xfer.8*
298 %{_mandir}/man8/named-bootconf.8*
299 %{_mandir}/man7/hostname.7*
300 %{_mandir}/man5/irs.conf.5*
301 %{_mandir}/man5/named.conf.5*
302 %{_mandir}/man1/dnskeygen.1*
303 %{_mandir}/man8/nsupdate.8*
305 %attr(770,root,named) %dir /var/lib/named
306 %attr(750,root,root) %dir /var/lib/named/M
307 %attr(770,root,named) %dir /var/lib/named/S
310 /var/lib/named/root.*
312 %attr(660,root,named) %ghost /var/log/named
315 %defattr(644,root,root,755)
316 %attr(755,root,root) %{_bindir}/*
318 %{_datadir}/nslookup.help
320 %{_mandir}/man1/dig.1*
321 %{_mandir}/man1/host.1*
322 %{_mandir}/man1/dnsquery.1*
323 %{_mandir}/man8/nslookup.8*
326 %defattr(644,root,root,755)
333 %defattr(644,root,root,755)
334 %doc doc/html doc/rfc doc/misc doc/notes