From patchwork Mon Sep 10 05:06:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 146273 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp2078592ljw; Sun, 9 Sep 2018 22:07:58 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZQMvYhZFtxnSFPwG1bFc8zwdBROdsvwl/YylXOHhzczjbgRINfi/H+8h1vBpqH/jibBnJZ X-Received: by 2002:a65:448a:: with SMTP id l10-v6mr20907185pgq.382.1536556078355; Sun, 09 Sep 2018 22:07:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536556078; cv=none; d=google.com; s=arc-20160816; b=VtkAH3byFXlIRc31FXBquyz6dAkjfcw7qFKvZfT3tjVjuL/Jy1d2aaEuxhUb4QN04q /RKxl+sRK7rGU6h17qS2al4ZeEFiMW+KJXOPOen/wyLtnImx7NHQWFH19K1S69knUMOw Dh7FkWvghbtVo769ktqYEb/NQWjeOchthhGI51Fw8VA2JUuCiDJ45rdDtU/La0WSyNqj MVDLYC98YJQNUsh+kcAJOgetdkDFNYaiZUvbc/L46bLdTRAdP9nBdk5NIuZXrdUqL5hd BDQpc2J6vGHvUCCqpFSv91EAeZKUNuAq/c72ERcycJfD/3izmHF9xlmmUx4UZelf4eip 7x7g== 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=oqWC5UTpMeQ8EMtDBk8XbbscEfDvmwPzsm7VMlHyrv4=; b=WsfJXpfHP+nciHDYXHyCgCLSLPt9rIbQ1OUhSRzSx/wOXJ8lQh9cPYl7Md5rveYFQE 7auR0yIVLOWRkoshHtXDzyrz0iFFpwWNkh7iIUGsurh9jL2hO+t5hAtBUbP6eokQXi8e Q+sRMTHaFhtQu1yUztUdg3GSZmph2p26pAqDyrwpDowPrxDQEszmdILf3Sp2g8n8r1Ug z0UBcqX6Yubg2UBaJo1AUNwOFXakQfs8+IJK4rgtCKOfZhdrhjhxcUMR6Ab0f76fvR+K Eg0064INkKHG26DOsWlhqgiWbhX8uUb5m716SKHvB6wr3/QkGpEuBSUqpES5u8QYLfom OzYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=TmW39JSE; 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 s12-v6si17178769pgi.514.2018.09.09.22.07.58; Sun, 09 Sep 2018 22:07:58 -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=TmW39JSE; 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 F1C6A79726; Mon, 10 Sep 2018 05:07:42 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mail.openembedded.org (Postfix) with ESMTP id A49AB65D00 for ; Mon, 10 Sep 2018 05:06:41 +0000 (UTC) Received: by mail-pg1-f169.google.com with SMTP id t84-v6so7974791pgb.5 for ; Sun, 09 Sep 2018 22:06:43 -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=4yT7tDqHVlENlk3my+LpXGHTJnBVc3smPsg9VCu3Upk=; b=TmW39JSEP1aG8vYHzslIlTm5njtCwS2iGcCzQnWfcxZJ19Vyi6RXCRsCKQFFwioV+K DezZy6o7igEORVGGeugEe5YT8K/57VZFRNl9bPKpKuXBxTLzQJqoQEIcmP79RZT5BbkA GcUsOONdYDS6JwA3Z2iKHVtssneZ/XpsWdc5YSxPeqOdTzbG45ygUcXf1nvOb1RglGM9 pndLkAAgCBVJfCoxCdVQK9o4kOMaedQPviugDDwWXA1/f72jo6wnVxiOzyo1QePFz+Ch AJt7Ig45uWoCm/Vh+LrLVHF/faNaQaJ+AMEaq6g+lPmNg0+xeaakybtmMa66xQyhylNO kbxg== 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=4yT7tDqHVlENlk3my+LpXGHTJnBVc3smPsg9VCu3Upk=; b=BNmuG8kctHvUQeKPk8q/TYqov7w14ytG1eH9owXPFb9jw6HwtBrnYuysz/pJCp4U2q VZH56Z8ZawqRrR09EV0juGleHEYMMzgnaSRfznKLA8+VphsRm/HhH9Xjn1D0+uOSjwVN cT/rjLCwtFPmqHsS+XzMx1wFMY2fqJ95eefuRIhVKejAf971YJNo9sEfx/CH78ktdPlu 3i1DD6aa3Usf5qcvPpj7Glo9lmv8gL1XHMaxvYUetzjlceiOP9iwiQuR9jDrucBB6akT CmIBB67M8uVPzsZvRhgPLF5TN6hF2dKRx9WxW6WtNqkMe9jIEFk3ELlARPPE6ciMgjN+ 4P9g== X-Gm-Message-State: APzg51AvxHlGwgkArdL0mS/p5CAST19DpOnQg4azxQIpYCq+vD2ThQMk j55s2SS9HufSwyB2zwqHLtCei175 X-Received: by 2002:a62:6948:: with SMTP id e69-v6mr21570970pfc.166.1536556002390; Sun, 09 Sep 2018 22:06:42 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::2887]) by smtp.gmail.com with ESMTPSA id x24-v6sm18819188pfh.67.2018.09.09.22.06.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Sep 2018 22:06:41 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sun, 9 Sep 2018 22:06:24 -0700 Message-Id: <20180910050629.16170-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180910050629.16170-1-raj.khem@gmail.com> References: <20180910050629.16170-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 05/10] openflow: Fix build with openSSL 1.1.x 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 --- ...generate-not-static-get_dh-functions.patch | 33 +++++++++++++++++++ .../openflow/openflow_git.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta-networking/recipes-protocols/openflow/openflow/0001-generate-not-static-get_dh-functions.patch -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-protocols/openflow/openflow/0001-generate-not-static-get_dh-functions.patch b/meta-networking/recipes-protocols/openflow/openflow/0001-generate-not-static-get_dh-functions.patch new file mode 100644 index 0000000000..4acae80fa7 --- /dev/null +++ b/meta-networking/recipes-protocols/openflow/openflow/0001-generate-not-static-get_dh-functions.patch @@ -0,0 +1,33 @@ +From 0fe6770b617af7e400abc6f8652c1417d4c3575e Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 8 Sep 2018 22:49:15 -0700 +Subject: [PATCH] generate not static get_dh* functions + +Fixes build with OpenSSL 1.1.x + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + lib/automake.mk | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/lib/automake.mk b/lib/automake.mk +index bfbeb94..b53909a 100644 +--- a/lib/automake.mk ++++ b/lib/automake.mk +@@ -113,8 +113,9 @@ lib/dhparams.c: lib/dh1024.pem lib/dh2048.pem lib/dh4096.pem + (echo '#include "lib/dhparams.h"' && \ + openssl dhparam -C -in $(srcdir)/lib/dh1024.pem -noout && \ + openssl dhparam -C -in $(srcdir)/lib/dh2048.pem -noout && \ +- openssl dhparam -C -in $(srcdir)/lib/dh4096.pem -noout) \ +- | sed 's/\(get_dh[0-9]*\)()/\1(void)/' > lib/dhparams.c.tmp ++ openssl dhparam -C -in $(srcdir)/lib/dh4096.pem -noout) | \ ++ sed -e 's/\(get_dh[0-9]*\)()/\1(void)/' \ ++ -e 's/static DH \*get_dh/DH \*get_dh/' > lib/dhparams.c.tmp + mv lib/dhparams.c.tmp lib/dhparams.c + endif + +-- +2.18.0 + diff --git a/meta-networking/recipes-protocols/openflow/openflow_git.bb b/meta-networking/recipes-protocols/openflow/openflow_git.bb index eceb45e94f..b6cef0730a 100644 --- a/meta-networking/recipes-protocols/openflow/openflow_git.bb +++ b/meta-networking/recipes-protocols/openflow/openflow_git.bb @@ -6,4 +6,5 @@ PV = "1.0+git${SRCPV}" SRC_URI += "\ file://0001-Check-and-use-strlcpy-from-libc-before-defining-own.patch \ file://0002-lib-netdev-Adjust-header-include-sequence.patch \ + file://0001-generate-not-static-get_dh-functions.patch \ "