Files
meta-openembedded/vsftpd/09-s390.patch
Andreas Oberritter f89d930201 vsftpd: add new package
Hello Eric,

On 20.02.2012 14:51, Eric Bénard wrote:
> - imported 2.0.5 from oe-classic
> - upgrade to 2.3.5 which is latest stable
> - tested on ARMv5 with Angstrom

I created a recipe for vsftpd, too. Here's my version for your
reference. All patches were taken from the Debian or Ubuntu package.

It differs from your recipe in these ways:
- uses openssl
- uses pam if available
- uses xinetd
- allows to set custom default configuration options in bbappends
- only build-tested with OE-core, no runtime tests so far.

Regards,
Andreas

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-02-22 09:45:55 +01:00

16 lines
489 B
Diff

Author: Philipp Kern <pkern@debian.org>
Description: Fix vsftpd on s390 (Closes: #602726).
diff -Naurp vsftpd.orig/sysdeputil.c vsftpd/sysdeputil.c
--- vsftpd.orig/sysdeputil.c 2011-09-05 16:03:18.728857644 +0200
+++ vsftpd/sysdeputil.c 2011-09-05 16:05:12.909423834 +0200
@@ -64,7 +64,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