1 Summary: Universal SSL tunnel
2 Summary(pl): Uniwersalne narzêdzie do bezpiecznego tunelowania
7 Group: Networking/Daemons
8 Source0: ftp://stunnel.mirt.net/stunnel/%{name}-%{version}.tar.gz
9 Patch0: %{name}-DESTDIR.patch
10 Patch1: %{name}-gethostbyname_is_in_libc_aka_no_libnsl.patch
11 Patch2: %{name}-piddir.patch
12 Patch3: %{name}-gen-cert.patch
13 Patch4: %{name}-authpriv.patch
14 Patch5: %{name}-ac_fixes.patch
15 URL: http://www.stunnel.org/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: openssl-devel >= 0.9.6a
19 BuildRequires: openssl-tools >= 0.9.6a
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _certdir /var/lib/stunnel
25 The stunnel program is designed to work as SSL encryption wrapper
26 between remote client and local (inetd-startable) or remote server.
27 The concept is that having non-SSL aware daemons running on your
28 system you can easily setup them to communicate with clients over
29 secure SSL channel. stunnel can be used to add SSL functionality to
30 commonly used inetd daemons like POP-2, POP-3 and IMAP servers without
31 any changes in the programs' code.
34 Stunnel umo¿liwia stawianie silnie kodowanych tuneli pomiêdzy serwerem
35 a komputerem klienta. Przy jego u¿yciu mo¿na ³atwo zrealizowaæ us³ugi
50 --with-pem-dir=%{_certdir}
55 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT \
59 certdir=$RPM_BUILD_ROOT/%{_certdir}
62 rm -rf $RPM_BUILD_ROOT
64 %post -p /sbin/ldconfig
65 %postun -p /sbin/ldconfig
68 %defattr(644,root,root,755)
69 %doc BUGS CREDITS FAQ HISTORY README TODO doc/english/transproxy.txt doc/english/*.html
70 %doc %lang(pl) doc/polish/*
72 %config(noreplace) %verify(not size mtime md5) %attr(600,root,root) %{_certdir}/stunnel.pem
73 %attr(755,root,root) %{_sbindir}/*
74 %attr(755,root,root) %{_libdir}/*