Accepting request 884991 from security:Stunnel

- Disable testsuite for everything except Tumbleweed since it does not work on Leap/SLE
- update to 5.59:
  * new feature: Client-side "protocol = ldap" support
  * Fix configuration reload when compression is used
  * Fix paths in generated manuals
  * Fix test suite fixed not to require external connectivity
- run testsuite during package build

OBS-URL: https://build.opensuse.org/request/show/884991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/stunnel?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2021-04-14 08:10:33 +00:00 committed by Git OBS Bridge
commit c06668890c
6 changed files with 55 additions and 34 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d4c14cc096577edca3f6a2a59c2f51869e35350b3988018ddf808c88e5973b79
size 988551

View File

@ -1,18 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQKTBAABCgB9FiEEK8fk5n48wMG+py+MLvx/8NQW4BQFAmAxUhNfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDJC
QzdFNEU2N0UzQ0MwQzFCRUE3MkY4QzJFRkM3RkYwRDQxNkUwMTQACgkQLvx/8NQW
4BTjnw//WxZJR4No++ri5S4amhfYpLPY3Zr9qUGQ5hepESCWTYf/K+b24fPtKsiU
x/qn1jneQWw/dzPsD1e3UuPH+4d4ryzLzxVW9T8T+6cFQlaU89m5h0Epdd/LjwhF
YECEawGU3dA+pgrNrumgyUTzYtsWGCAkylS02eDrD3auYL3mllarAuXmOpjFxIRB
zod4HILm5fKggZ9++GsIeTFLz+q8Q1Y6QdELLje5p9wrqgP/N2Misc6yrYN8ZdOV
HvFirN/M/Zb0AYknYNe6GHu06u8SM5bZpbwqrrMGaY95mL0lYDn5mi8quel0dnBv
sI9rrflo1G9NMymSPN1knV9UeTKSnpSSr9HFxl1Y5eH2DcLIhfQZ9STBzrRPivxb
JC0gNE51K36Komd4VhfYA2RPtih+YeGi7bADSMoH3UOZDsMJ9YitO9NAsFS/MaY7
EkxKcqisfccZ69ruykHVxfYHujdby/EOXIUZVmmkrV7BWudhnDmukFg6k6uOq7LT
k1ABoNhqfQx3f/daR0oluNgdOPz6bkt/9fa1RjFHqVLo+YOMBrHAEUv6eSQ2V0z5
Lh5UCQQmPk7M6JWta1Bs9Ftv+H+CR6k6Ix9oF3lMjAjcJu4oj7zeRN4yH4KlGltP
SfWgOEK0SqwZZL8yE7Fp61WiDlTW3b02U7iESj/OJK6Z1CpCxtE=
=EoHl
-----END PGP SIGNATURE-----

3
stunnel-5.59.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:137776df6be8f1701f1cd590b7779932e123479fb91e5192171c16798815ce9f
size 995508

18
stunnel-5.59.tar.gz.asc Normal file
View File

@ -0,0 +1,18 @@
-----BEGIN PGP SIGNATURE-----
iQKTBAABCgB9FiEEK8fk5n48wMG+py+MLvx/8NQW4BQFAmBwk5hfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDJC
QzdFNEU2N0UzQ0MwQzFCRUE3MkY4QzJFRkM3RkYwRDQxNkUwMTQACgkQLvx/8NQW
4BQlwA/9HFurAQfxTlExxlGaZo53SHhPtPPM2Bvle6pRFghhcLntT2fNTj5y14oM
O0y+3DCrAhc0FVtax/j6tnbKho/B5VbkBjv2VZoN7VhtNrbxxlnxGsVf6LicpPOh
pEUr4M/tCDcVpsvI+oJvdrsmomMjeydmiQpOLsKQUzBQU2eBr1AGVbOWhtazPFv1
VgGoAIEg/ovVLzW6+Dh6hCWIjGJVJxKVCHm8izCK9Uo7ZEFMtTJlpTHT/KnADw44
Rq+aJAaLZ2HNqrhjZpNLAi6Q9igooUBwe7i2CiMNrbXfbAHkzvMnxTFDsYLDsEPG
iQTLnsGYnUfdv3IC2RVjbpGLPV2ckjcQFTa3StHpHxkGWhJwC98gNog5z24jLsni
UkuTJba2cKYyl7uamNfrTJWwvEAiwRWsnmX+ZhSjlNa+NiVC8B0/bdtO2/IteFVQ
yIm3bE7alm4CPMV88jc4Oyr3kYxqsTgEFPgyQzYOFI/89Z1DhNsGfCO1fX6M/h/h
cSHbHoDYAsfnAMRkAqOjEr1K7KuZM8M5pREmxFZNHLQM532lJTfmt6n79FJEoOBV
v0541ehm3Xp0Rn5u5tz7jhqqYaRSclAWcSwySbY7tbwyTepLLx7f9TZxahiI8Xbn
7E73aJVKy9ivKC/oDEjdLREAozhbzbR8A71BCVudwgmvegwDkuI=
=vgLC
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Apr 8 09:24:35 UTC 2021 - Andreas Vetter <vetter@physik.uni-wuerzburg.de>
- Disable testsuite for everything except Tumbleweed since it does not work on Leap/SLE
-------------------------------------------------------------------
Tue Apr 6 16:58:52 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 5.59:
* new feature: Client-side "protocol = ldap" support
* Fix configuration reload when compression is used
* Fix paths in generated manuals
* Fix test suite fixed not to require external connectivity
- run testsuite during package build
-------------------------------------------------------------------
Sun Feb 21 07:29:45 UTC 2021 - Andreas Vetter <vetter@physik.uni-wuerzburg.de>

