From patchwork Tue Mar 19 07:28:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Kjaergaard X-Patchwork-Id: 228928 X-Patchwork-Delegate: esben@haabendal.dk Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [IPv6:2001:878:346::102]) by ozlabs.org (Postfix) with ESMTP id E90242C00A2 for ; Tue, 19 Mar 2013 18:28:51 +1100 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id B51593F987 for ; Tue, 19 Mar 2013 08:28:50 +0100 (CET) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail01.prevas.se (mail01.prevas.se [62.95.78.3]) by hugin.dotsrc.org (Postfix) with ESMTPS id BC9443F987 for ; Tue, 19 Mar 2013 08:28:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=2191; q=dns/txt; s=ironport1; t=1363678128; x=1395214128; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=mHgDW2zTMGu8YMuRNe7F/prKAcCq5OKw4onkE4KOssY=; b=v/T2TX+79zzucoZQLop/+PFFM48PUIRCxSVjQqW+Z7fPU0HxrMgBHx/q BIUwoR+TwMIKHY8CbJAk7wZdebh4rBMIEObeTrqqtQnvUtfY5MzM7S9KZ a8oSnfFNapszF9UMSI2ePwo9Oh8CzRFpqxEDkQV4woHnYYs9iTPdtsSQx Q=; X-IronPort-AV: E=Sophos;i="4.84,870,1355094000"; d="scan'208";a="2885339" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport1.prevas.se with ESMTP/TLS/AES128-SHA; 19 Mar 2013 08:28:48 +0100 Received: from arh116.prevas.se (172.16.11.18) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server (TLS) id 14.2.342.3; Tue, 19 Mar 2013 08:28:48 +0100 From: Jacob Barsoe To: Subject: [PATCH 1/2] lftp: Add version 4.4.5 Date: Tue, 19 Mar 2013 08:28:46 +0100 Message-ID: <46e41207e288af3a1244633f8b234ec7a25710b9.1363678101.git.jacob.kjaergaard@prevas.dk> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [172.16.11.18] X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org From: Jacob Kjaergaard --- recipes/lftp/lftp-4.4.5/config.site | 1 + .../lftp/lftp-4.4.5/gets-undefined-in-C11.patch | 14 ++++++++++++++ recipes/lftp/lftp_4.4.5.oe | 5 +++++ recipes/lftp/lftp_4.4.5.oe.sig | 1 + 4 files changed, 21 insertions(+) create mode 100644 recipes/lftp/lftp-4.4.5/config.site create mode 100644 recipes/lftp/lftp-4.4.5/gets-undefined-in-C11.patch create mode 100644 recipes/lftp/lftp_4.4.5.oe create mode 100644 recipes/lftp/lftp_4.4.5.oe.sig diff --git a/recipes/lftp/lftp-4.4.5/config.site b/recipes/lftp/lftp-4.4.5/config.site new file mode 100644 index 0000000..ce54c84 --- /dev/null +++ b/recipes/lftp/lftp-4.4.5/config.site @@ -0,0 +1 @@ +i_cv_posix_fallocate_works=${i_cv_posix_fallocate_works=yes} diff --git a/recipes/lftp/lftp-4.4.5/gets-undefined-in-C11.patch b/recipes/lftp/lftp-4.4.5/gets-undefined-in-C11.patch new file mode 100644 index 0000000..c9db819 --- /dev/null +++ b/recipes/lftp/lftp-4.4.5/gets-undefined-in-C11.patch @@ -0,0 +1,14 @@ +--- lftp-4.3.8.orig/lib/stdio.in.h ++++ lftp-4.3.8/lib/stdio.in.h +@@ -702,10 +702,12 @@ _GL_WARN_ON_USE (getline, "getline is un + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning; besides, C11 + removed it. */ ++#ifdef gets + #undef gets + #if HAVE_RAW_DECL_GETS + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + #endif ++#endif + + #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ diff --git a/recipes/lftp/lftp_4.4.5.oe b/recipes/lftp/lftp_4.4.5.oe new file mode 100644 index 0000000..3d9d683 --- /dev/null +++ b/recipes/lftp/lftp_4.4.5.oe @@ -0,0 +1,5 @@ +LICENSE = "GPL-3.0+" + +require lftp.inc + +SRC_URI += "file://gets-undefined-in-C11.patch" diff --git a/recipes/lftp/lftp_4.4.5.oe.sig b/recipes/lftp/lftp_4.4.5.oe.sig new file mode 100644 index 0000000..5f0aa72 --- /dev/null +++ b/recipes/lftp/lftp_4.4.5.oe.sig @@ -0,0 +1 @@ +b985c5985b6663703d4cd815c27dc7e74103c975 lftp-4.4.5.tar.bz2