1 Summary: Universal SSL tunnel
2 Summary(pl): Uniwersalne narzedzie do bezpiecznego tunelowania
6 Group: Networking/Daemons
7 Group(pl): Sieciowe/Serwery
9 Source0: http://mike.daewoo.com.pl/computer/stunnel/%{name}-%{version}.tar.gz
10 Patch0: stunnel-Makefile.patch
11 URL: http://mike.daewoo.com.pl/computer/stunnel/
12 BuildPrereq: openssl-devel
13 BuildRoot: /tmp/%{name}-%{version}-root
15 %define certsdir /var/state/openssl/certs
18 The stunnel program is designed to work as SSL encryption
19 wrapper between remote client and local (inetd-startable) or
20 remote server. The concept is that having non-SSL aware dae-
21 mons running on your system you can easily setup them to
22 communicate with clients over secure SSL channel.
24 stunnel can be used to add SSL functionality to commonly
25 used inetd daemons like POP-2, POP-3 and IMAP servers
26 without any changes in the programs' code.
29 Stunnel umo¿linia stawianie silnie kodowanych tuneli pomiedzy serwerem
30 a komputeram klienta. Przy jego u¿yciu mo¿na ³atwo zrealizoweaæ
31 us³ugi pop3s lub https.
38 LDFLAGS="-s" ; export LDFLAGS
42 SSLLIBS="-lssl -lsslcrypto" \
43 SSLINCDIR="%{_includedir}/openssl"
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR="$RPM_BUILD_ROOT%{_prefix}" \
50 CERTDIR="$RPM_BUILD_ROOT%{certsdir}"
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/*
62 %attr(755,root,root) %{_sbindir}/*
64 %attr(600,root,root) %{certsdir}/stunnel.pem