2 # - warning: Installed (but unpackaged) file(s) found:
6 Summary(pl.UTF-8): DJB DNS
10 # http://cr.yp.to/distributors.html
11 License: Public Domain
12 Group: Networking/Daemons
13 Source0: http://cr.yp.to/djbdns/%{name}-%{version}.tar.gz
14 # Source0-md5: 3147c5cd56832aa3b41955c7a51cbeb2
15 Source1: %{name}-doc.tar.gz
16 # Source1-md5: 1d6aed1a5d3d3eda3958fa3e7d808fc8
17 Source2: ftp://ftp.innominate.org/gpa/djb/%{name}-%{version}-man.tar.gz
18 # Source2-md5: 2b4e71fa4592858e4508538f78d50f61
19 Source3: http://www.sericyb.com.au/tinydns-notify
20 # NoSource3-md5: 2213bdc8c58c10cb8770b7e5b0d67aea
21 Source4: http://www.sericyb.com.au/tinydns-log
22 # NoSource4-md5: a9af7707a7cb7c41e855f441e242e422
23 Patch0: dnscache-1.05-multiple-ip.patch
25 Patch1: http://www.fefe.de/dns/%{name}-1.05-test22.diff.bz2
26 Patch3: http://iksz.hu/package/djbdns-conf/%{name}-1.05-multi_tinydns_data.patch
27 Patch4: %{name}-srv.patch
28 Patch5: %{name}-glibc.patch
29 # http://www.iecc.com/rbldns-patch.txt
30 Patch6: %{name}-rbldns_a.patch
31 # http://core.segfault.pl/~hobbit/tinydns-include.patch
32 Patch8: %{name}-tinydns-include.patch
33 Patch9: %{name}-tinydns-log-ipv6.patch
34 # http://romana.now.ie/software/djbdns-cachestats.patch
35 Patch10: %{name}-cachestats.patch
36 Patch11: %{name}-ipv6-incfix.patch
37 Patch12: %{name}-dnscache-merge-similar-outgoing-queries.patch
38 # http://www.your.org/dnscache/0001-dnscache-merge-similar-outgoing-queries.patch
39 Patch13: %{name}-dnscache-cache-soa-records.patch
40 # http://www.your.org/dnscache/0002-dnscache-cache-soa-records.patch
41 URL: http://cr.yp.to/djbdns.html
42 BuildRequires: rpm-perlprov
43 BuildRequires: rpmbuild(macros) >= 1.202
44 Requires(postun): /usr/sbin/groupdel
45 Requires(postun): /usr/sbin/userdel
46 Requires(pre): /bin/id
47 Requires(pre): /usr/bin/getgid
48 Requires(pre): /usr/sbin/groupadd
49 Requires(pre): /usr/sbin/useradd
50 Provides: group(djbdns)
52 Provides: user(dnslog)
53 Obsoletes: caching-nameserver
54 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57 This is a set of DNS servers with security in mind. If you find a
58 security hole you can get a prize.
60 This package contains some basic DNS debugging tools and some
61 documentation. If you need a DNS server install one of the following
64 - djbdns-dnscache - a local DNS cache
65 - djbdns-dnscachex - an external DNS cache
66 - djbdns-tinydns - a DNS server
67 - djbdns-tinydns-notify - a tool to send NOTIFY requests
68 - djbdns-pickdns - a DNS load-balancing server
69 - djbdns-walldns - a reverse DNS wall
70 - djbdns-rbldns - an IP-address-listing DNS server
71 - djbdns-axfrdns - a DNS zone transfer server
73 %description -l de.UTF-8
74 Dies ist ein Satz von auf Sicherheit zielenden DNS-Servers. Man kriegt
75 ein Preis, wenn man ein Sicherheitsloch findet.
77 Dieses Paket enthält ein paar DNS-Werkzeugen und etwas Dokumentation.
78 Wenn du einen DNS-Server braucht, installe ein von den folgenden
81 - djbdns-dnscache - ein lokaler DNS-Cache
82 - djbdns-tinydns - ein DNS-Server
83 - djbdns-pickdns - ein Belastung ausgleichender DNS-Server
84 - djbdns-walldns - eine Wand Rückgekehrten DNSs
85 - djbdns-rbldns - ein IP-Adressen-Listen-DNS-Server
86 - djbdns-axfrdns - ein DNS-Zonen-Transfer-Server
88 %description -l pl.UTF-8
89 Jest to alternatywny zestaw serwerów DNS'u, którego głównym celem jest
90 bezpieczeństwo. Za znalezienie dziury w tym systemie została
91 wyznaczona nawet nagroda.
93 Ten pakiet zawiera kilka podstawowych narzędzi DNS oraz trochę
94 dokumentacji. Jeśli potrzebujesz serwera DNS zainstaluj jeden z
95 następujących pakietów:
97 - djbdns-dnscache - lokalny cache DNS
98 - djbdns-tinydns - serwer DNS
99 - djbdns-tinydns-notify - narzędzie do wysyłania komunikatów NOTIFY
100 - djbdns-pickdns - serwer DNS do równoważenia obciążeń
101 - djbdns-walldns - ściana dla odwrotnych zapytań DNS
102 - djbdns-rbldns - serwer DNS list adresów IP
103 - djbdns-axfrdns - serwer transferów stref DNS
106 Summary: DJB's local DNS cache
107 Summary(de.UTF-8): DJBs lokaler DNS-Cache
108 Summary(pl.UTF-8): Lokalny cache DNS od DJB
109 Group: Networking/Daemons
110 Requires(post): diffutils
111 Requires(post): fileutils
112 Requires(postun): /usr/sbin/groupdel
113 Requires(postun): /usr/sbin/userdel
114 Requires(pre): /bin/id
115 Requires(pre): /usr/sbin/groupadd
116 Requires(pre): /usr/sbin/useradd
117 Requires(preun): daemontools
118 Requires: %{name} = %{version}-%{release}
119 Requires: daemontools >= 0.70-5
120 Provides: user(dnscache)
123 %description dnscache
124 dnscache is a local DNS cache from the djbdns package. It accepts
125 recursive DNS queries from local clients such as web browsers and mail
126 transfer agents. It collects responses from remote DNS servers. It
127 caches the responses to save time later.
129 %description dnscache -l de.UTF-8
130 dnscache ist ein lokaler DNS-Cache aus dem djbdns-Paket. Es empfängt
131 rekursive DNS-Fragen von den lokalen Klienten, zum Beispiel
132 Web-Browsers und Mail-Transfer-Agenten. Es sammelt die Antworten von
133 den Fern-DNS-Servers. Es merkt sich die Antworten, um die Zeit später
136 %description dnscache -l pl.UTF-8
137 dnscache jest lokalnym cachem DNS z pakietu djbdns. Przyjmuje on
138 rekursywne zapytania DNS od lokalnych klientów takich, jak
139 przeglądarki WWW i agenci transferu poczty (MTA). Zbiera on odpowiedzi
140 od zdalnych serwerów DNS. Zapamiętuje on odpowiedzi, żeby później
144 Summary: DJB's external DNS cache
145 Summary(pl.UTF-8): Zewnętrzny cache DNS od DJB
146 Group: Networking/Daemons
147 Requires(post): diffutils
148 Requires(post): fileutils
149 Requires(preun): daemontools
150 Requires: %{name}-dnscache = %{version}-%{release}
152 %description dnscachex
153 dnscachex is an external DNS cache from the djbdns package. It accepts
154 recursive DNS queries from external clients such as web browsers and
155 mail transfer agents. It collects responses from remote DNS servers.
156 It caches the responses to save time later.
158 %description dnscachex -l pl.UTF-8
159 dnscache jest zewnętrznym cachem DNS z pakietu djbdns. Przyjmuje on
160 rekursywne zapytania DNS od zewnętrznych klientów takich jak
161 przeglądarki WWW i agenci transferu poczty (MTA). Zbiera on odpowiedzi
162 od zdalnych serwerów DNS. Zapamiętuje on odpowiedzi, żeby później
166 Summary: DJB's DNS server
167 Summary(de.UTF-8): DJBs DNS-Server
168 Summary(pl.UTF-8): Serwer DNS od DJB
169 Group: Networking/Daemons
170 Requires(post): diffutils
171 Requires(postun): /usr/sbin/groupdel
172 Requires(postun): /usr/sbin/userdel
173 Requires(pre): /bin/id
174 Requires(pre): /usr/sbin/groupadd
175 Requires(pre): /usr/sbin/useradd
176 Requires(preun): daemontools
177 Requires: %{name} = %{version}-%{release}
178 Requires: daemontools >= 0.70-5
180 Provides: user(tinydns)
184 tinydns is a DNS server from the djbdns package. It accepts iterative
185 DNS queries from hosts around the Internet and responds with
186 locally-configured information.
188 %description tinydns -l de.UTF-8
189 tinydns ist ein DNS-Server aus dem djbdns-Paket. Es empfängt iterative
190 DNS-Fragen von dem Hosts aus allem Internet und antwortet mit den
191 lokal-konfigurierten Informationen.
193 %description tinydns -l pl.UTF-8
194 tinydns jest serwerem DNS z pakietu djbdns. Przyjmuje on iteracyjne
195 zapytania DNS od komputerów z całego Internetu i odpowiada przy użyciu
196 lokalnie skonfigurowanych informacji.
198 %package tinydns-notify
199 Summary: DNS NOTIFY sending tool
200 Summary(pl.UTF-8): Narzędzie do wysyłania komunikatów DNS NOTIFY
202 Group: Networking/Daemons
203 URL: http://www.sericyb.com.au/tinydns-notify
204 Requires: %{name} = %{version}-%{release}
205 Requires: perl-Net-DNS
206 Requires: perl-modules
207 Obsoletes: tinydns-notify
209 %description tinydns-notify
210 tinydns-notify is a tool written in Perl, which extracts zones and
211 their nameservers from tinydns-data files and sends DNS NOTIFY
212 requests to nameservers listed in notify-list file.
214 %description tinydns-notify -l pl.UTF-8
215 tinydns-notify jest napisanym w Perlu narzędziem, które czyta pliki
216 stref i odpowiadające im serwery nazw z plików tinydns-data, a
217 następnie wysyła żądania NOTIFY do serwerów wyspecyfikowanych w pliku
221 Summary: DJB's load-balancing DNS server
222 Summary(de.UTF-8): DJBs Belastung ausgleichender DNS-Server
223 Summary(pl.UTF-8): Serwer DNS równoważący obciążenie od DJB
224 Group: Networking/Daemons
225 Requires(post): diffutils
226 Requires(postun): /usr/sbin/groupdel
227 Requires(postun): /usr/sbin/userdel
228 Requires(pre): /bin/id
229 Requires(pre): /usr/sbin/groupadd
230 Requires(pre): /usr/sbin/useradd
231 Requires(preun): daemontools
232 Requires: %{name} = %{version}-%{release}
233 Requires: daemontools >= 0.70-5
235 Provides: user(pickdns)
239 pickdns is a DNS load-balancing server from the djbdns package. It
240 accepts iterative DNS queries from hosts around the Internet and
241 responds with a dynamic selection of locally configured IP addresses
244 %description pickdns -l de.UTF-8
245 pickdns ist ein Belastung ausgleichender DNS-Server aus dem
246 djbdns-Paket. Es empfängt iterative DNS-Fragen von den Hosts aus allem
247 Internet und antwortet mit eine dynamische Auswahl von den
248 lokal-konfigurierten IP-Adressen mit 5-Sekunden-TTLs.
250 %description pickdns -l pl.UTF-8
251 pickdns jest równoważącym obciążenie serwerem DNS z pakietu djbdns.
252 Odbiera on iteracyjne zapytania DNS od komputerów z całego internetu i
253 odpowiada dynamicznym wyborem lokalnie skonfigurowanych adresów IP z
254 5-sekundowymi TTLami.
257 Summary: DJB's reverse DNS wall
258 Summary(de.UTF-8): DJBs Wand rückgekehrten DNSs
259 Summary(pl.UTF-8): Ściana dla odwrotnych zapytań DNS od DJB
260 Group: Networking/Daemons
261 Requires(post): diffutils
262 Requires(postun): /usr/sbin/groupdel
263 Requires(postun): /usr/sbin/userdel
264 Requires(pre): /bin/id
265 Requires(pre): /usr/sbin/groupadd
266 Requires(pre): /usr/sbin/useradd
267 Requires(preun): daemontools
268 Requires: %{name} = %{version}-%{release}
269 Requires: daemontools >= 0.70-5
270 Provides: user(walldns)
274 walldns is a reverse DNS wall from the djbdns package. It accepts
275 iterative DNS queries for in-addr.arpa domains from hosts around the
276 Internet and supplies generic responses that avoid revealing local
279 %description walldns -l de.UTF-8
280 walldns ist ein Wand rückgekehrten DNSs aus dem djbdns-Paket. Es
281 empfängt iterative DNS-Fragen für den in-addr.arpa-Domänen von den
282 Hosts aus allem Internet und liefert Antworte, die vermeiden
283 Informationen über die lokalen Hosts zu aufzudecken.
285 %description walldns -l pl.UTF-8
286 walldns jest ścianą dla odwrotnych zapytań DNS z pakietu djbdns.
287 Przyjmuje ona iteracyjne zapytania DNS dla domen in-addr.arpa od
288 komputerów z całego Internetu i dostarcza odpowiedzi, które unikają
289 ujawniania informacji o lokalnych komputerach.
292 Summary: DJB's IP-address-listing DNS server
293 Summary(de.UTF-8): DJBs IP-Adressen-Listen-DNS-Server
294 Summary(pl.UTF-8): Serwer DNS list adresów IP od DJB
295 Group: Networking/Daemons
296 Requires(post): diffutils
297 Requires(postun): /usr/sbin/groupdel
298 Requires(postun): /usr/sbin/userdel
299 Requires(pre): /bin/id
300 Requires(pre): /usr/sbin/groupadd
301 Requires(pre): /usr/sbin/useradd
302 Requires(preun): daemontools
303 Requires: %{name} = %{version}-%{release}
304 Requires: daemontools >= 0.70-5
306 Provides: user(rbldns)
311 rbldns is an IP-address-listing DNS server from the djbdns package. It
312 accepts iterative DNS queries from hosts around the Internet asking
313 about various IP addresses. It provides responses showing whether the
314 addresses are on a locally configured list, such as RBL or DUL.
316 %description rbldns -l de.UTF-8
317 rbldns ist ein IP-Adressen-Listen-DNS-Server aus dem djbdns-Paket. Es
318 empfängt iterative DNS-Fragen von den Hosts aus allem Internet
319 fragende nach verschiedene IP-Adresse. Es liefert Antworte, die zeugen
320 ob die Adresse sich auf einer lokal-konfigurierten Liste befinden, zum
321 Beispiel RBL oder DUL.
323 %description rbldns -l pl.UTF-8
324 rbldns jest serwerem DNS list adresów z pakietu djbdns. Przyjmuje on
325 iteracyjne zapytania DNS od komputerów z całego Internetu pytające o
326 różne adresy IP. Dostarcza on odpowiedzi pokazujących, czy adresy te
327 są na lokalnie skonfigurowanej liście takiej, jak RBL lub DUL.
330 Summary: DJB's DNS zone-transfer server
331 Summary(de.UTF-8): DJBs DNS-Zonen-Transfer-Server
332 Summary(pl.UTF-8): Serwer transferów stref DNS od DJB
333 Group: Networking/Daemons
334 Requires(postun): /usr/sbin/groupdel
335 Requires(postun): /usr/sbin/userdel
336 Requires(pre): /bin/id
337 Requires(pre): /usr/sbin/groupadd
338 Requires(pre): /usr/sbin/useradd
339 Requires(preun): daemontools
340 Requires: %{name} = %{version}-%{release}
341 Requires: %{name}-tinydns = %{version}-%{release}
342 Requires: daemontools >= 0.70-5
345 Provides: user(axfrdns)
349 axfrdns is a DNS zone transfer server from the djbdns package. It
350 reads a zone-transfer request in DNS-over-TCP format from its standard
351 input and responds with locally configured information.
353 %description axfrdns -l de.UTF-8
354 axfrdns ist ein DNS-Zonen-Transfer-Server aus dem djbdns-Paket. Es
355 liest ein Zonen-Transfer-Ersuchen im DNS-over-TCP-Format von seinem
356 standarden Eingabe und antwortet mit den lokal-konfigurierten
359 %description axfrdns -l pl.UTF-8
360 axfrdns jest serwerem transferów stref DNS z pakietu djbdns. Wczytuje
361 on ze standardowego wejścia prośbę o transfer strefy w formacie
362 DNS-over-TCP i odpowiada przy użyciu lokalnie skonfigurowanych
383 ln -s merge/djbdns/* .
386 echo %{__cc} %{rpmcflags} >conf-cc
387 echo %{_prefix} > conf-home
391 rm -rf $RPM_BUILD_ROOT
392 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_sysconfdir}}
393 install -d $RPM_BUILD_ROOT%{_mandir}/{man1,man5,man8}
395 install tinydns-notify $RPM_BUILD_ROOT%{_bindir}
396 install tinydns-log $RPM_BUILD_ROOT%{_bindir}
398 install dnsroots.global $RPM_BUILD_ROOT%{_sysconfdir}
399 install axfr-get $RPM_BUILD_ROOT%{_bindir}
400 install axfrdns $RPM_BUILD_ROOT%{_bindir}
401 install axfrdns-conf $RPM_BUILD_ROOT%{_bindir}
402 install cachetest $RPM_BUILD_ROOT%{_bindir}
403 install dnscache $RPM_BUILD_ROOT%{_bindir}
404 install dnscache-conf $RPM_BUILD_ROOT%{_bindir}
405 install dnsfilter $RPM_BUILD_ROOT%{_bindir}
406 install dnsip $RPM_BUILD_ROOT%{_bindir}
407 install dnsipq $RPM_BUILD_ROOT%{_bindir}
408 install dnsmx $RPM_BUILD_ROOT%{_bindir}
409 install dnsname $RPM_BUILD_ROOT%{_bindir}
410 install dnsq $RPM_BUILD_ROOT%{_bindir}
411 install dnsqr $RPM_BUILD_ROOT%{_bindir}
412 install dnstrace $RPM_BUILD_ROOT%{_bindir}
413 install dnstxt $RPM_BUILD_ROOT%{_bindir}
414 install pickdns $RPM_BUILD_ROOT%{_bindir}
415 install pickdns-conf $RPM_BUILD_ROOT%{_bindir}
416 install pickdns-data $RPM_BUILD_ROOT%{_bindir}
417 install random-ip $RPM_BUILD_ROOT%{_bindir}
418 install rbldns $RPM_BUILD_ROOT%{_bindir}
419 install rbldns-conf $RPM_BUILD_ROOT%{_bindir}
420 install rbldns-data $RPM_BUILD_ROOT%{_bindir}
421 install tinydns $RPM_BUILD_ROOT%{_bindir}
422 install tinydns-conf $RPM_BUILD_ROOT%{_bindir}
423 install tinydns-data $RPM_BUILD_ROOT%{_bindir}
424 install tinydns-edit $RPM_BUILD_ROOT%{_bindir}
425 install tinydns-get $RPM_BUILD_ROOT%{_bindir}
426 install walldns $RPM_BUILD_ROOT%{_bindir}
427 install walldns-conf $RPM_BUILD_ROOT%{_bindir}
428 install djbdns-man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
429 install djbdns-man/*.5 $RPM_BUILD_ROOT%{_mandir}/man5
430 install djbdns-man/*.8 $RPM_BUILD_ROOT%{_mandir}/man8
432 make_supervise_service() {
435 local svcdir=$RPM_BUILD_ROOT%{_sysconfdir}/$service
436 local logdir=$RPM_BUILD_ROOT/var/log/djbdns/$service
438 install -d $svcdir/supervise $svcdir/log/supervise $logdir
439 touch $logdir/{lock,state}
441 touch $svcdir/log/supervise/{lock,status}
442 mkfifo $svcdir/log/supervise/{control,ok}
443 touch $svcdir/supervise/{lock,status}
444 mkfifo $svcdir/supervise/{control,ok}
448 make_supervise_service dnscache
449 s=$RPM_BUILD_ROOT%{_sysconfdir}/dnscache
451 echo %{_sysconfdir}/dnscache/root > $s/env/ROOT
452 echo 127.0.0.1 > $s/env/IP
453 echo 0.0.0.0 > $s/env/IPSEND
454 echo 1000000 > $s/env/CACHESIZE
455 echo 3000000 > $s/env/DATALIMIT
456 touch $s/env/IGNOREIP
461 exec envdir ./env sh -c '
462 exec envuidgid dnscache softlimit -o250 -d "$DATALIMIT" %{_bindir}/dnscache
465 cat>$s/log/run<<'EOF'
467 exec setuidgid dnslog multilog t /var/log/djbdns/dnscache
471 touch $s/root/ip/127.0.0.1
472 mkdir $s/root/servers
473 ln $RPM_BUILD_ROOT%{_sysconfdir}/dnsroots.global $s/root/servers/@
474 dd if=/dev/zero of=$s/seed bs=128c count=1
476 ##### DNSCACHEX #####
477 make_supervise_service dnscachex
478 s=$RPM_BUILD_ROOT%{_sysconfdir}/dnscachex
480 echo %{_sysconfdir}/dnscachex/root > $s/env/ROOT
481 echo 127.0.0.1 > $s/env/IP
482 echo 0.0.0.0 > $s/env/IPSEND
483 echo 1000000 > $s/env/CACHESIZE
484 echo 3000000 > $s/env/DATALIMIT
485 touch $s/env/IGNOREIP
490 exec envdir ./env sh -c '
491 exec envuidgid dnscache softlimit -o250 -d "$DATALIMIT" %{_bindir}/dnscache
494 cat>$s/log/run<<'EOF'
496 exec setuidgid dnslog multilog t /var/log/djbdns/dnscachex
500 touch $s/root/ip/127.0.0.1
501 mkdir $s/root/servers
502 ln $RPM_BUILD_ROOT%{_sysconfdir}/dnsroots.global $s/root/servers/@
503 dd if=/dev/zero of=$s/seed bs=128c count=1
506 make_supervise_service tinydns
507 s=$RPM_BUILD_ROOT%{_sysconfdir}/tinydns
510 exec setuidgid dnslog multilog t /var/log/djbdns/tinydns
513 echo %{_sysconfdir}/tinydns/root > $s/env/ROOT
514 echo 127.0.0.1 > $s/env/IP
518 exec envuidgid tinydns envdir ./env softlimit -d300000 %{_bindir}/tinydns
522 cat>$s/root/add-ns<<'EOF'
524 exec %{_bindir}/tinydns-edit data data.new add ns ${1+"$@"}
526 cat>$s/root/add-childns<<'EOF'
528 exec %{_bindir}/tinydns-edit data data.new add childns ${1+"$@"}
530 cat>$s/root/add-host<<'EOF'
532 exec %{_bindir}/tinydns-edit data data.new add host ${1+"$@"}
534 cat>$s/root/add-host6<<'EOF'
536 exec %{_bindir}/tinydns-edit data data.new add host6 ${1+"$@"}
538 cat>$s/root/add-alias<<'EOF'
540 exec %{_bindir}/tinydns-edit data data.new add alias ${1+"$@"}
542 cat>$s/root/add-alias6<<'EOF'
544 exec %{_bindir}/tinydns-edit data data.new add alias6 ${1+"$@"}
546 cat>$s/root/add-mx<<'EOF'
548 exec %{_bindir}/tinydns-edit data data.new add mx ${1+"$@"}
550 cat>$s/root/Makefile<<'EOF'
552 %{_bindir}/tinydns-data
556 make_supervise_service pickdns
557 s=$RPM_BUILD_ROOT%{_sysconfdir}/pickdns
560 exec setuidgid dnslog multilog t /var/log/djbdns/pickdns
563 echo %{_sysconfdir}/pickdns/root > $s/env/ROOT
564 echo 127.0.0.1 > $s/env/IP
568 exec envuidgid pickdns envdir ./env softlimit -d250000 %{_bindir}/pickdns
572 cat>$s/root/Makefile<<EOF
574 %{_bindir}/pickdns-data
578 make_supervise_service walldns
579 s=$RPM_BUILD_ROOT%{_sysconfdir}/walldns
582 exec setuidgid dnslog multilog t ./main
585 echo %{_sysconfdir}/walldns/root > $s/env/ROOT
586 echo 127.0.0.1 > $s/env/IP
590 exec envuidgid walldns envdir ./env softlimit -d250000 %{_bindir}/walldns
595 make_supervise_service rbldns
596 s=$RPM_BUILD_ROOT%{_sysconfdir}/rbldns
599 exec setuidgid dnslog multilog t /var/log/djbdns/rbldns
602 echo %{_sysconfdir}/rbldns/root > $s/env/ROOT
603 echo 127.0.0.1 > $s/env/IP
604 echo in-addr.arpa > $s/env/BASE
608 exec envuidgid rbldns envdir ./env softlimit -d250000 %{_bindir}/rbldns
612 cat>$s/root/Makefile<<EOF
614 %{_bindir}/rbldns-data
618 # !10.11.12.13:See http://bad.example.com
619 # :127.0.0.2:blacklisted"
626 make_supervise_service axfrdns
627 s=$RPM_BUILD_ROOT%{_sysconfdir}/axfrdns
630 exec setuidgid dnslog multilog t /var/log/djbdns/axfrdns
633 echo %{_sysconfdir}/tinydns/root > $s/env/ROOT
634 echo 127.0.0.1 > $s/env/IP
638 exec envdir ./env sh -c '
639 exec envuidgid axfrdns softlimit -d300000 tcpserver -vDRHl0 -x tcp.cdb -- "$IP" 53 %{_bindir}/axfrdns
642 cat>$s/Makefile<<'EOF'
644 tcprules tcp.cdb tcp.tmp < tcp
647 # sample line: 1.2.3.4:allow,AXFR="heaven.af.mil/3.2.1.in-addr.arpa"
651 ##### daemontools symlinks #####
652 install -d $RPM_BUILD_ROOT/service
653 cd $RPM_BUILD_ROOT/service
654 ln -s ..%{_sysconfdir}/dnscache
655 ln -s ..%{_sysconfdir}/dnscachex
656 ln -s ..%{_sysconfdir}/tinydns
657 ln -s ..%{_sysconfdir}/pickdns
658 ln -s ..%{_sysconfdir}/walldns
659 ln -s ..%{_sysconfdir}/rbldns
660 ln -s ..%{_sysconfdir}/axfrdns
663 rm -rf $RPM_BUILD_ROOT
666 %groupadd -g 32 -r -f djbdns
667 %useradd -u 32 -r -d / -s /bin/false -c "djbdns User" -g djbdns dnslog
670 if [ "$1" = "0" ]; then
676 %useradd -P %{name}-dnscache -u 33 -r -d /etc/dnscache -s /bin/false -c "djbdns User" -g djbdns dnscache
679 if [ ! -s %{_sysconfdir}/dnscache/seed ]; then
680 dd if=/dev/urandom of=%{_sysconfdir}/dnscache/seed bs=128c count=1
682 if diff -u %{_sysconfdir}/{dnscache,pickdns}/env/IP >/dev/zero 2>&1;then
683 echo "Warning: dnscache and pickdns can't work on the same"
684 echo "IP address. You have to edit either %{_sysconfdir}/dnscache/env/IP"
685 echo "or %{_sysconfdir}/pickdns/env/IP."
687 if diff -u %{_sysconfdir}/{dnscache,dnscachex}/env/IP >/dev/zero 2>&1;then
688 echo "Warning: dnscache and dnscachex can't work on the same"
689 echo "IP address. You have to edit either %{_sysconfdir}/dnscache/env/IP"
690 echo "or %{_sysconfdir}/dnscachex/env/IP."
692 if diff -u %{_sysconfdir}/{dnscache,rbldns}/env/IP >/dev/zero 2>&1;then
693 echo "Warning: dnscache and rbldns can't work on the same"
694 echo "IP address. You have to edit either %{_sysconfdir}/dnscache/env/IP"
695 echo "or %{_sysconfdir}/rbldns/env/IP."
697 if diff -u %{_sysconfdir}/{dnscache,tinydns}/env/IP >/dev/zero 2>&1;then
698 echo "Warning: dnscache and tinydns can't work on the same"
699 echo "IP address. You have to edit either %{_sysconfdir}/dnscache/env/IP"
700 echo "or %{_sysconfdir}/tinydns/env/IP."
702 if diff -u %{_sysconfdir}/{dnscache,walldns}/env/IP >/dev/zero 2>&1;then
703 echo "Warning: dnscache and walldns can't work on the same"
704 echo "IP address. You have to edit either %{_sysconfdir}/dnscache/env/IP"
705 echo "or %{_sysconfdir}/walldns/env/IP."
708 if [ -f /service/dnscache/supervise/lock ]; then
709 svc -t /service/dnscache{,/log}
713 if [ "$1" = "0" ]; then
714 # http://cr.yp.to/daemontools/faq/create.html#remove
715 if [ -f /service/dnscache/supervise/lock ]; then
723 if [ "$1" = "0" ]; then
728 if [ ! -s %{_sysconfdir}/dnscachex/seed ]; then
729 dd if=/dev/urandom of=%{_sysconfdir}/dnscachex/seed bs=128c count=1
731 if diff -u %{_sysconfdir}/{dnscachex,dnscache}/env/IP >/dev/zero 2>&1;then
732 echo "Warning: dnscachex and dnscache can't work on the same"
733 echo "IP address. You have to edit either %{_sysconfdir}/dnscachex/env/IP"
734 echo "or %{_sysconfdir}/dnscache/env/IP."
736 if diff -u %{_sysconfdir}/{dnscachex,pickdns}/env/IP >/dev/zero 2>&1;then
737 echo "Warning: dnscachex and pickdns can't work on the same"
738 echo "IP address. You have to edit either %{_sysconfdir}/dnscachex/env/IP"
739 echo "or %{_sysconfdir}/pickdns/env/IP."
741 if diff -u %{_sysconfdir}/{dnscachex,rbldns}/env/IP >/dev/zero 2>&1;then
742 echo "Warning: dnscachex and rbldns can't work on the same"
743 echo "IP address. You have to edit either %{_sysconfdir}/dnscachex/env/IP"
744 echo "or %{_sysconfdir}/rbldns/env/IP."
746 if diff -u %{_sysconfdir}/{dnscachex,tinydns}/env/IP >/dev/zero 2>&1;then
747 echo "Warning: dnscachex and tinydns can't work on the same"
748 echo "IP address. You have to edit either %{_sysconfdir}/dnscachex/env/IP"
749 echo "or %{_sysconfdir}/tinydns/env/IP."
751 if diff -u %{_sysconfdir}/{dnscachex,walldns}/env/IP >/dev/zero 2>&1;then
752 echo "Warning: dnscachex and walldns can't work on the same"
753 echo "IP address. You have to edit either %{_sysconfdir}/dnscachex/env/IP"
754 echo "or %{_sysconfdir}/walldns/env/IP."
757 if [ -f /service/dnscachex/supervise/lock ]; then
758 svc -t /service/dnscachex{,/log}
762 if [ "$1" = "0" ]; then
763 # http://cr.yp.to/daemontools/faq/create.html#remove
764 if [ -f /service/dnscachex/supervise/lock ]; then
765 cd /service/dnscachex
766 rm /service/dnscachex
772 %useradd -P %{name}-tinydns -u 34 -r -d /etc/tinydns -s /bin/false -c "djbdns User" -g djbdns tinydns
775 if diff -u %{_sysconfdir}/{dnscache,tinydns}/env/IP >/dev/zero 2>&1;then
776 echo "Warning: dnscache and tinydns can't work on the same"
777 echo "IP address. You have to edit either %{_sysconfdir}/dnscache/env/IP"
778 echo "or %{_sysconfdir}/tinydns/env/IP."
780 if diff -u %{_sysconfdir}/{dnscachex,tinydns}/env/IP >/dev/zero 2>&1;then
781 echo "Warning: dnscachex and tinydns can't work on the same"
782 echo "IP address. You have to edit either %{_sysconfdir}/dnscachex/env/IP"
783 echo "or %{_sysconfdir}/tinydns/env/IP."
785 if diff -u %{_sysconfdir}/{pick,tiny}dns/env/IP >/dev/zero 2>&1;then
786 echo "Warning: pickdns and tinydns can't work on the same"
787 echo "IP address. You have to edit either %{_sysconfdir}/pickdns/env/IP"
788 echo "or %{_sysconfdir}/tinydns/env/IP."
790 if diff -u %{_sysconfdir}/{rbl,tiny}dns/env/IP >/dev/zero 2>&1;then
791 echo "Warning: rbldns and tinydns can't work on the same"
792 echo "IP address. You have to edit either %{_sysconfdir}/rbldns/env/IP"
793 echo "or %{_sysconfdir}/tinydns/env/IP."
795 if diff -u %{_sysconfdir}/{tiny,wall}dns/env/IP >/dev/zero 2>&1;then
796 echo "Warning: tinydns and walldns can't work on the same"
797 echo "IP address. You have to edit either %{_sysconfdir}/tinydns/env/IP"
798 echo "or %{_sysconfdir}/walldns/env/IP."
801 if [ -f /service/tinydns/supervise/lock ]; then
802 svc -t /service/tinydns{,/log}
806 if [ "$1" = "0" ]; then
807 # http://cr.yp.to/daemontools/faq/create.html#remove
808 if [ -f /service/tinydns/supervise/lock ]; then
816 if [ "$1" = "0" ]; then
821 %useradd -P %{name}-pickdns -u 35 -r -d /etc/pickdns -s /bin/false -c "djbdns User" -g djbdns pickdns
824 if diff -u %{_sysconfdir}/{dnscache,pickdns}/env/IP >/dev/zero 2>&1;then
825 echo "Warning: dnscache and pickdns can't work on the same"
826 echo "IP address. You have to edit either %{_sysconfdir}/dnscache/env/IP"
827 echo "or %{_sysconfdir}/pickdns/env/IP."
829 if diff -u %{_sysconfdir}/{dnscachex,pickdns}/env/IP >/dev/zero 2>&1;then
830 echo "Warning: dnscachex and pickdns can't work on the same"
831 echo "IP address. You have to edit either %{_sysconfdir}/dnscachex/env/IP"
832 echo "or %{_sysconfdir}/pickdns/env/IP."
834 if diff -u %{_sysconfdir}/{pick,rbl}dns/env/IP >/dev/zero 2>&1;then
835 echo "Warning: pickdns and rbldns can't work on the same"
836 echo "IP address. You have to edit either %{_sysconfdir}/pickdns/env/IP"
837 echo "or %{_sysconfdir}/rbldns/env/IP."
839 if diff -u %{_sysconfdir}/{pick,tiny}dns/env/IP >/dev/zero 2>&1;then
840 echo "Warning: pickdns and tinydns can't work on the same"
841 echo "IP address. You have to edit either %{_sysconfdir}/pickdns/env/IP"
842 echo "or %{_sysconfdir}/tinydns/env/IP."
844 if diff -u %{_sysconfdir}/{pick,wall}dns/env/IP >/dev/zero 2>&1;then
845 echo "Warning: pickdns and walldns can't work on the same"
846 echo "IP address. You have to edit either %{_sysconfdir}/pickdns/env/IP"
847 echo "or %{_sysconfdir}/walldns/env/IP."
850 if [ -f /service/pickdns/supervise/lock ]; then
851 svc -t /service/pickdns{,/log}
855 if [ "$1" = "0" ]; then
856 # http://cr.yp.to/daemontools/faq/create.html#remove
857 if [ -f /service/pickdns/supervise/lock ]; then
865 if [ "$1" = "0" ]; then
870 %useradd -P %{name}-walldns -u 36 -r -d /etc/walldns -s /bin/false -c "djbdns User" -g djbdns walldns
873 if diff -u %{_sysconfdir}/{dnscache,walldns}/env/IP >/dev/zero 2>&1;then
874 echo "Warning: dnscache and walldns can't work on the same"
875 echo "IP address. You have to edit either %{_sysconfdir}/dnscache/env/IP"
876 echo "or %{_sysconfdir}/walldns/env/IP."
878 if diff -u %{_sysconfdir}/{dnscachex,walldns}/env/IP >/dev/zero 2>&1;then
879 echo "Warning: dnscachex and walldns can't work on the same"
880 echo "IP address. You have to edit either %{_sysconfdir}/dnscachex/env/IP"
881 echo "or %{_sysconfdir}/walldns/env/IP."
883 if diff -u %{_sysconfdir}/{pick,wall}dns/env/IP >/dev/zero 2>&1;then
884 echo "Warning: pickdns and walldns can't work on the same"
885 echo "IP address. You have to edit either %{_sysconfdir}/pickdns/env/IP"
886 echo "or %{_sysconfdir}/walldns/env/IP."
888 if diff -u %{_sysconfdir}/{rbl,wall}dns/env/IP >/dev/zero 2>&1;then
889 echo "Warning: rbldns and walldns can't work on the same"
890 echo "IP address. You have to edit either %{_sysconfdir}/rbldns/env/IP"
891 echo "or %{_sysconfdir}/walldns/env/IP."
893 if diff -u %{_sysconfdir}/{tiny,wall}dns/env/IP >/dev/zero 2>&1;then
894 echo "Warning: tinydns and walldns can't work on the same"
895 echo "IP address. You have to edit either %{_sysconfdir}/tinydns/env/IP"
896 echo "or %{_sysconfdir}/walldns/env/IP."
899 if [ -f /service/walldns/supervise/lock ]; then
900 svc -t /service/walldns{,/log}
904 if [ "$1" = "0" ]; then
905 # http://cr.yp.to/daemontools/faq/create.html#remove
906 if [ -f /service/walldns/supervise/lock ]; then
914 if [ "$1" = "0" ]; then
919 %useradd -P %{name}-rbldns -u 37 -r -d /etc/rbldns -s /bin/false -c "djbdns User" -g djbdns rbldns
922 if diff -u %{_sysconfdir}/{dnscache,rbldns}/env/IP >/dev/zero 2>&1;then
923 echo "Warning: dnscache and rbldns can't work on the same"
924 echo "IP address. You have to edit either %{_sysconfdir}/dnscache/env/IP"
925 echo "or %{_sysconfdir}/rbldns/env/IP."
927 if diff -u %{_sysconfdir}/{dnscachex,rbldns}/env/IP >/dev/zero 2>&1;then
928 echo "Warning: dnscachex and rbldns can't work on the same"
929 echo "IP address. You have to edit either %{_sysconfdir}/dnscachex/env/IP"
930 echo "or %{_sysconfdir}/rbldns/env/IP."
932 if diff -u %{_sysconfdir}/{pick,rbl}dns/env/IP >/dev/zero 2>&1;then
933 echo "Warning: pickdns and rbldns can't work on the same"
934 echo "IP address. You have to edit either %{_sysconfdir}/pickdns/env/IP"
935 echo "or %{_sysconfdir}/rbldns/env/IP."
937 if diff -u %{_sysconfdir}/{rbl,tiny}dns/env/IP >/dev/zero 2>&1;then
938 echo "Warning: rbldns and tinydns can't work on the same"
939 echo "IP address. You have to edit either %{_sysconfdir}/rbldns/env/IP"
940 echo "or %{_sysconfdir}/tinydns/env/IP."
942 if diff -u %{_sysconfdir}/{rbl,wall}dns/env/IP >/dev/zero 2>&1;then
943 echo "Warning: rbldns and walldns can't work on the same"
944 echo "IP address. You have to edit either %{_sysconfdir}/rbldns/env/IP"
945 echo "or %{_sysconfdir}/walldns/env/IP."
948 if [ -f /service/rbldns/supervise/lock ]; then
949 svc -t /service/rbldns{,/log}
953 if [ "$1" = "0" ]; then
954 # http://cr.yp.to/daemontools/faq/create.html#remove
955 if [ -f /service/rbldns/supervise/lock ]; then
963 if [ "$1" = "0" ]; then
968 %useradd -P %{name}-axfrdns -u 38 -r -d /etc/axfrdns -s /bin/false -c "djbdns User" -g djbdns axfrdns
971 if [ "$1" = "0" ]; then
972 # http://cr.yp.to/daemontools/faq/create.html#remove
973 if [ -f /service/axfrdns/supervise/lock ]; then
981 if [ "$1" = "0" ]; then
986 %defattr(644,root,root,755)
987 %doc CHANGES TODO MULTIPLEIP TINYDNS doc/*
988 %attr(755,root,root) %{_bindir}/cachetest
989 %attr(755,root,root) %{_bindir}/dns[f-t]*
990 %attr(755,root,root) %{_bindir}/axfr-get
992 %{_mandir}/man8/axfr-get*
993 %dir %attr(751,root,root) %dir /var/log/djbdns
996 %defattr(644,root,root,755)
997 %attr(755,root,root) %{_bindir}/dnscache*
998 %config %{_sysconfdir}/dnsroots.global
999 %dir %attr(1755,root,root) %{_sysconfdir}/dnscache
1000 %attr(700,root,root) %dir %{_sysconfdir}/dnscache/supervise
1001 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/dnscache/supervise/*
1003 %dir %attr(1755,root,root) %{_sysconfdir}/dnscache/log
1004 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dnscache/log/run
1005 %attr(700,root,root) %dir %{_sysconfdir}/dnscache/log/supervise
1006 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/dnscache/log/supervise/*
1007 %attr(751,dnslog,djbdns) %dir /var/log/djbdns/dnscache
1008 %attr(600,dnslog,djbdns) %ghost /var/log/djbdns/dnscache/lock
1009 %attr(640,dnslog,djbdns) %ghost /var/log/djbdns/dnscache/state
1011 %dir %attr(2755,root,root) %{_sysconfdir}/dnscache/env
1012 %config %{_sysconfdir}/dnscache/env/*
1013 %attr(755,root,root) %{_sysconfdir}/dnscache/run
1014 %dir %{_sysconfdir}/dnscache/root
1015 %dir %{_sysconfdir}/dnscache/root/ip
1016 %dir %{_sysconfdir}/dnscache/root/servers
1017 %config %attr(600,root,root) %{_sysconfdir}/dnscache/root/ip/*
1018 %config %{_sysconfdir}/dnscache/root/servers/*
1019 %attr(600,root,root) %ghost %{_sysconfdir}/dnscache/seed
1020 %{_mandir}/man8/dnscache*
1024 %defattr(644,root,root,755)
1025 %dir %attr(1755,root,root) %{_sysconfdir}/dnscachex
1026 %attr(700,root,root) %dir %{_sysconfdir}/dnscachex/supervise
1027 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/dnscachex/supervise/*
1029 %dir %attr(1755,root,root) %{_sysconfdir}/dnscachex/log
1030 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dnscachex/log/run
1031 %attr(700,root,root) %dir %{_sysconfdir}/dnscachex/log/supervise
1032 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/dnscachex/log/supervise/*
1033 %attr(751,dnslog,djbdns) %dir /var/log/djbdns/dnscachex
1034 %attr(600,dnslog,djbdns) %ghost /var/log/djbdns/dnscachex/lock
1035 %attr(640,dnslog,djbdns) %ghost /var/log/djbdns/dnscachex/state
1037 %dir %attr(2755,root,root) %{_sysconfdir}/dnscachex/env
1038 %config %{_sysconfdir}/dnscachex/env/*
1039 %attr(755,root,root) %{_sysconfdir}/dnscachex/run
1040 %dir %{_sysconfdir}/dnscachex/root
1041 %dir %{_sysconfdir}/dnscachex/root/ip
1042 %dir %{_sysconfdir}/dnscachex/root/servers
1043 %config %attr(600,root,root) %{_sysconfdir}/dnscachex/root/ip/*
1044 %config %{_sysconfdir}/dnscachex/root/servers/*
1045 %attr(600,root,root) %ghost %{_sysconfdir}/dnscachex/seed
1049 %defattr(644,root,root,755)
1050 %attr(755,root,root) %{_bindir}/tinydns*
1051 %dir %attr(3755,root,root) %{_sysconfdir}/tinydns
1052 %attr(700,root,root) %dir %{_sysconfdir}/tinydns/supervise
1053 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/tinydns/supervise/*
1055 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tinydns/log/run
1056 %dir %attr(1755,root,root) %{_sysconfdir}/tinydns/log
1057 %attr(700,root,root) %dir %{_sysconfdir}/tinydns/log/supervise
1058 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/tinydns/log/supervise/*
1059 %attr(751,dnslog,djbdns) %dir /var/log/djbdns/tinydns
1060 %attr(600,dnslog,djbdns) %ghost /var/log/djbdns/tinydns/lock
1061 %attr(640,dnslog,djbdns) %ghost /var/log/djbdns/tinydns/state
1063 %dir %attr(2755,root,root) %{_sysconfdir}/tinydns/env
1064 %config %{_sysconfdir}/tinydns/env/*
1065 %attr(755,root,root) %{_sysconfdir}/tinydns/run
1066 %dir %attr(2755,root,root) %{_sysconfdir}/tinydns/root
1067 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tinydns/root/Makefile
1068 %config %{_sysconfdir}/tinydns/root/data
1069 %attr(755,root,root) %{_sysconfdir}/tinydns/root/add-*
1070 %{_mandir}/man8/tinydns*
1073 %files tinydns-notify
1074 %defattr(644,root,root,755)
1075 %attr(755,root,root) %{_bindir}/tinydns-notify
1078 %defattr(644,root,root,755)
1079 %attr(755,root,root) %{_bindir}/pickdns*
1080 %dir %attr(3755,root,root) %{_sysconfdir}/pickdns
1081 %attr(700,root,root) %dir %{_sysconfdir}/pickdns/supervise
1082 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/pickdns/supervise/*
1084 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pickdns/log/run
1085 %dir %attr(1755,root,root) %{_sysconfdir}/pickdns/log
1086 %attr(700,root,root) %dir %{_sysconfdir}/pickdns/log/supervise
1087 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/pickdns/log/supervise/*
1088 %attr(751,dnslog,djbdns) %dir /var/log/djbdns/pickdns
1089 %attr(600,dnslog,djbdns) %ghost /var/log/djbdns/pickdns/lock
1090 %attr(640,dnslog,djbdns) %ghost /var/log/djbdns/pickdns/state
1092 %dir %attr(2755,root,root) %{_sysconfdir}/pickdns/env
1093 %config %{_sysconfdir}/pickdns/env/*
1094 %attr(755,root,root) %{_sysconfdir}/pickdns/run
1095 %dir %attr(2755,root,root) %{_sysconfdir}/pickdns/root
1096 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pickdns/root/Makefile
1097 %config %{_sysconfdir}/pickdns/root/data
1098 %{_mandir}/man8/pickdns*
1102 %defattr(644,root,root,755)
1103 %attr(755,root,root) %{_bindir}/walldns*
1104 %dir %attr(3755,root,root) %{_sysconfdir}/walldns
1105 %attr(700,root,root) %dir %{_sysconfdir}/walldns/supervise
1106 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/walldns/supervise/*
1108 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/walldns/log/run
1109 %dir %attr(1755,root,root) %{_sysconfdir}/walldns/log
1110 %attr(700,root,root) %dir %{_sysconfdir}/walldns/log/supervise
1111 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/walldns/log/supervise/*
1112 %attr(751,dnslog,djbdns) %dir /var/log/djbdns/walldns
1113 %attr(600,dnslog,djbdns) %ghost /var/log/djbdns/walldns/lock
1114 %attr(640,dnslog,djbdns) %ghost /var/log/djbdns/walldns/state
1116 %dir %attr(2755,root,root) %{_sysconfdir}/walldns/env
1117 %config %{_sysconfdir}/walldns/env/*
1118 %attr(755,root,root) %{_sysconfdir}/walldns/run
1119 %dir %attr(2755,root,root) %{_sysconfdir}/walldns/root
1120 %{_mandir}/man8/walldns*
1124 %defattr(644,root,root,755)
1125 %attr(755,root,root) %{_bindir}/rbldns*
1126 %dir %attr(3755,root,root) %{_sysconfdir}/rbldns
1127 %attr(700,root,root) %dir %{_sysconfdir}/rbldns/supervise
1128 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/rbldns/supervise/*
1130 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rbldns/log/run
1131 %dir %attr(1755,root,root) %{_sysconfdir}/rbldns/log
1132 %attr(700,root,root) %dir %{_sysconfdir}/rbldns/log/supervise
1133 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/rbldns/log/supervise/*
1134 %attr(751,dnslog,djbdns) %dir /var/log/djbdns/rbldns
1135 %attr(600,dnslog,djbdns) %ghost /var/log/djbdns/rbldns/lock
1136 %attr(640,dnslog,djbdns) %ghost /var/log/djbdns/rbldns/state
1138 %dir %attr(2755,root,root) %{_sysconfdir}/rbldns/env
1139 %config %{_sysconfdir}/rbldns/env/*
1140 %attr(755,root,root) %{_sysconfdir}/rbldns/run
1141 %dir %attr(2755,root,root) %{_sysconfdir}/rbldns/root
1142 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rbldns/root/Makefile
1143 %config %{_sysconfdir}/rbldns/root/data
1144 %{_mandir}/man8/rbldns*
1148 %defattr(644,root,root,755)
1149 %attr(755,root,root) %{_bindir}/axfrdns*
1150 %dir %attr(3755,root,root) %{_sysconfdir}/axfrdns
1151 %attr(700,root,root) %dir %{_sysconfdir}/axfrdns/supervise
1152 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/axfrdns/supervise/*
1154 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/axfrdns/log/run
1155 %dir %attr(1755,root,root) %{_sysconfdir}/axfrdns/log
1156 %attr(700,root,root) %dir %{_sysconfdir}/axfrdns/log/supervise
1157 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %ghost %{_sysconfdir}/axfrdns/log/supervise/*
1158 %attr(751,dnslog,djbdns) %dir /var/log/djbdns/axfrdns
1159 %attr(600,dnslog,djbdns) %ghost /var/log/djbdns/axfrdns/lock
1160 %attr(640,dnslog,djbdns) %ghost /var/log/djbdns/axfrdns/state
1162 %dir %attr(2755,root,root) %{_sysconfdir}/axfrdns/env
1163 %config %{_sysconfdir}/axfrdns/env/*
1164 %attr(755,root,root) %{_sysconfdir}/axfrdns/run
1165 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/axfrdns/Makefile
1166 %config %{_sysconfdir}/axfrdns/tcp
1167 %{_mandir}/man8/axfrdns*