SHA256
1
0
forked from pool/vsftpd

Accepting request 503275 from home:dmolkentin:branches:network

- Fix build against OpenSSL 1.1. Remove lock on 1.0.x libs
  adds vsftpd-3.0.3-build-with-openssl-1.1.patch
  (bsc#1042673)

OBS-URL: https://build.opensuse.org/request/show/503275
OBS-URL: https://build.opensuse.org/package/show/network/vsftpd?expand=0&rev=112
This commit is contained in:
Peter Simons 2017-06-12 22:37:25 +00:00 committed by Git OBS Bridge
parent 46b63b2299
commit 33ca05c450
3 changed files with 24 additions and 3 deletions

View File

@ -0,0 +1,13 @@
Index: vsftpd-3.0.3/vsf_findlibs.sh
===================================================================
--- vsftpd-3.0.3.orig/vsf_findlibs.sh
+++ vsftpd-3.0.3/vsf_findlibs.sh
@@ -72,7 +72,7 @@ locate_library /usr/shlib/librt.so && ec
locate_library /usr/lib/libsendfile.so && echo "-lsendfile";
# OpenSSL
-if find_func SSL_library_init ssl.o; then
+if find_func SSL_CTX_new ssl.o; then
echo "-lssl -lcrypto";
fi

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jun 12 17:57:38 UTC 2017 - daniel.molkentin@suse.com
- Fix build against OpenSSL 1.1. Remove lock on 1.0.x libs
adds vsftpd-3.0.3-build-with-openssl-1.1.patch
(bsc#1042673)
-------------------------------------------------------------------
Wed May 31 15:02:14 UTC 2017 - psimons@suse.com

View File

@ -70,15 +70,15 @@ Patch23: vsftpd-ls-memleak.patch
#PATCH-FIX-UPSTREAM: bnc#970982
Patch24: vsftpd-3.0.2-wnohang.patch
Patch25: vsftpd-3.0.2-fix-chown-uploads.patch
#FIX-FIX-OPENSUSE: bsc#1042673
Patch26: vsftpd-3.0.3-build-with-openssl-1.1.patch
BuildRequires: libcap-devel
BuildRequires: libopenssl-devel
BuildRequires: pam-devel
Requires: logrotate
Requires(pre): shadow
%if 0%{?suse_version} >= 1330
Requires(pre): group(nobody)
BuildRequires: libopenssl-1_0_0-devel
%else
BuildRequires: libopenssl-devel
%endif
Provides: ftp-server
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -125,6 +125,7 @@ tests.
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%build
%define seccomp_opts -D_GNU_SOURCE -DUSE_SECCOMP