1 Summary: A free Socks v4/v5 client implementation
6 Group: Networking/Daemons
7 Group(de): Netzwerkwesen/Server
8 Group(pl): Sieciowe/Serwery
9 Source0: ftp://ftp.inet.no/pub/socks/%{name}-%{version}.tar.gz
11 URL: http://www.inet.no/dante/
12 BuildRequires: libwrap-devel
13 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Dante is a free implementation of the proxy protocols socks version 4,
17 socks version 5 (rfc1928) and msproxy. It can be used as a firewall
18 between networks. It is being developed by Inferno Nettverk A/S, a
19 Norwegian consulting company. Commercial support is available.
21 This package contains the dynamic libraries required to "socksify"
22 existing applications to become socks clients.
25 Summary: A free Socks v4/v5 server implementation
26 Group: Networking/Daemons
27 Group(de): Netzwerkwesen/Server
28 Group(pl): Sieciowe/Serwery
29 Requires: %{name} = %{version}
32 This package contains the socks proxy daemon and its documentation.
33 The sockd is the server part of the Dante socks proxy package and
34 allows socks clients to connect through it to the network.
37 Summary: development libraries for socks
38 Group: Networking/Daemons
39 Group(de): Netzwerkwesen/Server
40 Group(pl): Sieciowe/Serwery
41 Requires: %{name} = %{version}
44 Additional libraries required to compile programs that use socks.
47 Summary: static libraries for socks
48 Group: Networking/Daemons
49 Group(de): Netzwerkwesen/Server
50 Group(pl): Sieciowe/Serwery
51 Requires: %{name}-devel = %{version}
54 Static libraries for socks.
64 rm -rf $RPM_BUILD_ROOT
65 %{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d}
67 %{__make} install DESTDIR=$RPM_BUILD_ROOT
69 %{__install} example/sock{s,d}.conf ${RPM_BUILD_ROOT}%{_sysconfdir}
71 %{__install} %{SOURCE1} ${RPM_BUILD_ROOT}/etc/rc.d/init.d/sockd
73 gzip -9nf BUGS CREDITS LICENSE NEWS README SUPPORT TODO
76 rm -rf $RPM_BUILD_ROOT
78 %post -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
82 /sbin/chkconfig --add sockd
86 /sbin/chkconfig --del sockd
90 %defattr(644,root,root,755)
92 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/socks.conf
93 %attr(755,root,root) %{_libdir}/lib*.so.*.*
94 %attr(755,root,root) %{_bindir}/socksify
95 %{_mandir}/man5/socks.conf.5*
98 %defattr(644,root,root,755)
99 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/sockd.conf
100 %attr(754,root,root) /etc/rc.d/init.d/sockd
101 %attr(755,root,root) %{_sbindir}/sockd
102 %{_mandir}/man8/sockd.8*
103 %{_mandir}/man5/sockd.conf.5*
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/lib*.so
108 %attr(755,root,root) %{_libdir}/lib*.la
112 %defattr(644,root,root,755)