1 Summary: Universal SSL tunnel
2 Summary(pl): Uniwersalne narzedzie do bezpiecznego tunelowania
7 Group: Networking/Daemons
8 Group(pl): Sieciowe/Serwery
9 Source0: http://mike.daewoo.com.pl/computer/stunnel/%{name}-%{version}.tar.gz
10 Patch1: stunnel-DESTDIR.patch
11 Patch2: stunnel-dirs.patch
12 URL: http://mike.daewoo.com.pl/computer/stunnel/
13 BuildRequires: openssl-devel >= 0.9.4-2
14 BuildRoot: /tmp/%{name}-%{version}-root
16 %define certdir /var/state/openssl/certs
19 The stunnel program is designed to work as SSL encryption wrapper between
20 remote client and local (inetd-startable) or remote server. The concept is
21 that having non-SSL aware daemons running on your system you can easily
22 setup them to communicate with clients over secure SSL channel. stunnel can
23 be used to add SSL functionality to commonly used inetd daemons like POP-2,
24 POP-3 and IMAP servers without any changes in the programs' code.
27 Stunnel umo¿liwia stawianie silnie kodowanych tuneli pomiêdzy serwerem a
28 komputerem klienta. Przy jego u¿yciu mo¿na ³atwo zrealizowaæ us³ugi pop3s
38 CFLAGS="$RPM_OPT_FLAGS -DHAVE_GETOPT"
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT \
50 certdir=$RPM_BUILD_ROOT/%{certdir}
52 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
53 FAQ HISTORY README BUGS
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc {FAQ,HISTORY,README,BUGS}.gz
61 %doc %lang(pl) doc.polish/*
63 %attr(755,root,root) %{_sbindir}/*
65 %config(noreplace) %verify(not size mtime md5) %attr(600,root,root) %{certdir}/stunnel.pem