]> git.pld-linux.org Git - packages/antinat.git/blame - antinat.spec
- grrr, time for breakfast
[packages/antinat.git] / antinat.spec
CommitLineData
e0e5ba44 1Summary: A SOCKS server for SOCKS4 and SOCKS5
2Summary(pl): Serwer SOCKS dla SOCKS4 SOCKS5
3Name: antinat
4Version: 0.64
5Release: 0.1
6License: GPL
7Group: Daemons
4af4b127 8Source0: http://yallara.cs.rmit.edu.au/%7Emalsmith/C0A00201/%{name}/%{name}-%{version}.tar.bz2
05993c30 9# Source0-md5: 08250f314de6203fb1ee1b542fcbb02f
2b09dcfb 10Patch0: %{name}-makefile.patch
e0e5ba44 11URL: http://yallara.cs.rmit.edu.au/~malsmith/products/antinat/
12BuildRequires: libds-devel >= 1.2.0
13Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16A SOCKS server for SOCKS4 and SOCKS5
17
18%description -l pl
19Serwer SOCKS dla SOCKS4 SOCKS5
20
21%package socks4
22Group: Daemons
23Requires: antinat = %{version}
24Summary: Support for SOCKS4 in antinat
25
26%description socks4
27Support for older style SOCKS4 connections in antinat. SOCKS4 is
28limited to anonymous only connections, and if authentication is
29required, do not install this package.
30
31%package logging
32Group: Daemons
33Requires: antinat = %{version}
34Summary: Support for logging in antinat
35
36%description logging
37Support for connection and summary logging in antinat.
38
39%package filtering
40Group: Daemons
41Requires: antinat = %{version}
42Summary: Support for filtering in antinat
43
44%description filtering
45Support for allowing and disallowing connections on the basis of some
46criteria in antinat. Included are filters for IPv4 source and
47destination addresses, as well as ports.
48
49%package anonymous
50Group: Daemons
51Requires: antinat = %{version}
52Summary: Support for anonymous SOCKS5 connections in antinat
53
54%description anonymous
55Support for anonymous (non-authenticated) connections in antinat. If
56this package is not installed, clients must give the username and
57password credentials of a user on the server to proceed. Note that
58socks4 will also provide anonymous connections, in effect.
59
60%package ipv6
61Group: Daemons
62Requires: antinat = %{version}
63Summary: Support for IPv6 connections in antinat
64
65%description ipv6
66Support for IPv6 connections, to allow the server to connect to v6
67hosts and be connected to from v6 hosts.
68
69%package udp
70Group: Daemons
71Requires: antinat = %{version}
72Summary: Support for UDP Association in antinat
73
74%description udp
75Support for UDP association over SOCKSv5. This allows hosts to send
76and 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
93rm -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
100rm -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
This page took 0.073393 seconds and 4 git commands to generate.