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 Patch3: stunnel-fixargs.patch
13 URL: http://mike.daewoo.com.pl/computer/stunnel/
14 BuildRequires: openssl-devel >= 0.9.4-2
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define certdir /var/state/openssl/certs
20 The stunnel program is designed to work as SSL encryption wrapper between
21 remote client and local (inetd-startable) or remote server. The concept is
22 that having non-SSL aware daemons running on your system you can easily
23 setup them to communicate with clients over secure SSL channel. stunnel can
24 be used to add SSL functionality to commonly used inetd daemons like POP-2,
25 POP-3 and IMAP servers without any changes in the programs' code.
28 Stunnel umo¿liwia stawianie silnie kodowanych tuneli pomiêdzy serwerem a
29 komputerem klienta. Przy jego u¿yciu mo¿na ³atwo zrealizowaæ us³ugi pop3s
40 CFLAGS="$RPM_OPT_FLAGS -DHAVE_GETOPT"
45 make certdir=%{certdir}
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT \
52 certdir=$RPM_BUILD_ROOT/%{certdir}
54 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
55 FAQ HISTORY README BUGS
57 %post -p /sbin/ldconfig
58 %postun -p /sbin/ldconfig
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
65 %doc {FAQ,HISTORY,README,BUGS}.gz
66 %doc %lang(pl) doc.polish/*
68 %attr(755,root,root) %{_sbindir}/*
69 %attr(755,root,root) %{_libdir}/*
72 %config(noreplace) %verify(not size mtime md5) %attr(600,root,root) %{certdir}/stunnel.pem