From patchwork Thu Sep 6 21:16:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 146138 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp365517ljw; Thu, 6 Sep 2018 14:16:21 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZcbODefrMDSEHwo0lyR2YHFScgZso1PbY/Ce3ccigd/hTSO3KA0fVuADSkPK+4/2sFwcjz X-Received: by 2002:a62:778c:: with SMTP id s134-v6mr5022423pfc.189.1536268581376; Thu, 06 Sep 2018 14:16:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536268581; cv=none; d=google.com; s=arc-20160816; b=K/RLSm///QQkNJq6gO+oBqk1WDT8a53sg7QDPDK43NMvPruYasYkRS91th5FsM+EWf MLau5RIj82vOUw4k3MkOO4NVunsX+pRxtTTKdsqqeC13yJVsf8mNso1KMb/X0taMgMAf KdhrfHYvekZW/jOxMrpEormQ4Z8eX9UR4FXZhYVgKplfxNqX65jptaSgH7vkSJXbE7oR LaagNfnEg9VQo30kIuAWp+/FJksaSIjtrk0aY/hqO5ajB7bhIEn70KwT+AEFiFM4BZOR mDGsAAjcOS0kBoNtErChm7xSxfAK3SnQIjsz2GoC3ILIFaNMq9q9a16bnBu0GjUKoTv8 uSlw== 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; bh=qtTwQIjH0U78+4d7qmtb7h/osM96p1aq4JFiuJLkTOo=; b=Ws+nF0nxsN7J2npBBIyU9D+o9BkHdB6pKT+ay8A71uJfnTBZZhJsctzlDk8sn1TGLD i88o7gJoKalUITq1vXSQWiqz7rw/C1oxNXpalwsb1C54vILhofZNd4aCkc3m5WXfAwKV aZTmEcY9liov31upWvBTd4S1384ik/eEvtYifTrniWSzxcyfgQdbkIFCpC3y1Zf8TBD5 rwdKnWv19l0JKd4AinT7zFfzUi3l4Ppk4ad/95KHxAFtiVP+c4ffhzQKgqHXDc3kKBAW b8V6hapEumebkZArFXzXYCk6HGHyBsLr6+I2BSimsExID+It82b2VAYGxtOmKEsqy3Hn hvQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=XLnuEYWs; 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 y9-v6si6044340plk.427.2018.09.06.14.16.20; Thu, 06 Sep 2018 14:16:21 -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=XLnuEYWs; 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 EBDF77971E; Thu, 6 Sep 2018 21:16:17 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f194.google.com (mail-pl1-f194.google.com [209.85.214.194]) by mail.openembedded.org (Postfix) with ESMTP id 754607949C for ; Thu, 6 Sep 2018 21:16:16 +0000 (UTC) Received: by mail-pl1-f194.google.com with SMTP id s17-v6so5545620plp.7 for ; Thu, 06 Sep 2018 14:16: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; bh=gL8OePuwXhvD2YZWhvI1vQvsSyi8diOJZ/fD3GfB2os=; b=XLnuEYWsh53HWGN7GdIYqWkE5e7tooDUoRgE+QvPnNU4PsAJl1hfonhWEK3El9hOdx jajtn3UrkOhl1GBuuJfjxN70W7W2wkDnjCYXIBq1WLNOmvtHDb2WBPg9AOyyhiL0T4J3 +JC6Rs0pJ0E1+KYtnj6k40e6kgakhQUID5G9iA7apjMKUWBBdUbNzoxRU2yQW1T4YHL6 qgJLRL6qNLtHLICoXM2ULncRNahmIH84kGWha6AEsmW7zxQlqlbqL7swDMQ6fgK0ZZ1A DpC+yoMGmiJmutR2KprdX2JG3f5eNhTco76JuI8ckYMlEI8ibLvKTcQtGqTt10iqGFLQ bkLg== 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=gL8OePuwXhvD2YZWhvI1vQvsSyi8diOJZ/fD3GfB2os=; b=IR2kTxzgJcpz4RUviDvsUQq79G6r7gpT7Uoxrlf8bWGhp/6VJXMfellP4Z/dD/wE0p hTWLXjjN/jQC6JbHIyIdwUW6Hc8ce2WafxTrBZl52XVi37YfDER2ON3RDbEctcu5Bnwj ZoVBJoBqUtsgW3JwK7ahLt7qm4lxcrs41RqoCywFFB1f9Bl91NzbNtkqjdkzO0MI6vW1 xnN0UkdXUPLleaQ0xCSBG0e/J4JErxHrpvxfewfduKgaCvzrpzjDaIjhJLuDbkQtA2m1 4VsaoVwz3freyBFTnUYLRZJZd2RL2sIz5bwJY1oobwnI7t3Ho+qN6rcxGfbFHxx0Bmk6 YBkw== X-Gm-Message-State: APzg51BuaTdOT1Lt6NUNDr9yMReRgR8r/u68o+iCLbl3UABBrRnrNDHV INtmxWQYOUX/dRgyqJAckwT6AnOa X-Received: by 2002:a17:902:6ac5:: with SMTP id i5-v6mr4772150plt.232.1536268576938; Thu, 06 Sep 2018 14:16:16 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::71e7]) by smtp.gmail.com with ESMTPSA id r18-v6sm7375776pgj.51.2018.09.06.14.16.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 14:16:16 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 6 Sep 2018 14:16:04 -0700 Message-Id: <20180906211606.4910-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 Subject: [oe] [meta-oe][PATCH 1/3] uftrace: Upgrade to 0.8.3 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 * Deliberately provide a non existing path to with_elfutils so it does not copy libelf.so into its staged install and become a provider for that library while elfutils should be the legit provider and this package should just list it in its rdeps Signed-off-by: Khem Raj --- .../uftrace/{uftrace_0.8.bb => uftrace_0.8.3.bb} | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename meta-oe/recipes-devtools/uftrace/{uftrace_0.8.bb => uftrace_0.8.3.bb} (76%) -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.8.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.8.3.bb similarity index 76% rename from meta-oe/recipes-devtools/uftrace/uftrace_0.8.bb rename to meta-oe/recipes-devtools/uftrace/uftrace_0.8.3.bb index 82b179521c..a489f4a5d5 100644 --- a/meta-oe/recipes-devtools/uftrace/uftrace_0.8.bb +++ b/meta-oe/recipes-devtools/uftrace/uftrace_0.8.3.bb @@ -10,15 +10,17 @@ DEPENDS_append_libc-musl = " argp-standalone" inherit autotools -SRCREV = "5af9ff9fa89c340617e52c8ed05798b352a7145c" +# v0.8.3 +SRCREV = "8b723a6fae2ef30495cd6279774fba9c95cd9c88" SRC_URI = "git://github.com/namhyung/${BPN}" S = "${WORKDIR}/git" LDFLAGS_append_libc-musl = " -largp" -EXTRA_OECONF = "ARCH=${TARGET_ARCH}" +EXTRA_UFTRACE_OECONF = "ARCH=${TARGET_ARCH} \ + with_elfutils=/use/libelf/from/sysroot" do_configure() { - ${S}/configure ${EXTRA_OECONF} + ${S}/configure ${EXTRA_UFTRACE_OECONF} } FILES_SOLIBSDEV = "" From patchwork Thu Sep 6 21:16:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 146139 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp365695ljw; Thu, 6 Sep 2018 14:16:31 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbWXd6LU/5/mngTW/eC6qi+8RpC0eNMqWG60kysJpG5unY8eZTidXCKvY0cYJnMkLf3Mbox X-Received: by 2002:a17:902:8681:: with SMTP id g1-v6mr4653939plo.302.1536268591286; Thu, 06 Sep 2018 14:16:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536268591; cv=none; d=google.com; s=arc-20160816; b=L8FxKO4abs6C0FpQAT37z/2y6nsoXULZjmtxW8lKezQni9WUCjXClpvlwGxU1vCRvH ZUUrygXeFsxlhnnecDI5ZQkrfeVVF5ZuKG3FhPgo1qW0zKAEiZqTkbyXS7LCwGfS5dDG IRUYZeWAbI30J97Dhp+Vvl+8MVjnxCl3G7GHInm2l/lRosUrII18jgIF/k+dI1d+UusF r64G0YaQOvjkDNwqmm6B68r998cy0h8yGmKKIWhGIv4SWGZQsBtttJYU8H7+eH/yXEXX GFxCZgxqE6TIqj+l2UOeAcj0t2qLK1PHHTJkrFl6Tv9XskzP+GUPFlWjXIF3bDkNkoMI sptg== 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; bh=UEsQUXSec3SFynmK7AzwIPLHfoKYjIrzKF9Tmlm1EAY=; b=vOHOioMir/I3Z0GmLhmo6xtEUvxZrKKFBFawyvx6xSA5fNFbLBHzu7FeAK7uu4vyKr vU+dTOwOt6Eqa9rnik0woM7EsXpr1iDyH6YAkqs35fbqOzgiled65pnpyFHgTZGUhs2C /iqOV80SzuzxOxo0by0CAXlninPYiajJ7cuK36GBRykKut4IWS4/WSuq7uPCZaZM/t3I +TdMo6c0fL8CICrZ1ajPzOw19xjEs+fGh9XmosjC3+5eB+N4O4W2i2ubjTNvri2NRKHH Fnux38mORbtlFaBEruN13hQFAeNltdZH07xSJN7VJ9XzyFguJFWQ7qbkUhI4KQ6b3Me2 v+8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gBF0Trb6; 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 w14-v6si5796472plp.183.2018.09.06.14.16.30; Thu, 06 Sep 2018 14:16:31 -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=gBF0Trb6; 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 C7D377972B; Thu, 6 Sep 2018 21:16:27 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mail.openembedded.org (Postfix) with ESMTP id E1C8D7971B for ; Thu, 6 Sep 2018 21:16:17 +0000 (UTC) Received: by mail-pf1-f172.google.com with SMTP id i26-v6so5881391pfo.12 for ; Thu, 06 Sep 2018 14:16:19 -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=Su3zyAmVBZLGTl6I4Lt6AhuMHozY/wN9QJNsuTzpZMw=; b=gBF0Trb6tiXAtixmnAH/POAFHOl3YZWjV/STnUue+6XgbdZ5Qj8/Q+rjTt6hkBWmpk WbqyWSJWO09jxEfxvpS8WdxY5qtGu0BP1JkgB5HDfH8OvdB4e/VRGcW8KOeAk8314LvM f7/YNkJbwsv4P/1twDUMK7+MUjbKHyAE6Dhm+y0QF5qUWU5LwWJlVB/LgJAeZLt1SGXG KgAihSYwUyiAR1uve2guRNDwd4XHqusDCF8BhTqqjudt+FiABYH8bugcL94AaX7oq0tZ ZefLEpGcL4M1zuxrrun15/M8Ak1Vp6A6700I4Gaw3LPXvUskyiROfFa8SxmutQ4qutTy om0w== 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=Su3zyAmVBZLGTl6I4Lt6AhuMHozY/wN9QJNsuTzpZMw=; b=aS6vSXug7tt5PqKfDar0P2nVwzEMFnqyQpE8BH4dyUHRDDdvrktb/ziE8baSlPZPd8 Cigp4N05xl2mt7E0KrnSepTs358R0rtBEv1y0F1KSVUJBPMRWkVwc8Q3HCbvsFzC091Y 6bxgwFJcG4MMTpNKvi8GOL8ZBQuIYDLW3ZDe/Gq2Vv70vgI+hJxC17MvXZM237SQhmH9 HjGVdUxrBrhz2rnnN5ZyZ+pEF8VG5rw6INFEij7udqLG3kz1iyaZ7JXkNG5sLjtKJDut Z9xUq7fxRaRE33KwRNJTClowu58ibQ80oHtEl3f2XNQx4KX8MEayZAUtSd1mcgsTxcrj yPIw== X-Gm-Message-State: APzg51BI6PSUsAkxwdPEtY4td0GLNGHbUrsNeHGJetneNbV2TGosSQ6O dsMzZ/Nv48lTS3oD3o4dhd1RFjIq X-Received: by 2002:a62:3001:: with SMTP id w1-v6mr5046051pfw.19.1536268578494; Thu, 06 Sep 2018 14:16:18 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::71e7]) by smtp.gmail.com with ESMTPSA id r18-v6sm7375776pgj.51.2018.09.06.14.16.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 14:16:17 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 6 Sep 2018 14:16:05 -0700 Message-Id: <20180906211606.4910-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180906211606.4910-1-raj.khem@gmail.com> References: <20180906211606.4910-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 2/3] rtorrent: Upgrade to 0.9.7 release point 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 --- meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb b/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb index c731cf7079..9bb81c4096 100644 --- a/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb +++ b/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb @@ -8,9 +8,10 @@ DEPENDS = "libsigc++-2.0 curl cppunit libtorrent ncurses" SRC_URI = "git://github.com/rakshasa/rtorrent \ file://don-t-run-code-while-configuring-package.patch \ " -SRCREV = "226e670decf92e7adaa845a6982aca4f164ea740" +# v0.9.7 +SRCREV = "327164f9d86aafcd2500a317d485374df32ea622" -PV = "0.9.6+git${SRCPV}" +PV = "0.9.7+git${SRCPV}" S = "${WORKDIR}/git" From patchwork Thu Sep 6 21:16:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 146140 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp365792ljw; Thu, 6 Sep 2018 14:16:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZDGM5d0iZt3LIgPcgq5oZwxqDdmeWL41hmPog2q7a2J+IhIcf+lkP/jGzWq+BYsl3OYlYK X-Received: by 2002:a63:6881:: with SMTP id d123-v6mr4883432pgc.298.1536268597368; Thu, 06 Sep 2018 14:16:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536268597; cv=none; d=google.com; s=arc-20160816; b=FJymu9PRRVhB2tITTV0i6tCtXgHT4+xu6J7Pexx1/WmJA/ceuR6WJ1nSMgBT+taNc5 jkjfpubvqA/+5AEb6bFc80o4LzCME5OO2G52W2rFwwxA3a+ZggWSrPSqQWoAB2X7EmGT uA65sbb86RwOpmIhLJJXHolFQHQ3BKlZJCcnC1INGmQsmknzqbScY3WxYbMHUsJay5kl yhuiF/iMn6bVB0BXrj9vOO34m76h3Tdzqhc+as94sMQBkeOn253eIgN5BXuhS8YfusN2 eaMm9hTGpvZGWwsuJCoTXQav3kJaXeeyMpXbAVtJCUwHm4v3kff58VOevFtWI4pWvWeq t46Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=BZBR0vzSYLpVrPuAQ8A2yD7jqfKiSqClLTLB71Zr4gM=; b=Fp0rNZk3r4Oxj5XCsQUtx/TYW1MEqc/XdO7D5yYaU0aW7w9S4qoe3pLDqAdx89hcTo 58es3y+9YLqcCBbgthpizePUjwSb89gm28Nqy5eIUV4KQay9mLShWoAEfUpbk8r3SaG4 ARlbernTwtzz9YrgLQMkfWOkLqdWU1Sq8a0D8TWUev4+OzLk9mPy2cQzdQcd4xjYplc+ SZroDk+aqLl5G5tzsh8N/NZwckE/c+sd1TiblrSB5S9jgpEVE1XjSZeCW5UQF3UpVZ9n R3R9zQaTYn+0DUuHpibkYkg1r3d0b7nKHb156FZeEJROiltjp7y35k4UFR2ZEH1kRoFv gfXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=vX8nGDGb; 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 o128-v6si6307425pgo.276.2018.09.06.14.16.37; Thu, 06 Sep 2018 14:16:37 -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=vX8nGDGb; 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 DE35179735; Thu, 6 Sep 2018 21:16:28 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) by mail.openembedded.org (Postfix) with ESMTP id 264A57971B for ; Thu, 6 Sep 2018 21:16:19 +0000 (UTC) Received: by mail-pf1-f172.google.com with SMTP id d4-v6so5906247pfn.0 for ; Thu, 06 Sep 2018 14:16: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 :mime-version:content-transfer-encoding; bh=DRvqnDiav2P8KtTRlW1HEqWha/eJp3ld/MFAC8S3Nik=; b=vX8nGDGbVElmWo+uknnYa19FfF5ntfQZxC2Stapx4wg1/331GyziB1HAMLClDwat1O EemXXu/oTm2/8jYqZhB1vq6j6MWjwuYitj40yWZywDDcyVdgRExfVCJ8B1jcD6BE+dqg cUpFm7VGW4EWDCi/aLu8FelUWQzS3buw3du733vi8VQBtwcMLPsz5QV+pCD22RJzJcVu PmW5L+nEnXv6GCdZRkkAOqnVFZzCc3u/OjNInAIDfmaHCQLHhTC94fphMLlgMb+tEdrC Ahlng6vFuq0BAC2Ztxl+IwMx9SNBPmrCXPbopmcezOGw+gUKPtSW8lVf4TG2AE/6N03j C4Aw== 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:mime-version:content-transfer-encoding; bh=DRvqnDiav2P8KtTRlW1HEqWha/eJp3ld/MFAC8S3Nik=; b=TXyQZFf8vo4QumSGkuuCRZe6OBRcrUecZHEtkzFjw56lAeaWqE3vuFzznv0OK7PfOV /2C4o61zVT5jzGcATjo9H5VuCWflDgrUL9MUSl6pbD4mIkUjM7duScbd7dTaX56r4kuf DJlnxYh+R7MBF8Nt4+TWaY9XUO1/hoIka53Az+DIXtckYGrm2Y/Tmk4hiGoMJ6t3Vkwc 2aAEf/XsHyAH5+sHnAr1p48WX6kmHj+IV0LNfJcS9QaavOD2niSTHGn+953SdVKB5B2X 0/+AhRpVvwy02mYaGAQKt3y3M4886fgNRY0FrMpvZ6kl4r+7uGBNLN5cBrLtPEaGyqom Mxgg== X-Gm-Message-State: APzg51BJj5nMsSdKrVeUoMHFBIsT9QSbMjDE38LsfhYyVUPRZt+Z7A6F bzN7gRMYmTZyck78sBnoCuuJnyFB X-Received: by 2002:a62:f208:: with SMTP id m8-v6mr5020167pfh.222.1536268579957; Thu, 06 Sep 2018 14:16:19 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::71e7]) by smtp.gmail.com with ESMTPSA id r18-v6sm7375776pgj.51.2018.09.06.14.16.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 14:16:18 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 6 Sep 2018 14:16:06 -0700 Message-Id: <20180906211606.4910-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180906211606.4910-1-raj.khem@gmail.com> References: <20180906211606.4910-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH V2 3/3] opensc: Upgrade to 0.18.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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org * Fixes build with OpenSSL 1.1.x * Fix build with gcc8 Signed-off-by: Khem Raj --- v2: Fix build with gcc8 ...-Fixed-gcc-8-compilation-errors-1353.patch | 73 +++++++++++++++++++ .../{opensc_0.16.0.bb => opensc_0.18.0.bb} | 9 ++- 2 files changed, 79 insertions(+), 3 deletions(-) create mode 100644 meta-oe/recipes-support/opensc/opensc/0001-Fixed-gcc-8-compilation-errors-1353.patch rename meta-oe/recipes-support/opensc/{opensc_0.16.0.bb => opensc_0.18.0.bb} (82%) diff --git a/meta-oe/recipes-support/opensc/opensc/0001-Fixed-gcc-8-compilation-errors-1353.patch b/meta-oe/recipes-support/opensc/opensc/0001-Fixed-gcc-8-compilation-errors-1353.patch new file mode 100644 index 0000000000..48d8327546 --- /dev/null +++ b/meta-oe/recipes-support/opensc/opensc/0001-Fixed-gcc-8-compilation-errors-1353.patch @@ -0,0 +1,73 @@ +From 87857d5cae7db94fdd776904886392b1e86053bd Mon Sep 17 00:00:00 2001 +From: Florian Bezdeka <1119693+fbezdeka@users.noreply.github.com> +Date: Fri, 18 May 2018 18:54:56 +0200 +Subject: [PATCH] Fixed gcc 8 compilation errors (#1353) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The following errors occured during a compilation using gcc 8: + +In function »gids_create_file.constprop«, + inserted by »gids_save_certificate.isra.8« beicard-gids.c:1548:7: +card-gids.c:465:2: Error: »strncpy« output may be truncated copying 8 bytes from a string of length 8 [-Werror=stringop-truncation] + strncpy(record->filename, filename, 8); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +pkcs15-oberthur.c: In function »sc_pkcs15emu_oberthur_add_prvkey«: +pkcs15-oberthur.c:741:5: Error: »strncpy« output may be truncated copying 254 bytes from a string of length 254 [-Werror=stringop-truncation] + strncpy(kobj.label, objs[ii]->label, sizeof(kobj.label) - 1); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Upstream-Status: Backport [https://github.com/OpenSC/OpenSC/pull/1353] +Signed-off-by Khem Raj +--- + src/libopensc/card-gids.c | 3 ++- + src/libopensc/pkcs15-oberthur.c | 3 ++- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/src/libopensc/card-gids.c b/src/libopensc/card-gids.c +index fc5d2a7..ac3e579 100644 +--- a/src/libopensc/card-gids.c ++++ b/src/libopensc/card-gids.c +@@ -33,6 +33,7 @@ Some features are undocumented like the format used to store certificates. They + + #include + #include ++#include "../common/compat_strlcpy.h" + + #ifdef ENABLE_OPENSSL + /* openssl only needed for card administration */ +@@ -462,7 +463,7 @@ static int gids_create_file(sc_card_t *card, char* directory, char* filename) { + memset(masterfilebuffer + offset, 0, sizeof(gids_mf_record_t)); + record = (gids_mf_record_t*) (masterfilebuffer + offset); + strncpy(record->directory, directory, 8); +- strncpy(record->filename, filename, 8); ++ strlcpy(record->filename, filename, sizeof(record->filename)); + record->fileIdentifier = fileIdentifier; + record->dataObjectIdentifier = dataObjectIdentifier; + +diff --git a/src/libopensc/pkcs15-oberthur.c b/src/libopensc/pkcs15-oberthur.c +index 4f841ed..3415be7 100644 +--- a/src/libopensc/pkcs15-oberthur.c ++++ b/src/libopensc/pkcs15-oberthur.c +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include "../common/compat_strlcpy.h" + + #include "pkcs15.h" + #include "log.h" +@@ -738,7 +739,7 @@ sc_pkcs15emu_oberthur_add_prvkey(struct sc_pkcs15_card *p15card, + unsigned int id = path.value[path.len - 2] * 0x100 + path.value[path.len - 1]; + + if (id == ccont.id_cert) { +- strncpy(kobj.label, objs[ii]->label, sizeof(kobj.label) - 1); ++ strlcpy(kobj.label, objs[ii]->label, sizeof(kobj.label)); + break; + } + } +-- +2.18.0 + diff --git a/meta-oe/recipes-support/opensc/opensc_0.16.0.bb b/meta-oe/recipes-support/opensc/opensc_0.18.0.bb similarity index 82% rename from meta-oe/recipes-support/opensc/opensc_0.16.0.bb rename to meta-oe/recipes-support/opensc/opensc_0.18.0.bb index fd67181dc2..c389e0bb58 100644 --- a/meta-oe/recipes-support/opensc/opensc_0.16.0.bb +++ b/meta-oe/recipes-support/opensc/opensc_0.18.0.bb @@ -9,10 +9,12 @@ eID cards have also been confirmed to work." HOMEPAGE = "http://www.opensc-project.org/opensc/" SECTION = "System Environment/Libraries" -SRC_URI = "${DEBIAN_MIRROR}/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz" +SRC_URI = "${DEBIAN_MIRROR}/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz \ + file://0001-Fixed-gcc-8-compilation-errors-1353.patch \ + " -SRC_URI[md5sum] = "724d128f23cd7a74b28d04300ce7bcbd" -SRC_URI[sha256sum] = "3ac8c29542bb48179e7086d35a1b8907a4e86aca3de3323c2f48bd74eaaf5729" +SRC_URI[md5sum] = "bce516f752e0db5327aa06cc0136fe27" +SRC_URI[sha256sum] = "6ef62b00e8fdbe3e386c3ee25c2cadb56c1931ea42f1a11dce8c947f51b45033" DEPENDS = "openct pcsc-lite virtual/libiconv openssl" @@ -21,6 +23,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" inherit autotools pkgconfig +S = "${WORKDIR}/OpenSC-${PV}" EXTRA_OECONF = " \ --disable-static \ --enable-openct \