From patchwork Mon Mar 19 06:02:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131996 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2340712ljb; Sun, 18 Mar 2018 23:03:22 -0700 (PDT) X-Google-Smtp-Source: AG47ELuO6GeT0hQrclhDtuzifZ68MHa/Cvk3t3OOmRUbSuufWcmrWVyobpanMlEGlkpyxqjOypKZ X-Received: by 10.99.61.204 with SMTP id k195mr8285496pga.312.1521439402496; Sun, 18 Mar 2018 23:03:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439402; cv=none; d=google.com; s=arc-20160816; b=nNFwSjnTv8ezyiD3AzLKi2EzH/NF9Qej9bzi0tFxk+DspZlQxkVFKP2rTiGU8EdZc4 nRczIfiT8CkG6U4+uHWhLBQhRg+73WJuvtnlKEcFtTR1QceszsOHsh6u7ZMAljBLl2cU HLwmOYBOqifeXHz1bwjBC2webuVvq8gC++rveSbWt0G2lou5klvuwrRqVafeuId+B56+ jjD2MedpLNb3N3y81tj0BeeWF38GRnO3Me1rcx5F0g5gBd6A+h75rjn2+khnCrbC6NXc TNJN9hf01Z0nm0Xv9vihe9u/6NmJOEaub6sNtRUhQEbVkdPC/r6JjlyYUmtNF28KUhWD LIbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=YwOn5DAE0LknqXsgzcU28mIPejn4qJD7tUb4EZT/1so=; b=kCCRIqV199B+yiZEbssM70xRYHkqFv6xadSXDVdfkzClSwiUc4AJMHCnXgKKi0TKaq LIKyBEcERU0Zc4RvtZHKSvy1o+c1nJBBPn4UxODI3sICzoMlWIeCvf4+S1upGV/tKRS9 ftQJnhplyqNCmPOWD4q7VFRd67wCa2m9GIsJSKXdNOuKiccwfEHJubyy5SWT30szPQ+n I8CCCYPubQ5paTOCXhnpIIp4oDdRdITVRlFK4AHSXj3tSJCkG4TwaGDunN6rTyIf/Vd1 N/2IPslJ7DCkJkoTuYIFgSfuBwJphCH5/iIqMG1hHmwehqTd5EJhuNZXzJLEq6I+b8sT dJvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=mWsddFZw; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b61-v6si2198369plc.500.2018.03.18.23.03.21; Sun, 18 Mar 2018 23:03:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=mWsddFZw; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 9D95C6093E; Mon, 19 Mar 2018 06:03:14 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by mail.openembedded.org (Postfix) with ESMTP id A51786093E for ; Mon, 19 Mar 2018 06:03:12 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id d1so6541059pgv.2 for ; Sun, 18 Mar 2018 23:03:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=phB79/3QY+3obx3d+sN1qAqSSooYEX2k6hQg2Uw23us=; b=mWsddFZwnDOupthWU+dzZIUlcSbyvmeAgwTCcf15AIEQvw301ewfaCPlIwpNRCW3d4 OlCpbVLIPXRBN47LFZvnWGaK6CzDBVImpFYlTEjEN52O4i1lIEBgwChUtiABbJ8N7coH 9f1keNfzZpyQUWXl5czxnXGzo6cIW8xhfFGtSDB8SG6Ai2GhKm8wJl/17od3bqfrIoJ/ cSfd8FUX1mI+ZDs9ByaNYMFlqpoCaguwZHC815BI+yZvHNhnFCZB1fFGAgKeNqMi63nN 0EPnaymFgeOjoviysjKAss41BHSl0gpWYuNuW6n2W2M0nk1BZYWzNEON1u7Q1HEkxey6 mkFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=phB79/3QY+3obx3d+sN1qAqSSooYEX2k6hQg2Uw23us=; b=rLhvJtrZjxwSsILKWBdodeFtJkN2u8fTFzJI915ZmRqtAZOaESZCmnbigMiF1UTTTa eSxn+B7/lDHOd4TiUMPFCeQWnM4GlvqtKa1DF/LF9qbx09EGUQm4oIrZeEotOtMVuP1T qjSivf5yBiDf3ZT1VKnRlp4uOXGNBw5hudEvhRvf3+TA+O97/vHwYOimLAgErZHFnfqi CVxjRafMZUoGgh9TWrG1wx1tAMwG3/Ep0LgefLTV1wrsIhPXvaFgxNzmyER2OPY9wehQ wS+s4GGBZw2UMO4oV4ZZxoiA6EIMA9loAqnrqP0CTMr9I+d8Y4nFfLJcbKqaoD1iJ5Q/ Soiw== X-Gm-Message-State: AElRT7H/Vt21N/NRcO08T79L5YBENvmsVjVRtV+qOXZEbV9bvsBshJyP BEHYnRUaoM5JDkbNleAaHwNoLA== X-Received: by 10.98.30.66 with SMTP id e63mr9218023pfe.67.1521439393482; Sun, 18 Mar 2018 23:03:13 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:12 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:43 -0700 Message-Id: <20180319060300.5366-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 Subject: [oe] [meta-oe][PATCH 01/18] obexftp: use makefile instead of ninja cmake generator X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Fixes | NOTE: make -j 44 crctable | make: *** No rule to make target 'crctable'. Stop. Signed-off-by: Khem Raj --- meta-oe/recipes-connectivity/obexftp/obexftp_0.24.2.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-connectivity/obexftp/obexftp_0.24.2.bb b/meta-oe/recipes-connectivity/obexftp/obexftp_0.24.2.bb index 489861cb7..b4a914d92 100644 --- a/meta-oe/recipes-connectivity/obexftp/obexftp_0.24.2.bb +++ b/meta-oe/recipes-connectivity/obexftp/obexftp_0.24.2.bb @@ -16,6 +16,8 @@ SRC_URI[sha256sum] = "d40fb48e0a0eea997b3e582774b29f793919a625d54b87182e31a3f3d1 inherit cmake pkgconfig +OECMAKE_GENERATOR = "Unix Makefiles" + PACKAGECONFIG ?= "" # fuse support will need meta-filesystems layer PACKAGECONFIG[fuse] = "-DENABLE_FUSE=ON,-DENABLE_FUSE=OFF,fuse" From patchwork Mon Mar 19 06:02:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131997 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2341156ljb; Sun, 18 Mar 2018 23:03:54 -0700 (PDT) X-Google-Smtp-Source: AG47ELsVuIbjklczdJyVs7maMa30tmxR1pxiUywzUx4kgrvMCqZhYaIIT2DapeHnWYN45Gz+CCeJ X-Received: by 10.98.13.23 with SMTP id v23mr5254337pfi.202.1521439434153; Sun, 18 Mar 2018 23:03:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439434; cv=none; d=google.com; s=arc-20160816; b=CWyTPhuwPneWNV3GVJPeww5PmMWEu10jPoE/UfTCF9JYVEdNJP3rW9t++SnGFQTwlK LUpnE/fOYXQrtsqbdKSB/Yjyb6xGsFuexcJ4KNTw7i6W9mjJh5PPxH6gEwEBTRMkI1/p 2QYL8c/kxIhbHQ7j72PHTQldoEqtN50QtHipBBRvkbhc4fXHfnZ8ckrxM368aktpzQOV 3XRjk8PU21htwAnQDJY1/3eFB+kQqjKCaybZCcZxts7yphkLIqKKGvTx4pqZw7WjLZbS bFVx3GQjBjKUEl+/ZXjdvI1i2TupXELTeJ4xGWogFddb6WVy3CacqaVfPpH6n+S+MtdI devQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=QeVmP1S/FDBGTWaH3MQz7uPtB9/rtPJPcRvq1JH3l2w=; b=Mjcyj7Wdk9xk8uElzbQnawJtuVLlzEjkUNJwGCmIOoIiOs3HPQWwRP41YVN1JQGdfZ A4eaPSS+kaYxvb5j4ni8vxUHoOCTgrBtY+yiYMUqyDKWYQKR+NbQmWKnLxq9Ld+o6YIy +S3F5dbX1F7C2dayLsPLCsQ7pnq9vg9WfpnY5wUIEUejO3FFL6dWk5O+d5IPNkWMMMpP x8qwtQLcBxbRH6bwfHrF0O272+Bn/LlihLKDOaQOoAIwNxrAjkkJaNhRGkOBozeLP/bi grSKTZKSwSQXIhnWgsKpD+WciS6AA0bCiV0dc4ky5aqhhFwoeOaHV+dQsK49Mc40/W0R GFdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=sT8K+DFa; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id r4-v6si923471plo.128.2018.03.18.23.03.53; Sun, 18 Mar 2018 23:03:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=sT8K+DFa; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 8C38E78948; Mon, 19 Mar 2018 06:03:50 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id 7D8C578915 for ; Mon, 19 Mar 2018 06:03:14 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id x1so6645154pfh.7 for ; Sun, 18 Mar 2018 23:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NgPUnAIYHaR3eA8jmS7bAUreibCAfcedV534xZH9ffs=; b=sT8K+DFa8OHu2q4PTqjRTn45QQ4fuIp8lGOS+RlHRWS04hOz0//DwDjYckQetCxNWT vj5T0RtOLnGjHLb1JQ4Oge6iBRKFVJlKQi2vw7p8k9wFj6g6nv3D3SQao1gtNalRGJtz CZEMYRiUKytAirdEMLipdr0sa5J3hqHkx9oh9sobc9+ziYfjuOA2F97Dhfi3K9lQXKJf 80X/HGTroFH3X9sn20XXtnUihmp/QGxgRhBhjxqXo1WXMlJCAm2Vk2AS8JCU1hZpEdwH fHqqMXUIDm9L/Efw2schxb+FU9ZPdvy57qu15yASG06JFo84BSq50U7G7l6+8o3fwKnt pOCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NgPUnAIYHaR3eA8jmS7bAUreibCAfcedV534xZH9ffs=; b=iPBMZNCSaCVCF9FtAtuzD73eTSXzW/fb2KpBcKfWs96gSv+Ls9qI9QJfKypgyy+ZHo 9oTZIVnjyO2MRFfdDd/tKtA7sF9ZRdwt02gUfseMsViGjV4D3gYWKuSZYlqVgPcIInhp mkq6kKWCPbLnRnQdkH/y8YafeWDET7f4ifri98qXUCNaKy4KL92VBlgN5sk32MadD/ea +ZPVQqhK5r4MD2y5HhZ3b9U5RUuF1DZT9C1P7Th/YqZZ1BVXOmgOtVI2oVkaojYzL/o3 bS/mHsKG4K2evrFYsJyqNpeFb1V6IhY8hCxxZQNB0g84KluFNmM0yfz8JvZIL+/gdzYO 1k5Q== X-Gm-Message-State: AElRT7HeT51g5PGKJEmAZnhgXam0e/sfu1iLOXkTDjayNO+GNoBby7aj GDEy6CiadKKHT3Ce33rG/nnAWw== X-Received: by 10.98.156.16 with SMTP id f16mr9270812pfe.180.1521439395450; Sun, 18 Mar 2018 23:03:15 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:13 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:44 -0700 Message-Id: <20180319060300.5366-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 02/18] mdns: Do not include nss.h with musl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...mdns-Do-not-include-nss.h-when-libc-glibc.patch | 42 ++++++++++++++++++++++ .../recipes-protocols/mdns/mdns_765.50.9.bb | 1 + 2 files changed, 43 insertions(+) create mode 100644 meta-networking/recipes-protocols/mdns/files/0001-nss_mdns-Do-not-include-nss.h-when-libc-glibc.patch -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-protocols/mdns/files/0001-nss_mdns-Do-not-include-nss.h-when-libc-glibc.patch b/meta-networking/recipes-protocols/mdns/files/0001-nss_mdns-Do-not-include-nss.h-when-libc-glibc.patch new file mode 100644 index 000000000..863866d18 --- /dev/null +++ b/meta-networking/recipes-protocols/mdns/files/0001-nss_mdns-Do-not-include-nss.h-when-libc-glibc.patch @@ -0,0 +1,42 @@ +From d3082d2c606c810aa0a39378bf1e02575af3a301 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 2 Feb 2018 21:54:11 -0800 +Subject: [PATCH] nss_mdns: Do not include nss.h when libc != glibc + +Provide nss_status macro instead for non-glibc case +where nss.h is absent + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + mDNSPosix/nss_mdns.c | 13 ++++++++++++- + 1 file changed, 12 insertions(+), 1 deletion(-) + +diff --git a/mDNSPosix/nss_mdns.c b/mDNSPosix/nss_mdns.c +index afadb3c..c469584 100755 +--- a/mDNSPosix/nss_mdns.c ++++ b/mDNSPosix/nss_mdns.c +@@ -378,8 +378,19 @@ init_config (); + + #define ENTNAME hostent + #define DATABASE "hosts" +- ++#ifdef __GLIBC__ + #include ++#else ++enum nss_status ++{ ++ NSS_STATUS_TRYAGAIN = -2, ++ NSS_STATUS_UNAVAIL, ++ NSS_STATUS_NOTFOUND, ++ NSS_STATUS_SUCCESS, ++ NSS_STATUS_RETURN ++}; ++#define NETDB_INTERNAL NULL ++#endif + // For nss_status + #include + // For hostent +-- +2.16.1 + diff --git a/meta-networking/recipes-protocols/mdns/mdns_765.50.9.bb b/meta-networking/recipes-protocols/mdns/mdns_765.50.9.bb index 1a80f7acb..9a7152fcf 100644 --- a/meta-networking/recipes-protocols/mdns/mdns_765.50.9.bb +++ b/meta-networking/recipes-protocols/mdns/mdns_765.50.9.bb @@ -9,6 +9,7 @@ RPROVIDES_${PN} += "libdns_sd.so" SRC_URI = "http://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-${PV}.tar.gz \ file://build.patch;patchdir=.. \ file://mdns.service \ + file://0001-nss_mdns-Do-not-include-nss.h-when-libc-glibc.patch;patchdir=.. \ " SRC_URI[md5sum] = "4a6bc1628851002634ea3833a4dca317" From patchwork Mon Mar 19 06:02:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131998 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2341244ljb; Sun, 18 Mar 2018 23:04:00 -0700 (PDT) X-Google-Smtp-Source: AG47ELsWzEOl2nJos48gS55CxRx61ysRDwy28LJBRexdXq/k67aLcPn1lP/8oAWlnCLl1BEeoP2F X-Received: by 10.101.97.139 with SMTP id c11mr8362704pgv.431.1521439439872; Sun, 18 Mar 2018 23:03:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439439; cv=none; d=google.com; s=arc-20160816; b=f6WugbmI5E0fhfu9KB3ytwHO1bxuhU3p/btaBmDUpGmfRbKy4+sAd30C/GA0+TS2jZ Ls95swp8maWa7xPQ3ECy8HqhIayMOrKDUQ2CDlH5Ty9t7QF8YYzpSfDmH8zqlzjpJAkp 2oaMe7PtJTeSzBhZk6jCT3l8OcP3AOwIQTaVopr1H9MAWhj++FINVUg4HijKoB+DxjDB f9ucIZSmTv3Zw5h3rxun3pMiFEUe6l3sIbMzYEBfUh2EQ2f2q8aJtqf54nc3FqPMX6Fx 2cYBgFr6FIoyZOmxWW9g1HrrxRmfSNXg4CpyaPCZK3kwWsp9My+/i4hbQbaMypYIQKNh gAgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=TKgEN53UMffcKMh+tGTS4TvRWupIBIhfD6II0D46olM=; b=XVrbOT9XqZbaFq2mlYb0YDabY33Ypb15MkefCxJVIXz7i1DvN4iDpYjWgV1tO2EeYu tXr3ZeVaIgJbgDR+nQWK32b0zjr1kcquAAhN+kIGkaoSfzDoH12UcHoFXksRZEEcZpqN mhRu/kyPiHwXfjfXqeC1eXu5WwKL8NpM444/jnqZlyi+GeVO0DLE5Ji60Tj4cKfHycwt 12DbEJ5wyUbGEXbv+oTz+UAdVoDsGq7Rm5j9NaTYKv4LZgVJ8VOT9HYWNXbE0+OJA1LY 7HXJ3F9ZR+y0i9jQxAeYOfYJ/hnlvVLhilzXng8bv/BTbuaXzvskYsWFSAxik/vN2gRH au6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Sxpxf4wj; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 97-v6si11752389plb.23.2018.03.18.23.03.59; Sun, 18 Mar 2018 23:03:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Sxpxf4wj; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A0BFB78955; Mon, 19 Mar 2018 06:03:51 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f181.google.com (mail-pf0-f181.google.com [209.85.192.181]) by mail.openembedded.org (Postfix) with ESMTP id 04AF4788F7 for ; Mon, 19 Mar 2018 06:03:15 +0000 (UTC) Received: by mail-pf0-f181.google.com with SMTP id d26so6647648pfn.5 for ; Sun, 18 Mar 2018 23:03:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YGnldYrB0meFZ66RUxZj+xcOyFAzTo8IIc90CfO/yuc=; b=Sxpxf4wjJavj/50Qxy2sos45RmkfWniI4ZJ4jMQy6Ueuri5BeHe7mznaIC4jnP7+BU RAhxgpfEvZ04QEOVMKkIpa5yD3C6i4xYwnIhBRZzOUSFJBSTm26BFJxy91U+AYQMZARk Q9XjYJJmXPELxEGXmRsRXvuLJMAFkXVtvhk5QQlKkTHY3rzWuzl88p88edlv5JYqod1X dBePujXC44KwT1bQzQ1u13QMPbiWfhz1GzD+8a2WMHAfL7szopJZTJsMRvRkyLK+VdQP 1kfandXo5Qf+2JTN3/7xI3qQeS9U05DB0hVwS0DYFgNvSwf24bikHVJ6YjJDIwKFLBd1 8R6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YGnldYrB0meFZ66RUxZj+xcOyFAzTo8IIc90CfO/yuc=; b=TbZVa1pUoeZvdQfhGhzSSiekY1r3PBu1EHk+2lIO4sYxEanyszk3IKJM6o1bTNXr/x BNtNUxUr0ynSyW60jEaupssqdCWBzHZJ6a3+HvCv75f8JC7IBgXLa75pJ/j36WXB91Ls +MivufzBpJHhBR+vQVoCc7Zp7nHib6x1TYjbKuSLMdmJYR7ckdkUPQwbGQle+ZJv7IVK HnTGebH2HUWlnLszCibKAe89DQmH1x88LbUWStcVhfmsjrgkcZ7x20tRzoDyVsy2Mjyy vsEr3wq3g8mgSWgnOvm1Ryq7Ne1SGYmUZslgbL7beoQLcj5O25WlkhtSijnejRgj3h/E TXPw== X-Gm-Message-State: AElRT7GivmMZAcCGKjoLItIp7ymIjrNT7amfX/nfXF5DtZB9AKZ94D7x MQbDao1/6EfsknHHjmFry8puZQ== X-Received: by 10.98.226.16 with SMTP id a16mr9182581pfi.157.1521439396845; Sun, 18 Mar 2018 23:03:16 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:16 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:45 -0700 Message-Id: <20180319060300.5366-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 03/18] mraa: Fix build on musl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...ian.h-for-be16toh-and-le16toh-declaration.patch | 27 ++++++++++++++++++++++ meta-oe/recipes-extended/mraa/mraa_git.bb | 4 +++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-extended/mraa/mraa/0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/mraa/mraa/0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch b/meta-oe/recipes-extended/mraa/mraa/0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch new file mode 100644 index 000000000..711738a92 --- /dev/null +++ b/meta-oe/recipes-extended/mraa/mraa/0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch @@ -0,0 +1,27 @@ +From 2c85decc3b93bfe7322309d2ca7d6377e746c18f Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 5 Feb 2018 09:51:08 -0800 +Subject: [PATCH] include endian.h for be16toh and le16toh declarations + +Upstream-Status: Submitted [https://github.com/intel-iot-devkit/mraa/pull/863] + +Signed-off-by: Khem Raj +--- + examples/iio_driver.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/examples/iio_driver.c b/examples/iio_driver.c +index c5a0181..568011c 100644 +--- a/examples/iio_driver.c ++++ b/examples/iio_driver.c +@@ -22,6 +22,7 @@ + * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + ++#include + #include + #include "mraa/iio.h" + +-- +2.16.1 + diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb index 16883be3a..366d6b70f 100644 --- a/meta-oe/recipes-extended/mraa/mraa_git.bb +++ b/meta-oe/recipes-extended/mraa/mraa_git.bb @@ -8,7 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4b92a3b497d7943042a6db40c088c3f2" SRCREV = "fbb7d9232067eac3f4508a37a8f7ea0c4fcebacb" PV = "1.9.0-git${SRCPV}" -SRC_URI = "git://github.com/intel-iot-devkit/${BPN}.git;protocol=http" +SRC_URI = "git://github.com/intel-iot-devkit/${BPN}.git;protocol=http \ + file://0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch \ + " S = "${WORKDIR}/git" From patchwork Mon Mar 19 06:02:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131999 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2341350ljb; Sun, 18 Mar 2018 23:04:07 -0700 (PDT) X-Google-Smtp-Source: AG47ELtxMCZVdoFdOlzmW5nFHQ9J3pKO/NoHjPVCDCHfNP7EZlzUYu4S1b6BePxil4okIaVQi1f2 X-Received: by 2002:a17:902:680c:: with SMTP id h12-v6mr11524429plk.46.1521439447245; Sun, 18 Mar 2018 23:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439447; cv=none; d=google.com; s=arc-20160816; b=B+fPisymBBrtUz9pekSIzFnX9OscEYgA3IBKEQBzReHKcgG+xVVo7s6k4eaDLjRPgH EWC85O5G2vY1XNL1ui5txktr74JnaOHv2SIkD5fI4g2bsXVbusplEdnP+0FX5wMll59Q ci8ug9n8ELcKaRbL8Kiv1BetXSHzZViF5HXw0LucJMG49FE2BPiHtjJYAJxKPsyfwBwK T00b8KDQnUmC+GdEy7R54aBkgaTyda1GdEVJ3DplBeUlbuHDNCkyeqLID4mEC1IizsUC XEJJNjDWj6smARGvrjxuNCVKVKchTAG0j8BiHhqZ+CsGJTf73S8pNIjtkfoMAYWlfjFW Z3Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=h21QWwfVaoUgmEXkWCoQmyQ9ZcMHmEHREfUbG7lZWeA=; b=NT6zBqK4bUsja1lL34sMFerEMZrr0M3Y5Gedo2U1BUUIcXwtclGd3c1J22pDA6WMPo 0yYXa+OvvRq6E7rpSaIOQBpG2xRZlYwlVUhX2aMTQigeRZOkC0bhj683lNFXHr904+p7 XwDaMx/UMIaOLcUMpBDhnXGCGsO8pes7vvdTPn+/MHUg7xb2//hJjO616K5tuOSgmjgM NfLgCUa+SZ/Pv/NLxyTCvQcbFavW2vAK9THhKgLjwPC3In7vIPt18jKankQhJ0C+8Ur6 NTcZ49IWadAXbaUWGb9+BN7gc5ZApG58jRsAsNnUoywKQRlc9iPPLGenI2NJz+Uf35Da uglA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=hcrhZWRa; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id h34-v6si11629909pld.26.2018.03.18.23.04.06; Sun, 18 Mar 2018 23:04:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=hcrhZWRa; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C1CDD7895A; Mon, 19 Mar 2018 06:03:52 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f51.google.com (mail-pl0-f51.google.com [209.85.160.51]) by mail.openembedded.org (Postfix) with ESMTP id 65FCF78915 for ; Mon, 19 Mar 2018 06:03:17 +0000 (UTC) Received: by mail-pl0-f51.google.com with SMTP id k22-v6so8798180pls.6 for ; Sun, 18 Mar 2018 23:03:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2MKlGyIp/G2Ct5kp7GNnnN0ikZ3j5Uc4ukhXKiYC2oE=; b=hcrhZWRaQ9bmo2jO6VPuHcJZXE6Zs4dnnVNMqOqAOuE+opqWsmvl0Vg1aYXPMVvBQn lGi0tXYHDeQMywl6LiUgIpZgM4CFr/RGVT9rMcyQOBumig9McfN4GSYj4KPn6FkC6MHQ 4586VCu7eZ79Xf2jJ3//3MiM3QuUhDJQ0epTyJVa5Sc+1kbphk3/bC/a5xqlqjgcQZtK mwH6cdVrw2vQR9nO2EtHSCzbv8VgN7urQYES1rD7GG+92Ubk6ptAk1XKKoGcexmqhU1f z+kusO6fOMO3sFUcIFnxTc2wZBSrhR4sKnyPA1sSrUDzAvHY9dp/rZ6PC8vmMJKQaHqd eaCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2MKlGyIp/G2Ct5kp7GNnnN0ikZ3j5Uc4ukhXKiYC2oE=; b=kM/R5esoMjTQ6idwdYv6Er5u3/WqEADpAxf8EYtLC0xcoxU0hlc4MrWvM7Y0NcECM2 BztAlKkpg5AqUNB9wAcm5xwKCRE5Zw6U0UrrMtxTJcGS8oQ7yqSELefJh9N2jBCGB25t UMar8shrj1TIfH2OGzI9wRf5ArAFUeJVigVsQ3EdJ3Yl8WgbCXKUIZxPdZ0PcDEGdsO/ 9SiWxDZxLkK53vgn0BTvHFpVX8zQMKb5cnuImClQfYbs/bSToclxhhj8CzLZrKnFF7bS xh0+mBBCwXH3cZvmyVx4vsy0SAYGOmDhBOrpw7H9SjiYOeYCy11MPAjY8gpzRIl+qUKh M8IQ== X-Gm-Message-State: AElRT7F6VdgvIwtc8oI0lQ1Q1RbuGbshpR8pm0xXkh9KxwXHN7R0qvoh 9IqR3yzxNJ6baNluGR6wnqRsrw== X-Received: by 2002:a17:902:760e:: with SMTP id k14-v6mr457506pll.292.1521439397952; Sun, 18 Mar 2018 23:03:17 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:17 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:46 -0700 Message-Id: <20180319060300.5366-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 04/18] iscsi-initiator-utils: Upgrade to 2.0.876 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Fix build with musl along the way Signed-off-by: Khem Raj --- ...Check-for-root-peer-user-for-iscsiuio-IPC.patch | 135 --------------------- ...openiscsiusr-Include-limit.h-for-PATH_MAX.patch | 25 ++++ ...001-qedi.c-Removed-unused-linux-ethtool.h.patch | 25 ++++ ...ude-fcnl.h-for-O_RDWR-and-O_CREAT-definit.patch | 25 ++++ ...ould-ignore-bogus-iscsid-broadcast-packet.patch | 39 ------ ...openiscsiusr-Add-CFLAGS-to-linker-cmdline.patch | 29 +++++ ...l-fields-in-iscsiuio-IPC-response-are-set.patch | 34 ------ ...rder-the-includes-to-avoid-duplicate-defi.patch | 49 ++++++++ ...ot-double-close-IPC-file-stream-to-iscsid.patch | 62 ---------- ...04-fwparam_ppc.c-Do-not-use-__compar_fn_t.patch | 28 +++++ ...re-strings-from-peer-are-copied-correctly.patch | 78 ------------ ...-useless-strcopy-and-validate-CIDR-length.patch | 44 ------- ...ck-iscsiuio-ping-data-length-for-validity.patch | 64 ---------- ...nitiator-utils-Do-not-clean-kernel-source.patch | 44 ------- ...text-add-include-for-NI_MAXHOST-definiton.patch | 35 ------ ...2.0.874.bb => iscsi-initiator-utils_2.0.876.bb} | 32 ++--- 16 files changed, 191 insertions(+), 557 deletions(-) delete mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-Check-for-root-peer-user-for-iscsiuio-IPC.patch create mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-libopeniscsiusr-Include-limit.h-for-PATH_MAX.patch create mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-qedi.c-Removed-unused-linux-ethtool.h.patch create mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-idbm.c-Include-fcnl.h-for-O_RDWR-and-O_CREAT-definit.patch delete mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-iscsiuio-should-ignore-bogus-iscsid-broadcast-packet.patch create mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-libopeniscsiusr-Add-CFLAGS-to-linker-cmdline.patch delete mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/0003-Ensure-all-fields-in-iscsiuio-IPC-response-are-set.patch create mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/0003-bnx2x.c-Reorder-the-includes-to-avoid-duplicate-defi.patch delete mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/0004-Do-not-double-close-IPC-file-stream-to-iscsid.patch create mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/0004-fwparam_ppc.c-Do-not-use-__compar_fn_t.patch delete mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/0005-Ensure-strings-from-peer-are-copied-correctly.patch delete mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/0006-Skip-useless-strcopy-and-validate-CIDR-length.patch delete mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/0007-Check-iscsiuio-ping-data-length-for-validity.patch delete mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/iscsi-initiator-utils-Do-not-clean-kernel-source.patch delete mode 100644 meta-networking/recipes-daemons/iscsi-initiator-utils/files/iscsi-initiator-utils-fw_context-add-include-for-NI_MAXHOST-definiton.patch rename meta-networking/recipes-daemons/iscsi-initiator-utils/{iscsi-initiator-utils_2.0.874.bb => iscsi-initiator-utils_2.0.876.bb} (78%) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-Check-for-root-peer-user-for-iscsiuio-IPC.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-Check-for-root-peer-user-for-iscsiuio-IPC.patch deleted file mode 100644 index 2fd5c08a1..000000000 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-Check-for-root-peer-user-for-iscsiuio-IPC.patch +++ /dev/null @@ -1,135 +0,0 @@ -From eb516ac5f9dddc80564f6becee08a0011e7aa58b Mon Sep 17 00:00:00 2001 -From: Lee Duncan -Date: Fri, 15 Dec 2017 10:36:11 -0800 -Subject: [PATCH 1/7] Check for root peer user for iscsiuio IPC - -This fixes a possible vulnerability where a non-root -process could connect with iscsiuio. Fouund by Qualsys. - -CVE: CVE-2017-17840 - -Upstream-Status: Backport - -Signed-off-by: Zhixiong Chi ---- - iscsiuio/src/unix/Makefile.am | 3 ++- - iscsiuio/src/unix/iscsid_ipc.c | 47 ++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 49 insertions(+), 1 deletion(-) - -diff --git a/iscsiuio/src/unix/Makefile.am b/iscsiuio/src/unix/Makefile.am -index 71d5463..a989ef0 100644 ---- a/iscsiuio/src/unix/Makefile.am -+++ b/iscsiuio/src/unix/Makefile.am -@@ -20,7 +20,8 @@ iscsiuio_SOURCES = build_date.c \ - nic_utils.c \ - packet.c \ - iscsid_ipc.c \ -- ping.c -+ ping.c \ -+ ${top_srcdir}/../utils/sysdeps/sysdeps.c - - iscsiuio_CFLAGS = $(AM_CFLAGS) \ - $(LIBNL_CFLAGS) \ -diff --git a/iscsiuio/src/unix/iscsid_ipc.c b/iscsiuio/src/unix/iscsid_ipc.c -index a2a59a8..08e49e5 100644 ---- a/iscsiuio/src/unix/iscsid_ipc.c -+++ b/iscsiuio/src/unix/iscsid_ipc.c -@@ -37,6 +37,8 @@ - * - */ - -+#define _GNU_SOURCE -+ - #include - #include - #include -@@ -47,6 +49,8 @@ - #include - #include - #include -+#include -+#include - - #define PFX "iscsi_ipc " - -@@ -61,6 +65,7 @@ - #include "iscsid_ipc.h" - #include "uip.h" - #include "uip_mgmt_ipc.h" -+#include "sysdeps.h" - - #include "logger.h" - #include "uip.h" -@@ -102,6 +107,7 @@ struct iface_rec_decode { - uint16_t mtu; - }; - -+#define PEERUSER_MAX 64 - - /****************************************************************************** - * iscsid_ipc Constants -@@ -1029,6 +1035,40 @@ static void iscsid_loop_close(void *arg) - LOG_INFO(PFX "iSCSI daemon socket closed"); - } - -+/* -+ * check that the peer user is privilidged -+ * -+ * return 1 if peer is ok else 0 -+ * -+ * XXX: this function is copied from iscsid_ipc.c and should be -+ * moved into a common library -+ */ -+static int -+mgmt_peeruser(int sock, char *user) -+{ -+ struct ucred peercred; -+ socklen_t so_len = sizeof(peercred); -+ struct passwd *pass; -+ -+ errno = 0; -+ if (getsockopt(sock, SOL_SOCKET, SO_PEERCRED, &peercred, -+ &so_len) != 0 || so_len != sizeof(peercred)) { -+ /* We didn't get a valid credentials struct. */ -+ LOG_ERR(PFX "peeruser_unux: error receiving credentials: %m"); -+ return 0; -+ } -+ -+ pass = getpwuid(peercred.uid); -+ if (pass == NULL) { -+ LOG_ERR(PFX "peeruser_unix: unknown local user with uid %d", -+ (int) peercred.uid); -+ return 0; -+ } -+ -+ strlcpy(user, pass->pw_name, PEERUSER_MAX); -+ return 1; -+} -+ - /** - * iscsid_loop() - This is the function which will process the broadcast - * messages from iscsid -@@ -1038,6 +1078,7 @@ static void *iscsid_loop(void *arg) - { - int rc; - sigset_t set; -+ char user[PEERUSER_MAX]; - - pthread_cleanup_push(iscsid_loop_close, arg); - -@@ -1077,6 +1118,12 @@ static void *iscsid_loop(void *arg) - continue; - } - -+ if (!mgmt_peeruser(iscsid_opts.fd, user) || strncmp(user, "root", PEERUSER_MAX)) { -+ close(s2); -+ LOG_ERR(PFX "Access error: non-administrative connection rejected"); -+ break; -+ } -+ - process_iscsid_broadcast(s2); - close(s2); - } --- -1.9.1 - diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-libopeniscsiusr-Include-limit.h-for-PATH_MAX.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-libopeniscsiusr-Include-limit.h-for-PATH_MAX.patch new file mode 100644 index 000000000..f5e1bec8a --- /dev/null +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-libopeniscsiusr-Include-limit.h-for-PATH_MAX.patch @@ -0,0 +1,25 @@ +From cfee58d5863a535b61aa54690ae205b876f57944 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 2 Feb 2018 22:53:29 -0800 +Subject: [PATCH 1/2] libopeniscsiusr: Include limit.h for PATH_MAX + +Signed-off-by: Khem Raj +--- + libopeniscsiusr/iface.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libopeniscsiusr/iface.c b/libopeniscsiusr/iface.c +index 79898df..a48ef36 100644 +--- a/libopeniscsiusr/iface.c ++++ b/libopeniscsiusr/iface.c +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include + + #include "libopeniscsiusr/libopeniscsiusr.h" + #include "misc.h" +-- +2.16.1 + diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-qedi.c-Removed-unused-linux-ethtool.h.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-qedi.c-Removed-unused-linux-ethtool.h.patch new file mode 100644 index 000000000..174aa50d2 --- /dev/null +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-qedi.c-Removed-unused-linux-ethtool.h.patch @@ -0,0 +1,25 @@ +From 197713ad7e3e944102bbd792e1ab9ec4a67100c0 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 2 Feb 2018 23:25:21 -0800 +Subject: [PATCH 1/4] qedi.c: Removed unused linux/ethtool.h + +Signed-off-by: Khem Raj +--- + iscsiuio/src/unix/libs/qedi.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/iscsiuio/src/unix/libs/qedi.c b/iscsiuio/src/unix/libs/qedi.c +index b81fecd..24cb89a 100644 +--- a/iscsiuio/src/unix/libs/qedi.c ++++ b/iscsiuio/src/unix/libs/qedi.c +@@ -49,7 +49,6 @@ + #include + #include + #include +-#include + #include + #include + #include +-- +2.16.1 + diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-idbm.c-Include-fcnl.h-for-O_RDWR-and-O_CREAT-definit.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-idbm.c-Include-fcnl.h-for-O_RDWR-and-O_CREAT-definit.patch new file mode 100644 index 000000000..aecede6ee --- /dev/null +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-idbm.c-Include-fcnl.h-for-O_RDWR-and-O_CREAT-definit.patch @@ -0,0 +1,25 @@ +From 2b39f85dcf020647544002cb0b0e734748391dfb Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 2 Feb 2018 23:27:25 -0800 +Subject: [PATCH 2/4] idbm.c: Include fcnl.h for O_RDWR and O_CREAT definitions + +Signed-off-by: Khem Raj +--- + usr/idbm.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/usr/idbm.c b/usr/idbm.c +index 5532202..0a51b85 100644 +--- a/usr/idbm.c ++++ b/usr/idbm.c +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + #include + #include + +-- +2.16.1 + diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-iscsiuio-should-ignore-bogus-iscsid-broadcast-packet.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-iscsiuio-should-ignore-bogus-iscsid-broadcast-packet.patch deleted file mode 100644 index 1f5202ec0..000000000 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-iscsiuio-should-ignore-bogus-iscsid-broadcast-packet.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 035bb16845537351e1bccb16d38981754fd53129 Mon Sep 17 00:00:00 2001 -From: Lee Duncan -Date: Fri, 15 Dec 2017 10:37:56 -0800 -Subject: [PATCH 2/7] iscsiuio should ignore bogus iscsid broadcast packets - -When iscsiuio is receiving broadcast packets from iscsid, -if the 'payload_len', carried in the packet, is too -large then ignore the packet and print a message. -Found by Qualsys. - -CVE: CVE-2017-17840 - -Upstream-Status: Backport - -Signed-off-by: Zhixiong Chi ---- - iscsiuio/src/unix/iscsid_ipc.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/iscsiuio/src/unix/iscsid_ipc.c b/iscsiuio/src/unix/iscsid_ipc.c -index 08e49e5..dfdae63 100644 ---- a/iscsiuio/src/unix/iscsid_ipc.c -+++ b/iscsiuio/src/unix/iscsid_ipc.c -@@ -950,6 +950,12 @@ int process_iscsid_broadcast(int s2) - - cmd = data->header.command; - payload_len = data->header.payload_len; -+ if (payload_len > sizeof(data->u)) { -+ LOG_ERR(PFX "Data payload length too large (%d). Corrupt payload?", -+ payload_len); -+ rc = -EINVAL; -+ goto error; -+ } - - LOG_DEBUG(PFX "recv iscsid request: cmd: %d, payload_len: %d", - cmd, payload_len); --- -1.9.1 - diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-libopeniscsiusr-Add-CFLAGS-to-linker-cmdline.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-libopeniscsiusr-Add-CFLAGS-to-linker-cmdline.patch new file mode 100644 index 000000000..836ed6048 --- /dev/null +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0002-libopeniscsiusr-Add-CFLAGS-to-linker-cmdline.patch @@ -0,0 +1,29 @@ +From 29571f71692e28ce9a17d1450097a98492f3b465 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 2 Feb 2018 22:54:04 -0800 +Subject: [PATCH 2/2] libopeniscsiusr: Add CFLAGS to linker cmdline + +This will ensure that -fPIC is passed to linker as +well + +Signed-off-by: Khem Raj +--- + libopeniscsiusr/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libopeniscsiusr/Makefile b/libopeniscsiusr/Makefile +index 8b9b523..4f1d0d6 100644 +--- a/libopeniscsiusr/Makefile ++++ b/libopeniscsiusr/Makefile +@@ -49,7 +49,7 @@ LIBADD = + all: $(LIBS) $(LIBS_MAJOR) $(TESTS) doc + + $(LIBS): $(OBJS) +- $(CC) $(LDFLAGS) -shared -Wl,-soname=$@ -o $@ $(OBJS) $(LIBADD) ++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname=$@ -o $@ $(OBJS) $(LIBADD) + ln -sf $@ $(DEVLIB) + + $(LIBS_MAJOR): $(LIBS) +-- +2.16.1 + diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0003-Ensure-all-fields-in-iscsiuio-IPC-response-are-set.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0003-Ensure-all-fields-in-iscsiuio-IPC-response-are-set.patch deleted file mode 100644 index 825083b74..000000000 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0003-Ensure-all-fields-in-iscsiuio-IPC-response-are-set.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 81d3106cf8f09c79fe20ad7d234d7e1dda27bddb Mon Sep 17 00:00:00 2001 -From: Lee Duncan -Date: Fri, 15 Dec 2017 11:11:17 -0800 -Subject: [PATCH 3/7] Ensure all fields in iscsiuio IPC response are set - -Make sure all fields in the response strcuture are set, -or info from the stack can be leaked to our caller. -Found by Qualsys. - -CVE: CVE-2017-17840 - -Upstream-Status: Backport - -Signed-off-by: Zhixiong Chi ---- - iscsiuio/src/unix/iscsid_ipc.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/iscsiuio/src/unix/iscsid_ipc.c b/iscsiuio/src/unix/iscsid_ipc.c -index dfdae63..61e96cc 100644 ---- a/iscsiuio/src/unix/iscsid_ipc.c -+++ b/iscsiuio/src/unix/iscsid_ipc.c -@@ -960,6 +960,8 @@ int process_iscsid_broadcast(int s2) - LOG_DEBUG(PFX "recv iscsid request: cmd: %d, payload_len: %d", - cmd, payload_len); - -+ memset(&rsp, 0, sizeof(rsp)); -+ - switch (cmd) { - case ISCSID_UIP_IPC_GET_IFACE: - size = fread(&data->u.iface_rec, payload_len, 1, fd); --- -1.9.1 - diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0003-bnx2x.c-Reorder-the-includes-to-avoid-duplicate-defi.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0003-bnx2x.c-Reorder-the-includes-to-avoid-duplicate-defi.patch new file mode 100644 index 000000000..0ce155f7a --- /dev/null +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0003-bnx2x.c-Reorder-the-includes-to-avoid-duplicate-defi.patch @@ -0,0 +1,49 @@ +From 9b7a32903b56ce4d41f264a345ca59a0b00d53b3 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 2 Feb 2018 23:28:33 -0800 +Subject: [PATCH 3/4] bnx2x.c: Reorder the includes to avoid duplicate defines + with musl + +including nic.h before linux/ethtool.h avoids redefinitions of +eth structs + +/mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/iscsi-initiator-utils/2.0.876-r0/recipe-sysroot/ +usr/include/netinet/if_ether.h:104:8: error: redefinition of 'struct ethhdr' + struct ethhdr { + ^~~~~~ +In file included from /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/iscsi-initiator-utils/2.0. +876-r0/recipe-sysroot/usr/include/linux/ethtool.h:19:0, + from qedi.c:52: +/mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-musleabi/iscsi-initiator-utils/2.0.876-r0/recipe-sysroot/ +usr/include/linux/if_ether.h:154:8: note: originally defined here + struct ethhdr { + ^~~~~~ + +Signed-off-by: Khem Raj +--- + iscsiuio/src/unix/libs/bnx2x.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/iscsiuio/src/unix/libs/bnx2x.c b/iscsiuio/src/unix/libs/bnx2x.c +index 3df6d5f..62530d1 100644 +--- a/iscsiuio/src/unix/libs/bnx2x.c ++++ b/iscsiuio/src/unix/libs/bnx2x.c +@@ -36,6 +36,7 @@ + * bnx2x.c - bnx2x user space driver + * + */ ++#include "nic.h" + #include + #include + #include +@@ -58,7 +59,6 @@ + #include "bnx2x.h" + #include "cnic.h" + #include "logger.h" +-#include "nic.h" + #include "nic_id.h" + #include "nic_utils.h" + #include "options.h" +-- +2.16.1 + diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0004-Do-not-double-close-IPC-file-stream-to-iscsid.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0004-Do-not-double-close-IPC-file-stream-to-iscsid.patch deleted file mode 100644 index 274722c23..000000000 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0004-Do-not-double-close-IPC-file-stream-to-iscsid.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 8167e5ce99682f64918a20966ce393cd33ac67ef Mon Sep 17 00:00:00 2001 -From: Lee Duncan -Date: Fri, 15 Dec 2017 11:13:29 -0800 -Subject: [PATCH 4/7] Do not double-close IPC file stream to iscsid - -A double-close of a file descriptor and its associated FILE stream -can be an issue in multi-threaded cases. Found by Qualsys. - -CVE: CVE-2017-17840 - -Upstream-Status: Backport - -Signed-off-by: Zhixiong Chi ---- - iscsiuio/src/unix/iscsid_ipc.c | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/iscsiuio/src/unix/iscsid_ipc.c b/iscsiuio/src/unix/iscsid_ipc.c -index 61e96cc..bde8d66 100644 ---- a/iscsiuio/src/unix/iscsid_ipc.c -+++ b/iscsiuio/src/unix/iscsid_ipc.c -@@ -913,6 +913,9 @@ early_exit: - /** - * process_iscsid_broadcast() - This function is used to process the - * broadcast messages from iscsid -+ * -+ * s2 is an open file descriptor, which -+ * must not be left open upon return - */ - int process_iscsid_broadcast(int s2) - { -@@ -928,6 +931,7 @@ int process_iscsid_broadcast(int s2) - if (fd == NULL) { - LOG_ERR(PFX "Couldn't open file descriptor: %d(%s)", - errno, strerror(errno)); -+ close(s2); - return -EIO; - } - -@@ -1030,7 +1034,8 @@ int process_iscsid_broadcast(int s2) - } - - error: -- free(data); -+ if (data) -+ free(data); - fclose(fd); - - return rc; -@@ -1132,8 +1137,8 @@ static void *iscsid_loop(void *arg) - break; - } - -+ /* this closes the file descriptor s2 */ - process_iscsid_broadcast(s2); -- close(s2); - } - - pthread_cleanup_pop(0); --- -1.9.1 - diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0004-fwparam_ppc.c-Do-not-use-__compar_fn_t.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0004-fwparam_ppc.c-Do-not-use-__compar_fn_t.patch new file mode 100644 index 000000000..57bdc8cb6 --- /dev/null +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0004-fwparam_ppc.c-Do-not-use-__compar_fn_t.patch @@ -0,0 +1,28 @@ +From 6f9c1a04d250388d1574cfaf20a1ff66a64beb48 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 2 Feb 2018 23:42:12 -0800 +Subject: [PATCH 4/4] fwparam_ppc.c: Do not use __compar_fn_t + +__compar_fn_t is not defined in musl + +Signed-off-by: Khem Raj +--- + utils/fwparam_ibft/fwparam_ppc.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/utils/fwparam_ibft/fwparam_ppc.c b/utils/fwparam_ibft/fwparam_ppc.c +index c298b8c..391faa2 100644 +--- a/utils/fwparam_ibft/fwparam_ppc.c ++++ b/utils/fwparam_ibft/fwparam_ppc.c +@@ -356,7 +356,7 @@ static int loop_devs(const char *devtree) + * Sort the nics into "natural" order. The proc fs + * device-tree has them in somewhat random, or reversed order. + */ +- qsort(niclist, nic_count, sizeof(char *), (__compar_fn_t)nic_cmp); ++ qsort(niclist, nic_count, sizeof(char *), nic_cmp); + + snprintf(prefix, sizeof(prefix), "%s/%s", devtree, "aliases"); + dev_count = 0; +-- +2.16.1 + diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0005-Ensure-strings-from-peer-are-copied-correctly.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0005-Ensure-strings-from-peer-are-copied-correctly.patch deleted file mode 100644 index b73b01120..000000000 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0005-Ensure-strings-from-peer-are-copied-correctly.patch +++ /dev/null @@ -1,78 +0,0 @@ -From c9fc86a50459776d9a7abb609f6503c57d69e034 Mon Sep 17 00:00:00 2001 -From: Lee Duncan -Date: Fri, 15 Dec 2017 11:15:26 -0800 -Subject: [PATCH 5/7] Ensure strings from peer are copied correctly. - -The method of using strlen() and strcpy()/strncpy() has -a couple of holes. Do not try to measure the length of -strings supplied from peer, and ensure copied strings are -NULL-terminated. Use the new strlcpy() instead. -Found by Qualsys. - -CVE: CVE-2017-17840 - -Upstream-Status: Backport - -Signed-off-by: Zhixiong Chi ---- - iscsiuio/src/unix/iscsid_ipc.c | 24 ++++++------------------ - 1 file changed, 6 insertions(+), 18 deletions(-) - -diff --git a/iscsiuio/src/unix/iscsid_ipc.c b/iscsiuio/src/unix/iscsid_ipc.c -index bde8d66..52ae8c6 100644 ---- a/iscsiuio/src/unix/iscsid_ipc.c -+++ b/iscsiuio/src/unix/iscsid_ipc.c -@@ -152,10 +152,7 @@ static int decode_cidr(char *in_ipaddr_str, struct iface_rec_decode *ird) - struct in_addr ia; - struct in6_addr ia6; - -- if (strlen(in_ipaddr_str) > NI_MAXHOST) -- strncpy(ipaddr_str, in_ipaddr_str, NI_MAXHOST); -- else -- strcpy(ipaddr_str, in_ipaddr_str); -+ strlcpy(ipaddr_str, in_ipaddr_str, NI_MAXHOST); - - /* Find the CIDR if any */ - tmp = strchr(ipaddr_str, '/'); -@@ -287,22 +284,16 @@ static int decode_iface(struct iface_rec_decode *ird, struct iface_rec *rec) - - /* For LL on, ignore the IPv6 addr in the iface */ - if (ird->linklocal_autocfg == IPV6_LL_AUTOCFG_OFF) { -- if (strlen(rec->ipv6_linklocal) > NI_MAXHOST) -- strncpy(ipaddr_str, rec->ipv6_linklocal, -- NI_MAXHOST); -- else -- strcpy(ipaddr_str, rec->ipv6_linklocal); -+ strlcpy(ipaddr_str, rec->ipv6_linklocal, -+ NI_MAXHOST); - inet_pton(AF_INET6, ipaddr_str, - &ird->ipv6_linklocal); - } - - /* For RTR on, ignore the IPv6 addr in the iface */ - if (ird->router_autocfg == IPV6_RTR_AUTOCFG_OFF) { -- if (strlen(rec->ipv6_router) > NI_MAXHOST) -- strncpy(ipaddr_str, rec->ipv6_router, -- NI_MAXHOST); -- else -- strcpy(ipaddr_str, rec->ipv6_router); -+ strlcpy(ipaddr_str, rec->ipv6_router, -+ NI_MAXHOST); - inet_pton(AF_INET6, ipaddr_str, - &ird->ipv6_router); - } -@@ -316,10 +307,7 @@ static int decode_iface(struct iface_rec_decode *ird, struct iface_rec *rec) - calculate_default_netmask( - ird->ipv4_addr.s_addr); - -- if (strlen(rec->gateway) > NI_MAXHOST) -- strncpy(ipaddr_str, rec->gateway, NI_MAXHOST); -- else -- strcpy(ipaddr_str, rec->gateway); -+ strlcpy(ipaddr_str, rec->gateway, NI_MAXHOST); - inet_pton(AF_INET, ipaddr_str, &ird->ipv4_gateway); - } - } else { --- -1.9.1 - diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0006-Skip-useless-strcopy-and-validate-CIDR-length.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0006-Skip-useless-strcopy-and-validate-CIDR-length.patch deleted file mode 100644 index 0fa24cd10..000000000 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0006-Skip-useless-strcopy-and-validate-CIDR-length.patch +++ /dev/null @@ -1,44 +0,0 @@ -From a6efed7601c890ac051ad1425582ec67dbd3f5ff Mon Sep 17 00:00:00 2001 -From: Lee Duncan -Date: Fri, 15 Dec 2017 11:18:35 -0800 -Subject: [PATCH 6/7] Skip useless strcopy, and validate CIDR length - -Remove a useless strcpy() that copies a string onto itself, -and ensure the CIDR length "keepbits" is not negative. -Found by Qualsys. - -CVE: CVE-2017-17840 - -Upstream-Status: Backport - -Signed-off-by: Zhixiong Chi ---- - iscsiuio/src/unix/iscsid_ipc.c | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/iscsiuio/src/unix/iscsid_ipc.c b/iscsiuio/src/unix/iscsid_ipc.c -index 52ae8c6..85742da 100644 ---- a/iscsiuio/src/unix/iscsid_ipc.c -+++ b/iscsiuio/src/unix/iscsid_ipc.c -@@ -148,7 +148,7 @@ static int decode_cidr(char *in_ipaddr_str, struct iface_rec_decode *ird) - char *tmp, *tok; - char ipaddr_str[NI_MAXHOST]; - char str[INET6_ADDRSTRLEN]; -- int keepbits = 0; -+ unsigned long keepbits = 0; - struct in_addr ia; - struct in6_addr ia6; - -@@ -161,8 +161,7 @@ static int decode_cidr(char *in_ipaddr_str, struct iface_rec_decode *ird) - tmp = ipaddr_str; - tok = strsep(&tmp, "/"); - LOG_INFO(PFX "in cidr: bitmask '%s' ip '%s'", tmp, tok); -- keepbits = atoi(tmp); -- strcpy(ipaddr_str, tok); -+ keepbits = strtoull(tmp, NULL, 10); - } - - /* Determine if the IP address passed from the iface file is --- -1.9.1 - diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0007-Check-iscsiuio-ping-data-length-for-validity.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0007-Check-iscsiuio-ping-data-length-for-validity.patch deleted file mode 100644 index c63c0a8d5..000000000 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0007-Check-iscsiuio-ping-data-length-for-validity.patch +++ /dev/null @@ -1,64 +0,0 @@ -From 5df60ad8b22194391af34c1a7e54776b0372ffed Mon Sep 17 00:00:00 2001 -From: Lee Duncan -Date: Fri, 15 Dec 2017 11:21:15 -0800 -Subject: [PATCH 7/7] Check iscsiuio ping data length for validity - -We do not trust that the received ping packet data length -is correct, so sanity check it. Found by Qualsys. - -CVE: CVE-2017-17840 - -Upstream-Status: Backport - -Signed-off-by: Zhixiong Chi ---- - iscsiuio/src/unix/iscsid_ipc.c | 5 +++++ - iscsiuio/src/unix/packet.c | 2 +- - iscsiuio/src/unix/packet.h | 2 ++ - 3 files changed, 8 insertions(+), 1 deletion(-) - -diff --git a/iscsiuio/src/unix/iscsid_ipc.c b/iscsiuio/src/unix/iscsid_ipc.c -index 85742da..a2caacc 100644 ---- a/iscsiuio/src/unix/iscsid_ipc.c -+++ b/iscsiuio/src/unix/iscsid_ipc.c -@@ -333,6 +333,11 @@ static void *perform_ping(void *arg) - - data = (iscsid_uip_broadcast_t *)png_c->data; - datalen = data->u.ping_rec.datalen; -+ if ((datalen > STD_MTU_SIZE) || (datalen < 0)) { -+ LOG_ERR(PFX "Ping datalen invalid: %d", datalen); -+ rc = -EINVAL; -+ goto ping_done; -+ } - - memset(dst_addr, 0, sizeof(uip_ip6addr_t)); - if (nic_iface->protocol == AF_INET) { -diff --git a/iscsiuio/src/unix/packet.c b/iscsiuio/src/unix/packet.c -index ecea09b..3ce2c6b 100644 ---- a/iscsiuio/src/unix/packet.c -+++ b/iscsiuio/src/unix/packet.c -@@ -112,7 +112,7 @@ int alloc_free_queue(nic_t *nic, size_t num_of_packets) - for (i = 0; i < num_of_packets; i++) { - packet_t *pkt; - -- pkt = alloc_packet(1500, 1500); -+ pkt = alloc_packet(STD_MTU_SIZE, STD_MTU_SIZE); - if (pkt == NULL) { - goto done; - } -diff --git a/iscsiuio/src/unix/packet.h b/iscsiuio/src/unix/packet.h -index b63d688..19d1db9 100644 ---- a/iscsiuio/src/unix/packet.h -+++ b/iscsiuio/src/unix/packet.h -@@ -43,6 +43,8 @@ - - #include "nic.h" - -+#define STD_MTU_SIZE 1500 -+ - struct nic; - struct nic_interface; - --- -1.9.1 - diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/iscsi-initiator-utils-Do-not-clean-kernel-source.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/iscsi-initiator-utils-Do-not-clean-kernel-source.patch deleted file mode 100644 index 2c466119c..000000000 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/iscsi-initiator-utils-Do-not-clean-kernel-source.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 4ebab8add4a549c16ab8b124137546c0a7b46a9b Mon Sep 17 00:00:00 2001 -From: Joe MacDonald -Date: Tue, 15 Nov 2016 11:11:30 -0500 -Subject: [PATCH] Do not clean kernel source - -The default behaviour should not be to attempt to clean the kernel source -tree when building userspace. When not cross-compiling, however, this action is -harmless, but when attempting to build within the sysroot and since this package -is purely userspace, the clean step will fail. - -Removing the clean step eliminates an unnecessary dependency on the kernel build -infrastructure. - -Upstream-status: Inappropriate (embedded specific) - -Signed-off-by: Joe MacDonald ---- - Makefile | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/Makefile b/Makefile -index c8cd00e..9576bba 100644 ---- a/Makefile -+++ b/Makefile -@@ -37,7 +37,7 @@ endif - - all: user - --user: iscsiuio/Makefile -+user: - $(MAKE) -C utils/sysdeps - $(MAKE) -C utils/fwparam_ibft - $(MAKE) -C usr -@@ -75,7 +75,6 @@ clean: - $(MAKE) -C utils/fwparam_ibft clean - $(MAKE) -C utils clean - $(MAKE) -C usr clean -- $(MAKE) -C kernel clean - [ ! -f iscsiuio/Makefile ] || $(MAKE) -C iscsiuio clean - [ ! -f iscsiuio/Makefile ] || $(MAKE) -C iscsiuio distclean - --- -1.9.1 - diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/iscsi-initiator-utils-fw_context-add-include-for-NI_MAXHOST-definiton.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/iscsi-initiator-utils-fw_context-add-include-for-NI_MAXHOST-definiton.patch deleted file mode 100644 index 37d695f49..000000000 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/iscsi-initiator-utils-fw_context-add-include-for-NI_MAXHOST-definiton.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 79bea58a554205dd185509fbc4e76b5fc40f9038 Mon Sep 17 00:00:00 2001 -From: Joe MacDonald -Date: Tue, 15 Nov 2016 12:36:45 -0500 -Subject: [PATCH] fw_context: add include for NI_MAXHOST definiton - -This appears to build successfully with gcc 4.x but fails on gcc 5+, though it's -not immediately clear why NI_MAXHOST isn't being defined from the include -chain. Currently engaging with the upstream devs to determine the best course -of action, but this is an adequate workaround. - -Upstream-status: Pending - -Signed-off-by: Joe MacDonald ---- - include/fw_context.h | 4 + - 1 file changed, 1 insertion(+) - -diff --git a/include/fw_context.h b/include/fw_context.h -index 44053d8..0b05cea 100644 ---- a/include/fw_context.h -+++ b/include/fw_context.h -@@ -21,6 +21,10 @@ - #ifndef FWPARAM_CONTEXT_H_ - #define FWPARAM_CONTEXT_H_ - -+#include -+#ifndef NI_MAXHOST -+#define NI_MAXHOST 1025 -+#endif - #include - #include - --- -2.1.4 - diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.876.bb similarity index 78% rename from meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb rename to meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.876.bb index 6c4a867b5..823227c46 100644 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.876.bb @@ -11,26 +11,22 @@ DEPENDS = "openssl flex-native bison-native open-isns util-linux" LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" -SRCREV ?= "8db9717e73d32d2c5131da4f9ad86dfd9065f74b" +SRCREV ?= "24580adc4c174bbc5dde3ae7594a46d57635e906" SRC_URI = "git://github.com/open-iscsi/open-iscsi \ - file://iscsi-initiator-utils-Do-not-clean-kernel-source.patch \ - file://iscsi-initiator-utils-fw_context-add-include-for-NI_MAXHOST-definiton.patch \ file://initd.debian \ file://99_iscsi-initiator-utils \ file://iscsi-initiator \ file://iscsi-initiator.service \ file://iscsi-initiator-targets.service \ file://set_initiatorname \ - file://0001-Check-for-root-peer-user-for-iscsiuio-IPC.patch \ - file://0002-iscsiuio-should-ignore-bogus-iscsid-broadcast-packet.patch \ - file://0003-Ensure-all-fields-in-iscsiuio-IPC-response-are-set.patch \ - file://0004-Do-not-double-close-IPC-file-stream-to-iscsid.patch \ - file://0005-Ensure-strings-from-peer-are-copied-correctly.patch \ - file://0006-Skip-useless-strcopy-and-validate-CIDR-length.patch \ - file://0007-Check-iscsiuio-ping-data-length-for-validity.patch \ + file://0001-libopeniscsiusr-Include-limit.h-for-PATH_MAX.patch \ + file://0002-libopeniscsiusr-Add-CFLAGS-to-linker-cmdline.patch \ + file://0001-qedi.c-Removed-unused-linux-ethtool.h.patch \ + file://0002-idbm.c-Include-fcnl.h-for-O_RDWR-and-O_CREAT-definit.patch \ + file://0003-bnx2x.c-Reorder-the-includes-to-avoid-duplicate-defi.patch \ + file://0004-fwparam_ppc.c-Do-not-use-__compar_fn_t.patch \ " - S = "${WORKDIR}/git" B = "${WORKDIR}/build" @@ -39,25 +35,15 @@ inherit update-rc.d systemd autotools EXTRA_OECONF = " \ --target=${TARGET_SYS} \ --host=${BUILD_SYS} \ - --prefix=${prefix} \ - --libdir=${libdir} \ " EXTRA_OEMAKE = ' \ - CC="${CC}" \ - AR="${AR}" \ - RANLIB="${RANLIB}" \ - CFLAGS="${CFLAGS} ${CPPFLAGS} -D_GNU_SOURCE -I. -I../include -I../../include -I../usr -I../../usr" \ - LDFLAGS="${LDFLAGS}" \ - LD="${LD}" \ OS="${TARGET_SYS}" \ TARGET="${TARGET_OS}" \ BASE="${prefix}" \ MANDIR="${mandir}" \ ' -TARGET_CC_ARCH += "${LDFLAGS}" - do_configure () { cd ${S}/iscsiuio ; autoreconf --install; ./configure ${EXTRA_OECONF} } @@ -81,12 +67,14 @@ do_install () { ${D}${localstatedir}/lib/iscsi/isns \ ${D}${localstatedir}/lib/iscsi/slp \ ${D}${localstatedir}/lib/iscsi/ifaces \ - ${D}/${mandir}/man8 + ${D}${libdir} \ + ${D}${mandir}/man8 install -p -m 755 ${S}/usr/iscsid ${S}/usr/iscsiadm \ ${S}/utils/iscsi-iname \ ${S}/usr/iscsistart ${D}/${sbindir} + cp -dR ${S}/libopeniscsiusr/libopeniscsiusr.so* ${D}${libdir} install -p -m 644 ${S}/doc/iscsiadm.8 ${S}/doc/iscsid.8 ${D}/${mandir}/man8 install -p -m 644 ${S}/etc/iscsid.conf ${D}${sysconfdir}/iscsi install -p -m 755 ${WORKDIR}/initd.debian ${D}${sysconfdir}/init.d/iscsid From patchwork Mon Mar 19 06:02:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132000 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2341456ljb; Sun, 18 Mar 2018 23:04:16 -0700 (PDT) X-Google-Smtp-Source: AG47ELs+kFQMPxLQ1DUdKPl1yjYJ3QbaoghuEWbRXP38UQcQExAT9dirU/Ay+seSSZL0Hs8O4RxY X-Received: by 2002:a17:902:8a4:: with SMTP id 33-v6mr11572375pll.274.1521439456541; Sun, 18 Mar 2018 23:04:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439456; cv=none; d=google.com; s=arc-20160816; b=WSNtLmjL3FewNyzERUx9JdX3e1l27GKAkz2UpkvfXpMDtn1+e0v0Ygz7OpFmO+WFar M9gEWRmAg2Xg+LiUD0hnF8+NwL+ZmeJq+bORF3dg5dz2Lm6VIhXu22d57l6PA5/4mMmp SkYSFUl/65hb8hWX0rfy248oAp8nsi04qBt1cqQLEneUFvGiABevd9jkjAvTc4a8SAuk NScZQQGXbAIclUClyxNew2eD2/Wose/xc5GSDn010r2fk/a/lWpwAcj5j5baMGl4fp5K YxtdqG3w13xFpL/tqNuubW3aPodF7UaHU0W5VxbwD7WSgb1rr/nGMs+e6Inhgt2yMsOY xymA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=8LUOS0Y95DT1zISoD7gfj0UNRgiNwRcWGhhltJDvppc=; b=hS8o8a3Jjb/n3EjqJZYDaS7tBWZVtKnok+iPTWgLShfPkpB71TM5kZt2hLytCqmmMP 995kDYt/uPvXKhM/G9OrT7avBaByyCqkH17xmr02o14k+Lm/KZE+DCCQxSb0Wi2hnXdl 7d/pljfOowF/DPVqMbJx3hVIplX0672GkJLLYMz/YHys3aeUJJ3lwSNUE1FaKthsyw0j fH+wkAkVSOBKwRR1J3armEqD+zcQVUW6HpEn6WPpd+E+eVqeJkXaTo52DM+vI0l8mSIS 6xp4+EDPh5ZB3YG+cfwyUne2HPlSx7eVz+sLXbyBw25d+n6+0B60LMHXmOf5LpdS6eg8 oTIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=uJ7yMNmh; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id w5-v6si11294655plz.239.2018.03.18.23.04.16; Sun, 18 Mar 2018 23:04:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=uJ7yMNmh; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E484C7895F; Mon, 19 Mar 2018 06:03:53 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f65.google.com (mail-pl0-f65.google.com [209.85.160.65]) by mail.openembedded.org (Postfix) with ESMTP id 70417788F7 for ; Mon, 19 Mar 2018 06:03:18 +0000 (UTC) Received: by mail-pl0-f65.google.com with SMTP id n15-v6so1896109plp.12 for ; Sun, 18 Mar 2018 23:03:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3+MG1MwSms0eII7124PUAk2gkBc4VbYPtvdjsJ/5j5Q=; b=uJ7yMNmhNvOlTWHKml15McyJf1QR6J/vMTCX0tSTGqYDW66VtSyx4M8T7AqXJwVLtJ T0fKXPam6xlr8/oqJX4LqvlxummpLPHBXt6UlJt9vwYucpEzTVG+gSMu+2mANoW5cm3r L1mJg80e2RSpkZ1Y615NWvatAs6mggM4PpdElQX0w+FwAhw6FkW+NhpCSO6jKIjWB9EY NtvnaVZrbY6TQ5YtTkS+CxE3h24ZrQNUL37zxXKrap/uT5dEgnl6GWIkwJx1378a4wMt NsTH0kjwMVbFQ4CmbWjRcaLKueV1dBSBYZOexn+2ikxdqpIvNWtCOZeBPG8nw9pwRgPf Lvqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3+MG1MwSms0eII7124PUAk2gkBc4VbYPtvdjsJ/5j5Q=; b=GIGQ6+eR+hy+9AEQqH1Br8A+gvoGCcNDwOh08eTH+BB8llBuKFPNdqD9rhi7/5lQ/v YPx8mnbPJI+c7/G+p0JOol2pk2ZHpSgPvqYBYUrzX6ez0ajpoObLih7P3x0b0VDRUXtL 1K0KDjfad4qOYYTZIyHumPLOgEq/Wc8tUD3DE5hYlDfVns684hopzjxeik963GrkeKQe 03ogQa/+W3Odph5lZ98qxlW5rnWQlb10p7Pt8dj2gTGflLVy0U9wRp7OjOPwIxGQYBG6 ontzVGCTakyEqe8GaerfKJZE1RcWQRxoeyQGzNgxj9PEG/66ts7kYlT1zRH9fmPrN0UV N2aw== X-Gm-Message-State: AElRT7ESzZmsXdRXoiTAh3hS1gda6jyQ0p6DZB4sSziubULwNhSSUUs/ MOcAUCtIKAvGfqa5WV/AZ8mg1g== X-Received: by 2002:a17:902:10d:: with SMTP id 13-v6mr10965326plb.266.1521439399571; Sun, 18 Mar 2018 23:03:19 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:18 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:47 -0700 Message-Id: <20180319060300.5366-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 05/18] samba: Refresh musl pam patch X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org last update left the musl builds broken since the patch was not forward ported Signed-off-by: Khem Raj --- .../{samba-4.2.7-pam.patch => samba-pam.patch} | 21 +++++++++++---------- .../recipes-connectivity/samba/samba_4.7.0.bb | 2 +- 2 files changed, 12 insertions(+), 11 deletions(-) rename meta-networking/recipes-connectivity/samba/samba/{samba-4.2.7-pam.patch => samba-pam.patch} (73%) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-connectivity/samba/samba/samba-4.2.7-pam.patch b/meta-networking/recipes-connectivity/samba/samba/samba-pam.patch similarity index 73% rename from meta-networking/recipes-connectivity/samba/samba/samba-4.2.7-pam.patch rename to meta-networking/recipes-connectivity/samba/samba/samba-pam.patch index 6b9ade920..0cbacb6c0 100644 --- a/meta-networking/recipes-connectivity/samba/samba/samba-4.2.7-pam.patch +++ b/meta-networking/recipes-connectivity/samba/samba/samba-pam.patch @@ -4,12 +4,11 @@ http://data.gpo.zugaina.org/musl/net-fs/samba/files/samba-4.2.7-pam.patch Signed-off-by: Khem Raj - -Index: samba-4.4.5/source3/wscript +Index: samba-4.7.0/source3/wscript =================================================================== ---- samba-4.4.5.orig/source3/wscript -+++ samba-4.4.5/source3/wscript -@@ -873,7 +873,7 @@ msg.msg_accrightslen = sizeof(fd); +--- samba-4.7.0.orig/source3/wscript ++++ samba-4.7.0/source3/wscript +@@ -875,7 +875,7 @@ msg.msg_accrightslen = sizeof(fd); if conf.env.with_iconv: conf.DEFINE('HAVE_ICONV', 1) @@ -18,10 +17,10 @@ Index: samba-4.4.5/source3/wscript use_pam=True conf.CHECK_HEADERS('security/pam_appl.h pam/pam_appl.h') if not conf.CONFIG_SET('HAVE_SECURITY_PAM_APPL_H') and not conf.CONFIG_SET('HAVE_PAM_PAM_APPL_H'): -@@ -945,6 +945,15 @@ int i; i = PAM_RADIO_TYPE; - if use_pam: - conf.DEFINE('WITH_PAM', 1) - conf.DEFINE('WITH_PAM_MODULES', 1) +@@ -952,6 +952,17 @@ int i; i = PAM_RADIO_TYPE; + "or headers not found. Use --without-pam to disable " + "PAM support."); + + else: + Logs.warn("PAM disabled") + use_pam=False @@ -31,6 +30,8 @@ Index: samba-4.4.5/source3/wscript + conf.undefine('PAM_RHOST') + conf.undefine('PAM_TTY') + conf.undefine('HAVE_PAM_PAM_APPL_H') - ++ ++ seteuid = False + # diff --git a/meta-networking/recipes-connectivity/samba/samba_4.7.0.bb b/meta-networking/recipes-connectivity/samba/samba_4.7.0.bb index 27918d2a0..a50b24de5 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.7.0.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.7.0.bb @@ -26,7 +26,7 @@ SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \ file://volatiles.03_samba \ " SRC_URI_append_libc-musl = " \ - file://samba-4.2.7-pam.patch \ + file://samba-pam.patch \ file://samba-4.3.9-remove-getpwent_r.patch \ " From patchwork Mon Mar 19 06:02:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132001 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2341611ljb; Sun, 18 Mar 2018 23:04:26 -0700 (PDT) X-Google-Smtp-Source: AG47ELvVJM+OLVqa/camIe697O1ZqhUsytJ+bQI5568zv3UYRNpOKl+CDiZ3404NpFNRSYjZYsAn X-Received: by 10.99.125.19 with SMTP id y19mr8272588pgc.125.1521439466350; Sun, 18 Mar 2018 23:04:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439466; cv=none; d=google.com; s=arc-20160816; b=JBgn5MasgJVgpny1J42hRnkNvtPZcjm+UY3iZ78LzgIyRB9uyEYzEQCjPPGMCJaSFC x3gK2NNKBZbvCeFxWRN/qpzA5YbVj7sM+FO3GXz8JZaqwM/ehd2787ORmCz7DYnzFehu Z6SZgqROphsId8UthxOlWcG6BYJ+0YvrSDnbu0fOaGSK8z79QK0K9rdM7CNcr+GJrjq5 5ft7du1yh3AS2e1tTrgR11EEDrb7LB/mpiJOaJsyP2G+ApNa6uIT6PKvItZz2JjVQuCy m2SUOMItZvd9ppXwjcdflMSsiKvrbilCz4Q0cGrGO0brzplNYPwq4VflS9q2Y/FQ5Ytv AokQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=S6CrFgxqMEFDsfRu7NqKM7vhRNfuK2K55ImqE9+rJ28=; b=gNPOZ3kWrwAf6uVMSI3lIflug1sBJrRjM6lf0FG0XXw28perssIHLLVmNsh1MJNazZ qdgQrcSMUoO80L20xTAGUCr3408CoNCVWcHcfScrtkX2BFriayivgZGAvFMQXSn+2oFR IsiRHAO7zep0hqK+hqMJ2I5g+WXBe3Z2nWkH2QWouLLOnyx+0+Wm/TxX+jP8NuSNIsig yLs32rJ6J5hzmo8K1LIcxKR1VSL41UOnKP3y8WW1mBGD3gFqC7ZYv6oAHlyc98aGW71+ kP6/gw8jtDtkUL6DzWHFntMtkVrxdQYhoE7TXFrVmOmMRNkfibJw23r6fvyluAZTGt2M 9X2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=j8omTfsL; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 21si10052272pfj.306.2018.03.18.23.04.26; Sun, 18 Mar 2018 23:04:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=j8omTfsL; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 1B68F78968; Mon, 19 Mar 2018 06:03:58 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f66.google.com (mail-pl0-f66.google.com [209.85.160.66]) by mail.openembedded.org (Postfix) with ESMTP id 5D90678930 for ; Mon, 19 Mar 2018 06:03:19 +0000 (UTC) Received: by mail-pl0-f66.google.com with SMTP id k22-v6so8798225pls.6 for ; Sun, 18 Mar 2018 23:03:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KtmdmzgW+LbdPccbRK8ub3y2fG3kHs5q3sIkILXcycQ=; b=j8omTfsL30YnbJr1eYEEj7aq+qV/WCXRIOlm4s6xWynF2D1W+BsaxgxNTyYSL2nx9v ibaOE2jqtxommKn2aCXqStJwR3VRCtIQIEtV1EVbetn1PaKlcOUm+6Ief6DuLwUMYe/r UXyFBdge+RRwOL9lxS9mVq5qY85gZ9g0NL/T+NUw8v5AhWwT+/doec1l8/giDpKBvw8R nP+v9I5EafU7zgO72E22yBI7mue0pxm12u/hJJDxcqP/hgsrA8qcg9sq+RrIk9h57Fyi KOtkoPmJLOagMhA9FgCLbzG6rvCp6cLlV/y7f2j3wlhqLxZGtSKWoUA/+CVZNArjGx1/ g/qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KtmdmzgW+LbdPccbRK8ub3y2fG3kHs5q3sIkILXcycQ=; b=WpNNTi00PC+NqqEZWzM7Hqa0Y03hj8vXTybt+7pR8TtrfjkrGCwF7Dy43816GnIm42 +C703XSyg7w2F4alxzkfMXL6cmZzkLM3A0gyA+V0z03Ojrgil3bUFA8s8cqg4Nvm6Cxb Zm2QBd/4jLlZ6wPLk69+ESuF9tdTCXdvRcxG+RERF54Uj+LpWM2jrM74FDePFXDhTMD/ 03atwJPCHycKUESBJZiQ7EqHPowPf5vy+1rmqEOpgFJ9ltSkeDbvyRkqR7vpE4UGDIJb IEsHNGKEsUwBkWp4q8a+yO1UP86KOED4bNh0Ggah5rRhlfJKKIWR8PXb1DguELMUENNk gsew== X-Gm-Message-State: AElRT7H9YkvjGmS8DJYvAukac4x+B6am+XZLnnDjQ49Pnv7rVIp4qq8K n5SG01HC8EZ1UEpUzsVNpKbUxQ== X-Received: by 2002:a17:902:3383:: with SMTP id b3-v6mr11131297plc.224.1521439400884; Sun, 18 Mar 2018 23:03:20 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:19 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:48 -0700 Message-Id: <20180319060300.5366-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 06/18] opensaf: Upgrade to 5.18.02 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...isable-format-overflow-if-supported-by-gc.patch | 34 ++++++++++------------ .../{opensaf_5.17.07.bb => opensaf_5.18.02.bb} | 4 +-- 2 files changed, 17 insertions(+), 21 deletions(-) rename meta-networking/recipes-daemons/opensaf/{opensaf_5.17.07.bb => opensaf_5.18.02.bb} (95%) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-daemons/opensaf/opensaf/0001-configure-Disable-format-overflow-if-supported-by-gc.patch b/meta-networking/recipes-daemons/opensaf/opensaf/0001-configure-Disable-format-overflow-if-supported-by-gc.patch index 512e246c5..effe25c85 100644 --- a/meta-networking/recipes-daemons/opensaf/opensaf/0001-configure-Disable-format-overflow-if-supported-by-gc.patch +++ b/meta-networking/recipes-daemons/opensaf/opensaf/0001-configure-Disable-format-overflow-if-supported-by-gc.patch @@ -11,10 +11,10 @@ Signed-off-by: Khem Raj 3 files changed, 79 insertions(+), 3 deletions(-) create mode 100644 m4/ax_check_compile_flag.m4 -diff --git a/Makefile.am b/Makefile.am -index d63fbbb..1012a2c 100644 ---- a/Makefile.am -+++ b/Makefile.am +Index: opensaf-5.18.02/Makefile.am +=================================================================== +--- opensaf-5.18.02.orig/Makefile.am ++++ opensaf-5.18.02/Makefile.am @@ -52,10 +52,10 @@ AM_CPPFLAGS = \ -pthread \ -D_GNU_SOURCE -DINTERNAL_VERSION_ID='"@INTERNAL_VERSION_ID@"' \ @@ -26,14 +26,14 @@ index d63fbbb..1012a2c 100644 -AM_CXXFLAGS = -pipe -std=gnu++11 @OSAF_HARDEN_FLAGS@ -Wall -Wformat=2 -Werror +AM_CFLAGS = -pipe -std=gnu11 @OSAF_HARDEN_FLAGS@ -Wall -Wformat=2 -Werror @NOWARNINGS@ +AM_CXXFLAGS = -pipe -std=gnu++11 @OSAF_HARDEN_FLAGS@ -Wall -Wformat=2 -Werror @NOWARNINGS@ - AM_LDFLAGS = @OSAF_HARDEN_FLAGS@ -Wl,--as-needed -ldl -lrt -pthread -rdynamic - ACLOCAL_AMFLAGS = -I m4 - OSAF_LIB_FLAGS = -diff --git a/configure.ac b/configure.ac -index 02771c6..b76b0fe 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -557,6 +557,8 @@ if test -z "$OSAF_HARDEN_FLAGS"; then + + if ENABLE_GCOV + AM_CFLAGS += --coverage +Index: opensaf-5.18.02/configure.ac +=================================================================== +--- opensaf-5.18.02.orig/configure.ac ++++ opensaf-5.18.02/configure.ac +@@ -593,6 +593,8 @@ if test -z "$OSAF_HARDEN_FLAGS"; then fi AC_SUBST(OSAF_HARDEN_FLAGS) @@ -42,11 +42,10 @@ index 02771c6..b76b0fe 100644 ############################################# # List the output Makefiles ############################################# -diff --git a/m4/ax_check_compile_flag.m4 b/m4/ax_check_compile_flag.m4 -new file mode 100644 -index 0000000..dcabb92 +Index: opensaf-5.18.02/m4/ax_check_compile_flag.m4 +=================================================================== --- /dev/null -+++ b/m4/ax_check_compile_flag.m4 ++++ opensaf-5.18.02/m4/ax_check_compile_flag.m4 @@ -0,0 +1,74 @@ +# =========================================================================== +# https://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html @@ -122,6 +121,3 @@ index 0000000..dcabb92 + [m4_default([$3], :)]) +AS_VAR_POPDEF([CACHEVAR])dnl +])dnl AX_CHECK_COMPILE_FLAGS --- -2.12.2 - diff --git a/meta-networking/recipes-daemons/opensaf/opensaf_5.17.07.bb b/meta-networking/recipes-daemons/opensaf/opensaf_5.18.02.bb similarity index 95% rename from meta-networking/recipes-daemons/opensaf/opensaf_5.17.07.bb rename to meta-networking/recipes-daemons/opensaf/opensaf_5.18.02.bb index 74483d778..4b556ce8c 100644 --- a/meta-networking/recipes-daemons/opensaf/opensaf_5.17.07.bb +++ b/meta-networking/recipes-daemons/opensaf/opensaf_5.18.02.bb @@ -25,8 +25,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/releases/${BPN}-${PV}.tar.gz \ file://0001-src-Add-missing-header-limits.h-for-_POSIX_HOST_NAME.patch \ file://0001-immpbe_dump.cc-Use-sys-wait.h-instead-of-wait.h.patch \ " -SRC_URI[md5sum] = "125bcd9aabd7412aedcbfbf73f4e6196" -SRC_URI[sha256sum] = "3fb2239bb2c9328c8b45368ff8d8de979ea286a27edc9871d218200e88bb91cc" +SRC_URI[md5sum] = "42064f5ddbc7f560bfc5ff93ea9eecc7" +SRC_URI[sha256sum] = "f9e24897f9cfd63bb3115f6275c706de1702d3d9bae2fc423227db72b23c37f0" inherit autotools useradd systemd pkgconfig From patchwork Mon Mar 19 06:02:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132002 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2341719ljb; Sun, 18 Mar 2018 23:04:34 -0700 (PDT) X-Google-Smtp-Source: AG47ELvMpUxa1+j7ah+kHHLiB+N920EI9hWeZWTPcxR6La0Rs6T03H92rc02GQHnJ/gs1HgdiXWy X-Received: by 10.99.171.72 with SMTP id k8mr8422760pgp.355.1521439474443; Sun, 18 Mar 2018 23:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439474; cv=none; d=google.com; s=arc-20160816; b=wRqXGfn2C+Jy/BjduMd/6L0LLZIxWRKrzVn33BVL3RLLr9lRcvaBPpa/ZWsH0I8Jvs U2eqAwpRTHzk9butso1dvg2rWFOFFNs1LZ82kGLDFZJ9Jo5VscftOj70sl+eJqf/LHQx sNGiM9HC3y+kGeC62fRZ7yhU+Gk4iOAoXkm3Ww8XkBetUGET6B+/lYoPuGrZL/4dXk6M is86ET6l5lTS+jpBvu53xSVKwT6U1xkmm2G4N554U9AyyM+zOYR6v6MCm6ybp8gGsSof lGL7MvlyqiK/JFbE+30N0xkrWAUeE5DRaWRnNdFlTYBFCbb/QN9z+Emw6qHqDFfzMQIS F2Iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=w1X8vbyt9BUvZtqv8Mw9gyEMike0sDcVHDFoPQdaOPk=; b=e8D2eLOpotdA+M1TDrqwZdXHEjLChRyy+G15SiZpOuqkKDbdPwFybrdjpEJteO1ATK lFcNFEoafo/qqewlRcBEVyxYQzdbQBlXN8C10DfAWSwCEj/PXUuX8PLk92XCyAmemiDs /6vR1jHKpDHf4/5ekBSoB3ADhqNNn5z+HCqoj3u3NS09zUFALB/sh69gQhhH+2ADmYWP ED/fwALaOffCSxvoQ+PhJb8ID69JWiETC3MInimEPzjjzHEwe39w+/9c4fr1RbiKkqFW zGoNA4z+kAfypShClcCGcWLaeuj/ED5uEKYzyJtjnW5ydfakqNJSTIBb9etCpyzOFxLH kMXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ebBHdrVH; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id o6-v6si11337326pls.583.2018.03.18.23.04.34; Sun, 18 Mar 2018 23:04:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ebBHdrVH; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2F7AF7896C; Mon, 19 Mar 2018 06:03:59 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f66.google.com (mail-pl0-f66.google.com [209.85.160.66]) by mail.openembedded.org (Postfix) with ESMTP id 095837891A for ; Mon, 19 Mar 2018 06:03:21 +0000 (UTC) Received: by mail-pl0-f66.google.com with SMTP id u11-v6so5974883plq.1 for ; Sun, 18 Mar 2018 23:03:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XwdnI1CNT8Dx+eliVL3MToxWY3B2dIUVKmOKRMgRUp4=; b=ebBHdrVH8YZs8x8LNmV/ol+sxhXzNdLiA1DRT7dKNggcfGlnuxgdJwzc2dKmKl3nQL jgwkPkfQdilwa7yPJNPl0ZJAOZIWFI0VFQdx2O8dowOXthqb4M0xAyOSeAz0Dk8tFX+D CrXHTypweo2ZkBg14fPI1naAyEoWz4Izo3y/h1CAIy2CgKkjiO7lC6Clbh0FZZa99dGj LwP5Y4eERXFzeSe/LHar5a0HTgkneWWbx/wkGnmzJ6I4hTkl4nZzYMVctfV+vzLjXk/3 FLUe5YVEx117b23ES9KX0HB76Eit7WTGMQxVW1PPjIQtcwRp1c3LfMkcM9Vsen+dywdM AY8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XwdnI1CNT8Dx+eliVL3MToxWY3B2dIUVKmOKRMgRUp4=; b=kbPOEKHTEaiD5yGM7n2ezpKFT/QTvExRx6D4gpMwd91+i+hNiGJrr1Cn+t12oThEri rXZ0jEtIwO25t+VbEnhjSKOPxVY7mXGPxMC8FTJxH7XHCa7KpiYjaOx8rXAD/9KsheFo 79DDwtgF4Pd86f1Q9CRW4eZ0eyHyLOce2LmO8ZfGAYS4x2hOxhC6oegxhctMmzYJZshJ 9JfcPS7ddCyzozhRomwtVqHMbIaJ8eCXtdoo9QjIxqbP61ROL6TOLSUdbVe4yaF0zU8D YsrT4nwp3s8pwIgWgWT0rJRb/aG1f/x31BvCbAjZMdvicirQn2GsL6En5Yt4uNpZ1H90 8y3g== X-Gm-Message-State: AElRT7Fb+9Y77F9bwg9NHbjoBYYgGx7vkLcdI3irlkK76PsN25Fw09Ap w3WEPCtPC47b6IN0PukXkPsI3g== X-Received: by 2002:a17:902:47aa:: with SMTP id r39-v6mr210309pld.59.1521439402400; Sun, 18 Mar 2018 23:03:22 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:21 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:49 -0700 Message-Id: <20180319060300.5366-7-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 07/18] libtalloc: Upgrade to 2.1.11 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../libtalloc/libtalloc/options-2.1.10.patch | 58 ++++++++++++---------- .../{libtalloc_2.1.10.bb => libtalloc_2.1.11.bb} | 5 +- 2 files changed, 33 insertions(+), 30 deletions(-) rename meta-networking/recipes-support/libtalloc/{libtalloc_2.1.10.bb => libtalloc_2.1.11.bb} (93%) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-support/libtalloc/libtalloc/options-2.1.10.patch b/meta-networking/recipes-support/libtalloc/libtalloc/options-2.1.10.patch index 35f8eaf7d..63f21e775 100644 --- a/meta-networking/recipes-support/libtalloc/libtalloc/options-2.1.10.patch +++ b/meta-networking/recipes-support/libtalloc/libtalloc/options-2.1.10.patch @@ -25,10 +25,10 @@ Signed-off-by: Joe Slater wscript | 7 ++- 3 files changed, 79 insertions(+), 19 deletions(-) -diff --git a/lib/replace/system/wscript_configure b/lib/replace/system/wscript_configure -index 2035474..10f9ae7 100644 ---- a/lib/replace/system/wscript_configure -+++ b/lib/replace/system/wscript_configure +Index: talloc-2.1.11/lib/replace/system/wscript_configure +=================================================================== +--- talloc-2.1.11.orig/lib/replace/system/wscript_configure ++++ talloc-2.1.11/lib/replace/system/wscript_configure @@ -1,6 +1,10 @@ #!/usr/bin/env python @@ -41,10 +41,10 @@ index 2035474..10f9ae7 100644 conf.CHECK_FUNCS('getpwnam_r getpwuid_r getpwent_r') # solaris varients of getXXent_r -diff --git a/lib/replace/wscript b/lib/replace/wscript -index fc43e1a..12d2a70 100644 ---- a/lib/replace/wscript -+++ b/lib/replace/wscript +Index: talloc-2.1.11/lib/replace/wscript +=================================================================== +--- talloc-2.1.11.orig/lib/replace/wscript ++++ talloc-2.1.11/lib/replace/wscript @@ -23,6 +23,41 @@ def set_options(opt): opt.PRIVATE_EXTENSION_DEFAULT('') opt.RECURSE('buildtools/wafsamba') @@ -129,38 +129,45 @@ index fc43e1a..12d2a70 100644 conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h') conf.CHECK_HEADERS('sys/extattr.h sys/ea.h sys/proplist.h sys/cdefs.h') conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h') -@@ -248,17 +298,18 @@ def configure(conf): - +@@ -267,21 +317,21 @@ def configure(conf): conf.CHECK_FUNCS('prctl dirname basename') + strlcpy_in_bsd = False +- - # libbsd on some platforms provides strlcpy and strlcat - if not conf.CHECK_FUNCS('strlcpy strlcat'): -- conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', -- checklibc=True) +- if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', ++ if Options.options.enable_libbsd: ++ # libbsd on some platforms provides strlcpy and strlcat ++ if not conf.CHECK_FUNCS('strlcpy strlcat'): ++ if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', + checklibc=True): +- strlcpy_in_bsd = True - if not conf.CHECK_FUNCS('getpeereid'): - conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h') - if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'): - conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h') -- -- if not conf.CHECK_FUNCS('closefrom'): -- conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h') -+ if Options.options.enable_libbsd: -+ # libbsd on some platforms provides strlcpy and strlcat -+ if not conf.CHECK_FUNCS('strlcpy strlcat'): -+ conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', -+ checklibc=True) +- if not conf.CHECK_FUNCS('setproctitle_init'): +- conf.CHECK_FUNCS_IN('setproctitle_init', 'bsd', headers='sys/types.h bsd/unistd.h') ++ strlcpy_in_bsd = True + if not conf.CHECK_FUNCS('getpeereid'): + conf.CHECK_FUNCS_IN('getpeereid', 'bsd', headers='sys/types.h bsd/unistd.h') + if not conf.CHECK_FUNCS_IN('setproctitle', 'setproctitle', headers='setproctitle.h'): + conf.CHECK_FUNCS_IN('setproctitle', 'bsd', headers='sys/types.h bsd/unistd.h') -+ ++ if not conf.CHECK_FUNCS('setproctitle_init'): ++ conf.CHECK_FUNCS_IN('setproctitle_init', 'bsd', headers='sys/types.h bsd/unistd.h') + +- if not conf.CHECK_FUNCS('closefrom'): +- conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h') + if not conf.CHECK_FUNCS('closefrom'): + conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h') conf.CHECK_CODE(''' struct ucred cred; ---- a/wscript -+++ b/wscript +Index: talloc-2.1.11/wscript +=================================================================== +--- talloc-2.1.11.orig/wscript ++++ talloc-2.1.11/wscript @@ -32,7 +32,12 @@ def set_options(opt): opt.add_option('--enable-talloc-compat1', help=("Build talloc 1.x.x compat library [False]"), @@ -172,9 +179,6 @@ index fc43e1a..12d2a70 100644 + opt.add_option('--without-valgrind', + help=("disable use of valgrind"), + action="store_false", dest='enable_valgrind', default=False) - + def configure(conf): conf.RECURSE('lib/replace') --- -2.8.3 - diff --git a/meta-networking/recipes-support/libtalloc/libtalloc_2.1.10.bb b/meta-networking/recipes-support/libtalloc/libtalloc_2.1.11.bb similarity index 93% rename from meta-networking/recipes-support/libtalloc/libtalloc_2.1.10.bb rename to meta-networking/recipes-support/libtalloc/libtalloc_2.1.11.bb index 23dca15fd..848cf4d99 100644 --- a/meta-networking/recipes-support/libtalloc/libtalloc_2.1.10.bb +++ b/meta-networking/recipes-support/libtalloc/libtalloc_2.1.11.bb @@ -9,9 +9,8 @@ LIC_FILES_CHKSUM = "file://talloc.h;beginline=3;endline=27;md5=a301712782cad6dd6 SRC_URI = "https://samba.org/ftp/talloc/talloc-${PV}.tar.gz \ file://options-2.1.10.patch \ " - -SRC_URI[md5sum] = "48b8822a76797bb143e3e38ed738c320" -SRC_URI[sha256sum] = "c985e94bebd6ec2f6af3d95dcc3fcb192a2ddb7781a021d70ee899e26221f619" +SRC_URI[md5sum] = "452596f904ca2b10322bdaabf147a721" +SRC_URI[sha256sum] = "639eb35556a0af999123c4d883e79be05ff9f00ab4f9e4ac2e5775f9c5eeeed3" inherit waf-samba From patchwork Mon Mar 19 06:02:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132003 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2341817ljb; Sun, 18 Mar 2018 23:04:41 -0700 (PDT) X-Google-Smtp-Source: AG47ELsAoe0WPk9/wtYCFe92NjNeqLxqZe7UvUiuYZ3w8lvwRnQ4I5F/a9Y3kN9EnWjVyimeHRx7 X-Received: by 10.99.52.11 with SMTP id b11mr8049688pga.377.1521439481611; Sun, 18 Mar 2018 23:04:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439481; cv=none; d=google.com; s=arc-20160816; b=mb0UDuvmCq+wrcGUXb5ZyWP3k/drumLTtCLCbAPEfmXrowjjL6jb5JqE1wxIjbn18v q6TeWRrfLkOC6j4epbxoZ6QgDPi1ULPsgVVzLAezAfKSD3dlGINMpbGMYfUg0NcdSSsN kSvNco78w3YF/pi0CsybA1DNL21y+xAvfPsWEA4r4aGb5mSdb092qyuNmHfx7K4xznMS GwAxFoFERY3oWRlWnhu19saQtmU6GlFQGXOtx0Yq9NPjkIaMrMhIt0JsRquCWjwJ+xVW 8kfG3o+Nw9ulcj9Vwb3DLCuRSBE+d7CfgU553+Tq3uIEYIK3b7HDyMd6GRa8w/3WqwUY qI1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=E3nND9HmVK+z1QFe9p+R6N9V9d5DKDEC7Gvu0Pai0iY=; b=cJO6zg+MECtVX4lAVeNftC8hDPwrDe0Dpd1Sgq6v4H+tQrAMhiQ5JSp3rv8r3hUDiB vy7h+Tg69rzZQm+nG4Mp1j25mfLGQKHh/vFjYSlsfv9O4IYpnJayI6hM0A4HSk6iZf55 0IQXOohdfQmuaDD36ebtdO8pQoOanVJfbvjMPd/6C656i3arNNb4K6ya0+dpIdG8947i NNgN5+ZjSMDa/y5T5x4NllNnP2TL6eKzUpXVPw9nrv/1Uz6Aw9DnS3Jm1Y2wvTxDVs2Z hznQ/VXjNHzjoVPU/X71j2q7T5ScgXsu4qN+31LIN4hThSlEEeqsW3jH+xr1lqlf1i6R X3uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lW9HIz/Z; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id e129si5609662pfe.87.2018.03.18.23.04.41; Sun, 18 Mar 2018 23:04:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lW9HIz/Z; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 46DC37896F; Mon, 19 Mar 2018 06:04:00 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f53.google.com (mail-pl0-f53.google.com [209.85.160.53]) by mail.openembedded.org (Postfix) with ESMTP id 7FFD47893C for ; Mon, 19 Mar 2018 06:03:22 +0000 (UTC) Received: by mail-pl0-f53.google.com with SMTP id 61-v6so9645015plf.3 for ; Sun, 18 Mar 2018 23:03:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dDQ9BbNA313EyG6XbLry4yFh6L7v+rQQAZDtQEd4k04=; b=lW9HIz/Zv60/f0fQPYPQz/082DRhxoEqlFO+8fharB6Rq86hTuwIpTW3QczhZjRg7v 38osj09w46CCBIMo4B4V7RgQScHF9SjvY/GuLUhXlFuGK1WO7xKHNf2AnyORfjfkIFM3 vOJcKgOYCGtPjJ9+oiyLd1mWSk2p/ikNl476esD4BPSEU3Ea+ovF4bDcMsWoIJXct0re BCGav69ZPjYrjbvRd98+lcnczu/DbbqwJeu39Yrv+U/LDQGAUZXyDllzrruGCrOdYevB vMgKjg92IItMZGXTsdjuZZ9GH+r1TXiLX6hrOyXyNmhBD2Hckt7xujDhW23lPg6V+pyo 6TKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dDQ9BbNA313EyG6XbLry4yFh6L7v+rQQAZDtQEd4k04=; b=Sk3UK3y8P3jgHuMwdzL4n/GPlkB3Mb/jmWaML4PrCfrixX13hT7AR3Jx1OGb3xocKp 1b49XCYRQRXsg/XjfGgvAWKv6ZXkvDs88u4/b+V542ZBh9d0QskXrhp1Pc2zmBWuf2PQ XVNsg130bq7dvRi4K9pIBk/HRNjujaBj3T38hv2DfzcakwBubEPlHdVOdnyrobahTjes 7GpEIazkeBhVwSdwgujOqvw636fMDF/pFWGnH59xN9hVzRQSwhs2upmNGVMvlFMDyUXW eKPzsEC0q9szOF2QaGmRM374JXIPllWTtIYh1Dq0ZAHpImMXypTqIwR/+eBou3eRd09m u0Cw== X-Gm-Message-State: AElRT7G+z6AbMjJTi2rCjv8PAiauIhg0HZ68eXdVQDMeV0etlH1Na6iI w0Vj3lw8BOXMcpur+tJ04G4cXQ== X-Received: by 2002:a17:902:820a:: with SMTP id x10-v6mr713555pln.105.1521439403481; Sun, 18 Mar 2018 23:03:23 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:22 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:50 -0700 Message-Id: <20180319060300.5366-8-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 08/18] openl2tp: Fix build due to duplicate net/ headers X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...api.c-include-rpc-clnt.h-for-resultproc_t.patch | 7 ++--- ...0001-plugins-Remove-redundant-net-headers.patch | 31 ++++++++++++++++++++++ .../openl2tp/0002-user-ipv6-structures.patch | 7 ++--- ...linux-kernel-headers-assumptions-on-glibc.patch | 9 ++++--- .../recipes-protocols/openl2tp/openl2tp_1.8.bb | 1 + 5 files changed, 45 insertions(+), 10 deletions(-) create mode 100644 meta-networking/recipes-protocols/openl2tp/openl2tp/0001-plugins-Remove-redundant-net-headers.patch -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp/0001-l2tp_api.c-include-rpc-clnt.h-for-resultproc_t.patch b/meta-networking/recipes-protocols/openl2tp/openl2tp/0001-l2tp_api.c-include-rpc-clnt.h-for-resultproc_t.patch index a11a97ebd..a72256f19 100644 --- a/meta-networking/recipes-protocols/openl2tp/openl2tp/0001-l2tp_api.c-include-rpc-clnt.h-for-resultproc_t.patch +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp/0001-l2tp_api.c-include-rpc-clnt.h-for-resultproc_t.patch @@ -1,13 +1,14 @@ -From 8f299df4dd1ca857e34859c377a29b183c630961 Mon Sep 17 00:00:00 2001 +From b7f146caf28a80ada3d45bb9903890e6dfdd5e85 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 21 Sep 2017 13:05:03 -0700 -Subject: [PATCH] l2tp_api.c: include rpc/clnt.h for 'resultproc_t' +Subject: [PATCH 4/4] l2tp_api.c: include rpc/clnt.h for 'resultproc_t' Fixes | /mnt/a/oe/build/tmp/work/mips32r2-bec-linux-musl/openl2tp/1.8-r0/recipe-sysroot/usr/include/tirpc/rpc/pmap_clnt.h:81:12: error: unknown type name 'resultproc_t'; did you mean 'rpcproc_t'? | resultproc_t); | ^~~~~~~~~~~~ Signed-off-by: Khem Raj + --- Upstream-Status: Pending @@ -27,5 +28,5 @@ index f0946fd..f77881c 100644 //#include -- -2.14.1 +2.16.2 diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp/0001-plugins-Remove-redundant-net-headers.patch b/meta-networking/recipes-protocols/openl2tp/openl2tp/0001-plugins-Remove-redundant-net-headers.patch new file mode 100644 index 000000000..0276c6648 --- /dev/null +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp/0001-plugins-Remove-redundant-net-headers.patch @@ -0,0 +1,31 @@ +From 343994e7f121bba7f16aa3b5e9c27b5aed7d1b99 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 3 Mar 2018 16:50:03 -0800 +Subject: [PATCH] plugins: Remove redundant net/ headers + +They cause errors with glibc 2.27 + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + plugins/ppp_unix.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/plugins/ppp_unix.c b/plugins/ppp_unix.c +index 869066f..6a20b1a 100644 +--- a/plugins/ppp_unix.c ++++ b/plugins/ppp_unix.c +@@ -25,9 +25,6 @@ + #include + #include + #include +-#include +-#include +-#include + #include + #include + #include +-- +2.16.2 + diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp/0002-user-ipv6-structures.patch b/meta-networking/recipes-protocols/openl2tp/openl2tp/0002-user-ipv6-structures.patch index 3f8bcaa48..abb09be8a 100644 --- a/meta-networking/recipes-protocols/openl2tp/openl2tp/0002-user-ipv6-structures.patch +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp/0002-user-ipv6-structures.patch @@ -1,9 +1,10 @@ -From a41cbeee3cf660663a9baac80545050a8d960898 Mon Sep 17 00:00:00 2001 +From 200b72d2dd7ff05466938c00baf055dbe7779866 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 28 Mar 2017 18:09:58 -0700 -Subject: [PATCH 2/2] user ipv6 structures +Subject: [PATCH 3/4] user ipv6 structures Signed-off-by: Khem Raj + --- l2tp_api.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) @@ -29,5 +30,5 @@ index 9d6f60a..f0946fd 100644 svcerr_auth(xprt, AUTH_TOOWEAK); return -EPERM; -- -2.12.1 +2.16.2 diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp/0004-Adjust-for-linux-kernel-headers-assumptions-on-glibc.patch b/meta-networking/recipes-protocols/openl2tp/openl2tp/0004-Adjust-for-linux-kernel-headers-assumptions-on-glibc.patch index 0fcba6546..ab5b22e01 100644 --- a/meta-networking/recipes-protocols/openl2tp/openl2tp/0004-Adjust-for-linux-kernel-headers-assumptions-on-glibc.patch +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp/0004-Adjust-for-linux-kernel-headers-assumptions-on-glibc.patch @@ -1,7 +1,7 @@ -From ede4ae8e25f9fb746a6f4e076d0ef029938d2880 Mon Sep 17 00:00:00 2001 +From 78f774faff6bd27c378c59e6685ac9b4db68c7bb Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 28 Mar 2017 11:46:56 -0700 -Subject: [PATCH 4/4] Adjust for linux-kernel headers assumptions on glibc +Subject: [PATCH 2/4] Adjust for linux-kernel headers assumptions on glibc Fixes build issues e.g. @@ -11,12 +11,13 @@ In file included from /mnt/a/build/tmp-musl/work/cortexa7hf-neon-vfpv4-oe-linux- ^ Signed-off-by: Khem Raj + --- plugins/ppp_unix.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/ppp_unix.c b/plugins/ppp_unix.c -index 869066f..5c1e44f 100644 +index 6a20b1a..2e1901f 100644 --- a/plugins/ppp_unix.c +++ b/plugins/ppp_unix.c @@ -21,6 +21,11 @@ @@ -32,5 +33,5 @@ index 869066f..5c1e44f 100644 #include #include -- -2.12.1 +2.16.2 diff --git a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb index bf6850b17..83e34b70a 100644 --- a/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb +++ b/meta-networking/recipes-protocols/openl2tp/openl2tp_1.8.bb @@ -33,6 +33,7 @@ SRC_URI = "ftp://ftp.openl2tp.org/releases/${BP}/${BP}.tar.gz \ file://openl2tpd.service \ file://openl2tpd-enable-tests.patch \ file://run-ptest \ + file://0001-plugins-Remove-redundant-net-headers.patch \ " SRC_URI_append_libc-musl = "\ From patchwork Mon Mar 19 06:02:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132004 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2341903ljb; Sun, 18 Mar 2018 23:04:48 -0700 (PDT) X-Google-Smtp-Source: AG47ELsVBtYfXoEulvReEAUJCoCIAYtJNny0B5gGrPJRKQhbE6EK0LlkMUSXerqruF15/WV8Qoie X-Received: by 2002:a17:902:9349:: with SMTP id g9-v6mr8937155plp.243.1521439488494; Sun, 18 Mar 2018 23:04:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439488; cv=none; d=google.com; s=arc-20160816; b=qkm1wdf7/4BBJCZCds5+Rs3juyR/6ab2w4S6I7gEi82PiPbN3UyJom2QYcm3HPgj7o x7NNml+QV2+GvVu6nSTFlkDxlJaH/VhTBfVov8hixMTkhejacmDUgD8vbOI/TsA1c9IS XWZL4T8GYQK+r3gpIBk8hqLVbJdmCd9TFuao2s2kRrahOVcZb9cG9IgaTVV+K1WxuKZV TipSSp/crWPr0LaIjCPRJUGdWDRML3OtcS296vmHCD/VxFWbPJxmsV+722RHhqPml1Ds KomKuchlG6Z0NmAP2MtTdGcksINUvIb3i6F2vu8cJ6xDPEv2MBtbzLU9fYMZ44tboxRF dijA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=MBjNQT0hpC5Nzfcsh/dCwbwmqJOgE6Cp08x8oTOKvHI=; b=DaWZIYa5E+M6oAeZLxFogJjCaEsRpJZUjexwZCoJughu3m3A2nrhHZFBbStzEj3oRx QYMrrmraBKtpNywKSu3L80+5oQ2wIEIHo20LyQ2RSP5ie/96VNpKhQPS0ml51eDVIdya ND0/FM6r0NeE6LxVPxBY1GAcW+Ll1+ThLHUfG3/IatjgXuczZYgagC/Kx9BUKXGDxpnJ exjgC8LGL/pCaS3DMVUFvg61rM7FMydP2/wPyAYTtCxgqGFSoFKk36wylt80h+ANBS0Y rPkHmVBoiSG2X6Mhe7P6b5AsKxiiItAZEQIcc5ao8RTNTgnwgTezft0x+OeQZWRr4S7n ZGzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=mSYTtkck; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id t9si9903588pfh.101.2018.03.18.23.04.48; Sun, 18 Mar 2018 23:04:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=mSYTtkck; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 638F978974; Mon, 19 Mar 2018 06:04:01 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by mail.openembedded.org (Postfix) with ESMTP id B092678930 for ; Mon, 19 Mar 2018 06:03:23 +0000 (UTC) Received: by mail-pl0-f67.google.com with SMTP id w12-v6so9638108plp.4 for ; Sun, 18 Mar 2018 23:03:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KeQCL46gPz7Edq+MjYYASiEBRv30AbZjwOy7yjGPQUs=; b=mSYTtkck1xHqpqsqGxMbn1FmUnxmJv9jlGM1QQa4+hEsn0ikLrKhTWoIru8Ynh3fJz n17z+Hq5A4kWj/0VSyql1Xw3jZRAiyvxdgBOhznj+LwwUfSJLWSketRlEDitbvqqi2rX h6yFV+8tOdIdO8k8Czo/YVhknGYOwdDSjYcO7cnFCYtkL4TOsP9uPWhtbOLxu4l43r2a Ujk/vLPsX8OsGQXKAlo2F0gKg9TIwgmXAIWK4uRLX52OQhyc8hRGxk4QnP5iGBcyUyTU u0nYtm8ZnyGQirFGrMapPvIUBEH375EVAmtyYJTwrG7ALUQwyMXDWU5/9kGoH+LNMVbW FPbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KeQCL46gPz7Edq+MjYYASiEBRv30AbZjwOy7yjGPQUs=; b=D1h5nu++pftowyT+o1/VqFsEoTo7eQS3oCYHsW4CjVhk/pfayhAnqSwlFsqfgASCcd trfTDFtZNsxuYYnk646M9JXrZRZ32CqwRsVjqVP0DlMOi6YKg5VM3CM6U3LM3dlBsJpk GHyebqtcOq81fM3wzf8kPhDFCZO+rZV0Xetu/1iUqzUZQ7+88pecoSo3NLklJPvfWq/p ou5sS/D51TKT8S0Z9w75S2O4NEhYGR1yKdltTVEIjwPDDpEXx0EGXQU33csr9uh/rnSa pgRjDMKE3S+6idM9qK+rcGPJPHjv0QlzbpV4UaiuTy7Q1jkLrLSqwdFueOh9onWz3CDg tYmQ== X-Gm-Message-State: AElRT7GwjQwI2QcNfWKL3yG5vl/L5h5PuUmWfILnfBNLP+6Aia8EIjSa vb10unMQmcC85vYkXVTkMk7fgg== X-Received: by 2002:a17:902:b703:: with SMTP id d3-v6mr11011002pls.209.1521439404629; Sun, 18 Mar 2018 23:03:24 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:23 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:51 -0700 Message-Id: <20180319060300.5366-9-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 09/18] keepalived: Upgrade from 1.3.5 -> 1.4.2 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../keepalived/{keepalived_1.3.5.bb => keepalived_1.4.2.bb} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename meta-networking/recipes-daemons/keepalived/{keepalived_1.3.5.bb => keepalived_1.4.2.bb} (92%) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-daemons/keepalived/keepalived_1.3.5.bb b/meta-networking/recipes-daemons/keepalived/keepalived_1.4.2.bb similarity index 92% rename from meta-networking/recipes-daemons/keepalived/keepalived_1.3.5.bb rename to meta-networking/recipes-daemons/keepalived/keepalived_1.4.2.bb index 5e7e6e49f..36417b72a 100644 --- a/meta-networking/recipes-daemons/keepalived/keepalived_1.3.5.bb +++ b/meta-networking/recipes-daemons/keepalived/keepalived_1.4.2.bb @@ -11,9 +11,8 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "http://www.keepalived.org/software/${BP}.tar.gz" - -SRC_URI[md5sum] = "9964d295ec9d34ed3408b57d28847b68" -SRC_URI[sha256sum] = "c0114d86ea4c896557beb0d9367819a423ffba772bc5d7c548dc455e6b3bd048" +SRC_URI[md5sum] = "610af6e04071f02d3469191de7499f4e" +SRC_URI[sha256sum] = "4e2d7cc01a6ee29a3955f5c622d47704ba7d9dd758189f15e9def016a2d1faa3" DEPENDS = "libnfnetlink openssl" From patchwork Mon Mar 19 06:02:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132005 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2341996ljb; Sun, 18 Mar 2018 23:04:55 -0700 (PDT) X-Google-Smtp-Source: AG47ELusLEVQT6uW9i4bYuCtJxGLwp1244rEBxKUpwi/dFn+fi0AZ9puc60jKVcDH3siXNHpjzHL X-Received: by 2002:a17:902:8483:: with SMTP id c3-v6mr8845588plo.156.1521439495489; Sun, 18 Mar 2018 23:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439495; cv=none; d=google.com; s=arc-20160816; b=pSrYMsXXVV9gTfEB0zmGmLrty8N3kgYz05yz7pfARPj46GMmqplz8/1Z8w08WgCOgW X9xLkjR64T1B5XPntG+BNs6/hydkArYBcSiddp26SeyDZ0817m3apHjY0ajVGy1ejCJJ uMBiy7vCdJJfWs9nczlDoGpULvtiZRJzIP5dVHJ9QcFFQVL6FykPE2FekVOMjtqadLYP WkKqmPHaRPOquMn2YaBnnJXD6lLx3ptixgP/ICoYE1NEwm3VcDXSNYvbmNUAEWcIhQem 9H8GL19gMPTbAQYbO6FFTFTzUd/KFRiIc6kPDkzCERI97zhWvSA3oIXxb9P0V7Ewaw+q qGHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=2PgJ9i/Oj102tOdc+vd6rlN4RV2Dv7rmfmjRN2FNxTI=; b=RhhaBRlVPgKIlQ4i7JXMrbQTF/bMADs511fkwOTtQLMwAHs8LQyidcTceLiIJ1VGHh nguVVd+3cSSHCOHCokeDzIZ1tTXx6t8lMayT0vpDWsgOuJRma4m2mhE+68EmvCRGNL5+ m7FoD+7eu3Z9IUgIDAFJ0l+PjzM4/mX+laQwk9+RDHRMmWza/SWe6NRQEzyGPWb0RcCY yn5B9tUnm2vRNDTv86yGF4x+onJoL9wmLUw3TBbzfzujHrZ18+20diKFmDDkvWRAw0D9 nzR3sR0E1ozB2hlPWtJC2NLEUyk5om/+NPVRUis0eJQTYUKuuatRsnRgbLi81VUNfnOm 4Tdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ozpV7ybE; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id k8-v6si3810123pli.7.2018.03.18.23.04.55; Sun, 18 Mar 2018 23:04:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ozpV7ybE; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B1E767897E; Mon, 19 Mar 2018 06:04:02 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f66.google.com (mail-pl0-f66.google.com [209.85.160.66]) by mail.openembedded.org (Postfix) with ESMTP id BE94878933 for ; Mon, 19 Mar 2018 06:03:24 +0000 (UTC) Received: by mail-pl0-f66.google.com with SMTP id w12-v6so9638205plp.4 for ; Sun, 18 Mar 2018 23:03:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3RoWVr7bVCDotjaIwRYkQ2HYN1aVYHmamy0WqC/XtIc=; b=ozpV7ybEvVsP/D0sO82+xA1OiqzHeGKaJhBI/9MZc8JwNzM8c5BAE0NtDz7bEgopZX cFCC0blhwOG66D8k0BLeXM2z7hcOiiFwDE7OvSQhy0924wVaUPfDDJNxI5LBNHD0XgNB xl1LSMTcsNhGSpczKCP6T0UZxoJUoZBRcdzCpbrfWvd/odwYh8APUTVsJsndFpJLg7el /K3NiR5zJyN60oovGTykWn7mWw2gJbfeG3jEVShVwka97cOhxYMq/ViYheYB4amiLQsJ nw+U1XcS6pjCxrcSMj23NCaFa2hYXkGszwZ9gG1KNCN/cnC4OPB8HLhN0agiU/k/0nAj ROgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3RoWVr7bVCDotjaIwRYkQ2HYN1aVYHmamy0WqC/XtIc=; b=SILBek2LjH5Xgnuv2ZjWc5IAljW8LSCPZM37jJA6+2y2KZiTWWKWggfMj49qN1AM55 pCFy4ZElpRlwamtFtrXWshBRgT7AIvvzK56czLntd2D/8LqNR68CGQk5IoCTw84WUKp+ ofYi719p6PDwjpqkVnW/mdu7LE+UOcum1w8Q6ApuqQvPhS4AvZqGJsdBC5cUq0hDpghT /M5pKMkgNHSeMHgpeGpApZg4lTc49AaUdKOXDmEIyw2ZLGwKp6oWEiA5jsy4FPSkKaxo Bj1+vtsryFItFKOA62j8rAHSqAIXJrG5fcInd73rFTsQ6MElKBRN6x/bEDPUVwUHNtjj S6jQ== X-Gm-Message-State: AElRT7HiG5QxBFPuxNHF9aVKqlN8ehbVm+6JHvqcJ81/jP+BAa5TPZHr sktbyvdZZmeu5tD9RHNZTmxx/A== X-Received: by 2002:a17:902:264:: with SMTP id 91-v6mr11254747plc.178.1521439405886; Sun, 18 Mar 2018 23:03:25 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:24 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:52 -0700 Message-Id: <20180319060300.5366-10-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 10/18] mraa: Drop residual patch X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org This patch is already applied upstream see https://github.com/intel-iot-devkit/mraa/commit/c9566bdc6ff706f80140396a9980eba3d6bd52a1 Signed-off-by: Khem Raj --- ...ian.h-for-be16toh-and-le16toh-declaration.patch | 27 ---------------------- meta-oe/recipes-extended/mraa/mraa_git.bb | 1 - 2 files changed, 28 deletions(-) delete mode 100644 meta-oe/recipes-extended/mraa/mraa/0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/mraa/mraa/0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch b/meta-oe/recipes-extended/mraa/mraa/0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch deleted file mode 100644 index 711738a92..000000000 --- a/meta-oe/recipes-extended/mraa/mraa/0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 2c85decc3b93bfe7322309d2ca7d6377e746c18f Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 5 Feb 2018 09:51:08 -0800 -Subject: [PATCH] include endian.h for be16toh and le16toh declarations - -Upstream-Status: Submitted [https://github.com/intel-iot-devkit/mraa/pull/863] - -Signed-off-by: Khem Raj ---- - examples/iio_driver.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/examples/iio_driver.c b/examples/iio_driver.c -index c5a0181..568011c 100644 ---- a/examples/iio_driver.c -+++ b/examples/iio_driver.c -@@ -22,6 +22,7 @@ - * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ - -+#include - #include - #include "mraa/iio.h" - --- -2.16.1 - diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb index 366d6b70f..930c04123 100644 --- a/meta-oe/recipes-extended/mraa/mraa_git.bb +++ b/meta-oe/recipes-extended/mraa/mraa_git.bb @@ -9,7 +9,6 @@ SRCREV = "fbb7d9232067eac3f4508a37a8f7ea0c4fcebacb" PV = "1.9.0-git${SRCPV}" SRC_URI = "git://github.com/intel-iot-devkit/${BPN}.git;protocol=http \ - file://0001-include-endian.h-for-be16toh-and-le16toh-declaration.patch \ " S = "${WORKDIR}/git" From patchwork Mon Mar 19 06:02:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132006 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2342077ljb; Sun, 18 Mar 2018 23:05:01 -0700 (PDT) X-Google-Smtp-Source: AG47ELs1I6c13MPjSuDvd/I64ZbvcrP849Lbv7P9yohIf4KeBoE0GIqMuphBHKmamljQDf+6880g X-Received: by 10.99.0.136 with SMTP id 130mr2806166pga.368.1521439501565; Sun, 18 Mar 2018 23:05:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439501; cv=none; d=google.com; s=arc-20160816; b=U726Ck47ZfRoD+1cHGGi+oR36oZxP4SlEqpUuCC6at8sIyI3JwBFmESzuQH3sqohhj 0Lsf9Rzt5xcVndNWEG9uE1QyUcAlTDXLUy//LBcEIo9ckGlXGOyyoDvM1OFAvjjEERo1 nv9MVBPWS1W+aES6CuMcxHR8LXZfZt0n32IGzE6h6/D7bqhU7ZdrbaymNErcqhiVW/+u TIXDTaIEJeE293EgMrSQffeu4Mm42qDgljtTvpq64OSLG3leFHrGV9ZTNQ3rCEmwb/VG asJIyjpj0cT8jhbOTI+EN2b2LxuTC3aaWeFmNlqHnjFRoGW0S8SkQIjiFqjkg4ohEWAe /A/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=n20CihMr98utVtarqjsmzOX+6iBEB2MsO40knWWw1oY=; b=bipamBNcBQfCTEM4V4R/zt3hrmAqRqxqYQnTB1ifq9MppHTvcyOUAdxB5czrbDItL+ GvNhnTgdThWhAQHAU2BUrvOJEjAfWh17HhPo7Hvw41csbKKYsiMujM7we6xsZ8QM1l9K iKyTp8+KKF6z/Sve7SKX8c178WFmGOv93y3gf9T/7+OL9rLe0q+rGZjG/K0KzwQfFGK/ TbxTB7wfxVcdtH7qAqiOoyFw4/Nz/psBPm59bqpIuAXUvptyHOz55QuSm3fpqOQHG50E JaZyusv48EEjX4Gb+pIVhAsB9GhopBCmhJ0M6W1Y7Fciw3sdXt8Y4lhPGeAVDxmg9F9V wISw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=YGZlshvX; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id s1si4442298pgb.434.2018.03.18.23.05.01; Sun, 18 Mar 2018 23:05:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=YGZlshvX; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C6E2478982; Mon, 19 Mar 2018 06:04:03 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 31D0E786D3 for ; Mon, 19 Mar 2018 06:03:25 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id i14so6537455pgv.3 for ; Sun, 18 Mar 2018 23:03:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=H4Ofyc37K5u3zbhYsYV6UF0udx31oApShVQQ9HaJntY=; b=YGZlshvX9xjJ9/YvxI+o5FBpXx4d9yIVH0xGdFYbtz9xzA7SqRbvey9OpjvyeYywjy 4RgCVlD7qzKJVjXlU1JwwDBhaF8Jn2RVrW1e3kuHMYDP35OUIbIm9ZZaa7PA189IWthQ rU/mjQPqRv0/yg7T864exKZ5kGRcBOGoSZ0IuqAfwc+UYM6gU+GS2Wbl1Jj8QGGUb04W eWaVczNdPXXcyyQ8SmhM3r0g9kqs7an1be/rmnVGCXx8Ivu4JIx5fLDRB2JqX5puJ4qw 7tjxBrFER+/XEmANqR9GgcU0pr2XDzeTjJkgsVNqezZjwNsi/ddo4KnHXIyUlG15OWAc Xg3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=H4Ofyc37K5u3zbhYsYV6UF0udx31oApShVQQ9HaJntY=; b=WZm79xDTV1z+rW6EOh7MsDB5S6kh956VIGxLoDnycPl3FVjVWAeNqVleChJ7nLaYz0 1oM2t4yNZqlEzZIgQmeYZ3Reuz9mJEOJ6EBxyQPFBbxwZLeGAcK1ywoUujuf7p0fxu0W rf4TNupA9g4lwVPX0qcHEG8EbGshiEmzGqwSouSLqDKeqCvos0NmihNRRAdpw52k6sjX DAN0zv3ohsQ9/GOYccsKkL4aRVmXXzNbUbU1R0ufM17AbkolXAfSXSs2I6kHP+/J9lMS FhVYhtl65/KSlzMtxlOa/ttxSspjBnWaEgBU651SuOzJY0vMrXtTiU4UIqIhR9uT5AF1 2viQ== X-Gm-Message-State: AElRT7FHma4DA1jwJvY/sz3PITm3+VKWBfGp+UCyngAA8Fy+6le6L+Rq zg5f0eYVEIzKCXdVuzZ2TeDRdw== X-Received: by 10.98.212.80 with SMTP id u16mr9217382pfl.58.1521439407144; Sun, 18 Mar 2018 23:03:27 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:26 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:53 -0700 Message-Id: <20180319060300.5366-11-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 11/18] libyui, libyui-ncurses: Update to lates X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Drop upstreamed patch Signed-off-by: Khem Raj --- ...rc-Replace-using-sys-errno.h-with-errno.h.patch | 59 ---------------------- .../recipes-graphics/libyui/libyui-ncurses_git.bb | 5 +- meta-oe/recipes-graphics/libyui/libyui_git.bb | 2 +- 3 files changed, 3 insertions(+), 63 deletions(-) delete mode 100644 meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-src-Replace-using-sys-errno.h-with-errno.h.patch -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-src-Replace-using-sys-errno.h-with-errno.h.patch b/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-src-Replace-using-sys-errno.h-with-errno.h.patch deleted file mode 100644 index ae1b265dc..000000000 --- a/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-src-Replace-using-sys-errno.h-with-errno.h.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 46f016c4b87bb2a594df1c84e4d494bff0cbeaf9 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 5 Feb 2018 12:01:25 -0800 -Subject: [PATCH] src: Replace using sys/errno.h with errno.h - -sys/errno.h is no longer the right place for this file - -error: #warning redirecting incorrect #include to [-Werror=cpp] - -Signed-off-by: Khem Raj ---- -Upstream-Status: Submitted [https://github.com/libyui/libyui-ncurses/pull/63] - src/NCAskForDirectory.cc | 2 +- - src/NCAskForFile.cc | 2 +- - src/NCFileSelection.h | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/NCAskForDirectory.cc b/src/NCAskForDirectory.cc -index 06ec6ac..ed1a30c 100644 ---- a/src/NCAskForDirectory.cc -+++ b/src/NCAskForDirectory.cc -@@ -39,7 +39,7 @@ - #include - #include - #include --#include -+#include - - /* - Textdomain "ncurses" -diff --git a/src/NCAskForFile.cc b/src/NCAskForFile.cc -index 31fdb39..63a6679 100644 ---- a/src/NCAskForFile.cc -+++ b/src/NCAskForFile.cc -@@ -39,7 +39,7 @@ - #include - #include - #include --#include -+#include - - /* - Textdomain "ncurses" -diff --git a/src/NCFileSelection.h b/src/NCFileSelection.h -index d42311f..514d020 100644 ---- a/src/NCFileSelection.h -+++ b/src/NCFileSelection.h -@@ -38,7 +38,7 @@ - #include - #include - #include --#include -+#include - - - struct NCFileInfo --- -2.16.1 - diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb b/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb index 3388876e4..f60c85668 100644 --- a/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb +++ b/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb @@ -5,13 +5,12 @@ LIC_FILES_CHKSUM = "file://COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ " SRC_URI = "git://github.com/libyui/libyui-ncurses.git \ - file://0001-src-Replace-using-sys-errno.h-with-errno.h.patch \ - " + " SRC_URI_append_class-target = " file://0001-Fix-the-error-of-can-t-find-header-file.patch" PV = "2.48.3+git${SRCPV}" -SRCREV = "7b251c2ff541df6139f3d210d0a0a27d042926bd" +SRCREV = "79b804b45ffc6a0d92e28e793ff389a20b63b54b" S = "${WORKDIR}/git" diff --git a/meta-oe/recipes-graphics/libyui/libyui_git.bb b/meta-oe/recipes-graphics/libyui/libyui_git.bb index 9b1d1d818..92d96044e 100644 --- a/meta-oe/recipes-graphics/libyui/libyui_git.bb +++ b/meta-oe/recipes-graphics/libyui/libyui_git.bb @@ -9,7 +9,7 @@ SRC_URI = "git://github.com/libyui/libyui.git \ " PV = "3.3.3+git" -SRCREV = "f4ccea39f6b6f37eabd0a4df49db5f9bcb3c013a" +SRCREV = "2b634cb7821e2e79dd4b7a73caf8e67c50189376" S = "${WORKDIR}/git" From patchwork Mon Mar 19 06:02:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132008 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2342234ljb; Sun, 18 Mar 2018 23:05:14 -0700 (PDT) X-Google-Smtp-Source: AG47ELuE4tRTAEoZNa1WkNxZQVXFCc3s+rw62sxP5q9Lx0jRB8oBepKz6HP2ljAi82Htt4/67fPh X-Received: by 2002:a17:902:bd09:: with SMTP id p9-v6mr11214378pls.68.1521439514017; Sun, 18 Mar 2018 23:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439514; cv=none; d=google.com; s=arc-20160816; b=LkL2dFFQq63tdi+CkLXAIqahIaDK/1IFxijaKSztm98CVXl7znaHPN8CxM4Ils643x SAjYwp50zbPbyG/piY05gDuSKdVdoir2hmmRdtFJyD6Balwr8EW7BtjHqYWRzESR/R3R Hg/MBCO2yLuE/3urAymXMLT1xH8FnrmijRKmMO+dsshsrseOi9T6UJna2ZmEDjrc93QZ aWnQGqoBg3pyN8L/ZCo133nkF+TydlDioeSM9i6vdiy3hRf7ujqgN5M0VRxewJJA7+VM dbt3RJaBc+ScAr1JQWJwqEfEQRmzREft8vtVCiZoYJw+FteHH1tf3Wj0m7zitqFpYYIY 0T7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=RrjIuP58WKx1M72x3O6r0Bf6eAe8ii4BIhmpuuuVSKE=; b=epcMQrx2lP+GWmR3Qdo/X3DZGMhel+UZq2gJh3tkn6iafDkMWKxdIdptxrAatnpfWa IJFwjwx4oFvNgg4HGnG66zYszhSLYN0E6nwAt0FCOxGpWLm8rxPpQEyMBbyU8qIzp+Cv 4e6Ivi3rziGXodga4WRchXUpE/O1SS897KUhddOl+fqEZdHKrccn8hxzNaa4hp++BaJv 0wmuTKQMddOkhoXYGshDM9K0Qf58jnKbtBa7uyz/O5YdNBUj/xu0k0EdcrODbERt00wV tyHqs/Yfz+duYXBXKR/ILLQ3RB//WK0YVkJlgTsrbkYlcCDYI9LzJd+ZwbVhNwn0D35s ab4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=jahwIBKe; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 71-v6si11281904plf.575.2018.03.18.23.05.13; Sun, 18 Mar 2018 23:05:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=jahwIBKe; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 02E2C7898A; Mon, 19 Mar 2018 06:04:06 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id A23B578931 for ; Mon, 19 Mar 2018 06:03:28 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id m68so6641860pfm.11 for ; Sun, 18 Mar 2018 23:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yHOUNqicfE6wdIZsPqruLLRIWnIea8uLWHQ8dTVPZaw=; b=jahwIBKeDvkrBKkjU4LAigYPraiQ+nH+hppyDyiOV/NCGYhAcGMqsnfsC+8v+36A0H 5TtdM8qT365i2tfaH0ViJxLUBfaHuPxK+v3/zPsHer914ASavNOm+mWjD1zOUgG81XRz 8vdE3+H+NxwwtJG3Fu5t0ihqQC7iwVZB4DGK7jKUScgIv2XRDosNanT9LRzVrbHFzzKT p5m0n1NwI5PqAeqOyt9P8BCYMGgdqnPZt0F27O7mNZmgEryWNmEgc5LLvNmF5Ew4EiSu NOWaG8wrl9yUEq3hjA40159kpl/npbEy3d78jutjMHa9GrIwQtXuLTo+N51qSgrL612k ETdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yHOUNqicfE6wdIZsPqruLLRIWnIea8uLWHQ8dTVPZaw=; b=Px1etlPiD+IgCzKYGLUMY5uLYCQczJNDHmxxntG80RMXjxOx3mzAoc6xKOLGyS2BC0 1TrdguCYHeArkoQIL8x2RFDwqhtPXVgkJr5dSXRoRs+NVYz+7cVLE6nz2wZ2dAR4Uc4S cf/dkL/CQLN+cU2U8GBxk0ZBQyV9T94kLwrY/EMDLPhses2pCCfuCYJZkJoTwZDNt3lj vXIviZ1fpB3ILzzNCUHPwLsNCYAPCWXC7C5dbGIf28iJv36Lf2oKeIz33pQN4XXwHJlN 4VbfEs5mvScwHafSAJjEVMqEtZBXs1mzGjgRvJ6Lb8dBHiZGs2YKXfazQm3nXReTT0QR Mbog== X-Gm-Message-State: AElRT7Gz32N0GrECjHmgKNYTO45GWz7qWNGYJQMqWzO+K3YuAiEdPau7 TgQQHZiW7VBf3k59aX1GU7oVpw== X-Received: by 10.98.234.22 with SMTP id t22mr9252015pfh.56.1521439408373; Sun, 18 Mar 2018 23:03:28 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:27 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:54 -0700 Message-Id: <20180319060300.5366-12-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 12/18] libyui-ncurses: Fix build with musl _nl_msg_cat_cntr in not available X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- ...0001-use-_nl_msg_cat_cntr-only-with-glibc.patch | 40 ++++++++++++++++++++++ .../recipes-graphics/libyui/libyui-ncurses_git.bb | 1 + 2 files changed, 41 insertions(+) create mode 100644 meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-use-_nl_msg_cat_cntr-only-with-glibc.patch -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-use-_nl_msg_cat_cntr-only-with-glibc.patch b/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-use-_nl_msg_cat_cntr-only-with-glibc.patch new file mode 100644 index 000000000..8e3774c1a --- /dev/null +++ b/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-use-_nl_msg_cat_cntr-only-with-glibc.patch @@ -0,0 +1,40 @@ +From 4b84f243a70a8c07f6a38dad3c9411fa707f25c9 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 4 Mar 2018 17:08:43 -0800 +Subject: [PATCH] use _nl_msg_cat_cntr only with glibc + +The musl libc provides libintl (similar to glibc) +but does not use the same internals, +so even though we are using the GNU gettext +the libintl included with the libc does not define +_nl_msg_cat_cntr and it does not need to. + +Signed-off-by: Khem Raj +--- +Upstream-Status: Pending + + src/NCi18n.h | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/NCi18n.h b/src/NCi18n.h +index 165b0e7..bfc4ed7 100644 +--- a/src/NCi18n.h ++++ b/src/NCi18n.h +@@ -59,12 +59,13 @@ inline void setTextdomain( const char * domain ) + bindtextdomain( domain, YSettings::localeDir().c_str() ); + bind_textdomain_codeset( domain, "UTF-8" ); + textdomain( domain ); +- ++#if defined(__GLIBC__) + // Make change known + { + extern int _nl_msg_cat_cntr; + ++_nl_msg_cat_cntr; + } ++#endif + } + + +-- +2.16.2 + diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb b/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb index f60c85668..578c71301 100644 --- a/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb +++ b/meta-oe/recipes-graphics/libyui/libyui-ncurses_git.bb @@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ " SRC_URI = "git://github.com/libyui/libyui-ncurses.git \ + file://0001-use-_nl_msg_cat_cntr-only-with-glibc.patch \ " SRC_URI_append_class-target = " file://0001-Fix-the-error-of-can-t-find-header-file.patch" From patchwork Mon Mar 19 06:02:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132007 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2342150ljb; Sun, 18 Mar 2018 23:05:07 -0700 (PDT) X-Google-Smtp-Source: AG47ELuxuRQJtCP/pUdzqrRY0gyCAfC6pbtQTh7LH/AoJyDDtewqBWc/qVgVuwhxzzZkfCVBfUFQ X-Received: by 10.99.8.4 with SMTP id 4mr8255252pgi.289.1521439507565; Sun, 18 Mar 2018 23:05:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439507; cv=none; d=google.com; s=arc-20160816; b=xWZwIFpLMA68VzKs45jKcusExz2idAQke0jnnts5cNL3sSIvbwVZnOFOp3HxdNjBHL S20qthHbgMpqvnXFTZj4xI/wCfTDdmF0cVlGjFzhdRYfDDLRin/OIPnuvaI/rX5CyOXR glZ8jR4UIkifg0QffIpIfSSQIALX9fZH+9gDeuzm1VfXxjKQpOwCfTmHnETNJukD2z4Y MhvYnFBWbUdz0XMNe7FmxQe9LZ1DEIKmx+jZCfRmgxRY2RQyxRec/7sFbCsgaWKGqpbB soASt//LUGX/dr0SRJcgfw6Edcv8hoTAnNACIPU+crmE0TKHwSBQHmPH3NcZsmVN4bl2 Hf+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=j2ZmmAngsR01OtSXYHTVPvUbTFqh4Ewks+6MFGVNF14=; b=e3opQJZAvUlDCTrY1RToIBm/A1eI96kEOCTvc6T3d1kMmxJnkev2ISsztL7fY3HkJr F0NJKu0bgfTkrwNA1dEnt8fFjxp7mGI+Ye50xdVuh18MtoImA88sA3O1xUgfr+O/q2ar SnMju+qFseRdH43gXxzOlwdMsj8qnlw3jEc9FVz9WaRX0gJi3bSpSgDAYmIow/vcx97P taeLrFRCZojYW/GKn88fH9yXWbKtoi2MydBtibvPpHEgs2DOR5yg+l84TfPxqwMozxCx vXxezqtpPEY3qcjVRMxmsPjpDbtfmaf4AybH7LuBQJWOKTnzr3tbXLC/0G4imwEcngvJ Aglw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=VsEBoclB; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 32-v6si11664935pld.37.2018.03.18.23.05.07; Sun, 18 Mar 2018 23:05:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=VsEBoclB; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DCF1E78986; Mon, 19 Mar 2018 06:04:04 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id E18D878931 for ; Mon, 19 Mar 2018 06:03:27 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id a16so6640139pfn.9 for ; Sun, 18 Mar 2018 23:03:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=OlbH/rPCPh+4mHz+V8WYTUKZsMLBMiiwbeLzN+FoEmQ=; b=VsEBoclB8BetYKYltlPrtvHv5RIoId9G67aQ6VIn3/Ryxuc8WUDJsE5G8vlT1iHqRb MGgAZZeniqoYKK3NRwrLGsJPJlVVnQBnYpBcrHhSqmorknU2ZcF0dMR4eOt+G+Kwd8cC NHJCSNghOiOzNTgwLmW9FH5QcY9w3weAUGW4tIZraLfx4LuVplestl/U4vbUa0D1KAMf eiW1nd7SqN4i0sExUeNduJ0+tlcH2/8tVmf4GXKrYyw3+vQQ+qjAKvhVDcSpY+NesS/N bAHlAtoX4f+XvwBMV1TNWLa5W7aFlWR0dSMt37fyzNeTpNjB5bv82Yv/g8gfVv5td6+V MUCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OlbH/rPCPh+4mHz+V8WYTUKZsMLBMiiwbeLzN+FoEmQ=; b=m+K+MybNsjSI74rcAeyJtrytgJfUvQ+HByOoXvjaU8Jh39DtFGlQIjm/Rj9W43lDrS kJcAFU1lhocb8t5qZX5AdiRR2Y2t87JE3PzJKXQw2MFDWKUTfAp5qr0Myf9QCqozXj/D QsSDqmnghsNBwrbIKpvS6AEkrfvw6xwBCeCp1/ffta3MDxz+WYSIRYT93FqNeDbXpoEv WBMHzFoyY2gVaWbPqejimgyzYMPazopoFROb8BjZKY3RUg+jeMBtm0vvc5Xy7qQXaaPN LyJrfUUxEp7Bw3gqz8si4T7QNNhRVdcIL72lDfW6/Rjy6Qa+x4LeIsa3m6C8J1y/942L GcXA== X-Gm-Message-State: AElRT7H9FcO5aKuvkrTo1Sth/SFzgeLUXNWRs3lA+6bgDPnnNHjmZsg0 mHkjVjZ2ZRmJuq4NM1zVoGnL5g== X-Received: by 10.98.147.27 with SMTP id b27mr9259461pfe.145.1521439409269; Sun, 18 Mar 2018 23:03:29 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:28 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:55 -0700 Message-Id: <20180319060300.5366-13-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 13/18] ebtables: Fix duplicate definition errors due to netinet/ether.h X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Make the patch musl specific as it is regressing glibc 2.27 Signed-off-by: Khem Raj --- meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb index d5e7341a0..e4adafd3c 100644 --- a/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb +++ b/meta-networking/recipes-filter/ebtables/ebtables_2.0.10-4.bb @@ -29,9 +29,10 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/ebtables/ebtables-v${PV}.tar.gz \ file://0007-extensions-Use-stdint-types.patch \ file://0008-ethernetdb.h-Remove-C-specific-compiler-hint-macro-_.patch \ file://0009-ebtables-Allow-RETURN-target-rules-in-user-defined-c.patch \ - file://0010-Adjust-header-include-sequence.patch \ " +SRC_URI_append_libc-musl = " file://0010-Adjust-header-include-sequence.patch" + SRC_URI[md5sum] = "506742a3d44b9925955425a659c1a8d0" SRC_URI[sha256sum] = "dc6f7b484f207dc712bfca81645f45120cb6aee3380e77a1771e9c34a9a4455d" From patchwork Mon Mar 19 06:02:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132009 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2342305ljb; Sun, 18 Mar 2018 23:05:20 -0700 (PDT) X-Google-Smtp-Source: AG47ELvk2OOV9REJR6dpIsqrjzkCLLiZtg8IsDSQl4rBTFXdShE6EI+LnqeqVTBcU3/BdncYumWz X-Received: by 2002:a17:902:56c:: with SMTP id 99-v6mr10928241plf.53.1521439520091; Sun, 18 Mar 2018 23:05:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439520; cv=none; d=google.com; s=arc-20160816; b=PQzol9Rg1VgYmt8fh/Ay/MbqeUPlF1KW8ODxWJ/mzC2xsjSeQBbSGrbKereNFmo+41 tmDmnIJX21lFg+jRoowEetqHJijnMKuXllbb6ExuJ9GgKnwpnpor+v+HT/+ycrKfmIJ4 uIsU0ewst0+9kH0rX4vlXSQEal3IYesKko5gsPeFYYydWCosZQeZbqflJGHpvu8zUNhx YW97uE16QhiQ+3oI6SxoXpNYWaaY/cNjbtjZwv6aTqLIPccygkO9nfX4yS1aEyhlyXSa xdJiv6Y4PDxMaxz5v6IEBZQ2E4oo1vbXeIGVAs7I4oYLEu5t/oqHYmEA0Uiso13ZHO3c 0i5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Bmbw1O5Nt30ZMd40tLnYlhAgdhjc79PDqKP676xDnO4=; b=ig4BBuh2NnvuZawX44AIBMcln+6WC5+gQsXTt7D86D0y6Po67euGkhs0tTsQatnezm gYy0B6aVPIcDfADMxoi2yoR3kYANogPFGAQ469m9OGmCBX2vNxLvklM/dW5Ja71Mhp1D QZSmHoowUp6DXgRwG3dq0vzLyXntZno7z54DQ3HT8jlbpGRjjs6k8D4ZtfNi00bSpA0g 0pNvsi1PzBAh/alkM5lhs60wvLR08wLmUVaj5fHvn4DsCTUeuzZViZectkye7b9dEkbI YFeKQFSGd6v/VQSDodnGjT4kUJwvmilUmN23n464RmcrEb6+zKzYX6drGOxyHTD3fPyY tmXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=GF1+nPVp; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id f8-v6si8083915plk.684.2018.03.18.23.05.19; Sun, 18 Mar 2018 23:05:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=GF1+nPVp; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 21C5F7898C; Mon, 19 Mar 2018 06:04:07 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f181.google.com (mail-pf0-f181.google.com [209.85.192.181]) by mail.openembedded.org (Postfix) with ESMTP id 3190578936 for ; Mon, 19 Mar 2018 06:03:29 +0000 (UTC) Received: by mail-pf0-f181.google.com with SMTP id x1so6645329pfh.7 for ; Sun, 18 Mar 2018 23:03:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1QTBcJ0Fh4sFjFgwrf1FJaA4kmQHnrE9Mk/a1hT2Udw=; b=GF1+nPVp0sCk85PRCogziKrCKjDlibYByYTYxh/mU5Vhog/Z3OgEKQ+F7LA7kxt5sX PcRqpkK4yuWkVrynHnl6udryxkIM0HKufMYuMH0vl1xZo4KBRAB5kBPv+2mJMuNIughy 4zDULO1i07vXmX/InYdnDJL1vtQzXiK/KUKHykkrFfXYgqA5mMBL0yUIbBOG92jk3Qxz DHqGgVApdDh5C07QNtuaoVnQYMu1KClJvpcNVGioYUCPcijooXGWTneMDJspiiJQ6YxD Xc5Es+2iYreOmbn/pZ1E2RD0zdMHd/PQE+myoBc3mpyx1t+NqD2FiiiqYgQ/KvcN1Ts8 DZ0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1QTBcJ0Fh4sFjFgwrf1FJaA4kmQHnrE9Mk/a1hT2Udw=; b=Yid9EKBVKdu1NGKpe0nAPqRT1ikV1n1cBEHIBPuZIzfya++Fp/94gxiuqdNE5e/Cj3 mc8jpa29wqxwwpJ5m8uSK/Q/qjWhyWaf201fmP5GvWPURRAAWowFeoSKWwBAyOTg1UZg lvQzljGoDY/X7U1KGNgLR1UzMigWnhFjndlEPfX8pXb8SQ5FXTGTk9d+VVljilupZMFx WwxJ82eOWODTZYurxZ3ZvmG7pTHe26YhvgLuzrv4E5np95RNrmjztk5tYc1xneL5S0cJ /Z4EfZbNmYhl/+AoBlAgdEnsYGhjJujEL8BAL8diLrE9E8fNoUZBEN0RTXuRErV9gc3m 1JNw== X-Gm-Message-State: AElRT7FEfVBBHZ+DK8EqLfEJevqJPQssiAfihvXMPfOb6+7f9YcmDa3n qpRO0U71spjRJ3X01Q2BBJBfJw== X-Received: by 10.98.217.211 with SMTP id b80mr9324810pfl.107.1521439410424; Sun, 18 Mar 2018 23:03:30 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:29 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:56 -0700 Message-Id: <20180319060300.5366-14-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 14/18] flashrom: Upgrade to 1.0 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org - Fix build on risc-v - Drop upstreamed patches Signed-off-by: Khem Raj --- .../flashrom/0001-Remove-undefined-behavior.patch | 82 ---------------------- ...001-platform-Add-riscv-to-known-platforms.patch | 37 ++++++++++ ...fine-_XOPEN_SOURCE-to-enable-ffs-libc-API.patch | 28 -------- .../{flashrom_0.9.9.bb => flashrom_1.0.bb} | 7 +- 4 files changed, 40 insertions(+), 114 deletions(-) delete mode 100644 meta-oe/recipes-bsp/flashrom/flashrom/0001-Remove-undefined-behavior.patch create mode 100644 meta-oe/recipes-bsp/flashrom/flashrom/0001-platform-Add-riscv-to-known-platforms.patch delete mode 100644 meta-oe/recipes-bsp/flashrom/flashrom/0001-spi-Define-_XOPEN_SOURCE-to-enable-ffs-libc-API.patch rename meta-oe/recipes-bsp/flashrom/{flashrom_0.9.9.bb => flashrom_1.0.bb} (63%) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0001-Remove-undefined-behavior.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0001-Remove-undefined-behavior.patch deleted file mode 100644 index 51397dc55..000000000 --- a/meta-oe/recipes-bsp/flashrom/flashrom/0001-Remove-undefined-behavior.patch +++ /dev/null @@ -1,82 +0,0 @@ -From d2a03b3e43043b596a79803bcb93f70e513bbb50 Mon Sep 17 00:00:00 2001 -From: Patrick Georgi -Date: Mon, 13 Mar 2017 13:48:03 +0100 -Subject: [PATCH] Remove undefined behavior - -Per clang-3.9, the compiler fails on #define ...defined(...) statements -as they're undefined behavior (apparently with different behavior -between gcc/clang and msvc, too). - -See clang's cfe repo commit r258128 for details. - -Change-Id: I82b6235e11b425fae45eebbe06b08f81c5bdbb98 -Signed-off-by: Patrick Georgi -Reviewed-on: https://review.coreboot.org/18792 -Reviewed-by: Stefan Reinauer -Tested-by: build bot (Jenkins) ---- - hwaccess.c | 18 +++++++++++++++--- - platform.h | 18 +++++++++++++++--- - 2 files changed, 30 insertions(+), 6 deletions(-) - -diff --git a/hwaccess.c b/hwaccess.c -index aede7e3..2bf6f42 100644 ---- a/hwaccess.c -+++ b/hwaccess.c -@@ -37,9 +37,21 @@ - #error "Unknown operating system" - #endif - --#define USE_IOPL (IS_LINUX || IS_MACOSX || defined(__NetBSD__) || defined(__OpenBSD__)) --#define USE_DEV_IO (defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)) --#define USE_IOPERM (defined(__gnu_hurd__)) -+#if IS_LINUX || IS_MACOSX || defined(__NetBSD__) || defined(__OpenBSD__) -+#define USE_IOPL 1 -+#else -+#define USE_IOPL 0 -+#endif -+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) -+#define USE_DEV_IO 1 -+#else -+#define USE_DEV_IO 0 -+#endif -+#if defined(__gnu_hurd__) -+#define USE_IOPERM 1 -+#else -+#define USE_IOPERM 0 -+#endif - - #if USE_IOPERM - #include -diff --git a/platform.h b/platform.h -index c5a52ef..b2fdcd0 100644 ---- a/platform.h -+++ b/platform.h -@@ -25,9 +25,21 @@ - #define __PLATFORM_H__ 1 - - // Helper defines for operating systems --#define IS_LINUX (defined(__gnu_linux__) || defined(__linux__)) --#define IS_MACOSX (defined(__APPLE__) && defined(__MACH__)) /* yes, both. */ --#define IS_WINDOWS (defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || defined(__WINDOWS__)) -+#if defined(__gnu_linux__) || defined(__linux__) -+#define IS_LINUX 1 -+#else -+#define IS_LINUX 0 -+#endif -+#if defined(__APPLE__) && defined(__MACH__) /* yes, both. */ -+#define IS_MACOSX 1 -+#else -+#define IS_MACOSX 0 -+#endif -+#if defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || defined(__WINDOWS__) -+#define IS_WINDOWS 1 -+#else -+#define IS_WINDOWS 0 -+#endif - - // Likewise for target architectures - #if defined (__i386__) || defined (__x86_64__) || defined(__amd64__) --- -2.13.3 - diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0001-platform-Add-riscv-to-known-platforms.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0001-platform-Add-riscv-to-known-platforms.patch new file mode 100644 index 000000000..7ba69a917 --- /dev/null +++ b/meta-oe/recipes-bsp/flashrom/flashrom/0001-platform-Add-riscv-to-known-platforms.patch @@ -0,0 +1,37 @@ +From d2a28dcdbd1051d2f48320e2eda3393581fe0519 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 17 Mar 2018 23:08:29 -0700 +Subject: [PATCH] platform: Add riscv to known platforms + +Signed-off-by: Khem Raj +--- +Upstream-Status: Submitted [https://review.coreboot.org/#/c/flashrom/+/25260/] + platform.h | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/platform.h b/platform.h +index b2fdcd0..2cadbb3 100644 +--- a/platform.h ++++ b/platform.h +@@ -69,6 +69,9 @@ + #elif defined (__m68k__) + #define __FLASHROM_ARCH__ "m68k" + #define IS_M68K 1 ++#elif defined (__riscv) ++ #define __FLASHROM_ARCH__ "riscv" ++ #define IS_RISCV 1 + #elif defined (__sh__) + #define __FLASHROM_ARCH__ "sh" + #define IS_SH 1 +@@ -77,7 +80,7 @@ + #define IS_S390 1 + #endif + +-#if !(IS_X86 || IS_MIPS || IS_PPC || IS_ARM || IS_SPARC || IS_ALPHA || IS_HPPA || IS_M68K || IS_SH || IS_S390) ++#if !(IS_X86 || IS_MIPS || IS_PPC || IS_ARM || IS_SPARC || IS_ALPHA || IS_HPPA || IS_M68K || IS_RISCV || IS_SH || IS_S390) + #error Unknown architecture + #endif + +-- +2.16.2 + diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0001-spi-Define-_XOPEN_SOURCE-to-enable-ffs-libc-API.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0001-spi-Define-_XOPEN_SOURCE-to-enable-ffs-libc-API.patch deleted file mode 100644 index 4170fefd2..000000000 --- a/meta-oe/recipes-bsp/flashrom/flashrom/0001-spi-Define-_XOPEN_SOURCE-to-enable-ffs-libc-API.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 7c65a465a3ddeb7afb9a7c49d010ae7e5d5b1ad1 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 18 Jul 2017 20:25:49 -0700 -Subject: [PATCH] spi: Define _XOPEN_SOURCE to enable ffs() libc API - -musl exposes this issue - -Signed-off-by: Khem Raj ---- - spi.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/spi.c b/spi.c -index 894f73f..aeb6518 100644 ---- a/spi.c -+++ b/spi.c -@@ -21,7 +21,7 @@ - /* - * Contains the generic SPI framework - */ -- -+#define _XOPEN_SOURCE - #include - #include - #include "flash.h" --- -2.13.3 - diff --git a/meta-oe/recipes-bsp/flashrom/flashrom_0.9.9.bb b/meta-oe/recipes-bsp/flashrom/flashrom_1.0.bb similarity index 63% rename from meta-oe/recipes-bsp/flashrom/flashrom_0.9.9.bb rename to meta-oe/recipes-bsp/flashrom/flashrom_1.0.bb index 4cdd8ad23..6f5c037a8 100644 --- a/meta-oe/recipes-bsp/flashrom/flashrom_0.9.9.bb +++ b/meta-oe/recipes-bsp/flashrom/flashrom_1.0.bb @@ -6,12 +6,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" DEPENDS = "pciutils libusb libusb-compat" SRC_URI = "http://download.flashrom.org/releases/flashrom-${PV}.tar.bz2 \ - file://0001-spi-Define-_XOPEN_SOURCE-to-enable-ffs-libc-API.patch \ file://sst26.patch \ - file://0001-Remove-undefined-behavior.patch \ + file://0001-platform-Add-riscv-to-known-platforms.patch \ " -SRC_URI[md5sum] = "aab9c98925d9cfb5ffb28b67a6112530" -SRC_URI[sha256sum] = "cb3156b0f63eb192024b76c0814135930297aac41f80761a5d293de769783c45" +SRC_URI[md5sum] = "42d999990c735d88653627cefcc13b9a" +SRC_URI[sha256sum] = "3702fa215ba5fb5af8e54c852d239899cfa1389194c1e51cb2a170c4dc9dee64" inherit pkgconfig From patchwork Mon Mar 19 06:02:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132011 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2342534ljb; Sun, 18 Mar 2018 23:05:33 -0700 (PDT) X-Google-Smtp-Source: AG47ELsHXoNnCXau1n2oaxug5KhmPJtCA0TBU/QFSTYW7lNI0mUsdIZhBDEHgCpyRd07krP27TcG X-Received: by 2002:a17:902:52c7:: with SMTP id a65-v6mr11188169pli.249.1521439533803; Sun, 18 Mar 2018 23:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439533; cv=none; d=google.com; s=arc-20160816; b=zlsa2GuG8z8gTCEdvEsWeIaFsmoGofYsunieLBUZMGH6GynMMxMmnUMOxu28lyxkKU ftK2DReFuwBeUIHnQNr3HY3Ph5zB8KMkz+rQhIu00j1FsfmRea6qEGGHtGk5YMHLZGsn MKpMmBLfmY3eWOhqzmJOCrqDUHO/CZeU1bZYeRMLT7NqiR2kMok7yRolbGmjOzb1LKTa P9L9w2POd9fK40FXBPWwsqjNFzAkAcpH2xkDzlvd7W6EwFGmr5P4ZueDPvJeFdu2dfD2 gi1zbswFh71swEA7DkypWsB4EBxH/RpzEMR/+lRt6nWV5w0zhY48bFmbTbXrPyolc4bu IISA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Cvzmb9dshqh0a0SVcCHTGdq7TanXrJ6TCOF7lCtXVY0=; b=QvPNuIvV+9E6ECSCsTg0c+ckSXsNOQmkHNKuJaIQ6uX9kkqXMBy1asj8ldWMDZhuie 0WvPERQr2rWeBkzkAl2mtbt7sFGkBe0bMislYDg4urxZMICPGsj+DjSts+50qjx4S5ki ffbZy1pIDK9gb+pxeGWk37VEQYTtx8QFg/KdDsaUP2Zeu/hVGQUcioeSsiJn+A+2hZ7w 2USec0Uhy+69jilU2x5Ekk/at24AwL5HTIdfbjPeqHdGl29D8oGH8rYzHKpO3OlbHmAx rSXbe3jL/nnx3fcqmfP4NxroYkNxUmT6KCgEfPywG3+iVgxkIRQUr7u6PtXraDAElMRR u7Eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=KtbPN3k1; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b8-v6si12386081pll.146.2018.03.18.23.05.33; Sun, 18 Mar 2018 23:05:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=KtbPN3k1; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 8E8957899C; Mon, 19 Mar 2018 06:04:09 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 13A3878931 for ; Mon, 19 Mar 2018 06:03:31 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id 68so6652123pfx.3 for ; Sun, 18 Mar 2018 23:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=S6gCvMPejpWHuR6sb/Q3XW8XQx38xw6MEgTX6BXvC3Q=; b=KtbPN3k119zO7MLoYSl62xBoNvSBB8T9DPd/TIeFOSecSxFaciYSvWZ1A4O6EPjzGa /OyeWtXE4L16v/hACxZSnIt1yZMkZPhsL3xK4+zq8eC2NoXlu/TZdo+vc8W6zbqAHiMK NGfaa2Q9dpZuvkMLSipTZqlT61/k5LbZdACTa3/2zMBc/mIh64juQjrLhvnfDBZHLAyy +ystUy/Xm3zNbjuPLncPXIFkbCN1mvQCF4jwc5XhoJj3YtlrTY+0AXvhP5jd6pKiacr1 YVYqkMrse8Ssmsq9L+pPMOfw4t+tauxiUa6WvOQrlRmXbRWDdeparDBJewiouAfKJY21 HRyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=S6gCvMPejpWHuR6sb/Q3XW8XQx38xw6MEgTX6BXvC3Q=; b=j4+OTrcneQmL+hkXY8rWbs7I5g54UkzlGETjNfqArwrAQZUU4DnkQpiZxtNagqDGFD 6LBLfsmQnGwdUWbiCBTusT2ufhhsZRtxqpG65tUOkoOSHYj0D547gHxUSwYiJQarvWsh SzBbfRldV9jUHpXWAFV08cr01/odCaC6AdMAc4G4eBC++Jrof4Nlm7njZBzTQo+Z1QnT Ws3TfXRrwtdmD3ZApombtbdDO3BfhuY0G7wSOil/yJfiGFQwo6Ml7qjhiKZziqSQ25O/ UHI9hahh5zs+RJxS65QonBwx+WPidJtzbL/Oq3bWLuTEJgmPcFu2pMhTLW6I2GUSIcN0 UAUw== X-Gm-Message-State: AElRT7Fu5zKRMBILsJMLUB95FDj7hr3t6gv/dJ4d0NcaTDQGw/RwD4X5 hlElwH0uM6ZWNFDrc7KN5vUJAg== X-Received: by 10.98.246.16 with SMTP id x16mr9188008pfh.81.1521439411738; Sun, 18 Mar 2018 23:03:31 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:30 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:57 -0700 Message-Id: <20180319060300.5366-15-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 15/18] libmicrohttpd: Add -D_REENTRANT to CFLAGS X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org GCC fails to add it with -pthread on some arches e.g. risc-v Signed-off-by: Khem Raj --- meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb index ee399a764..0930a277b 100644 --- a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb +++ b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.55.bb @@ -11,6 +11,8 @@ SRC_URI[sha256sum] = "0c1cab8dc9f2588bd3076a28f77a7f8de9560cbf2d80e53f9a8696ada8 inherit autotools lib_package pkgconfig gettext +CFLAGS += "-pthread -D_REENTRANT" + EXTRA_OECONF += "--disable-static --with-gnutls=${STAGING_LIBDIR}/../" PACKAGECONFIG ?= "curl" From patchwork Mon Mar 19 06:02:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132010 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2342435ljb; Sun, 18 Mar 2018 23:05:27 -0700 (PDT) X-Google-Smtp-Source: AG47ELuicR7Zr4wFVX7dj/9yTGuDbdxtzA/mE0s22VYlBvDAtmU8uIqU92tqG4pbVqRgtyYfBp8/ X-Received: by 10.98.71.210 with SMTP id p79mr9220352pfi.47.1521439527732; Sun, 18 Mar 2018 23:05:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439527; cv=none; d=google.com; s=arc-20160816; b=qa16Edc2KZxUYS4GPAM8as6jPBZI2aDjcgxvrqYPUJEmWAhxTUjt/9pyP7ry7MbPZ5 oBaefEALCNq9un0nZLusrNHJaTp3f5fZwBYVD8+gmahxsS53wlJjR32A1s/h9Fc0vteP xcBeAi+6DbNphRwjUHSrBsKipqAXyWNJ36FG4542bZEORbNDJF7eWchLf5ciGpfDLiRH /8+KCHExc6Nze/hYqygRi1acp/xqNhaRJeQezvVkjTzMo2Rk2Y9FaLZn9jym7JbNNYfz CJ20yNBQK139YBGixinRKT4bHWdCsa0MTtaxWWhTbdP418lrwTA/Yad5l6bvDXQCnpyH fQnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=wAmACGfGD84DOIFbQ/+MHn6M8Kzc1OxksA5mxFpyM3o=; b=Ck9ppl1WKjIFU2vQmj9M0+5Scb20bk9HbGfQxYsolDWswHzLhYXJ/ihTgHUv2sYUO9 +FKS9fTEo8xj7mJsAmIO6DVJlV2MvHW3njFRtBzo/yP49DHGTYIuEyFV7tSehB+YGob/ Tps3p5jqW2zHoAcd4aq45SteBpNkRT3RmnYL4N3GkkcnOO3Wz+EE8Qi4liXtWr0JRS0b UOvu29q7IB4KBPdxy9Iz23JtLNa37zF9P/5KGc0HM3oDXazwAXWG4TSoA/Wg6BsnnI29 aUyjHHkChQhXf+nXbK14idgvvRceHU8k8cbuqPojoAFLgIveXCHfqh9P1LPwepwKVgu4 AbYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ay67j4G4; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id j72si3297985pgc.264.2018.03.18.23.05.27; Sun, 18 Mar 2018 23:05:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ay67j4G4; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 6FC1E78996; Mon, 19 Mar 2018 06:04:08 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by mail.openembedded.org (Postfix) with ESMTP id 5032978930 for ; Mon, 19 Mar 2018 06:03:31 +0000 (UTC) Received: by mail-pg0-f67.google.com with SMTP id m15so6537027pgc.1 for ; Sun, 18 Mar 2018 23:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wHeJva7nuRk2yPsf4A4/8yPLYqdnXFEADrcqJv8nOyE=; b=ay67j4G4tuiDyLuv0FGRNoDoUyvjQNObGcAUyQ7WrXVFAQ8rRIEe+d7J/lHxb5LBPY qJII+aSkcqBcW6K1eZHztF8InjZvzaOlX95l5zPfFaKRskvIbNNdJ6v6gQskWeGOFxb2 1MhBDOGXCTPaZXzJefkTi10HHrI4Lqm8pz/yAxt3t/QeyYDtVluXVdLxsyVY5CsXa3AP lFvOLvQZLQ6qR07HKLR5vAZy4gGVlKCzH4QGXwVV6sOitbk/GRoWL6UjkTtwFgf2wlU5 aSGoeR8D/XmFXBkFF+Z/wNWqbSbTDKYGhYFqS5xK1dvMjfE740n/1KjwqhWC3PXLPcnG kPWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wHeJva7nuRk2yPsf4A4/8yPLYqdnXFEADrcqJv8nOyE=; b=Xnxn/i70Cm3u+Xk/yVDTPulB+9r2i5C63jHYQzGt6HxdkkVsigBdYjLbhidXgKZ7wf gHhxORRhPz/87U41BKIQxU0fu6wGSmsumQ/Qy0q/Lffqm24KVwy5+QiVrXjYhYE7S1T7 hBoKd3x7In28uYxdVLAK6vF5OxQGJx24tGL2AefbJ7mkzTc/L7BRiZwtu5IvEbfGXt2Y tQnfAM4iTSHHuNawR0NcAgSo+ru3hbU/T53E+80Dp2BMsnFiHyoBY49QyezpWXkNqMGp Mc2DUq1NRptRN8NwWH/sJF8aeFbr670bFAP/RfHfcRSCeYBvw6TM/fYaJ1dLe06sbvXU YTfA== X-Gm-Message-State: AElRT7FmrLTNtFf2MN3wmGC8eRrJHY3YhGeb04v5fuq9lVP1CG1i2Vmq c+8GLLy9lvA5ZQqR7dsjiQD62Q== X-Received: by 10.98.65.198 with SMTP id g67mr9245138pfd.127.1521439412626; Sun, 18 Mar 2018 23:03:32 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:31 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:58 -0700 Message-Id: <20180319060300.5366-16-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-filesystems][PATCH 16/18] xfsdump: Use new config.guess and config.sub X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org This brings in new architecture support for risc-v Signed-off-by: Khem Raj --- meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb index 0ac991b23..39f11890e 100644 --- a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb +++ b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.7.bb @@ -34,6 +34,8 @@ EXTRA_OEMAKE += "'LIBTOOL=${HOST_SYS}-libtool' V=1" do_configure () { export DEBUG="-DNDEBUG" + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S} + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S} oe_runconf } From patchwork Mon Mar 19 06:02:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132012 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2342612ljb; Sun, 18 Mar 2018 23:05:39 -0700 (PDT) X-Google-Smtp-Source: AG47ELsV9X+Il6qz1VZpyLPsCVoUzYYEiTx7+mUrDgnz31jPYMW8FXezldJ06mzN/ijLTV35ftPJ X-Received: by 10.98.46.197 with SMTP id u188mr9346806pfu.32.1521439539604; Sun, 18 Mar 2018 23:05:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439539; cv=none; d=google.com; s=arc-20160816; b=kJDk0yH5pHGMMnwOOZjF8ZhdmebQolpDDybvq+101b4ryF4HOj0gUVvkT+/r5y8JcW pxavpeVLpE27jWHCzdefkjRaOAHlqcHYjJi3kD4APnwV3jJOcDrL9Ll5TxQN5RDSKVOY 2cEXDwh+64YAdJRuKQi7VeqhraQzA2jMUiLhR6wW1fBuokTfTEU4oWFFLgnG5QNfGYJq z7kBz32Pr11Eqrl0QCTy8IgbBCpLjWSurPvgDnLmyp7K4xlWHsMLHsn/bItqMogHTe15 3qYMawJUyNFl8ZohVoBa2bDi8/PYKzXDV2B691rHJLSVWLqVtZxAo+2SE5jaDwfYryKO 7p2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=bs6qO9QgA9OKq0LuFYGWfI2MHpat8MOd17p4D+dV23s=; b=eBiOFtpnn3PtaYEdENX+6S653DgYmBXkHeEFbjgiWP7IaKOFQ1VIk6SvZqDkc9s71U j4jCOW0oYfutrk/sLTYQHz1q5+iXk7vPY9QYg9ObjuyOSI5eQbtjHEj6Ojt6uWUaHNOn 0ejN5KQ+y9KtUg8ghvgBz4d2Xx9/WewpINzEjo0Y+lHD8iBC5uoj4zrNnIOntoeK25pp wS++lDXafYvgwMfqzKv1cdz/xgkz0v32XTWubB938QU1u2+lQwR9DJmSJDYgojo6ZIF2 7VK4j4AtM0VB4CAZ6sj3LCQSV2Fi/zLj7VJUbZwpXS+lrRvz6bhnx/KHKCjMyNNANapG +enA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=iVL7xjNL; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id s10si10061114pfi.143.2018.03.18.23.05.39; Sun, 18 Mar 2018 23:05:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=iVL7xjNL; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id D152E7899F; Mon, 19 Mar 2018 06:04:10 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 6AE0B7893C for ; Mon, 19 Mar 2018 06:03:33 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id z10so6634321pfh.13 for ; Sun, 18 Mar 2018 23:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RQgz17oYeDDzsP/AD/TGFbJcg1OOZq+I3U4152uOtug=; b=iVL7xjNLuAcVw3y11/Z9KE3NTSYp1As23azwQ6G1RNYGLCNdwXsbejpg9OHYFwHMWd 2bE1auhjHnbeeoa0cxvXGA/B6x9YSveu8KeAKY4j3m6aoWwpTc/XRbygj8APj/mgFYcG u/TvJD0oeS889xLS6k3iNa9FN3N9la0NCvkeSCY0qHuadDLyIaJMSHlV8fLvD/DQVb4u cE6R1aVnD9xkDAt7537iFcXA8d/jWgUpH1R5pzG/R+BPNkue6uMdYxKCyj6ochxsSywO Ug257J0JmcXQWIEbJ81Fq08Aw3sauVIcx29/oU0VvlSpWxLPmYsG8/MCxdS5bGPBABcd diXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=RQgz17oYeDDzsP/AD/TGFbJcg1OOZq+I3U4152uOtug=; b=pFALS9s8UG+efXWU6OfwbJ+ZRWSVlnYwo7JAYqEk7yqClR3ezYHg+ZSfQHygkPWBmr aFhTEmeuccWcDjLJWEbd/u9pTtjb+jE1WNTLVXFZ89Dztnsa7RFoCw+/YMBg6BVN1Zu7 ykgFptiNSx5tKvT86nKs6rvLXZ5Cu5uzbkK+aqRAudiHBKFfTMq1T8D369SsyqQUkmZF uZWDwfqS3ui3cAxj5CNqLVY/pOpwDs1m+mATJr0tzmatWP3teBqY4LJ3tyGuzd5IAkg6 zBeB2wbAflHM6uEwhi9eAS59AFlFP1861Wv9NfaHrkR8rcfTMa1k8NwPlnrOESpuG8LJ WCtw== X-Gm-Message-State: AElRT7EP5O80WNLPbNtdYNjxAhN2AF4re96duSefKCg6p2vw5vmga27S v2ZMwk4xfeLVFqlcMxwDzwCxgg== X-Received: by 10.98.214.218 with SMTP id a87mr1022555pfl.124.1521439414630; Sun, 18 Mar 2018 23:03:34 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:32 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:02:59 -0700 Message-Id: <20180319060300.5366-17-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 17/18] fwknop: Use new config.guess and config.sub X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org This brings in new architecture support for risc-v Signed-off-by: Khem Raj --- meta-networking/recipes-support/fwknop/fwknop_2.6.9.bb | 3 +++ 1 file changed, 3 insertions(+) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-support/fwknop/fwknop_2.6.9.bb b/meta-networking/recipes-support/fwknop/fwknop_2.6.9.bb index 49b11ad33..0fd5f6fed 100644 --- a/meta-networking/recipes-support/fwknop/fwknop_2.6.9.bb +++ b/meta-networking/recipes-support/fwknop/fwknop_2.6.9.bb @@ -17,6 +17,9 @@ EXTRA_OECONF = " --with-iptables=/usr/sbin/iptables \ " do_configure () { + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/config + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/config + aclocal libtoolize --automake --copy --force autoconf From patchwork Mon Mar 19 06:03:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 132013 Delivered-To: patch@linaro.org Received: by 10.46.84.17 with SMTP id i17csp2342698ljb; Sun, 18 Mar 2018 23:05:45 -0700 (PDT) X-Google-Smtp-Source: AG47ELvdju9TM30yuh3Lh6Qh2FWE82Ex1sDqA/5E0QHr//O+0y2z60FJw087gHJUlYsz/2fyKhBi X-Received: by 10.101.75.18 with SMTP id r18mr8202372pgq.36.1521439545379; Sun, 18 Mar 2018 23:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521439545; cv=none; d=google.com; s=arc-20160816; b=KEsOpw6m4hOPVdujGBsWr4sKefenY6OFV310y3VOx+Cs/QbUVlc2vSLthtV+2GHdUj prEjox2LQjNo1TnQhe+ZNJhgLXhiB8602BleT9oTyvgjgQCVQxhqjybGmPjepCBNZqoB KliSE7jP1pB5UoEHGhUtHEJgZM7RiNbQoXHm5oVlZhzcEwpWv6kSUEoO3279klXOdG4L OXzIrQXhIVQunntvTEC/+g+WwMoDyZeo6hHdPTPEpWELTNOCsyxQ5vXGdsGw+f2BwSXI ARZAYIbxTDCz+6ZNKt1zMygZWvxD8p8pW4FhgfhOwQ3Q+kSweDI7gVi8oKLwcYfmY6xk XkMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=sr3r1Yr2d1GRVdyIezX/kG9QXfLQYcBIB+Wx7vkPuH4=; b=MKRn4sQhHmLOv2pAFzGtbbMhNMGqKknXGlv9jtrl5pzlrsLNIYykgAPCqfNpGfT9qO LTIHOo/JwB+HThfaeop1WErnCOh5KJSNng8RrdDawiuN/L2Qr2bnjSSc8WKFEMfgC0xf g4PMtPlB0erL56hkZkjsmcb5OJTovgHvIEHdlj6JW9Nlby1t+098cuYBQxWMy1ghc19m 6hh0lxf9fNCh5QjxrMTv0VrpWr16B/EW+juCKQba6+K03VG95OmpjZzyez+OtMd9mcAr zYsn7LReiu8F/ssuVnoHL4JcPr4xkCKgH2aZ/SCmOgxQexiuPTG+kCSgnztzxMDdc1w8 XpRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=apP4p2At; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id h67si10091300pfj.11.2018.03.18.23.05.45; Sun, 18 Mar 2018 23:05:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=apP4p2At; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E873F789A3; Mon, 19 Mar 2018 06:04:11 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id C2C0A78948 for ; Mon, 19 Mar 2018 06:03:34 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id d26so6647845pfn.5 for ; Sun, 18 Mar 2018 23:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0sCF/g76XVAx6w2WEAcRYEg9wWYeerb0e/BE8AsduH4=; b=apP4p2At7VkCVRviGSD6V+mtF0mgrIme+IahnjlQUF5GYqK1lFpz6q6d6IqbO2A0da mSVN6XXrrQrfUAPGP+6xu5iBvncNAPHVgJrou9zKwlEFA2aPHGQrK+QKHDCyvPN2kBdv yEPlrHNHKtZggaknh7WZtV78k4F639GByCZIRIxrsXjyzrKB1DkOk1ZcKAB5A2u4tXFP ARkMdaFpuIGtg7Og5hqAgUDNQCxLZb+ZCIbHiB5OapifYWlEDfk5Hl2zVv4VOi9bPgdl vQrFOYX0dLEiQjVr6RMkgfUthWspUpEhccGWPmFrld2uIL3XPNJWEADwFDXbDgxenGnd EhxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0sCF/g76XVAx6w2WEAcRYEg9wWYeerb0e/BE8AsduH4=; b=Eu/joLri2QwXElsXayjbjvuko/wliZYhCi15mSEAy0Ghjb9fJFlncRx5/l+1skTUvh nyIgE/nfOlGA40VF6T1K7UFb0JaIg3cWTUqMT8bdaRegHPX7jINItziXCZA+PGpdGmZS 4ninDHYjyqHHF2R8fzMnHVyNrLBlvRUZKYFfhaGESNlYWpTTLKGf4exkZmZcSY4OJe21 7OggmjKgGjw0t94DR8Wz/qZB990NQMPRYKzNem3HN5ZWYf+kFirLWjtVZmyodPBe1plL RpizYjkfg+opqSCHDa2TnO05Kf3xLfOyvFqIclzmXRzGReq3y8Vz6PeGZ239jr7cbuKe zDmQ== X-Gm-Message-State: AElRT7EgfnBI23MO5KY9FZz7C7b7LJUXq1LQGUQ4kuKSSnJx3oirs49M vDy7lt/7XYPHR+FTswVKkJ36Hw== X-Received: by 10.98.38.133 with SMTP id m127mr9277701pfm.122.1521439416137; Sun, 18 Mar 2018 23:03:36 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id a22sm5047426pgw.10.2018.03.18.23.03.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Mar 2018 23:03:34 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 18 Mar 2018 23:03:00 -0700 Message-Id: <20180319060300.5366-18-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180319060300.5366-1-raj.khem@gmail.com> References: <20180319060300.5366-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 18/18] mpich: Use new config.guess and config.sub X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org This brings in new architecture support for risc-v Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/mpich/mpich_3.2.bb | 5 +++++ 1 file changed, 5 insertions(+) -- 2.16.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-devtools/mpich/mpich_3.2.bb b/meta-oe/recipes-devtools/mpich/mpich_3.2.bb index 4a2c37723..51b313cef 100644 --- a/meta-oe/recipes-devtools/mpich/mpich_3.2.bb +++ b/meta-oe/recipes-devtools/mpich/mpich_3.2.bb @@ -31,6 +31,11 @@ EXTRA_OECONF = "--enable-debuginfo \ inherit autotools-brokensep gettext do_configure_prepend() { + for d in confdb test/mpi/confdb src/openpa/confdb src/pm/hydra/confdb src/pm/hydra/tools/topo/hwloc/hwloc/config src/pm/hydra/mpl/confdb src/mpl/confdb src/mpi/romio/confdb; do + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}/$d + install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/$d + done + autoreconf --verbose --install --force -I . -I confdb/ -I maint/ oe_runconf exit