1 Summary: DNS proxy that supports IPv6 <==> IPv4 record translation
2 Summary(pl.UTF-8): Proxy DNS obsługujący tłumaczenie rekordów IPv6 <==> IPv4
7 Group: Networking/Daemons
8 Source0: ftp://ftp.pasta.cs.uit.no/pub/Vermicelli/%{name}-%{version}.tar.gz
9 # Source0-md5: 7edaedae9f6aca5912dd6c123582cf08
12 Patch0: %{name}-Makefile.in.patch
13 Patch1: %{name}-buildfix.patch
14 URL: http://www.vermicelli.pasta.cs.uit.no/ipv6/software.html
16 Requires(post,preun): /sbin/chkconfig
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Totd is a small DNS proxy nameserver that supports IPv6 only
21 hosts/networks that communicate with the IPv4 world using some
22 translation mechanism. Examples of such translation mechanisms
24 - IPv6/IPv4 Network Address and Packet Translation (NAT-PT)
25 implemented e.g. by Cisco.
26 - Application level translators as the faithd implemented by the KAME
27 project (http://www.kame.net/) or pTRTd
28 (http://v6web.litech.org/ptrtd/)
30 %description -l pl.UTF-8
31 Totd to mały serwer proxy dla serwera nazw (DNS) obsługujący hosty i
32 sieci tylko IPv6 komunikujący się ze światem IPv4 przy użyciu jakiegoś
33 mechanizmu tłumaczenia. Przykładami takich mechanizmów tłumaczenia
34 aktualnie będących w użyciu są:
35 - tłumaczenie adresów sieciowych i pakietów IPv6/IPv4 (NAT-PT -
36 Network Address and Packet Translation), zaimplementowane m.in.
38 - tłumaczenie na poziomie aplikacji, jak np. faithd zaimplementowany
39 przez KAME (http://www.kame.net/) albo pTRTd
40 (http://v6web.litech.org/ptrtd/)
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{_sbindir}
54 install -d $RPM_BUILD_ROOT%{_sysconfdir}
55 install -d $RPM_BUILD_ROOT%{_mandir}/man8
56 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
59 DESTDIR=$RPM_BUILD_ROOT
61 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/totd
62 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/totd.conf
65 rm -rf $RPM_BUILD_ROOT
68 /sbin/chkconfig --add totd
71 if [ "$1" = "0 "]; then
72 /etc/rc.d/init.d/totd stop >&2
73 /sbin/chkconfig --del totd
77 if [ "$1" -ge "1" ]; then
78 /etc/rc.d/init.d/totd condrestart >&2
82 %defattr(644,root,root,755)
84 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/totd.conf
85 %attr(754,root,root) /etc/rc.d/init.d/*
86 %attr(755,root,root) %{_sbindir}/*