]> git.pld-linux.org Git - packages/freenet6-client.git/blob - freenet6-client.spec
forgot to commit
[packages/freenet6-client.git] / freenet6-client.spec
1 Summary:        Hexago's TSP Client
2 Summary(pl):    Klient TSP Hexago
3 Name:           freenet6-client
4 Version:        1.0
5 Release:        1
6 License:        HPL 1.0
7 Group:          Applications/System
8 Vendor:         Hexago
9 # http://www.freenet6.net/cgi-bin/download.cgi?fn=freenet6-client-1.0.tgz
10 Source0:        http://www.kernel.pl/~djurban/pld/%{name}-%{version}.tgz
11 # Source0-md5:  382450da40cd4334f39e4cad99c583ae
12 Source1:        freenet6.init
13 Source2:        tspc.conf
14 Patch0:         %{name}-paths.patch
15 URL:            http://www.freenet6.net
16 Requires:       glibc >= 2.2.1
17 Requires:       iproute2 >= 2.2.4
18 Requires:       net-tools >= 1.60
19 Requires:       radvd >= 0.6.2
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 TSP is a new initiative launched by Hexago, a private company in
24 Canada involved in IPv6 since 1996, to facilitate a faster deployment
25 of an IPv6 Internet. The Internet is deployed worldwide over IPv4 so
26 this project's goal is large scale deployment of IPv6 by using
27 configured tunnels.
28
29 Configured tunneling is a transition method standardized by IETF to
30 use IPv6 in coexistence with IPv4 by encapsulating IPv6 packets over
31 IPv4. Any host already connected to Internet with IPv4 which has an
32 IPv6 stack can establish a link to the Internet IPv6.
33
34 Freenet6, developed by Viagenie in 1999/2000, was the first public
35 tunnel server service and one of the most used in the world to
36 automatically delegate one single IPv6 address to any host already
37 connected to an IPv4 network over configured tunnel simply by filling
38 a web form and running a script. TSP represents another very important
39 step to accelerate the large scale deployment of IPv6 to everyone on
40 the net.
41
42 Instead of a web interface to request configured tunnels and IPv6
43 addresses, TSP is a new model based on a client/server approach. A
44 protocol is used to request a single IPv6 address to a full IPv6
45 prefix from a client to a tunnel server according to the IPv6 broker
46 model. The protocol could be integrated directly into the operating
47 system to provide a service like DHCP but for requesting IPv6
48 addresses or prefixes over an IPv4 network (Internet).
49
50 %description -l pl
51 TSP to nowa inicjatywa zapocz±tkowana przez Hexago - prywatn± firmê z
52 Kanady zaanga¿owan± w IPv6 od 1996 roku - aby u³atwiæ szybszy rozwój
53 Internetu IPv6. Internet jest rozwiniêty na ca³ym ¶wiecie w oparciu o
54 IPv4, wiêc celem tego projektu jest rozwiniêcie IPv6 na wielk± skalê
55 poprzez u¿ycie skonfigurowanych tuneli.
56
57 Skonfigurowane tunele to metoda przej¶ciowa ustandaryzowana przez IETF
58 w celu u¿ywania IPv6 w koegzystencji z IPv4 poprzez pakowanie pakietów
59 IPv6 w IPv4. Dowolny host pod³±czony do Internetu po IPv4 maj±cy stos
60 IPv6 mo¿e ³±czyæ siê z Internetem IPv6.
61
62 Freenet6 rozwijany przez Viagenie w latach 1999-2000 by³ pierwszym
63 publicznym serwerem tuneli i jednym z najbardziej u¿ywanych na ¶wiecie
64 do automatycznego delegowania pojedynczych adresów IPv6 do dowolnego
65 hosta ju¿ pod³±czonego do sieci IPv4 poprzez skonfigurowany tunel po
66 zwyk³ym wype³nieniu formularza WWW i uruchomieniu skryptu. TSP
67 reprezentuje kolejny bardzo wa¿ny krok do przyspieszenia rozwoju IPv6
68 na szersz± skalê.
69
70 Zamiast interfejsu WWW do ¿±dania skonfigurowanych tuneli i adresów
71 IPv6, TSP jest nowym modelem opartym na komunikacji klient/serwer.
72 Protokó³ jest u¿ywany do ¿±dania od pojedynczego adresu IPv6 do
73 pe³nego prefiksu IPv6 od klienta do serwera tuneli zgodnie z modelem
74 brokera IPv6. Protokó³ mo¿e byæ zintegrowany z systemem operacyjnym,
75 aby udostêpniæ us³ugê typu DHCP, ale do ¿±dania adresów lub prefiksów
76 IPv6 po sieci IPv4 (Internecie).
77
78 %prep
79 %setup -q
80 %patch0 -p1
81
82 %build
83 CFLAGS="%{rpmcflags}" \
84 %{__make} all \
85         target=linux \
86         installdir=$RPM_BUILD_ROOT
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install \
92         target=linux \
93         installdir=$RPM_BUILD_ROOT
94
95 install -d $RPM_BUILD_ROOT{%{_datadir},%{_sysconfdir}}/tspc
96 install -d $RPM_BUILD_ROOT{%{_initrddir},%{_sbindir}}
97 install -d $RPM_BUILD_ROOT%{_mandir}/man{5,8}
98
99 mv $RPM_BUILD_ROOT/template/linux.sh $RPM_BUILD_ROOT%{_datadir}/tspc
100 mv $RPM_BUILD_ROOT/template/checktunnel.sh $RPM_BUILD_ROOT%{_datadir}/tspc
101 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/tspc
102 cp $RPM_BUILD_ROOT/man/man5/tspc.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5
103 cp $RPM_BUILD_ROOT/man/man8/tspc.8 $RPM_BUILD_ROOT%{_mandir}/man8
104 mv $RPM_BUILD_ROOT/bin/tspc $RPM_BUILD_ROOT%{_sbindir}
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %files
110 %defattr(644,root,root,755)
111 %doc README LEGAL CONTRIB.txt UPDATES
112 %attr(755,root,root) %{_sbindir}/tspc
113 %dir %{_sysconfdir}/tspc
114 %{_sysconfdir}/tspc/tspc.conf
115 %attr(754,root,root) %{_initrddir}/*
116 %{_datadir}/tspc
117 %{_mandir}/man5/*
118 %{_mandir}/man8/*
This page took 0.108068 seconds and 3 git commands to generate.