SHA256
1
0
forked from pool/vsftpd
Stephan Kulow 2014-09-03 16:21:32 +00:00 committed by Git OBS Bridge
commit cf9eabb97f
3 changed files with 22 additions and 0 deletions

13
vsftpd-3.0.2-s390.patch Normal file
View File

@ -0,0 +1,13 @@
Index: vsftpd-3.0.2/sysdeputil.c
===================================================================
--- vsftpd-3.0.2.orig/sysdeputil.c 2014-08-21 16:12:59.845872489 +0200
+++ vsftpd-3.0.2/sysdeputil.c 2014-08-21 16:14:59.641431931 +0200
@@ -66,7 +66,7 @@
#include <utmpx.h>
/* BEGIN config */
-#if defined(__linux__)
+#if defined(__linux__) && !defined(__s390__)
#include <errno.h>
#include <syscall.h>
#define VSF_SYSDEP_HAVE_LINUX_CLONE

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 21 14:21:51 UTC 2014 - jmatejek@suse.com
- force using fork() instead of clone() on s390 - fixes bnc#890469
* vsftpd-3.0.2-s390.patch
-------------------------------------------------------------------
Mon May 26 13:13:44 UTC 2014 - tchvatal@suse.com

View File

@ -56,6 +56,8 @@ Patch15: vsftpd-enable-dev-log-sendto.patch
Patch16: vsftpd-root-squashed-chroot.patch
#PATCH-FIX-UPSTREAM: bnc#870122
Patch17: vsftpd-enable-gettimeofday-sec.patch
#PATCH-FIX-UPSTREAM: bnc#890469 fix broken syscall on s390
Patch18: vsftpd-3.0.2-s390.patch
BuildRequires: gpg-offline
BuildRequires: libcap-devel
BuildRequires: openssl-devel
@ -97,6 +99,7 @@ tests.
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch18 -p1
%build
%define seccomp_opts -D_GNU_SOURCE -DUSE_SECCOMP