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