]> git.pld-linux.org Git - packages/antinat.git/blame - antinat.spec
- md5
[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
8Source0: http://yallara.cs.rmit.edu.au/~malsmith/products/antinat/%{name}-%{version}.tar.bz2
05993c30 9# Source0-md5: 08250f314de6203fb1ee1b542fcbb02f
e0e5ba44 10URL: http://yallara.cs.rmit.edu.au/~malsmith/products/antinat/
11BuildRequires: libds-devel >= 1.2.0
12Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15A SOCKS server for SOCKS4 and SOCKS5
16
17%description -l pl
18Serwer SOCKS dla SOCKS4 SOCKS5
19
20%package socks4
21Group: Daemons
22Requires: antinat = %{version}
23Summary: Support for SOCKS4 in antinat
24
25%description socks4
26Support for older style SOCKS4 connections in antinat. SOCKS4 is
27limited to anonymous only connections, and if authentication is
28required, do not install this package.
29
30%package logging
31Group: Daemons
32Requires: antinat = %{version}
33Summary: Support for logging in antinat
34
35%description logging
36Support for connection and summary logging in antinat.
37
38%package filtering
39Group: Daemons
40Requires: antinat = %{version}
41Summary: Support for filtering in antinat
42
43%description filtering
44Support for allowing and disallowing connections on the basis of some
45criteria in antinat. Included are filters for IPv4 source and
46destination addresses, as well as ports.
47
48%package anonymous
49Group: Daemons
50Requires: antinat = %{version}
51Summary: Support for anonymous SOCKS5 connections in antinat
52
53%description anonymous
54Support for anonymous (non-authenticated) connections in antinat. If
55this package is not installed, clients must give the username and
56password credentials of a user on the server to proceed. Note that
57socks4 will also provide anonymous connections, in effect.
58
59%package ipv6
60Group: Daemons
61Requires: antinat = %{version}
62Summary: Support for IPv6 connections in antinat
63
64%description ipv6
65Support for IPv6 connections, to allow the server to connect to v6
66hosts and be connected to from v6 hosts.
67
68%package udp
69Group: Daemons
70Requires: antinat = %{version}
71Summary: Support for UDP Association in antinat
72
73%description udp
74Support for UDP association over SOCKSv5. This allows hosts to send
75and receive UDP packets through the SOCKS server.
76
77%prep
78%setup -q
79
80%build
81export CXXFLAGS="-O2"
82%configure --datadir=%{_libdir} --with-ipv6
83%{__make}
84
85%install
86rm -rf $RPM_BUILD_ROOT
87%{__make} install \
88 datadir=$RPM_BUILD_ROOT%{_libdir}
89
90%clean
91rm -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
This page took 0.08898 seconds and 4 git commands to generate.