]>
Commit | Line | Data |
---|---|---|
e0e5ba44 | 1 | Summary: A SOCKS server for SOCKS4 and SOCKS5 |
2 | Summary(pl): Serwer SOCKS dla SOCKS4 SOCKS5 | |
3 | Name: antinat | |
4 | Version: 0.64 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: Daemons | |
8 | Source0: http://yallara.cs.rmit.edu.au/~malsmith/products/antinat/%{name}-%{version}.tar.bz2 | |
05993c30 | 9 | # Source0-md5: 08250f314de6203fb1ee1b542fcbb02f |
e0e5ba44 | 10 | URL: http://yallara.cs.rmit.edu.au/~malsmith/products/antinat/ |
11 | BuildRequires: libds-devel >= 1.2.0 | |
12 | Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | A SOCKS server for SOCKS4 and SOCKS5 | |
16 | ||
17 | %description -l pl | |
18 | Serwer SOCKS dla SOCKS4 SOCKS5 | |
19 | ||
20 | %package socks4 | |
21 | Group: Daemons | |
22 | Requires: antinat = %{version} | |
23 | Summary: Support for SOCKS4 in antinat | |
24 | ||
25 | %description socks4 | |
26 | Support for older style SOCKS4 connections in antinat. SOCKS4 is | |
27 | limited to anonymous only connections, and if authentication is | |
28 | required, do not install this package. | |
29 | ||
30 | %package logging | |
31 | Group: Daemons | |
32 | Requires: antinat = %{version} | |
33 | Summary: Support for logging in antinat | |
34 | ||
35 | %description logging | |
36 | Support for connection and summary logging in antinat. | |
37 | ||
38 | %package filtering | |
39 | Group: Daemons | |
40 | Requires: antinat = %{version} | |
41 | Summary: Support for filtering in antinat | |
42 | ||
43 | %description filtering | |
44 | Support for allowing and disallowing connections on the basis of some | |
45 | criteria in antinat. Included are filters for IPv4 source and | |
46 | destination addresses, as well as ports. | |
47 | ||
48 | %package anonymous | |
49 | Group: Daemons | |
50 | Requires: antinat = %{version} | |
51 | Summary: Support for anonymous SOCKS5 connections in antinat | |
52 | ||
53 | %description anonymous | |
54 | Support for anonymous (non-authenticated) connections in antinat. If | |
55 | this package is not installed, clients must give the username and | |
56 | password credentials of a user on the server to proceed. Note that | |
57 | socks4 will also provide anonymous connections, in effect. | |
58 | ||
59 | %package ipv6 | |
60 | Group: Daemons | |
61 | Requires: antinat = %{version} | |
62 | Summary: Support for IPv6 connections in antinat | |
63 | ||
64 | %description ipv6 | |
65 | Support for IPv6 connections, to allow the server to connect to v6 | |
66 | hosts and be connected to from v6 hosts. | |
67 | ||
68 | %package udp | |
69 | Group: Daemons | |
70 | Requires: antinat = %{version} | |
71 | Summary: Support for UDP Association in antinat | |
72 | ||
73 | %description udp | |
74 | Support for UDP association over SOCKSv5. This allows hosts to send | |
75 | and receive UDP packets through the SOCKS server. | |
76 | ||
77 | %prep | |
78 | %setup -q | |
79 | ||
80 | %build | |
81 | export CXXFLAGS="-O2" | |
82 | %configure --datadir=%{_libdir} --with-ipv6 | |
83 | %{__make} | |
84 | ||
85 | %install | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | %{__make} install \ | |
88 | datadir=$RPM_BUILD_ROOT%{_libdir} | |
89 | ||
90 | %clean | |
91 | rm -fR $RPM_BUILD_ROOT | |
92 | ||
93 | %files | |
94 | %defattr(644,root,root,755) | |
95 | %doc COPYING README TODO | |
96 | %config(noreplace) %{_sysconfdir}/antinat.conf | |
97 | %attr(755,root,root) %{_bindir}/* | |
98 | %{_mandir}/* | |
99 | %{_libdir}/antinat-%{version}/address/libipv4.so | |
100 | %{_libdir}/antinat-%{version}/version5/authenticators/libunpw.so | |
101 | %{_libdir}/antinat-%{version}/version5/authenticators/unpwsources | |
102 | %{_libdir}/antinat-%{version}/version5/commands/libconn.so | |
103 | %{_libdir}/antinat-%{version}/version5/commands/libbind.so | |
104 | %{_libdir}/antinat-%{version}/version5/commands/libident.so | |
105 | %{_libdir}/antinat-%{version}/resolvers/libipv4.so | |
106 | %{_libdir}/antinat-%{version}/resolvers/libname.so | |
107 | %{_libdir}/antinat-%{version}/revres/libipv4.so | |
108 | %{_libdir}/antinat-%{version}/versions/libv5.so | |
109 | ||
110 | %files socks4 | |
111 | %defattr(644,root,root,755) | |
112 | %{_libdir}/antinat-%{version}/version4/* | |
113 | %{_libdir}/antinat-%{version}/versions/libv4.so | |
114 | ||
115 | %files logging | |
116 | %defattr(644,root,root,755) | |
117 | %{_libdir}/antinat-%{version}/loggers/* | |
118 | %{_localstatedir} | |
119 | ||
120 | %files filtering | |
121 | %defattr(644,root,root,755) | |
122 | %{_libdir}/antinat-%{version}/filters/* | |
123 | ||
124 | %files anonymous | |
125 | %defattr(644,root,root,755) | |
126 | %{_libdir}/antinat-%{version}/version5/authenticators/libanon.so | |
127 | ||
128 | %files ipv6 | |
129 | %defattr(644,root,root,755) | |
130 | %{_libdir}/antinat-%{version}/address/libipv6.so | |
131 | %{_libdir}/antinat-%{version}/resolvers/libipv6.so | |
132 | %{_libdir}/antinat-%{version}/revres/libipv6.so | |
133 | ||
134 | %files udp | |
135 | %defattr(644,root,root,755) | |
136 | %{_libdir}/antinat-%{version}/version5/commands/libudp.so |