Summary: Universal SSL tunnel Summary(pl): Uniwersalne narzedzie do bezpiecznego tunelowania Name: stunnel Version: 3.9 Release: 1 License: GPL Group: Networking/Daemons Group(de): Netzwerkwesen/Server Group(pl): Sieciowe/Serwery Source0: http://www.stunnel.org/download/stunnel/src/%{name}-%{version}.tar.gz Patch1: %{name}-DESTDIR.patch Patch2: %{name}-fixargs.patch Patch3: %{name}-gethostbyname_is_in_libc_aka_no_libnsl.patch URL: http://www.stunnel.org/ BuildRequires: autoconf BuildRequires: openssl-devel >= 0.9.4-2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define certdir /var/lib/openssl/certs %description The stunnel program is designed to work as SSL encryption wrapper between remote client and local (inetd-startable) or remote server. The concept is that having non-SSL aware daemons running on your system you can easily setup them to communicate with clients over secure SSL channel. stunnel can be used to add SSL functionality to commonly used inetd daemons like POP-2, POP-3 and IMAP servers without any changes in the programs' code. %description -l pl Stunnel umożliwia stawianie silnie kodowanych tuneli pomiędzy serwerem a komputerem klienta. Przy jego użyciu można łatwo zrealizować usługi pop3s lub https. %prep %setup -q %patch1 -p1 %patch2 -p0 %patch3 -p1 %build autoconf CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g} -DHAVE_GETOPT" %configure %{__make} certdir=%{certdir} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ certdir=$RPM_BUILD_ROOT/%{certdir} gzip -9nf FAQ HISTORY README BUGS %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc {FAQ,HISTORY,README,BUGS}.gz %doc %lang(pl) doc.polish/* %doc stunnel.exe %attr(755,root,root) %{_sbindir}/* %attr(755,root,root) %{_libdir}/* %{_mandir}/man8/* %config(noreplace) %verify(not size mtime md5) %attr(600,root,root) %{certdir}/stunnel.pem