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