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