stunnel/stunnel.spec

225 lines
7.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: stunnel
Version: 5.50
Release: 1mamba
Summary: Universal SSL Tunnel
Group: System/Servers
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.stunnel.org
Source: ftp://ftp.stunnel.org/stunnel/stunnel-%{version}.tar.gz
Patch0: %{name}-4.20-makefile.patch
Patch1: %{name}-4.20-authpriv.patch
Patch2: %{name}-4.27-config.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libopenssl-devel
BuildRequires: libwrap-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Stunnel is a program that allows you to encrypt arbitrary TCP connections inside SSL (Secure Sockets Layer) available on both Unix and Windows.
Stunnel can allow you to secure non-SSL aware daemons and protocols (like POP, IMAP, LDAP, etc) by having Stunnel provide the encryption, requiring no changes to the daemon's code.
%prep
%setup -q
#%patch0 -p1 -b .makefile
#%patch1 -p1 -b .authpriv
#%patch2 -p1 -b .config
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
mv %{buildroot}%{_sysconfdir}/stunnel/stunnel.conf-sample \
%{buildroot}%{_sysconfdir}/stunnel/stunnel.conf
install -d %{buildroot}%{_mandir}/{fr,pl}/man8
#mv %{buildroot}%{_mandir}/man8/stunnel.fr.8 \
# %{buildroot}%{_mandir}/fr/man8/stunnel.8
#mv %{buildroot}%{_mandir}/man8/stunnel.pl.8 \
# %{buildroot}%{_mandir}/pl/man8/stunnel.8
# remuve unpackaged files
rm -f %{buildroot}%{_sysconfdir}/stunnel/stunnel.pem
rm -rf %{buildroot}%{_docdir}/stunnel
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_bindir}/stunnel
%{_bindir}/stunnel3
%dir %{_sysconfdir}/stunnel
%{_sysconfdir}/stunnel/stunnel.conf
%{_libdir}/stunnel/libstunnel.*
%{_mandir}/man8/stunnel.*
#%lang(fr) %{_mandir}/fr/man8/stunnel.*
#%lang(pl) %{_mandir}/pl/man8/stunnel.*
%doc doc/en/* doc/stunnel.html
%doc tools/{ca.*,importCA.*}
#%doc %lang(fr) doc/stunnel.fr.html
%doc %lang(pl) doc/pl/* doc/stunnel.pl.html
%doc AUTHORS COPYING* CREDITS
#BUGS ChangeLog NEWS PORTS README TODO
%changelog
* Mon Mar 25 2019 Automatic Build System <autodist@mambasoft.it> 5.50-1mamba
- automatic version update by autodist
* Tue Oct 02 2018 Automatic Build System <autodist@mambasoft.it> 5.49-1mamba
- automatic version update by autodist
* Mon Jul 09 2018 Automatic Build System <autodist@mambasoft.it> 5.48-1mamba
- automatic version update by autodist
* Mon Jun 04 2018 Automatic Build System <autodist@mambasoft.it> 5.46-1mamba
- automatic version update by autodist
* Wed May 23 2018 Automatic Build System <autodist@mambasoft.it> 5.45-1mamba
- automatic version update by autodist
* Wed Nov 29 2017 Automatic Build System <autodist@mambasoft.it> 5.44-1mamba
- automatic update by autodist
* Sat Nov 18 2017 Automatic Build System <autodist@mambasoft.it> 5.43-1mamba
- automatic update by autodist
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 5.42-1mamba
- automatic version update by autodist
* Sun Feb 12 2017 Automatic Build System <autodist@mambasoft.it> 5.40-1mamba
- automatic version update by autodist
* Fri Jan 13 2017 Automatic Build System <autodist@mambasoft.it> 5.39-1mamba
- automatic version update by autodist
* Fri Dec 16 2016 Automatic Build System <autodist@mambasoft.it> 5.38-1mamba
- automatic version update by autodist
* Sat Nov 12 2016 Automatic Build System <autodist@mambasoft.it> 5.37-1mamba
- automatic version update by autodist
* Fri Oct 28 2016 Automatic Build System <autodist@mambasoft.it> 5.36-1mamba
- automatic version update by autodist
* Tue Jul 19 2016 Automatic Build System <autodist@mambasoft.it> 5.35-1mamba
- automatic version update by autodist
* Fri Jul 01 2016 Automatic Build System <autodist@mambasoft.it> 5.33-1mamba
- automatic version update by autodist
* Thu May 12 2016 Automatic Build System <autodist@mambasoft.it> 5.32-1mamba
- automatic version update by autodist
* Thu Mar 10 2016 Automatic Build System <autodist@mambasoft.it> 5.31-1mamba
- automatic version update by autodist
* Sun Feb 07 2016 Automatic Build System <autodist@mambasoft.it> 5.30-1mamba
- automatic version update by autodist
* Sun Jan 17 2016 Automatic Build System <autodist@mambasoft.it> 5.29-1mamba
- automatic version update by autodist
* Tue Jan 05 2016 Automatic Build System <autodist@mambasoft.it> 5.28-1mamba
- automatic version update by autodist
* Sat Nov 07 2015 Automatic Build System <autodist@mambasoft.it> 5.26-1mamba
- automatic version update by autodist
* Wed Oct 14 2015 Automatic Build System <autodist@mambasoft.it> 5.24-1mamba
- automatic version update by autodist
* Sun Sep 27 2015 Automatic Build System <autodist@mambasoft.it> 5.23-1mamba
- automatic version update by autodist
* Mon Jul 13 2015 Automatic Build System <autodist@mambasoft.it> 5.20-1mamba
- automatic version update by autodist
* Wed May 20 2015 Automatic Build System <autodist@mambasoft.it> 5.17-1mamba
- automatic version update by autodist
* Wed Apr 22 2015 Automatic Build System <autodist@mambasoft.it> 5.16-1mamba
- automatic version update by autodist
* Sat Apr 04 2015 Automatic Build System <autodist@mambasoft.it> 5.14-1mamba
- automatic update by autodist
* Tue Mar 17 2015 Automatic Build System <autodist@mambasoft.it> 5.11-1mamba
- automatic update by autodist
* Sun Jan 25 2015 Automatic Build System <autodist@mambasoft.it> 5.10-1mamba
- automatic version update by autodist
* Thu Jan 22 2015 Automatic Build System <autodist@mambasoft.it> 5.09-1mamba
- automatic update by autodist
* Fri Nov 21 2014 Automatic Build System <autodist@mambasoft.it> 5.07-1mamba
- automatic update by autodist
* Fri Oct 17 2014 Automatic Build System <autodist@mambasoft.it> 5.06-1mamba
- automatic update by autodist
* Fri Oct 10 2014 Automatic Build System <autodist@mambasoft.it> 5.05-1mamba
- automatic update by autodist
* Sun Aug 17 2014 Automatic Build System <autodist@mambasoft.it> 5.03-1mamba
- automatic update by autodist
* Wed Jun 25 2014 Automatic Build System <autodist@mambasoft.it> 5.02-1mamba
- automatic update by autodist
* Sun Apr 13 2014 Automatic Build System <autodist@mambasoft.it> 5.01-1mamba
- automatic version update by autodist
* Sat Mar 30 2013 Automatic Build System <autodist@mambasoft.it> 4.56-1mamba
- automatic version update by autodist
* Fri Mar 08 2013 Automatic Build System <autodist@mambasoft.it> 4.55-1mamba
- automatic version update by autodist
* Thu Oct 11 2012 Automatic Build System <autodist@mambasoft.it> 4.54-1mamba
- automatic version update by autodist
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 4.53-1mamba
- automatic version update by autodist
* Mon Oct 24 2011 Automatic Build System <autodist@mambasoft.it> 4.44-1mamba
- automatic version update by autodist
* Sat Oct 09 2010 Automatic Build System <autodist@mambasoft.it> 4.34-1mamba
- automatic update by autodist
* Wed Jan 13 2010 Automatic Build System <autodist@mambasoft.it> 4.29-1mamba
- automatic update by autodist
* Wed May 06 2009 Automatic Build System <autodist@mambasoft.it> 4.27-1mamba
- automatic update by autodist
* Sun Dec 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.26-1mamba
- automatic update by autodist
* Sat Sep 20 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.25-1mamba
- update to 4.25
* Thu Dec 14 2006 Davide Madrisan <davide.madrisan@qilinux.it>
- better configuration file
- fixed installation paths for french and polish man pages
- install documentation files in the correct directory
- update dynamic linker run time bindings
* Fri Mar 26 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 4.05-1qilnx
- first build