From patchwork Sun Oct 27 15:39:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Carrier X-Patchwork-Id: 1185032 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=orolia.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=orolia.com header.i=@orolia.com header.b="KlEfBP2c"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 471MTY69T5z9sP4 for ; Mon, 28 Oct 2019 02:39:13 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4263386C1D; Sun, 27 Oct 2019 15:39:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sm6oc2kV74UY; Sun, 27 Oct 2019 15:39:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 5A0BB86A98; Sun, 27 Oct 2019 15:39:10 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 24A811BF3FC for ; Sun, 27 Oct 2019 15:39:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 207872041E for ; Sun, 27 Oct 2019 15:39:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CQnuzbYQufz7 for ; Sun, 27 Oct 2019 15:39:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00078.outbound.protection.outlook.com [40.107.0.78]) by silver.osuosl.org (Postfix) with ESMTPS id 29DF42038F for ; Sun, 27 Oct 2019 15:39:07 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zj6nLYFDmc1vh198zbykpf4kFvj488JpuIpU8phEYOD+1faEq2XOwzs/ax2mNh7idQ4pXGor3bPPKLJlaOcY2tJnpzyuRC8z7jKIUgCM42JMkVEjOc88SoD3b+o1UxOhLiam/+cL4Q4Wo1ej2z7f8sVDH4+sIfj0PhpJ5G+jIhsjAVlLU7ZwaT6Er+bFZlv+rWkOBoI4xoGrDljvu+bnuXJDLmx2kp9va5oxvBElGxGAv86T5/brF+QL8GTUn1WZt0k8Ug1wgwbohZ/OgsoyDOIklLfxIByQCr54wyXJbACnYZhUl4RzUKL2TBcD45qhFrWE08aGoG4loaZsAi1vOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iaum+kXwRtUL5n0SaDkm+RmNZglWTZtZGVcyrUPhrRU=; b=lKj9kaDpfvJG/YWB5cLzs6M0wxDYnht7HjmmvUZULfMtr4infkpL2/q6OsR04eZVE+5g4culAeXD9tYFXJc+MczXRI27wH0gcgryxmhZzdQH9BICNzzEctaTsGAvZqJC8yBXGhUI5dUoi3Jovg0kD1jMj4yYn4CtYul52njJu4ivNj8BNCTDlOFlB+NkGJvCHkEv9zw3jUw0JCcdINP8EwuFYZUighho7x4xojphDHV9VmW7msuuH3RuPHsoy8S71TerAmfx8WF1HOkuZAS3beqTnJEiOmWXDKXlytREmXiGw2B+7cWDBOrTQS1ZBCWHayZE3u8tFEeq2wn+UOPSpw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=orolia.com; dmarc=pass action=none header.from=orolia.com; dkim=pass header.d=orolia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orolia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iaum+kXwRtUL5n0SaDkm+RmNZglWTZtZGVcyrUPhrRU=; b=KlEfBP2cK6lW0DBnegr/rrfKr2g1jRryNicdODx7sdjfyauKrf5aw8R26cMgrULa3dRwNojutJl/u33bW4/sKyCTXKs1p/JOesTFiNdRcX+zKOqxagTQAAMyrT+YOMfzqI0Czr7VsO91dOmESaqqmLgT1jmEr+987Rlkh79kq1c= Received: from AM6PR06MB4341.eurprd06.prod.outlook.com (20.176.243.160) by AM6PR06MB5240.eurprd06.prod.outlook.com (20.178.89.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.25; Sun, 27 Oct 2019 15:39:03 +0000 Received: from AM6PR06MB4341.eurprd06.prod.outlook.com ([fe80::a1a4:fdfd:d096:50dc]) by AM6PR06MB4341.eurprd06.prod.outlook.com ([fe80::a1a4:fdfd:d096:50dc%7]) with mapi id 15.20.2387.025; Sun, 27 Oct 2019 15:39:03 +0000 From: Nicolas Carrier To: "buildroot@buildroot.org" Thread-Topic: [PATCH v2 1/4] package/python3: create an option for host package selection Thread-Index: AQHVjNyoVxPZny492EyQtE3nMKmsgw== Date: Sun, 27 Oct 2019 15:39:03 +0000 Message-ID: <20191027153853.23532-1-nicolas.carrier@orolia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LNXP123CA0021.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::33) To AM6PR06MB4341.eurprd06.prod.outlook.com (2603:10a6:20b:26::32) authentication-results: spf=none (sender IP is ) smtp.mailfrom=nicolas.carrier@orolia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.20.1 x-originating-ip: [176.157.204.145] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8d3a3b22-83f0-4ef2-317c-08d75af3cb37 x-ms-traffictypediagnostic: AM6PR06MB5240:|AM6PR06MB5240: x-ms-exchange-purlcount: 1 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0203C93D51 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(366004)(136003)(396003)(39840400004)(189003)(199004)(8676002)(1730700003)(2351001)(81156014)(81166006)(64756008)(6116002)(66476007)(66556008)(66446008)(7736002)(305945005)(3846002)(6916009)(66946007)(8936002)(2906002)(50226002)(478600001)(966005)(14454004)(256004)(25786009)(54906003)(316002)(66066001)(71190400001)(52116002)(476003)(71200400001)(2616005)(5660300002)(86362001)(1076003)(6486002)(6306002)(44832011)(2501003)(486006)(107886003)(6436002)(186003)(6512007)(26005)(6506007)(99286004)(4326008)(102836004)(36756003)(5640700003)(386003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR06MB5240; H:AM6PR06MB4341.eurprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: orolia.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: l7m1GiWH5H6JnO5ggM7cM82JIgdsxZGMjG8bURvowE8ZCpUJXt9GQdYpb4SjkZ4K39kUy4Ig0hopHFXXNZ4vcLzStgxqcZ2Om8NDJDyxCmmUfxT9IDERGXAoSzM6ceS9RSV6NcbnxmIK/F0wRooY/M3B8sOVo050+rnHWJuC6+OycPh0ggQH19Me2ioTQxYLqa26/SdFr3/VoYYjFfBmdjBwp/M5un5+USqiXqiM/XPR6tMFogGEWR/EzM6wkHVJwkq+ZnpE5zxnAQuzxTPf/oraks8gVFvQt1nmj59EszkcZzX9HltmPGdklwWGHDOvuwcRY8a2kmcZ+yHE4me2xnMJGeuaL5aAAutaxpW4ORrZUZZMb0a/YADwdoHDDtM36uZIW2jLNEl1fZxc40wkQHV/exohE/bvn2x9XnwvCqzwdHnbKpqkJIIMu67E8JjYIDpQrvGOJA5yiGYo6JaHK4Xa64YkSiXGBPHELb+yn1k= MIME-Version: 1.0 X-OriginatorOrg: orolia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d3a3b22-83f0-4ef2-317c-08d75af3cb37 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Oct 2019 15:39:03.0358 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a263030c-9c1b-421f-9471-1dec0b29c664 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: MPqK/48K2fl29i6FyilWBM9SbEsK1RvXrC69P09mColsSWDp1Ek7LVrzg6Mm0SAtwSb3Hm4HGFgPveUfpFiaqOEIyeCEc0TF0Zmj2rt2Vc0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR06MB5240 Subject: [Buildroot] [PATCH v2 1/4] package/python3: create an option for host package selection X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Nicolas Carrier , Asaf Kahlon , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" If a python script, such as the post build one, wants to use python tools or be written in python, there is no possibility at the moment for enable it directly in the config, what's more, if python2 is used on the target, the auto-selected host python interpreter will be python 2. This patch allows to explicitly enable the host python3 package. Signed-off-by: Nicolas Carrier --- Changes v1 -> v2: - split the two original patches in two - removed the ssl support option --- Signed-off-by: Nicolas Carrier --- package/Config.in.host | 1 + package/python3/Config.in.host | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 package/python3/Config.in.host diff --git a/package/Config.in.host b/package/Config.in.host index 9eeb5c91a9..3253f9f361 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -56,6 +56,7 @@ menu "Host utilities" source "package/python-lxml/Config.in.host" source "package/python-six/Config.in.host" source "package/python-xlrd/Config.in.host" + source "package/python3/Config.in.host" source "package/qemu/Config.in.host" source "package/raspberrypi-usbboot/Config.in.host" source "package/rauc/Config.in.host" diff --git a/package/python3/Config.in.host b/package/python3/Config.in.host new file mode 100644 index 0000000000..061107fdff --- /dev/null +++ b/package/python3/Config.in.host @@ -0,0 +1,6 @@ +config BR2_PACKAGE_HOST_PYTHON3 + bool "host python3" + help + The python language interpreter. Host package. + + http://www.python.org/ From patchwork Sun Oct 27 15:39:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Carrier X-Patchwork-Id: 1185033 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=orolia.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=orolia.com header.i=@orolia.com header.b="eFwfL3uz"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 471MTf1j6Kz9sP4 for ; Mon, 28 Oct 2019 02:39:18 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 36F3086BE2; Sun, 27 Oct 2019 15:39:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HxopGArwc9UC; Sun, 27 Oct 2019 15:39:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 86C1486C03; Sun, 27 Oct 2019 15:39:14 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 305501BF3FC for ; Sun, 27 Oct 2019 15:39:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2AC8B86C03 for ; Sun, 27 Oct 2019 15:39:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TLWbBdg0gjJT for ; Sun, 27 Oct 2019 15:39:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00056.outbound.protection.outlook.com [40.107.0.56]) by hemlock.osuosl.org (Postfix) with ESMTPS id DC3D286BE2 for ; Sun, 27 Oct 2019 15:39:10 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=neM2/TSuZbF0mEfXtliK1yHQMYlutxq5XbrtD0ZClNovROy22PdWAKYOP0dFZYJboXwKhRs6vXvQc/j9/MrbQBvq5T0YbFhiOjxAZosb2ZfB+QdRa4ERcSsDDPL5WI7tBRxuKSdE+t7rSubdo3XqyZ6Vx7m6WUeHba9RmC5m+2vEAUCAgLslqSCvYER8n+5Q7r3KHgQK4PSY1Uyy++HcpF1uclmgHGyzSAq4CmSZM9JdWP3zafDiMFyjslCKu3q+ZraZsBvuUpuGd8Xps2A5xCOMczcktu6ltRdXzYlZ9P0/dzzkjF4NlXtHGj0JXifR6BrxDA6ogCBR7ezp0a01Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HSN72zjjPzPhDthXN0BplZSQ+4MCuA49zQwNIdyJEm8=; b=RxIB+aPdDD3TvCit1AKbPd1HCGMR8Bgq9m+jHt+fV4I/A9Q6RVOGosCRr6KWaRT9Gw+CKTleZ151EH2PFaAYIgVhg7GbcyvvuYjhvw+yJQE0ax7OHREfm47ioamwPfr+NjiqAA41/lgtmLfP8UCyN0P9MhpEodyT5irZVsQZ3A2b1RahkbAxx31aGTNA0y5dkVPnBx9jQfu8Y5D4t9RcUW7c/vOdK0cJszbX7KXyOGfNiY95PtnNI2pgu45uG877q9Y8Xuq67+vt49Jk/+WRSnYfenKSULqJV62oz0zW1O2RFRaK89MS/O0oaxlx0aInp4NKmKzJwGsSgKQJgBjbRQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=orolia.com; dmarc=pass action=none header.from=orolia.com; dkim=pass header.d=orolia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orolia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HSN72zjjPzPhDthXN0BplZSQ+4MCuA49zQwNIdyJEm8=; b=eFwfL3uzdcvXUZ6aukmVCUOW/Ban94LCiaPnAMEYYCtk6szWn1+aADuOAuNi3Yr4WlmER3mzdGRQysBLG7sgUxXUB0vpKnyqYNvzxoEjrzxvziXNOGdAFXzEWgJEW4+dJtf1D1hRPXJB7PKETjEJlE7NMIyCmUGlr0SQSLtRiJk= Received: from AM6PR06MB4341.eurprd06.prod.outlook.com (20.176.243.160) by AM6PR06MB5240.eurprd06.prod.outlook.com (20.178.89.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.25; Sun, 27 Oct 2019 15:39:08 +0000 Received: from AM6PR06MB4341.eurprd06.prod.outlook.com ([fe80::a1a4:fdfd:d096:50dc]) by AM6PR06MB4341.eurprd06.prod.outlook.com ([fe80::a1a4:fdfd:d096:50dc%7]) with mapi id 15.20.2387.025; Sun, 27 Oct 2019 15:39:08 +0000 From: Nicolas Carrier To: "buildroot@buildroot.org" Thread-Topic: [PATCH v2 2/4] package/python3: enable openssl support Thread-Index: AQHVjNyslk/sib9lNEaP8//MHQgSWw== Date: Sun, 27 Oct 2019 15:39:08 +0000 Message-ID: <20191027153853.23532-2-nicolas.carrier@orolia.com> References: <20191027153853.23532-1-nicolas.carrier@orolia.com> In-Reply-To: <20191027153853.23532-1-nicolas.carrier@orolia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LNXP123CA0021.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::33) To AM6PR06MB4341.eurprd06.prod.outlook.com (2603:10a6:20b:26::32) authentication-results: spf=none (sender IP is ) smtp.mailfrom=nicolas.carrier@orolia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.20.1 x-originating-ip: [176.157.204.145] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 06e772f7-2112-4348-e618-08d75af3ce68 x-ms-traffictypediagnostic: AM6PR06MB5240:|AM6PR06MB5240: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0203C93D51 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(366004)(136003)(396003)(39840400004)(189003)(199004)(8676002)(1730700003)(2351001)(81156014)(81166006)(64756008)(6116002)(66476007)(66556008)(66446008)(7736002)(305945005)(3846002)(6916009)(66946007)(8936002)(2906002)(50226002)(478600001)(14454004)(256004)(14444005)(25786009)(54906003)(316002)(66066001)(71190400001)(52116002)(476003)(71200400001)(2616005)(5660300002)(86362001)(1076003)(6486002)(446003)(11346002)(44832011)(2501003)(486006)(107886003)(6436002)(186003)(6512007)(26005)(6506007)(99286004)(76176011)(4326008)(102836004)(36756003)(5640700003)(386003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR06MB5240; H:AM6PR06MB4341.eurprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: orolia.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pVeLD6PpzkaY2hGeh5daUPWyKf9sur5xVLX0rBeWi1tQM8RaQZ8fGB0PQBF+Er0+N9P8DZqyIVgOLter3vAXZCNP3Jr+vOamOVynK7hMX0ON+SV0Eby9mB6143Ri5bK4cAN/OTyEPcfw8S5rnYf2puxBJPN1w8Pwf8xz7X6MEk8C+oBgoH47uOG2JGOES6CQMdrgc84ntSbFQER8pj8wlAsxcnkmfyBa99MHeQHaXEkqmfdPKWJU42dpnsywj4JYS7sF3MdV+YOdxAaE2nx/jscLw1CcYl719ghOAyamsFJXX60nRE70wRTB6SWq6VVW+xXSpauhdSTE7U/bF0AvTucjS9PQ/VeKR4RqbYwzYL2ETjv5fZEgsOVG0k5iNbQjq8BVqKeFfBqVPrF+WWnUyv56MOgiqk3EdST2sx311ufutCYSphUYX242+YYXdv5C MIME-Version: 1.0 X-OriginatorOrg: orolia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 06e772f7-2112-4348-e618-08d75af3ce68 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Oct 2019 15:39:08.4187 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a263030c-9c1b-421f-9471-1dec0b29c664 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yfWX2dxghIkhD9aBWOg68tjGMR2vMdiOz8+cvaf5f19aaIUB4YTuOKiD5YiF7dYQj7ZboH51awEFbi1RPZD8M2B/z3HA3qoXDkVagDDic6Y= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR06MB5240 Subject: [Buildroot] [PATCH v2 2/4] package/python3: enable openssl support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Nicolas Carrier , Asaf Kahlon , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" If a python script is ran or used as (or in) a custom script like post build, but requires ssl, then it will fail since it's explicitly disabled by default. This patch enables it unconditionnally. Signed-off-by: Nicolas Carrier --- Changes v1 -> v2: - split the two original patches in two - removed the ssl support option --- Signed-off-by: Nicolas Carrier --- package/python3/python3.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/python3/python3.mk b/package/python3/python3.mk index 060f9061ff..b3a187b130 100644 --- a/package/python3/python3.mk +++ b/package/python3/python3.mk @@ -27,7 +27,7 @@ HOST_PYTHON3_CONF_OPTS += \ --disable-test-modules \ --disable-idle3 \ --disable-ossaudiodev \ - --disable-openssl + --enable-openssl # Make sure that LD_LIBRARY_PATH overrides -rpath. # This is needed because libpython may be installed at the same time that @@ -40,7 +40,7 @@ HOST_PYTHON3_CONF_ENV += \ PYTHON3_DEPENDENCIES = host-python3 libffi -HOST_PYTHON3_DEPENDENCIES = host-expat host-zlib host-libffi +HOST_PYTHON3_DEPENDENCIES = host-expat host-zlib host-libffi host-openssl PYTHON3_INSTALL_STAGING = YES From patchwork Sun Oct 27 15:39:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Carrier X-Patchwork-Id: 1185034 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=orolia.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=orolia.com header.i=@orolia.com header.b="Q8f/OP3m"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 471MTj2MRZz9sP4 for ; Mon, 28 Oct 2019 02:39:21 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8B0F086D88; Sun, 27 Oct 2019 15:39:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cV72cW8XMr7u; Sun, 27 Oct 2019 15:39:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 2316786DA5; Sun, 27 Oct 2019 15:39:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id CBCAA1BF3FC for ; Sun, 27 Oct 2019 15:39:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C7DC186BE2 for ; Sun, 27 Oct 2019 15:39:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qe+q7vKGeMtV for ; Sun, 27 Oct 2019 15:39:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00056.outbound.protection.outlook.com [40.107.0.56]) by hemlock.osuosl.org (Postfix) with ESMTPS id 7924B86C3A for ; Sun, 27 Oct 2019 15:39:11 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=afyAj6tSm51cv60tBV6N8Pgvn8HPSa3G1sMXaPuxtYRKAB+CC+ccbP3tgfqmofW6Zw91+z2/aWg9W/RcZlFynuQ3kB5ew31ReDszfdsNgKSUUBSnTZaGsccp8KYWRlgO6D97HLEDCpLxPv5CR5gwjd+nnlz7uTxEo/sTHw3MAz+/vHmhpmhBFkxwkwdD0Vg4GjzlCOfty4jV1hE/G5Mjma8xRQi/+GJ9lVSDJp/3+MvadLmD61KqzDLuRFogvOIT/sovR2ynOyFXPfDF3F93D5bFGOvJf8inL3s/E2kcNj9Iy2IuRBoSxybI6rMLQm5OOKZC1CwBEEtFIvuat0dX/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6lLr0dLL1kse0fz5JHWS3LZbapvJbnxGgJFzy/i9lAQ=; b=djqZZfBLlDdf80Bs5d6ZIuKWRSzhVSrmYXCvM2gGgIjyMhcejC6ZJp1g1ezkNdjGqZ1CJ8reUhI50FvtjEvj0qblvAex7zk/ro9RGpeJrxRwf5whkA6s5+3i1Djx4igwXq8+/IRSxHezgbCGUx6zkUnFmYc/TR0AXkA0CU5yOZ0xkF8reqp2rMhMMVQgE9M+8rk1CEKz1KDmUduu98v1a8qu0EiyFXxlQFXYpZAAHrbmR46A7ALjQ1vSq8yFQmqA/IlQDn4bIJ59piUS792sNDZ/vqE+hAMPwfkj5SK8pIf5OXHFW6NC3hLVsklXmuyVbdOgsS6CMumlgxF6YJ4t4A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=orolia.com; dmarc=pass action=none header.from=orolia.com; dkim=pass header.d=orolia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orolia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6lLr0dLL1kse0fz5JHWS3LZbapvJbnxGgJFzy/i9lAQ=; b=Q8f/OP3mPyoCQUBxXdZoWJRx0QeGS7U2qZ5RYLR7Z5mxILAJDo8gJQI27h0iA0PgVQTdZ3mEhQQkxpPyYyAP7ZylYbGlu3W9sWwvgAA8nwGF5P9+2d3At5RiqQehkMdIwjJ0ABMKxmzYxkuOep4uAQ6PL5crVHTnhkmj8GaCZaY= Received: from AM6PR06MB4341.eurprd06.prod.outlook.com (20.176.243.160) by AM6PR06MB5240.eurprd06.prod.outlook.com (20.178.89.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.25; Sun, 27 Oct 2019 15:39:10 +0000 Received: from AM6PR06MB4341.eurprd06.prod.outlook.com ([fe80::a1a4:fdfd:d096:50dc]) by AM6PR06MB4341.eurprd06.prod.outlook.com ([fe80::a1a4:fdfd:d096:50dc%7]) with mapi id 15.20.2387.025; Sun, 27 Oct 2019 15:39:10 +0000 From: Nicolas Carrier To: "buildroot@buildroot.org" Thread-Topic: [PATCH v2 3/4] package/python: create an option for host package selection Thread-Index: AQHVjNyt9Pr1E7uIokuHiAzIpyaGkw== Date: Sun, 27 Oct 2019 15:39:10 +0000 Message-ID: <20191027153853.23532-3-nicolas.carrier@orolia.com> References: <20191027153853.23532-1-nicolas.carrier@orolia.com> In-Reply-To: <20191027153853.23532-1-nicolas.carrier@orolia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LNXP123CA0021.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::33) To AM6PR06MB4341.eurprd06.prod.outlook.com (2603:10a6:20b:26::32) authentication-results: spf=none (sender IP is ) smtp.mailfrom=nicolas.carrier@orolia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.20.1 x-originating-ip: [176.157.204.145] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 21c2eb13-2e7f-46e4-962a-08d75af3cfb4 x-ms-traffictypediagnostic: AM6PR06MB5240:|AM6PR06MB5240: x-ms-exchange-purlcount: 1 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0203C93D51 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(366004)(136003)(396003)(39840400004)(189003)(199004)(8676002)(1730700003)(2351001)(81156014)(81166006)(64756008)(6116002)(66476007)(66556008)(66446008)(7736002)(305945005)(3846002)(6916009)(66946007)(8936002)(2906002)(50226002)(478600001)(966005)(14454004)(256004)(25786009)(54906003)(316002)(66066001)(71190400001)(52116002)(476003)(71200400001)(2616005)(5660300002)(86362001)(1076003)(6486002)(446003)(11346002)(6306002)(44832011)(2501003)(486006)(107886003)(6436002)(186003)(6512007)(26005)(6506007)(99286004)(76176011)(4326008)(102836004)(36756003)(5640700003)(386003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR06MB5240; H:AM6PR06MB4341.eurprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: orolia.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LvSrtuPGy0odnM8NPlsR2pY6lEQBPB82IC7Ch4P0L2sb/xLg7In7+nBJ9ABN63eBSKNMlloCeXMtkdhWqvPM52inO3Kat27BtvNkPIjRXHwSIXqWbsxMsXE8MbXiRV9d4O4hJ+qlSb1wKF/MNo5A//+HLz7qxofu6/p5IjWouOn+MmgPpsT11BDVeUxHkjaDMmPcAkamUeQ1GLOUYVSFVAvkXKZFG0NOFxayIUcIgpMjrJpu2U8oGRhihMPdpRShc0GITDjk5Jr1DOE1uA4p7vPMmJlRVnyAd0zzk3/jMGR2KBaXghtic+6JWygkswqq4tY1+mGwq5GkynOomJML1cBOTvIvVvsS5fKNf2IXxwaclZ2Gpx0+X/02dtEDyfsXSvoEJqOO9Y9Qev+l18cXcjv3RgSnKiWlQfsSl9G4vU7oV7/jpeJcvcUBzXQEcamGTMDAZoX1Arf0puuYG6yUEVC3XUUwM3uPjjl9b9MijlU= MIME-Version: 1.0 X-OriginatorOrg: orolia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21c2eb13-2e7f-46e4-962a-08d75af3cfb4 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Oct 2019 15:39:10.5555 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a263030c-9c1b-421f-9471-1dec0b29c664 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 1N2iUqqczNkdCkEP6cSpgif6rtAGp6ymfQRaOjfF0CV5qyBpHHjPe0Yb1dsPGq+ggyHB0PYw8nLSIqbGvEHLJgvTwpff3bRB9G5KyS4V5Wc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR06MB5240 Subject: [Buildroot] [PATCH v2 3/4] package/python: create an option for host package selection X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Nicolas Carrier , Asaf Kahlon , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" If a python script, such as the post build one, wants to use python2 tools or is written in python, there is no possibility at the moment for enable it directly in the config, what's more, if python3 is used on the target, the auto-selected host python interpreter will be python 3. This patch allows to explicitly enable the host python 2 package. Signed-off-by: Nicolas Carrier --- Changes v1 -> v2: - split the two original patches in two - removed the ssl support option --- Signed-off-by: Nicolas Carrier --- package/Config.in.host | 1 + package/python/Config.in.host | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 package/python/Config.in.host diff --git a/package/Config.in.host b/package/Config.in.host index 3253f9f361..914491e210 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -52,6 +52,7 @@ menu "Host utilities" source "package/pkgconf/Config.in.host" source "package/pru-software-support/Config.in.host" source "package/pwgen/Config.in.host" + source "package/python/Config.in.host" source "package/python-cython/Config.in.host" source "package/python-lxml/Config.in.host" source "package/python-six/Config.in.host" diff --git a/package/python/Config.in.host b/package/python/Config.in.host new file mode 100644 index 0000000000..d960e1862d --- /dev/null +++ b/package/python/Config.in.host @@ -0,0 +1,6 @@ +config BR2_PACKAGE_HOST_PYTHON + bool "host python" + help + The python language interpreter. Host package. + + http://www.python.org/ From patchwork Sun Oct 27 15:39:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Carrier X-Patchwork-Id: 1185035 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=orolia.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=orolia.com header.i=@orolia.com header.b="e1Cg9i42"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 471MTk6cxqz9sPK for ; Mon, 28 Oct 2019 02:39:22 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 605DD80D04; Sun, 27 Oct 2019 15:39:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ddzVkA9sCxgB; Sun, 27 Oct 2019 15:39:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 21C0A816F9; Sun, 27 Oct 2019 15:39:20 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E8EBF1BF3FC for ; Sun, 27 Oct 2019 15:39:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E1C122041E for ; Sun, 27 Oct 2019 15:39:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D91y3TMjefEF for ; Sun, 27 Oct 2019 15:39:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00072.outbound.protection.outlook.com [40.107.0.72]) by silver.osuosl.org (Postfix) with ESMTPS id 0128E2038F for ; Sun, 27 Oct 2019 15:39:13 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Iqxm0QHRBpBz6OQgViEeK1mUvmIKHlnK4gUQG3MnMj1iPL8vDrnbIaMFgSE3vpV6kzj8EJnOFhLvIRpv+cyxHXV9dtA3aAyPAgpK6OMqY46huP7ddh/w5o2AxVwpiJG3v17b4+hCfn1hqEtdXlerEhzWAj9IJ0uZU8ktwO58yAMEPKcgQ71DSgoBe60QpX78J1JHEzH0zdq/+xb6Ny0VN4g5CizKh26HTXD873iZzuXtLtsjV/8sxCBOqD5yLbrtCtfNYi3Ly3QpvUwf/eDiZ07X0qz/eTc+RotyQ6L8nNyuryKxr9SlL0Nh52Hbcunvr5rhGxH0LNZ7/E9t6tYWLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GTxOQLipgFdUpzd8vJWmppTFxJgZvoIf3SpgN2QDslc=; b=Te1WHkEXuD2IBRj0pl9MFHECStk+dVb0CoGv48LfnWZGbc2bcDhrgYXtykXZJJ6IjFMy6BSyVnUdQ8DGeuZ8KQ7i8KSdBH/8gkkmOvadrqYGdKnJ/1qWfAjH9Rtn0xddbtpUcFt+yffOyUqArdYc+UJ33KFvwIQS3RrcNQCHfyIfwqX1xgHvTYvgw9gYgPo/k+78k25UVSuIDiywgOchZTTgBq3jSrEkQPXEIGwpoBAAjEVYuxw4003meEJ2phXD0PUiLghh3jChU1lO/GPVceswQr5d6tMNPHR2XAr/quQfr9VIZwbRfMf4SrVPjqhztJoATILh+yIE8csx22Vr2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=orolia.com; dmarc=pass action=none header.from=orolia.com; dkim=pass header.d=orolia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orolia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GTxOQLipgFdUpzd8vJWmppTFxJgZvoIf3SpgN2QDslc=; b=e1Cg9i42QjLEGEbUfR4yTrF2qt82g3BpTFa0CaSpujmUjJ9sdK4XyZkYmxhlcr+n3KfTOmdt+AlTUhIfB42TffTI5t5CDe960JgFxr9XiPmulkvR3GjincMa1JJ08UJN1Jhsx0oLC7mG7TEzV+0M5SHII62CL6vFGjBqVZzwINs= Received: from AM6PR06MB4341.eurprd06.prod.outlook.com (20.176.243.160) by AM6PR06MB5240.eurprd06.prod.outlook.com (20.178.89.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.25; Sun, 27 Oct 2019 15:39:11 +0000 Received: from AM6PR06MB4341.eurprd06.prod.outlook.com ([fe80::a1a4:fdfd:d096:50dc]) by AM6PR06MB4341.eurprd06.prod.outlook.com ([fe80::a1a4:fdfd:d096:50dc%7]) with mapi id 15.20.2387.025; Sun, 27 Oct 2019 15:39:11 +0000 From: Nicolas Carrier To: "buildroot@buildroot.org" Thread-Topic: [PATCH v2 4/4] package/python: enable openssl support Thread-Index: AQHVjNyt/ME8AA4eg0KXrorzrnmjKw== Date: Sun, 27 Oct 2019 15:39:11 +0000 Message-ID: <20191027153853.23532-4-nicolas.carrier@orolia.com> References: <20191027153853.23532-1-nicolas.carrier@orolia.com> In-Reply-To: <20191027153853.23532-1-nicolas.carrier@orolia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: LNXP123CA0021.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::33) To AM6PR06MB4341.eurprd06.prod.outlook.com (2603:10a6:20b:26::32) authentication-results: spf=none (sender IP is ) smtp.mailfrom=nicolas.carrier@orolia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.20.1 x-originating-ip: [176.157.204.145] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a5c2c7c6-ac92-4c50-2e7b-08d75af3d065 x-ms-traffictypediagnostic: AM6PR06MB5240:|AM6PR06MB5240: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 0203C93D51 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(366004)(136003)(396003)(39840400004)(189003)(199004)(8676002)(1730700003)(2351001)(81156014)(81166006)(64756008)(6116002)(66476007)(66556008)(66446008)(7736002)(305945005)(3846002)(6916009)(66946007)(8936002)(2906002)(50226002)(478600001)(14454004)(256004)(14444005)(25786009)(54906003)(316002)(66066001)(71190400001)(52116002)(476003)(71200400001)(2616005)(5660300002)(86362001)(1076003)(6486002)(446003)(11346002)(44832011)(2501003)(486006)(107886003)(6436002)(186003)(6512007)(26005)(6506007)(99286004)(76176011)(4326008)(102836004)(36756003)(5640700003)(386003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR06MB5240; H:AM6PR06MB4341.eurprd06.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: orolia.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: s0JM/9D1BB/EEPx5Ywg0/X3fvjetQi2Jni6JOYfyd66qCKi4pi2VmlPoxi+x4ge1eU81S0NzA9ksWaeyNfodpwQcdvnGzs4zB8qlQbCiw2+azYD1ut4yAUp6ccpMFiZ3EU3LGF2tWeWXIyYhnETS1xmQ1raHo+8gYbVEw0YdFrwSvWN5zq+TrlN434QbADIq+E6BOQcMDm521quleFhbM4cXlF7/I9Cz7Q34NTVwQ1fdD2SEsVKWvqapVePTXD7qJrHqaEzssgleJrYlfmNBSRTjsvhvX5I/P3NcHFfkj5RtKARNzc8h02qrXDsx33oscN72RIAzMDufGjhY7LVDmQb7O1Jh/UrViWo7aYK76V/a2q97sHknh64/IYbx8QMFnp+chHQj2VEgJ5OVPEr4J0d5YbZgJy2vANZZn/2V/XYakupnYPo9CQ1iXPTwwgsK MIME-Version: 1.0 X-OriginatorOrg: orolia.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5c2c7c6-ac92-4c50-2e7b-08d75af3d065 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Oct 2019 15:39:11.7248 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a263030c-9c1b-421f-9471-1dec0b29c664 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YdAOgh+d2yaG6rPCJRQ/6b14f5KboER5gUNe3fIEAbsq2Sasy3661JxgXH/2j4bY5MdbLTujCp8jsEanXqaO3vTn5NgaXVxaqJjdDBqq9II= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR06MB5240 Subject: [Buildroot] [PATCH v2 4/4] package/python: enable openssl support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Nicolas Carrier , Asaf Kahlon , Adam Duskett Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" If a python script is ran or used as (or in) a custom script like post build, but requires ssl, then it will fail since it's explicitly disabled by default. This patch enables it unconditionnally. Please note to, unlike for python3, the configure script doesn't have an explicit --enable-openssl option. Signed-off-by: Nicolas Carrier --- Changes v1 -> v2: - split the two original patches in two - removed the ssl support option --- Signed-off-by: Nicolas Carrier --- package/python/python.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/python/python.mk b/package/python/python.mk index 4b82cdcce3..524de2a76d 100644 --- a/package/python/python.mk +++ b/package/python/python.mk @@ -32,7 +32,6 @@ HOST_PYTHON_CONF_OPTS += \ --disable-bsddb \ --disable-test-modules \ --disable-bz2 \ - --disable-ssl \ --disable-ossaudiodev \ --disable-pyo-build @@ -56,7 +55,7 @@ HOST_PYTHON_MAKE = $(MAKE1) PYTHON_DEPENDENCIES = host-python libffi $(TARGET_NLS_DEPENDENCIES) -HOST_PYTHON_DEPENDENCIES = host-expat host-zlib +HOST_PYTHON_DEPENDENCIES = host-expat host-zlib host-openssl PYTHON_INSTALL_STAGING = YES