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