|
@@ -1,8 +1,9 @@
|
|
|
%bcond_with systemd
|
|
|
+%bcond_with crypto_policies
|
|
|
|
|
|
Summary: An SSL-encrypting socket wrapper
|
|
|
Name: stunnel
|
|
|
-Version: 5.58
|
|
|
+Version: 5.59
|
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
|
Group: internet
|
|
|
Vendor: Project Vine
|
|
@@ -28,7 +29,7 @@ Patch4: stunnel-5.56-coverity.patch
|
|
|
Patch5: stunnel-5.56-default-tls-version.patch
|
|
|
Patch6: stunnel-5.56-curves-doc-update.patch
|
|
|
|
|
|
-Buildroot: %{_tmppath}/stunnel-root
|
|
|
+BuildRoot: %{_tmppath}/stunnel-root
|
|
|
# util-linux is needed for rename
|
|
|
BuildRequires: openssl-devel
|
|
|
BuildRequires: pkgconfig
|
|
@@ -61,7 +62,14 @@ in conjunction with imapd to create an SSL secure IMAP server.
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-%autopatch -p1
|
|
|
+%patch0 -p1
|
|
|
+%patch1 -p1
|
|
|
+%if %{with crypto_policies}
|
|
|
+%patch3 -p1
|
|
|
+%endif
|
|
|
+%patch4 -p1
|
|
|
+%patch5 -p1
|
|
|
+%patch6 -p1
|
|
|
|
|
|
# Fix a testcase with system-ciphers support
|
|
|
sed -i '/client = yes/a \\ ciphers = PSK' tests/recipes/014_PSK_secrets
|
|
@@ -172,6 +180,10 @@ fi
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Thu May 06 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.59-1
|
|
|
+- new upstream release.
|
|
|
+- diabled crypto-policies (not implemented for Vine Linux).
|
|
|
+
|
|
|
* Sun Feb 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.58-1
|
|
|
- new upstream release.
|
|
|
- uodated patches.
|