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