Summary: A free Socks v4/v5 client implementation Summary(pl): Implementacja klienta Socks v4/5 Name: dante Version: 1.1.9 Release: 1 License: BSD-type Group: Networking/Daemons Group(de): Netzwerkwesen/Server Group(pl): Sieciowe/Serwery Source0: ftp://ftp.inet.no/pub/socks/%{name}-%{version}.tar.gz Source1: sockd.init URL: http://www.inet.no/dante/ BuildRequires: libwrap-devel Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Dante is a free implementation of the proxy protocols socks version 4, socks version 5 (rfc1928) and msproxy. It can be used as a firewall between networks. It is being developed by Inferno Nettverk A/S, a Norwegian consulting company. Commercial support is available. This package contains the dynamic libraries required to "socksify" existing applications to become socks clients. %description -l pl Dante jest darmową implementacją protokołów proxy: socks w wersji 4, socks w wersji 5 (rfc1928) oraz msproxy. Może być używany jako zapora pomiędzy sieciami. Implementacja jest rozwijana przez Inferno Nettverk A/S - Norweską firmę konsultingową. Komercyjne wsparcie jest dostępne. Ten pakiet zawiera dynamiczne biblioteki wymagane do "usocksowiania" istniejących aplikacji tak by działały one jako klienci socks. %package server Summary: A free Socks v4/v5 server implementation Summary(pl): Implementacja serwera Socks v4/5 Group: Networking/Daemons Group(de): Netzwerkwesen/Server Group(pl): Sieciowe/Serwery Requires: %{name} = %{version} %description server This package contains the socks proxy daemon and its documentation. The sockd is the server part of the Dante socks proxy package and allows socks clients to connect through it to the network. Ten pakiet zawiera serwer proxy socks oraz jego dokumentację. Serwer sockd jest częścią pakietu proxy Dante. Za pośrednictwem serwera klienci mogą łączyć się z serwerami w sieci. %package devel Summary: development libraries for socks Summary(pl): Biblioteki developerskie dla socks Group: Networking/Daemons Group(de): Netzwerkwesen/Server Group(pl): Sieciowe/Serwery Requires: %{name} = %{version} %description devel Additional libraries required to compile programs that use socks. %description -l pl devel Dodatkowe biblioteki wymagane do rozwoju programów korzystających z cosck. %package static Summary: static libraries for socks Summary(pl): Statyczne biblioteki socks Group: Networking/Daemons Group(de): Netzwerkwesen/Server Group(pl): Sieciowe/Serwery Requires: %{name}-devel = %{version} %description static Static libraries for socks. %description -l pl static Statyczne biblioteki socks. %prep %setup -q %build %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d} %{__make} install DESTDIR=$RPM_BUILD_ROOT %{__install} example/sock{s,d}.conf ${RPM_BUILD_ROOT}%{_sysconfdir} %{__install} %{SOURCE1} ${RPM_BUILD_ROOT}/etc/rc.d/init.d/sockd gzip -9nf BUGS CREDITS LICENSE NEWS README SUPPORT TODO %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post server /sbin/chkconfig --add sockd %postun server if [ $1 = 0 ]; then /sbin/chkconfig --del sockd fi %files %defattr(644,root,root,755) %doc *.gz %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/socks.conf %attr(755,root,root) %{_libdir}/lib*.so.*.* %attr(755,root,root) %{_bindir}/socksify %{_mandir}/man5/socks.conf.5* %files server %defattr(644,root,root,755) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sockd.conf %attr(754,root,root) /etc/rc.d/init.d/sockd %attr(755,root,root) %{_sbindir}/sockd %{_mandir}/man8/sockd.8* %{_mandir}/man5/sockd.conf.5* %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so %attr(755,root,root) %{_libdir}/lib*.la %{_includedir}/* %files static %defattr(644,root,root,755) %{_libdir}/lib*.a