2 Summary: A free Socks v4/v5 client implementation
3 Summary(pl): Darmowa implementacja klienta Socks v4/5
8 Group: Networking/Daemons
9 Source0: ftp://ftp.inet.no/pub/socks/%{name}-%{version}-%{pre}.tar.gz
10 # Source0-md5: 1dc7cbd260c7a171cacc49d314845806
12 URL: http://www.inet.no/dante/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libwrap-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Dante is a free implementation of the proxy protocols socks version 4,
20 socks version 5 (rfc1928) and msproxy. It can be used as a firewall
21 between networks. It is being developed by Inferno Nettverk A/S, a
22 Norwegian consulting company. Commercial support is available.
24 This package contains the dynamic libraries required to "socksify"
25 existing applications to become socks clients.
28 Dante jest darmow± implementacj± protoko³ów proxy: socks w wersji 4,
29 socks w wersji 5 (rfc1928) oraz msproxy. Mo¿e byæ u¿ywany jako zapora
30 pomiêdzy sieciami. Implementacja jest rozwijana przez Inferno Nettverk
31 A/S - Norwesk± firmê konsultingow±. Komercyjne wsparcie jest dostêpne.
33 Ten pakiet zawiera dynamiczne biblioteki wymagane do "usocksowiania"
34 istniej±cych aplikacji tak by dzia³a³y one jako klienci socks.
37 Summary: A free Socks v4/v5 server implementation
38 Summary(pl): Darmowa implementacja serwera Socks v4/5
39 Group: Networking/Daemons
40 Requires: %{name} = %{version}-%{release}
42 Requires(post,preun): /sbin/chkconfig
45 This package contains the socks proxy daemon and its documentation.
46 The sockd is the server part of the Dante socks proxy package and
47 allows socks clients to connect through it to the network.
49 %description server -l pl
50 Ten pakiet zawiera serwer proxy socks oraz jego dokumentacjê. Serwer
51 sockd jest czê¶ci± pakietu proxy Dante. Za po¶rednictwem serwera
52 klienci mog± ³±czyæ siê z serwerami w sieci.
55 Summary: Development libraries for socks
56 Summary(pl): Biblioteki developerskie dla socks
57 Group: Networking/Daemons
58 Requires: %{name} = %{version}-%{release}
61 Additional libraries required to compile programs that use socks.
63 %description devel -l pl
64 Dodatkowe biblioteki wymagane do rozwoju programów korzystaj±cych z
68 Summary: Static libraries for socks
69 Summary(pl): Statyczne biblioteki socks
70 Group: Networking/Daemons
71 Requires: %{name}-devel = %{version}-%{release}
74 Static libraries for socks.
76 %description static -l pl
77 Statyczne biblioteki socks.
80 %setup -q -n %{name}-%{version}-%{pre}
83 cp -f /usr/share/automake/config.sub .
90 rm -rf $RPM_BUILD_ROOT
91 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d}
94 DESTDIR=$RPM_BUILD_ROOT
96 install example/sock{s,d}.conf ${RPM_BUILD_ROOT}%{_sysconfdir}
98 install %{SOURCE1} ${RPM_BUILD_ROOT}/etc/rc.d/init.d/sockd
101 rm -rf $RPM_BUILD_ROOT
103 %post -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
107 /sbin/chkconfig --add sockd
108 if [ -f /var/lock/subsys/sockd ]; then
109 /etc/rc.d/init.d/sockd restart 1>&2
111 echo "Run \"/etc/rc.d/init.d/sockd start\" to start dante sockd daemon."
115 if [ "$1" = "0" ]; then
116 if [ -f /var/lock/subsys/sockd ]; then
117 /etc/rc.d/init.d/sockd stop 1>&2
119 /sbin/chkconfig --del sockd
123 %defattr(644,root,root,755)
124 %doc BUGS CREDITS LICENSE NEWS README SUPPORT TODO
125 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/socks.conf
126 %attr(755,root,root) %{_libdir}/lib*.so.*.*
127 %attr(755,root,root) %{_bindir}/socksify
128 %{_mandir}/man5/socks.conf.5*
131 %defattr(644,root,root,755)
132 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sockd.conf
133 %attr(754,root,root) /etc/rc.d/init.d/sockd
134 %attr(755,root,root) %{_sbindir}/sockd
135 %{_mandir}/man8/sockd.8*
136 %{_mandir}/man5/sockd.conf.5*
139 %defattr(644,root,root,755)
140 %attr(755,root,root) %{_libdir}/lib*.so
145 %defattr(644,root,root,755)