]> git.pld-linux.org Git - packages/antinat.git/blob - antinat.spec
- updated to 0.66
[packages/antinat.git] / antinat.spec
1 Summary:        A SOCKS server for SOCKS4 and SOCKS5
2 Summary(pl):    Serwer SOCKS dla SOCKS4 i SOCKS5
3 Name:           antinat
4 Version:        0.66
5 Release:        0.1
6 License:        GPL
7 Group:          Daemons
8 Source0:        http://yallara.cs.rmit.edu.au/%7Emalsmith/C0A00201/%{name}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  98a447c933bf604bd5236df700994fa8
10 # doesn't exist in SOURCES but probably needed to do s/%{name}-%{version}/%{name}/ and add DESTDIR
11 #Patch0:                %{name}-makefile.patch
12 URL:            http://yallara.cs.rmit.edu.au/~malsmith/products/antinat/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libds-devel >= 1.2.0
16 BuildRequires:  libtool
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 # *.so are installed there
20 %define         _datadir        %{_libdir}
21 %define         _localstatedir  /var/lib
22
23 %description
24 A SOCKS server for SOCKS4 and SOCKS5.
25
26 %description -l pl
27 Serwer SOCKS dla SOCKS4 i SOCKS5.
28
29 %package socks4
30 Summary:        Support for SOCKS4 in antinat
31 Summary(pl):    Wsparcie w antinacie dla SOCKS4
32 Group:          Daemons
33 Requires:       %{name} = %{version}
34
35 %description socks4
36 Support for older style SOCKS4 connections in antinat. SOCKS4 is
37 limited to anonymous only connections, and if authentication is
38 required, do not install this package.
39
40 %description socks4 -l pl
41 Wsparcie w antinacie dla starego typu po³±czeñ SOCKS4. SOCKS4 jest
42 ograniczone do po³±czeñ anonimowych, wiêc je¶li wymagana jest
43 autoryzacja, nie nale¿y instalowaæ tego pakietu.
44
45 %package logging
46 Summary:        Support for logging in antinat
47 Summary(pl):    Wsparcie dla logowania przez antinata
48 Group:          Daemons
49 Requires:       %{name} = %{version}
50
51 %description logging
52 Support for connection and summary logging in antinat.
53
54 %description logging -l pl
55 Wsparcie dla logowania po³±czeñ i podsumowañ przez antinata.
56
57 %package filtering
58 Summary:        Support for filtering in antinat
59 Summary(pl):    Wsparcie dla filtrowania przez antinata
60 Group:          Daemons
61 Requires:       %{name} = %{version}
62
63 %description filtering
64 Support for allowing and disallowing connections on the basis of some
65 criteria in antinat. Included are filters for IPv4 source and
66 destination addresses, as well as ports.
67
68 %description filtering -l pl
69 Wsparcie dla umo¿liwiania i blokowania przez antinata po³±czeñ w
70 oparciu o pewne kryteria. Zawiera filtry dzia³aj±ce w oparciu o adresy
71 ¼ród³owe i docelowe, jak te¿ w oparciu o porty.
72
73 %package anonymous
74 Summary:        Support for anonymous SOCKS5 connections in antinat
75 Summary(pl):    Wsparcie w antinacie dla anonimowych po³±czeñ SOCKS5
76 Group:          Daemons
77 Requires:       %{name} = %{version}
78
79 %description anonymous
80 Support for anonymous (non-authenticated) connections in antinat. If
81 this package is not installed, clients must give the username and
82 password credentials of a user on the server to proceed. Note that
83 antinat-socks4 package will also provide anonymous connections, in
84 effect.
85
86 %description anonymous -l pl
87 Wsparcie w antinacie dla po³±czeñ anonimowych (nie autoryzowanych).
88 Gdy ten pakiet nie jest zainstalowany, konieczne jest podanie przez
89 klienta nazwy i has³a u¿ytkownika na serwerze. Nale¿y zauwa¿yæ, ¿e
90 pakiet antinat-socks4 równie¿ w zasadzie umo¿liwia po³±czenia
91 anonimowe.
92
93 %package ipv6
94 Summary:        Support for IPv6 connections in antinat
95 Summary(pl):    Wsparcie w antinacie dla po³±czeñ IPv6
96 Group:          Daemons
97 Requires:       %{name} = %{version}
98
99 %description ipv6
100 Support for IPv6 connections, to allow the server to connect to v6
101 hosts and be connected to from v6 hosts.
102
103 %description ipv6 -l pl
104 Wsparcie dla po³±czeñ IPv6 umo¿liwiaj±ce serwerowi ³±czenie sie z i do
105 hostów IPv6.
106
107 %package udp
108 Summary:        Support for UDP association in antinat
109 Summary(pl):    Wsparcie w antinacie dla kojarzenia UDP
110 Group:          Daemons
111 Requires:       %{name} = %{version}
112
113 %description udp
114 Support for UDP association over SOCKSv5. This allows hosts to send
115 and receive UDP packets through the SOCKS server.
116
117 %description udp -l pl
118 Wsparcie dla kojarzenia UDP poprzez SOCKSv5. Umo¿liwia to wysy³anie i
119 odbiór pakietów za po¶rednictwem serwera SOCKS.
120
121 %prep
122 %setup -q
123 #%patch0 -p1
124
125 %build
126 %{__libtoolize}
127 %{__aclocal}
128 %{__autoconf}
129 %configure \
130         --with-ipv6
131 #       --datadir=%{_libdir}
132 %{__make}
133
134 %install
135 rm -rf $RPM_BUILD_ROOT
136
137 %{__make} install \
138         bindir=$RPM_BUILD_ROOT%{_bindir} \
139         datadir=$RPM_BUILD_ROOT%{_libdir} \
140         localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
141         mandir=$RPM_BUILD_ROOT%{_mandir} \
142         sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}
143 #       DESTDIR=$RPM_BUILD_ROOT
144
145 %clean
146 rm -fR $RPM_BUILD_ROOT
147
148 %files
149 %defattr(644,root,root,755)
150 %doc README TODO
151 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/antinat.conf
152 %attr(755,root,root) %{_bindir}/*
153 %dir %{_libdir}/%{name}
154 %dir %{_libdir}/%{name}/address
155 %attr(755,root,root) %{_libdir}/%{name}/address/libipv4.so
156 %dir %{_libdir}/%{name}/version5
157 %dir %{_libdir}/%{name}/version5/authenticators
158 %attr(755,root,root) %{_libdir}/%{name}/version5/authenticators/libunpw.so
159 %attr(755,root,root) %{_libdir}/%{name}/version5/authenticators/unpwsources
160 %dir %{_libdir}/%{name}/version5/commands
161 %attr(755,root,root) %{_libdir}/%{name}/version5/commands/libconn.so
162 %attr(755,root,root) %{_libdir}/%{name}/version5/commands/libbind.so
163 %attr(755,root,root) %{_libdir}/%{name}/version5/commands/libident.so
164 %dir %{_libdir}/%{name}/resolvers
165 %attr(755,root,root) %{_libdir}/%{name}/resolvers/libipv4.so
166 %attr(755,root,root) %{_libdir}/%{name}/resolvers/libname.so
167 %dir %{_libdir}/%{name}/revres
168 %attr(755,root,root) %{_libdir}/%{name}/revres/libipv4.so
169 %dir %{_libdir}/%{name}/versions
170 %attr(755,root,root) %{_libdir}/%{name}/versions/libv5.so
171 %{_mandir}/man[15]/*
172
173 %files socks4
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_libdir}/%{name}/version4
176 %attr(755,root,root) %{_libdir}/%{name}/versions/libv4.so
177
178 %files logging
179 %defattr(644,root,root,755)
180 %attr(755,root,root) %{_libdir}/%{name}/loggers
181 %{_localstatedir}/%{name}
182
183 %files filtering
184 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_libdir}/%{name}/filters
186
187 %files anonymous
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_libdir}/%{name}/version5/authenticators/libanon.so
190
191 %files ipv6
192 %defattr(644,root,root,755)
193 %attr(755,root,root) %{_libdir}/%{name}/address/libipv6.so
194 %attr(755,root,root) %{_libdir}/%{name}/resolvers/libipv6.so
195 %attr(755,root,root) %{_libdir}/%{name}/revres/libipv6.so
196
197 %files udp
198 %defattr(644,root,root,755)
199 %attr(755,root,root) %{_libdir}/%{name}/version5/commands/libudp.so
This page took 0.115657 seconds and 3 git commands to generate.