]> git.pld-linux.org Git - packages/antinat.git/blame - antinat.spec
- unified %clean section; try 2
[packages/antinat.git] / antinat.spec
CommitLineData
e0e5ba44 1Summary: A SOCKS server for SOCKS4 and SOCKS5
8f90e547 2Summary(pl.UTF-8): Serwer SOCKS dla SOCKS4 i SOCKS5
e0e5ba44 3Name: antinat
a0720dcc 4Version: 0.71
805f77ea 5Release: 0.1
e0e5ba44 6License: GPL
7Group: Daemons
a4079ed0 8Source0: http://dl.sourceforge.net/antinat/%{name}-%{version}.tar.bz2
a0720dcc 9# Source0-md5: 842899a5fa705df1b0b8d8edee372fa2
0268ef78
JB
10# doesn't exist in SOURCES but probably needed to do s/%{name}-%{version}/%{name}/ and add DESTDIR
11#Patch0: %{name}-makefile.patch
9dae9fcb 12URL: http://antinat.sourceforge.net/
0268ef78
JB
13BuildRequires: autoconf
14BuildRequires: automake
805f77ea 15BuildRequires: libds-devel >= 1.2.0
0268ef78 16BuildRequires: libtool
96ab5a89 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
e0e5ba44 18
0268ef78
JB
19# *.so are installed there
20%define _datadir %{_libdir}
21%define _localstatedir /var/lib
22
e0e5ba44 23%description
a164647a 24A SOCKS server for SOCKS4 and SOCKS5.
e0e5ba44 25
4a76fe6c 26%description -l pl.UTF-8
a164647a 27Serwer SOCKS dla SOCKS4 i SOCKS5.
e0e5ba44 28
29%package socks4
a164647a 30Summary: Support for SOCKS4 in antinat
8f90e547 31Summary(pl.UTF-8): Wsparcie w antinacie dla SOCKS4
e0e5ba44 32Group: Daemons
1df26a54 33Requires: %{name} = %{version}-%{release}
e0e5ba44 34
35%description socks4
36Support for older style SOCKS4 connections in antinat. SOCKS4 is
37limited to anonymous only connections, and if authentication is
38required, do not install this package.
39
4a76fe6c
JR
40%description socks4 -l pl.UTF-8
41Wsparcie w antinacie dla starego typu połączeń SOCKS4. SOCKS4 jest
42ograniczone do połączeń anonimowych, więc jeśli wymagana jest
43autoryzacja, nie należy instalować tego pakietu.
a164647a 44
e0e5ba44 45%package logging
a164647a 46Summary: Support for logging in antinat
8f90e547 47Summary(pl.UTF-8): Wsparcie dla logowania przez antinata
e0e5ba44 48Group: Daemons
1df26a54 49Requires: %{name} = %{version}-%{release}
e0e5ba44 50
51%description logging
52Support for connection and summary logging in antinat.
53
4a76fe6c
JR
54%description logging -l pl.UTF-8
55Wsparcie dla logowania połączeń i podsumowań przez antinata.
a164647a 56
e0e5ba44 57%package filtering
a164647a 58Summary: Support for filtering in antinat
8f90e547 59Summary(pl.UTF-8): Wsparcie dla filtrowania przez antinata
e0e5ba44 60Group: Daemons
1df26a54 61Requires: %{name} = %{version}-%{release}
e0e5ba44 62
63%description filtering
64Support for allowing and disallowing connections on the basis of some
65criteria in antinat. Included are filters for IPv4 source and
66destination addresses, as well as ports.
67
4a76fe6c
JR
68%description filtering -l pl.UTF-8
69Wsparcie dla umożliwiania i blokowania przez antinata połączeń w
70oparciu o pewne kryteria. Zawiera filtry działające w oparciu o adresy
71źródłowe i docelowe, jak też w oparciu o porty.
a164647a 72
e0e5ba44 73%package anonymous
a164647a 74Summary: Support for anonymous SOCKS5 connections in antinat
8f90e547 75Summary(pl.UTF-8): Wsparcie w antinacie dla anonimowych połączeń SOCKS5
e0e5ba44 76Group: Daemons
1df26a54 77Requires: %{name} = %{version}-%{release}
e0e5ba44 78
79%description anonymous
80Support for anonymous (non-authenticated) connections in antinat. If
81this package is not installed, clients must give the username and
82password credentials of a user on the server to proceed. Note that
381b90ba 83antinat-socks4 package will also provide anonymous connections, in
84effect.
85
4a76fe6c
JR
86%description anonymous -l pl.UTF-8
87Wsparcie w antinacie dla połączeń anonimowych (nie autoryzowanych).
381b90ba 88Gdy ten pakiet nie jest zainstalowany, konieczne jest podanie przez
4a76fe6c
JR
89klienta nazwy i hasła użytkownika na serwerze. Należy zauważyć, że
90pakiet antinat-socks4 również w zasadzie umożliwia połączenia
381b90ba 91anonimowe.
e0e5ba44 92
93%package ipv6
a164647a 94Summary: Support for IPv6 connections in antinat
8f90e547 95Summary(pl.UTF-8): Wsparcie w antinacie dla połączeń IPv6
e0e5ba44 96Group: Daemons
1df26a54 97Requires: %{name} = %{version}-%{release}
e0e5ba44 98
99%description ipv6
100Support for IPv6 connections, to allow the server to connect to v6
101hosts and be connected to from v6 hosts.
102
4a76fe6c
JR
103%description ipv6 -l pl.UTF-8
104Wsparcie dla połączeń IPv6 umożliwiające serwerowi łączenie sie z i do
105hostów IPv6.
381b90ba 106
e0e5ba44 107%package udp
a164647a 108Summary: Support for UDP association in antinat
8f90e547 109Summary(pl.UTF-8): Wsparcie w antinacie dla kojarzenia UDP
e0e5ba44 110Group: Daemons
1df26a54 111Requires: %{name} = %{version}-%{release}
e0e5ba44 112
113%description udp
114Support for UDP association over SOCKSv5. This allows hosts to send
115and receive UDP packets through the SOCKS server.
116
4a76fe6c
JR
117%description udp -l pl.UTF-8
118Wsparcie dla kojarzenia UDP poprzez SOCKSv5. Umożliwia to wysyłanie i
119odbiór pakietów za pośrednictwem serwera SOCKS.
a164647a 120
e0e5ba44 121%prep
122%setup -q
0268ef78 123#%patch0 -p1
e0e5ba44 124
125%build
2b09dcfb 126%{__libtoolize}
127%{__aclocal}
128%{__autoconf}
2b09dcfb 129%configure \
2b09dcfb 130 --with-ipv6
0268ef78 131# --datadir=%{_libdir}
e0e5ba44 132%{__make}
133
134%install
135rm -rf $RPM_BUILD_ROOT
2b09dcfb 136
e0e5ba44 137%{__make} install \
0268ef78
JB
138 bindir=$RPM_BUILD_ROOT%{_bindir} \
139 datadir=$RPM_BUILD_ROOT%{_libdir} \
140 localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
141 mandir=$RPM_BUILD_ROOT%{_mandir} \
142 sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}
143# DESTDIR=$RPM_BUILD_ROOT
e0e5ba44 144
145%clean
ea987ea5 146rm -rf $RPM_BUILD_ROOT
e0e5ba44 147
148%files
149%defattr(644,root,root,755)
0268ef78 150%doc README TODO
a4079ed0 151%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/antinat.conf
e0e5ba44 152%attr(755,root,root) %{_bindir}/*
0268ef78
JB
153%dir %{_libdir}/%{name}
154%dir %{_libdir}/%{name}/address
155%attr(755,root,root) %{_libdir}/%{name}/address/libipv4.so
156%dir %{_libdir}/%{name}/version5
157%dir %{_libdir}/%{name}/version5/authenticators
158%attr(755,root,root) %{_libdir}/%{name}/version5/authenticators/libunpw.so
159%attr(755,root,root) %{_libdir}/%{name}/version5/authenticators/unpwsources
160%dir %{_libdir}/%{name}/version5/commands
161%attr(755,root,root) %{_libdir}/%{name}/version5/commands/libconn.so
162%attr(755,root,root) %{_libdir}/%{name}/version5/commands/libbind.so
163%attr(755,root,root) %{_libdir}/%{name}/version5/commands/libident.so
164%dir %{_libdir}/%{name}/resolvers
165%attr(755,root,root) %{_libdir}/%{name}/resolvers/libipv4.so
166%attr(755,root,root) %{_libdir}/%{name}/resolvers/libname.so
167%dir %{_libdir}/%{name}/revres
168%attr(755,root,root) %{_libdir}/%{name}/revres/libipv4.so
169%dir %{_libdir}/%{name}/versions
170%attr(755,root,root) %{_libdir}/%{name}/versions/libv5.so
171%{_mandir}/man[15]/*
e0e5ba44 172
173%files socks4
174%defattr(644,root,root,755)
0268ef78
JB
175%attr(755,root,root) %{_libdir}/%{name}/version4
176%attr(755,root,root) %{_libdir}/%{name}/versions/libv4.so
e0e5ba44 177
178%files logging
179%defattr(644,root,root,755)
0268ef78
JB
180%attr(755,root,root) %{_libdir}/%{name}/loggers
181%{_localstatedir}/%{name}
e0e5ba44 182
183%files filtering
184%defattr(644,root,root,755)
0268ef78 185%attr(755,root,root) %{_libdir}/%{name}/filters
e0e5ba44 186
187%files anonymous
188%defattr(644,root,root,755)
0268ef78 189%attr(755,root,root) %{_libdir}/%{name}/version5/authenticators/libanon.so
e0e5ba44 190
191%files ipv6
192%defattr(644,root,root,755)
0268ef78
JB
193%attr(755,root,root) %{_libdir}/%{name}/address/libipv6.so
194%attr(755,root,root) %{_libdir}/%{name}/resolvers/libipv6.so
195%attr(755,root,root) %{_libdir}/%{name}/revres/libipv6.so
e0e5ba44 196
197%files udp
198%defattr(644,root,root,755)
0268ef78 199%attr(755,root,root) %{_libdir}/%{name}/version5/commands/libudp.so
This page took 0.117137 seconds and 4 git commands to generate.