View File

@ -38,7 +38,7 @@ Requires(pre): /usr/sbin/useradd
%define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
Name: stunnel
Version: 5.58
Version: 5.59
Release: 0
Summary: Universal TLS Tunnel
License: GPL-2.0-or-later
@ -47,24 +47,28 @@ Recommends: stunnel-doc = %version
URL: http://www.stunnel.org/
Source: https://www.stunnel.org/downloads/%{name}-%{version}.tar.gz
Source1: https://www.stunnel.org/downloads/%{name}-%{version}.tar.gz.asc
Source2: stunnel.keyring
Source2: https://www.stunnel.org/pgp.asc#/%{name}.keyring
Source3: sysconfig.syslog-stunnel
Source4: stunnel.rc
Source7: stunnel.README
BuildRequires: libopenssl-devel
BuildRequires: tcpd-devel
BuildRequires: zlib-devel
Requires(pre): %fillup_prereq
Requires(pre): %{_sbindir}/useradd
Requires(pre): fileutils
Requires(pre): textutils
# test dependencies
BuildRequires: netcat
BuildRequires: procps
#
Requires(pre): %fillup_prereq
Requires(pre): %{_sbindir}/useradd
Requires(pre): fileutils
Requires(pre): textutils
%if 0%{?suse_version} >= 1500
Requires(pre): group(nogroup)
%endif
%description
Stunnel is a proxy designed to add TLS encryption functionality to existing clients and servers without
any changes in the programs' code. Its architecture is optimized for security, portability, and
any changes in the programs' code. Its architecture is optimized for security, portability, and
scalability (including load-balancing), making it suitable for large deployments.
%package doc
@ -93,9 +97,11 @@ sed -i 's/-m 1770//g' tools/Makefile.in
--bindir=%{_sbindir}
make %{?_smp_mflags} LDADD="-pie -Wl,-z,defs,-z,relro,-z,now"
# connot do checks with 5.49, checks depend on ncat and network interaction
#%check
#make %{?_smp_mflags} check
%check
# only works in Tumbleweed as of 2021-04-08
%if 0%{?suse_version} > 1500
make %{?_smp_mflags} check
%endif
%install
%if 0%{?suse_version} >= 1210
@ -122,13 +128,13 @@ sed -i "s/^;setgid =/setgid =/" %{buildroot}/%{_sysconfdir}/stunnel/stunnel.conf
sed -i "s/^;include =/include =/" %{buildroot}/%{_sysconfdir}/stunnel/stunnel.conf-sample
sed -i '/gmail-pop3/,+25 s/^./;&/' %{buildroot}/%{_sysconfdir}/stunnel/stunnel.conf-sample
sed -i "s/; Sample stunnel/# Sample stunnel/" %{buildroot}/%{_sysconfdir}/stunnel/stunnel.conf-sample
sed -i "s/^;/#/" %{buildroot}/%{_sysconfdir}/stunnel/stunnel.conf-sample
sed -i "s/^;/#/" %{buildroot}/%{_sysconfdir}/stunnel/stunnel.conf-sample
mv %{buildroot}/%{_sysconfdir}/stunnel/stunnel.conf-sample %{buildroot}/%{_sysconfdir}/stunnel/stunnel.conf
find %{buildroot} -type f -name "*.la" -delete -print
rm -rf %{buildroot}%{_docdir}/stunnel/INSTALL
rm -rf %{buildroot}%{_docdir}/stunnel/INSTALL.WCE
rm -rf %{buildroot}%{_docdir}/stunnel/INSTALL.W32
rm -rf %{buildroot}%{_docdir}/stunnel/INSTALL.WCE.md
rm -rf %{buildroot}%{_docdir}/stunnel/INSTALL.W32.md
rm -rf %{buildroot}%{_docdir}/stunnel/ca-certs.pem
rm -rf %{buildroot}%{_docdir}/stunnel/plugins/