1 Summary: Universal SSL tunnel
2 Summary(pl): Uniwersalne narzêdzie do bezpiecznego tunelowania
7 Group: Networking/Daemons
8 Group(de): Netzwerkwesen/Server
9 Group(pl): Sieciowe/Serwery
10 Source0: http://www.stunnel.org/download/stunnel/src/%{name}-%{version}.tar.gz
11 Patch1: %{name}-DESTDIR.patch
12 Patch2: %{name}-fixargs.patch
13 Patch3: %{name}-gethostbyname_is_in_libc_aka_no_libnsl.patch
14 Patch4: %{name}-piddir.patch
15 Patch5: %{name}-gen-cert.patch
16 URL: http://www.stunnel.org/
17 BuildRequires: autoconf
18 BuildRequires: openssl-devel >= 0.9.4-2
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _certdir /var/lib/stunnel
24 The stunnel program is designed to work as SSL encryption wrapper
25 between remote client and local (inetd-startable) or remote server.
26 The concept is that having non-SSL aware daemons running on your
27 system you can easily setup them to communicate with clients over
28 secure SSL channel. stunnel can be used to add SSL functionality to
29 commonly used inetd daemons like POP-2, POP-3 and IMAP servers without
30 any changes in the programs' code.
33 Stunnel umo¿liwia stawianie silnie kodowanych tuneli pomiêdzy serwerem
34 a komputerem klienta. Przy jego u¿yciu mo¿na ³atwo zrealizowaæ us³ugi
47 CFLAGS="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS} -DHAVE_GETOPT"
49 --with-pem-dir=%{_certdir}
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT \
58 certdir=$RPM_BUILD_ROOT/%{_certdir}
60 gzip -9nf FAQ HISTORY README BUGS
62 %post -p /sbin/ldconfig
63 %postun -p /sbin/ldconfig
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc {FAQ,HISTORY,README,BUGS}.gz
71 %doc %lang(pl) doc.polish/*
73 %config(noreplace) %verify(not size mtime md5) %attr(600,root,root) %{_certdir}/stunnel.pem
74 %attr(755,root,root) %{_sbindir}/*
75 %attr(755,root,root) %{_libdir}/*