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: ftp://stunnel.mirt.net/stunnel/%{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: automake
19 BuildRequires: openssl-devel >= 0.9.6a
20 BuildRequires: openssl-tools >= 0.9.6a
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _certdir /var/lib/stunnel
26 The stunnel program is designed to work as SSL encryption wrapper
27 between remote client and local (inetd-startable) or remote server.
28 The concept is that having non-SSL aware daemons running on your
29 system you can easily setup them to communicate with clients over
30 secure SSL channel. stunnel can be used to add SSL functionality to
31 commonly used inetd daemons like POP-2, POP-3 and IMAP servers without
32 any changes in the programs' code.
35 Stunnel umo¿liwia stawianie silnie kodowanych tuneli pomiêdzy serwerem
36 a komputerem klienta. Przy jego u¿yciu mo¿na ³atwo zrealizowaæ us³ugi
52 CFLAGS="%{rpmcflags} -DHAVE_GETOPT"
54 --with-pem-dir=%{_certdir}
59 rm -rf $RPM_BUILD_ROOT
62 DESTDIR=$RPM_BUILD_ROOT \
63 certdir=$RPM_BUILD_ROOT/%{_certdir}
65 gzip -9nf FAQ HISTORY README BUGS
67 %post -p /sbin/ldconfig
68 %postun -p /sbin/ldconfig
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
75 %doc {FAQ,HISTORY,README,BUGS}.gz
76 %doc %lang(pl) doc.polish/*
78 %config(noreplace) %verify(not size mtime md5) %attr(600,root,root) %{_certdir}/stunnel.pem
79 %attr(755,root,root) %{_sbindir}/*
80 %attr(755,root,root) %{_libdir}/*