1 Summary: A caching dns proxy for small networks or dialin accounts
10 Source0: http://home.t-online.de/home/Moestl/%{name}-%{version}.tar.bz2
11 URL: http://home.t-online.de/home/Moestl/
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 pdnsd is a proxy DNS daemon with permanent (disk-)cache and the
16 ability to serve local records. It is designed to detect network
17 outages or hangups and to prevent DNS-dependent applications like
18 Netscape Navigator from hanging.
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
33 DESTDIR=$RPM_BUILD_ROOT
35 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/pdnsd
37 gzip -9nf AUTHORS ChangeLog NEWS README TODO
40 rm -rf $RPM_BUILD_ROOT
43 /sbin/chkconfig --add pdnsd
46 if [ "$1" = "0" ]; then
47 /sbin/chkconfig --del pdnsd
51 %defattr(644,root,root,755)
52 %doc *.gz doc/html/index.html doc/html/dl.html doc/html/doc.html doc/html/faq.html
53 %doc doc/txt/intro.txt doc/txt/manual.txt doc/txt/faq.txt
54 %config %{_sysconfdir}/pdnsd.conf
57 %attr(755,root,root) %{_sbindir}/pdnsd
58 %attr(754,root,root) /etc/rc.d/init.d/pdnsd