1 Summary: A caching dns proxy for small networks or dialin accounts
2 Summary(pl): DNS proxy serwer dla ma³ej sieci lub jednostki z po³±czeniem dialup
7 Group: Networking/Daemons
8 Group(de): Netzwerkwesen/Server
9 Group(pl): Sieciowe/Serwery
11 Source0: http://home.t-online.de/home/Moestl/%{name}-%{version}.tar.bz2
13 URL: http://home.t-online.de/home/Moestl/
15 BuildRequires: autoconf
16 BuildRequires: automake
18 Prereq: /sbin/chkconfig
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 pdnsd is a proxy DNS daemon with permanent (disk-)cache and the
23 ability to serve local records. It is designed to detect network
24 outages or hangups and to prevent DNS-dependent applications like
25 Netscape Navigator from hanging.
28 pdnsd jest serwerem proxy do us³ugi DNS zapisujacym bufor ze
29 zgromadzonymi informacjami na dysku. Bêdzie on szczególnie u¿yteczny
30 dla jednostki pracujacej w trybie off-line (np. poprzez po³±czenie
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
48 DESTDIR=$RPM_BUILD_ROOT
49 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/pdnsd
50 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/pdnsd.conf.sample \
51 $RPM_BUILD_ROOT%{_sysconfdir}/pdnsd.conf
53 gzip -9nf AUTHORS ChangeLog NEWS README TODO \
57 rm -rf $RPM_BUILD_ROOT
60 /sbin/chkconfig --add pdnsd
61 if [ -f %{_localstatedir}/lock/subsys/pdnsd ]; then
62 /etc/rc.d/init.d/pdnsd restart >&2
64 echo "Run \"/etc/rc.d/init.d/pdnsd start\" to start pdnsd." >&2
68 if [ "$1" = "0" ]; then
69 if [ -f %{_localstatedir}/lock/subsys/pdnsd ]; then
70 /etc/rc.d/init.d/pdnsd stop
72 /sbin/chkconfig --del pdnsd
76 %defattr(644,root,root,755)
77 %doc {*,doc/txt/*}.gz doc/html/*.html
78 %attr(754,root,root) /etc/rc.d/init.d/pdnsd
79 %attr(755,root,root) %{_sbindir}/pdnsd
80 %attr(755,root,root) %{_sbindir}/pdnsd-ctl
81 %attr(770,nobody,nobody) %dir %{_var}/cache/pdnsd
82 %attr(660,nobody,nobody) %config(noreplace) %verify(not md5 size mtime) %{_var}/cache/pdnsd/pdnsd.cache
83 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/pdnsd.conf