1 Summary: A SOCKS server for SOCKS4 and SOCKS5
2 Summary(pl.UTF-8): Serwer SOCKS dla SOCKS4 i SOCKS5
8 Source0: http://dl.sourceforge.net/antinat/%{name}-%{version}.tar.bz2
9 # Source0-md5: 842899a5fa705df1b0b8d8edee372fa2
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://antinat.sourceforge.net/
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)
19 # *.so are installed there
20 %define _datadir %{_libdir}
21 %define _localstatedir /var/lib
24 A SOCKS server for SOCKS4 and SOCKS5.
26 %description -l pl.UTF-8
27 Serwer SOCKS dla SOCKS4 i SOCKS5.
30 Summary: Support for SOCKS4 in antinat
31 Summary(pl.UTF-8): Wsparcie w antinacie dla SOCKS4
33 Requires: %{name} = %{version}-%{release}
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.
40 %description socks4 -l pl.UTF-8
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.
46 Summary: Support for logging in antinat
47 Summary(pl.UTF-8): Wsparcie dla logowania przez antinata
49 Requires: %{name} = %{version}-%{release}
52 Support for connection and summary logging in antinat.
54 %description logging -l pl.UTF-8
55 Wsparcie dla logowania połączeń i podsumowań przez antinata.
58 Summary: Support for filtering in antinat
59 Summary(pl.UTF-8): Wsparcie dla filtrowania przez antinata
61 Requires: %{name} = %{version}-%{release}
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.
68 %description filtering -l pl.UTF-8
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.
74 Summary: Support for anonymous SOCKS5 connections in antinat
75 Summary(pl.UTF-8): Wsparcie w antinacie dla anonimowych połączeń SOCKS5
77 Requires: %{name} = %{version}-%{release}
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
86 %description anonymous -l pl.UTF-8
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
94 Summary: Support for IPv6 connections in antinat
95 Summary(pl.UTF-8): Wsparcie w antinacie dla połączeń IPv6
97 Requires: %{name} = %{version}-%{release}
100 Support for IPv6 connections, to allow the server to connect to v6
101 hosts and be connected to from v6 hosts.
103 %description ipv6 -l pl.UTF-8
104 Wsparcie dla połączeń IPv6 umożliwiające serwerowi łączenie sie z i do
108 Summary: Support for UDP association in antinat
109 Summary(pl.UTF-8): Wsparcie w antinacie dla kojarzenia UDP
111 Requires: %{name} = %{version}-%{release}
114 Support for UDP association over SOCKSv5. This allows hosts to send
115 and receive UDP packets through the SOCKS server.
117 %description udp -l pl.UTF-8
118 Wsparcie dla kojarzenia UDP poprzez SOCKSv5. Umożliwia to wysyłanie i
119 odbiór pakietów za pośrednictwem serwera SOCKS.
131 # --datadir=%{_libdir}
135 rm -rf $RPM_BUILD_ROOT
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
146 rm -rf $RPM_BUILD_ROOT
149 %defattr(644,root,root,755)
151 %config(noreplace) %verify(not md5 mtime size) %{_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
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_libdir}/%{name}/version4
176 %attr(755,root,root) %{_libdir}/%{name}/versions/libv4.so
179 %defattr(644,root,root,755)
180 %attr(755,root,root) %{_libdir}/%{name}/loggers
181 %{_localstatedir}/%{name}
184 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_libdir}/%{name}/filters
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_libdir}/%{name}/version5/authenticators/libanon.so
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
198 %defattr(644,root,root,755)
199 %attr(755,root,root) %{_libdir}/%{name}/version5/commands/libudp.so