Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0FB4FE00825; Tue, 21 Jun 2016 02:48:03 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [65.55.169.62 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0062.outbound.protection.outlook.com [65.55.169.62]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C6B77E0083D for ; Tue, 21 Jun 2016 02:47:55 -0700 (PDT) Received: from DM2PR03CA0042.namprd03.prod.outlook.com (10.141.96.41) by SN2PR03MB2382.namprd03.prod.outlook.com (10.166.210.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12; Tue, 21 Jun 2016 09:47:53 +0000 Received: from BL2FFO11FD056.protection.gbl (2a01:111:f400:7c09::150) by DM2PR03CA0042.outlook.office365.com (2a01:111:e400:2428::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12 via Frontend Transport; Tue, 21 Jun 2016 09:47:53 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=none action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD056.mail.protection.outlook.com (10.173.161.184) with Microsoft SMTP Server (TLS) id 15.1.511.7 via Frontend Transport; Tue, 21 Jun 2016 09:47:53 +0000 Received: from mercury.localdomain (mercury.ap.freescale.net [10.192.208.79]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u5L9lhYu022186; Tue, 21 Jun 2016 02:47:51 -0700 From: To: Date: Tue, 21 Jun 2016 17:47:17 +0800 Message-ID: <1466502439-9622-4-git-send-email-ting.liu@nxp.com> X-Mailer: git-send-email 1.9.2 In-Reply-To: <1466502439-9622-1-git-send-email-ting.liu@nxp.com> References: <1466502439-9622-1-git-send-email-ting.liu@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131109760734074098; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(68736007)(6806005)(97736004)(2950100001)(230783001)(81156014)(189998001)(106466001)(48376002)(8936002)(36756003)(81166006)(50226002)(77096005)(104016004)(7846002)(4326007)(110136002)(15975445007)(11100500001)(586003)(8666005)(8676002)(85426001)(356003)(50466002)(47776003)(19580395003)(19580405001)(5003940100001)(86362001)(2906002)(575784001)(50986999)(76176999)(2351001)(2876002)(87936001)(86152002)(105606002)(229853001)(33646002)(92566002)(7059030)(579004)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2382; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD056; 1:lARSzcdLs1pffB4tSJRoxOZgQYMlTGim5930v5hRkNQaNCUewM7P+P7m5fwx538TvWRvAYnEzibW/EmGPcLpKiSpOZNvvyKYEw1SezHVW8EBU8+VuhB5exgetwUpVp6hKdYpdffdK6CHI9SnsqE5ZFtWiMeWPgSEVsMXqirdKXpEilTMJv0DSqpspsQthOHpTk380U2fkihEi1ndDQ19mxj6xZ/7LsGfVzpgdny8/Dn8Of1FH0iysF/6C6JueuKMLlcOVHcQUE29HdX7qielvdH1JgkzbLILkJKapSzORW1aeMemaTIgmZ+NNYCwBaotil27ezKeTN2bqlxT+ozQ3ByCXCngr0kIucACMykpKwLYnJNMxda5e3wEKY0OF4940iEg6QwgfPffhsEx+T7eTJdr4orWqNIifBOwzSvY9wYcbmscI5/OVIc8YKNi/DtmSNc9AH+dloppzXv8426MN5jWfbF1fOH0JlRQbdnFec5BYRO86zm0wcN9tkW/ZJWiDWw0rZROwY72G+xh7l8IlcnGgL6j0I50DoH83Zpmkl6TQzoG0GYGY0B7Dhgybk5vLpTfaiKHpa16+Deb7BMW0bSDSln5xvm0jTtEfVX/1Ud1ZVQB2S7NRLqLCPCIu5iQDOJGtssgzes5dHxovK3CIoZa9keIJUJqXHEiz1NzZosg/EUgS8dkTYNQNsihiQM2 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: f0871d5a-f329-4517-b394-08d399b91d98 X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2382; 2:TAKsXwTP1cxrVqO05sWbR3oPyDqKdjHJ6h1MbVhI5OSZ/YozJVY5RBLRkTOsd/2h3fQUZOEbJILNf5lheL1nBEl7lxKULNYbHpEZmXJ7FzOvrtL99jvXOwZJMZNyJUaRPjQPu11WLddVsqKAhVUPIZu1Z/qtmgFh+uIjPBvL/aQlJfg85AIm90a9LEH/SesC; 3:dH2G6wTTYhQXoQ9HU11Nn60utawUjmCd+oBLucw8nwBW9eAiZUKdzz9tqV+1miRcfdgNhfOvEeJXqMqGJhbEmOFwmFwg9ghTTOVaYcO2ysKdWgAPSIbxsuzQJCnfJlr/fXMYDAmog7vKWmle6/8bpS0KfqYK5H9ZMna+0uTr+iXRaLwOjiPBGvbfTlDTT7AG4YMuRQK3X2JKau9N36VQolf6JE00jZ7zkgcznDh3YI8=; 25:ZmeMvnjSKRxzs75ASCx0HIr6XLYmwrl4FKI/MtqehUmxyTCuh35WRvvrPlkH0YdBsI90XP3qKfdB8qrxVDfyQNy51R2MYF6DzjaN87nQTgVBRp5SrCPAv+xsev6+rWqvQ6WzwTnrM3r927uW/1yoNb1JhJE3U/Kz0jDwhs860VHbxvzZBL3394Joa8BNjuMWKJAmkMXrU0ziF+ZcsaranYv3WAxLeHfYmu9LZo3BWpxBrzLliJiqz+Z84bzD46hUEvi6pnpnKYFo4KpYHhnejeBxbe+uiby3GQuo2qw88cP2n8Q+rlPgLMkpmmLN/x8Ss8B/+0gAJUYn8tTDGu7pDZc2GEAfuaPcpGXHfHqV5oFLlvtnCMy2WPTKLgQzaR9sd81UxMt5+M67x9atpWNX4NQvsOICqBLVxtXHGLxhD7g= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN2PR03MB2382; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(788757137089)(36789356921836); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(13017025)(8121501046)(5005006)(13024025)(13018025)(13015025)(3002001)(10201501046)(6055026); SRVR:SN2PR03MB2382; BCL:0; PCL:0; RULEID:(400006); SRVR:SN2PR03MB2382; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2382; 4:CpQGjz9tDc/7i5fam9B9MLK1BirQQeMnQtP7sIesPUmuWaY7lblfz+EeFNz9t4xPIOvvLkJCeetRYv/g9n1rERp8S6aFLmBaBSle2zhRoNFFDBynvUJ0bNthfPcC+qVoMfDBk8xTj1ILGnjWq5FFf9zd+RQ2/DCaEKYdpp96Ei3YtAqE8fyXfCcjaEH8HmRtKFO0GLcJuLZ138dHCRSChmrNlc6KyfPpmWwZvDvU0lrb+VL6EsqpaOujkVfyVAOCdXIN+7Ihx+E6vcW/F4GWEx9n49Ap+E696em9jFbhsKyBIpwVf45G3DeG97id8FrmEZr6+X7r2dvFP3dsMBioBlHbxKacpQpECLGCyWRdmASOYXzrwHrhsvV4JuqD3ztgJQpaLNzWasmgLcqdCslOH0A6L4RXUJ07LFDaWyxuBBqIjOgTKxg6OvcVR+AOMElcaxX0I7M025qcXavnFdJ98qz7Cn4C0y1LS6ay205MMlSwI7HGKuHEiPq1C/JjhCHIgNFUD3iotRAnaLjQ5YD0QtURT9WUi3NzU/bS0K6DEnDoWLln+hFUEC7YQggmBjrLEXc7VnEx6hJiaS0RdeXhrg== X-Forefront-PRVS: 098076C36C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN2PR03MB2382; 23:aPsWjVVh2gtLBZKUMQw3F8Cqcir54mNVjr7NpdZeJ?= =?us-ascii?Q?fbK5oiowtsbSq7lEZDfoXpIP3LMjqTkp/VAuPFUzuC3qQ4RrkSJ4tWiK1Y35?= =?us-ascii?Q?eQVVzMDdDqfwNy/o1P4GOE0UMzzvGxna55Vd29xoOYqfx5ol9rHgt4L4YC65?= =?us-ascii?Q?6oCLEJDuFNUBC/BuHrIAxmMpxlfuxXIiX8q6PLf9IlS3l+AQ63J2FkmUngqn?= =?us-ascii?Q?Dl4ZpL6xMqfODQQf2eY2tIa4M5bvY2hLVK7YF4xS1FNyJX7KvEaqP6RDVA2T?= =?us-ascii?Q?gfq/Kdlk6XCeYzM5cuFpjRM1BaLVLirlBjJ4qudGreUqYIlmjNFNG3L58Cf9?= =?us-ascii?Q?JFoggDZJtNLN0VhKAuEERg/FzhlIRjPoYG2fHPoBwTJKqUTypnZJGpJIj4n/?= =?us-ascii?Q?xACnXh1VQylPlMMeNVRjEVi0THCSBL0nTm5OI5xnpVTEERIaep69/ye9K5YR?= =?us-ascii?Q?L/Fbztcn6HOIHVyZah/eJZ9C0RAriVUPtXtiy3Ufmnb54AjtN9/WZQGq5iLa?= =?us-ascii?Q?eeoSxmilINXHPk7lJMW8sO39hZ0a5lU1R1ymQslymi2B5IeaBRd+CmAl2in4?= =?us-ascii?Q?9Qa7wIKqOHvAky1YWi6gjHIaZ4rmQ4Rjq559zYKH6S4cg4jjw7i+cdRD5C57?= =?us-ascii?Q?zK4PC9/hnnmR09iqW0/PXV1brZEifwBOkdIEb90fJBqCGTfOqV1VPbqLkqWx?= =?us-ascii?Q?j2YbPRyqHpQ7moGzdiIY4QitNFaSNMdDlufs6sKjkuikk7Sp35C2EMG0B+uJ?= =?us-ascii?Q?xBwHGFAIoz6s4pwBr+OS/LevTg0sBA+cam/yOxPV6l5APzrSnrD30sDpAuD5?= =?us-ascii?Q?ejyikZTKTSV+wo/jWLSFi610XgpTfCE0lVHGJXb2qvV3y0Cc8H8d4fX+VaEZ?= =?us-ascii?Q?P2ah7qs0yJCra4sKfXXTKZ/7/zBfsg9IqbJxaSQVimM1utikcrWmU0/N1f1+?= =?us-ascii?Q?sdmotwK5dZf3ORwhVZ/3E2ARyp/mBSkFiiyJi6VZ29xoyiAW7cfDhNGQCzQo?= =?us-ascii?Q?k4M033SHKNw6PlKRfTElzkML2fmDw5GzOcgW7SZ1KJr3G3NDmrIapvTeD+qW?= =?us-ascii?Q?K81GdcDvowTokUUIqq0WrZ+1uU7bVJwPBlpJohPEB/PZXEcat+LJVtjJVtMU?= =?us-ascii?Q?a4eCnVP6++4/TPxm2nNm8z0PTt3VrTbaiSoE17h+TMNRfIBH3N22530xy8oz?= =?us-ascii?Q?65CP4sTKF5ew0yr/KZe0aFPvzLj2Cjn/yL2WlEGiMxVO4FBUSzG8LS087aYI?= =?us-ascii?Q?cNUCuFKoHaLfq+FT+lTXcRsnHn1RZORTO37H1vYnSUeebOACJYkl7+3WIEcP?= =?us-ascii?B?dz09?= X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB2382; 6:6n3erVX7l6BPDxJW0/toZXfGq8XY/ejiE4XPspg3/vJ8HTApebBkKSsMbWQMb5fsPcrqAAoPcDVFJlHUcNJ+twAj0RjP4JfHu8RjBms6yBfZ9Zru6l+/WVI1QsaxreQUgYDEf8EFvSfID6ClepmXSbB6g39Au96VWw1q/3MZ7Sh9XuAIuWEiUhO4qX+yqhVi6oVRlVhC9hx3cUmTem5j+3dglcsALcps97tYv2RqNLj7joYzGg+Mjc9YoxWEIG92ukjMGhAXwx8T+KeY2JztZYsWu8KmpF3Qfp+u0ehCdns=; 5:3N74khPJNBaC0byoVlhf+6wQpQsN93Pm4+pq3+J8k20RO60fMq3FIi4IeKrZTq0bWJUfQwbOqy6QsQskqHLYpM2YeMeSQbHRlc2A5MSgtoJZeQMRWjcXehQ7E298bUv/xWF7c/CfQcmy59Vtyf6VSZJYswF75JiV5Ed0CGSPaFc=; 24:bbTwo6bUS7LWNQgImTGPfZb0SFi9qOOMgD2OCcMY579OSKSIO+ltVp8iWY1YuvxD0bifUppMy5vlQrwwQ5BhX+9RuDn1FLf4n2IspgeiS9s=; 7:TVJ9aalN6fbH6m0ztyBf/CoL7uFVku6HOf5MJN5zL/mn6U3Hqd8bTEw9/fUaGcb/VeHLnHbO3K/LZS+ZdUgmHrqcbzZewYSB8hfmO3aO7cEP9Z7bTJAUoqwewXu7avInquCiRa5ggCibrDjxGMZ4IF4A1qDZ5AzmmjvizKzmGPFrESLUMmGec1muqCa8oGzlAltSnnKd4ChZpKsy53bBRxGyYnFMEfHNuGOirzY2QmSIQLvNxgqhzGQUZtsgtRyZ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2016 09:47:53.2202 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR03MB2382 Subject: [meta-fsl-ppc][PATCH 3/5] openssl: rename to openssl-qoriq X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2016 09:48:03 -0000 Content-Type: text/plain From: Ting Liu The QorIQ version of openssl needs to use another recipe name and have a common provider, which is than choosen for QorIQ-based machines. The recipe is now called 'openssl-qoriq' and it provides openssl so the preferrence is set just for QorIQ based machines. Signed-off-by: Ting Liu --- conf/machine/include/qoriq.inc | 2 +- .../openssl/{openssl.inc => openssl-qoriq.inc} | 12 ++- .../configure-targets.patch | 0 .../debian/c_rehash-compat.patch | 0 .../{openssl => openssl-qoriq}/debian/ca.patch | 0 .../debian/debian-targets.patch | 0 .../debian/make-targets.patch | 0 .../debian/man-dir.patch | 0 .../debian/man-section.patch | 0 .../debian/no-rpath.patch | 0 .../debian/no-symbolic.patch | 0 .../{openssl => openssl-qoriq}/debian/pic.patch | 0 .../debian/version-script.patch | 0 .../engines-install-in-libdir-ssl.patch | 0 .../openssl/{openssl => openssl-qoriq}/find.pl | 0 .../fix-cipher-des-ede3-cfb1.patch | 0 .../initial-aarch64-bits.patch | 0 .../{openssl => openssl-qoriq}/oe-ldflags.patch | 0 ...-pointer-dereference-in-EVP_DigestInit_ex.patch | 0 ...NULL-pointer-dereference-in-dh_pub_encode.patch | 0 .../openssl-fix-des.pod-error.patch | 0 .../openssl-fix-link.patch | 0 .../openssl_fix_for_x32.patch | 0 ...double-initialization-of-cryptodev-engine.patch | 0 ...ev-add-support-for-TLS-algorithms-offload.patch | 0 ...0003-cryptodev-fix-algorithm-registration.patch | 0 ...ake-it-more-robust-and-recognize-KERNEL_B.patch | 0 ...5-ECC-Support-header-for-Cryptodev-Engine.patch | 0 .../0006-Fixed-private-key-support-for-DH.patch | 0 .../0007-Fixed-private-key-support-for-DH.patch | 0 ...itial-support-for-PKC-in-cryptodev-engine.patch | 0 ...009-Added-hwrng-dev-file-as-source-of-RNG.patch | 0 ...s-interface-added-for-PKC-cryptodev-inter.patch | 0 ...gen-operation-and-support-gendsa-command-.patch | 0 .../qoriq}/0012-RSA-Keygen-Fix.patch | 0 .../0013-Removed-local-copy-of-curve_t-type.patch | 0 ...us-parameter-is-not-populated-by-dhparams.patch | 0 .../0015-SW-Backoff-mechanism-for-dsa-keygen.patch | 0 .../0016-Fixed-DH-keygen-pair-generator.patch | 0 ...dd-support-for-aes-gcm-algorithm-offloadi.patch | 0 ...ev-extend-TLS-offload-with-3des_cbc_hmac_.patch | 0 ...ev-add-support-for-TLSv1.1-record-offload.patch | 0 ...ev-add-support-for-TLSv1.2-record-offload.patch | 0 .../0021-cryptodev-drop-redundant-function.patch | 0 ...yptodev-do-not-zero-the-buffer-before-use.patch | 0 .../0023-cryptodev-clean-up-code-layout.patch | 0 ...odev-do-not-cache-file-descriptor-in-open.patch | 0 ...cryptodev-put_dev_crypto-should-be-an-int.patch | 0 ...todev-simplify-cryptodev-pkc-support-code.patch | 0 .../{openssl => openssl-qoriq}/shared-libs.patch | 0 .../openssl/openssl-qoriq_1.0.1i.bb | 96 ++++++++++++++++++++++ recipes-connectivity/openssl/openssl_1.0.1i.bb | 53 ------------ .../openssl/openssl_1.0.1i.bbappend | 40 --------- 53 files changed, 108 insertions(+), 95 deletions(-) rename recipes-connectivity/openssl/{openssl.inc => openssl-qoriq.inc} (92%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/configure-targets.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/debian/c_rehash-compat.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/debian/ca.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/debian/debian-targets.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/debian/make-targets.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/debian/man-dir.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/debian/man-section.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/debian/no-rpath.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/debian/no-symbolic.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/debian/pic.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/debian/version-script.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/engines-install-in-libdir-ssl.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/find.pl (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/fix-cipher-des-ede3-cfb1.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/initial-aarch64-bits.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/oe-ldflags.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/openssl-avoid-NULL-pointer-dereference-in-dh_pub_encode.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/openssl-fix-des.pod-error.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/openssl-fix-link.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/openssl_fix_for_x32.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0001-remove-double-initialization-of-cryptodev-engine.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0002-eng_cryptodev-add-support-for-TLS-algorithms-offload.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0003-cryptodev-fix-algorithm-registration.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0004-linux-pcc-make-it-more-robust-and-recognize-KERNEL_B.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0005-ECC-Support-header-for-Cryptodev-Engine.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0006-Fixed-private-key-support-for-DH.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0007-Fixed-private-key-support-for-DH.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0008-Initial-support-for-PKC-in-cryptodev-engine.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0009-Added-hwrng-dev-file-as-source-of-RNG.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0010-Asynchronous-interface-added-for-PKC-cryptodev-inter.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0011-Add-RSA-keygen-operation-and-support-gendsa-command-.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0012-RSA-Keygen-Fix.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0013-Removed-local-copy-of-curve_t-type.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0014-Modulus-parameter-is-not-populated-by-dhparams.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0015-SW-Backoff-mechanism-for-dsa-keygen.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0016-Fixed-DH-keygen-pair-generator.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0017-cryptodev-add-support-for-aes-gcm-algorithm-offloadi.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0018-eng_cryptodev-extend-TLS-offload-with-3des_cbc_hmac_.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0019-eng_cryptodev-add-support-for-TLSv1.1-record-offload.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0020-eng_cryptodev-add-support-for-TLSv1.2-record-offload.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0021-cryptodev-drop-redundant-function.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0022-cryptodev-do-not-zero-the-buffer-before-use.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0023-cryptodev-clean-up-code-layout.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0024-cryptodev-do-not-cache-file-descriptor-in-open.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0025-cryptodev-put_dev_crypto-should-be-an-int.patch (100%) rename recipes-connectivity/openssl/{openssl-fsl => openssl-qoriq/qoriq}/0026-cryptodev-simplify-cryptodev-pkc-support-code.patch (100%) rename recipes-connectivity/openssl/{openssl => openssl-qoriq}/shared-libs.patch (100%) create mode 100644 recipes-connectivity/openssl/openssl-qoriq_1.0.1i.bb delete mode 100644 recipes-connectivity/openssl/openssl_1.0.1i.bb delete mode 100644 recipes-connectivity/openssl/openssl_1.0.1i.bbappend diff --git a/conf/machine/include/qoriq.inc b/conf/machine/include/qoriq.inc index 84b5abb..70cd56b 100644 --- a/conf/machine/include/qoriq.inc +++ b/conf/machine/include/qoriq.inc @@ -6,9 +6,9 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-qoriq" PREFERRED_PROVIDER_cryptodev-linux = "cryptodev-qoriq-linux" PREFERRED_PROVIDER_cryptodev-module = "cryptodev-qoriq-module" PREFERRED_PROVIDER_cryptodev-tests = "cryptodev-qoriq-tests" +PREFERRED_PROVIDER_openssl = "openssl-qoriq" PREFERRED_VERSION_qemu = "2.4.0+fsl" -PREFERRED_VERSION_openssl = "1.0.1i" MACHINE_FEATURES = "keyboard pci ext2 ext3 serial" MACHINE_EXTRA_RRECOMMENDS += "udev-rules-qoriq kernel-modules" diff --git a/recipes-connectivity/openssl/openssl.inc b/recipes-connectivity/openssl/openssl-qoriq.inc similarity index 92% rename from recipes-connectivity/openssl/openssl.inc rename to recipes-connectivity/openssl/openssl-qoriq.inc index aa1143d..87ba1c3 100644 --- a/recipes-connectivity/openssl/openssl.inc +++ b/recipes-connectivity/openssl/openssl-qoriq.inc @@ -8,6 +8,17 @@ SECTION = "libs/network" LICENSE = "openssl" LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" +PROVIDES = "openssl" + +python() { + pkgs = d.getVar('PACKAGES', True).split() + for p in pkgs: + if 'openssl-qoriq' in p: + d.appendVar("RPROVIDES_%s" % p, p.replace('openssl-qoriq', 'openssl')) + d.appendVar("RCONFLICTS_%s" % p, p.replace('openssl-qoriq', 'openssl')) + d.appendVar("RREPLACES_%s" % p, p.replace('openssl-qoriq', 'openssl')) +} + DEPENDS = "perl-native-runtime" SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \ @@ -171,4 +182,3 @@ do_install () { } BBCLASSEXTEND = "native nativesdk" - diff --git a/recipes-connectivity/openssl/openssl/configure-targets.patch b/recipes-connectivity/openssl/openssl-qoriq/configure-targets.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/configure-targets.patch rename to recipes-connectivity/openssl/openssl-qoriq/configure-targets.patch diff --git a/recipes-connectivity/openssl/openssl/debian/c_rehash-compat.patch b/recipes-connectivity/openssl/openssl-qoriq/debian/c_rehash-compat.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/debian/c_rehash-compat.patch rename to recipes-connectivity/openssl/openssl-qoriq/debian/c_rehash-compat.patch diff --git a/recipes-connectivity/openssl/openssl/debian/ca.patch b/recipes-connectivity/openssl/openssl-qoriq/debian/ca.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/debian/ca.patch rename to recipes-connectivity/openssl/openssl-qoriq/debian/ca.patch diff --git a/recipes-connectivity/openssl/openssl/debian/debian-targets.patch b/recipes-connectivity/openssl/openssl-qoriq/debian/debian-targets.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/debian/debian-targets.patch rename to recipes-connectivity/openssl/openssl-qoriq/debian/debian-targets.patch diff --git a/recipes-connectivity/openssl/openssl/debian/make-targets.patch b/recipes-connectivity/openssl/openssl-qoriq/debian/make-targets.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/debian/make-targets.patch rename to recipes-connectivity/openssl/openssl-qoriq/debian/make-targets.patch diff --git a/recipes-connectivity/openssl/openssl/debian/man-dir.patch b/recipes-connectivity/openssl/openssl-qoriq/debian/man-dir.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/debian/man-dir.patch rename to recipes-connectivity/openssl/openssl-qoriq/debian/man-dir.patch diff --git a/recipes-connectivity/openssl/openssl/debian/man-section.patch b/recipes-connectivity/openssl/openssl-qoriq/debian/man-section.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/debian/man-section.patch rename to recipes-connectivity/openssl/openssl-qoriq/debian/man-section.patch diff --git a/recipes-connectivity/openssl/openssl/debian/no-rpath.patch b/recipes-connectivity/openssl/openssl-qoriq/debian/no-rpath.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/debian/no-rpath.patch rename to recipes-connectivity/openssl/openssl-qoriq/debian/no-rpath.patch diff --git a/recipes-connectivity/openssl/openssl/debian/no-symbolic.patch b/recipes-connectivity/openssl/openssl-qoriq/debian/no-symbolic.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/debian/no-symbolic.patch rename to recipes-connectivity/openssl/openssl-qoriq/debian/no-symbolic.patch diff --git a/recipes-connectivity/openssl/openssl/debian/pic.patch b/recipes-connectivity/openssl/openssl-qoriq/debian/pic.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/debian/pic.patch rename to recipes-connectivity/openssl/openssl-qoriq/debian/pic.patch diff --git a/recipes-connectivity/openssl/openssl/debian/version-script.patch b/recipes-connectivity/openssl/openssl-qoriq/debian/version-script.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/debian/version-script.patch rename to recipes-connectivity/openssl/openssl-qoriq/debian/version-script.patch diff --git a/recipes-connectivity/openssl/openssl/engines-install-in-libdir-ssl.patch b/recipes-connectivity/openssl/openssl-qoriq/engines-install-in-libdir-ssl.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/engines-install-in-libdir-ssl.patch rename to recipes-connectivity/openssl/openssl-qoriq/engines-install-in-libdir-ssl.patch diff --git a/recipes-connectivity/openssl/openssl/find.pl b/recipes-connectivity/openssl/openssl-qoriq/find.pl similarity index 100% rename from recipes-connectivity/openssl/openssl/find.pl rename to recipes-connectivity/openssl/openssl-qoriq/find.pl diff --git a/recipes-connectivity/openssl/openssl/fix-cipher-des-ede3-cfb1.patch b/recipes-connectivity/openssl/openssl-qoriq/fix-cipher-des-ede3-cfb1.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/fix-cipher-des-ede3-cfb1.patch rename to recipes-connectivity/openssl/openssl-qoriq/fix-cipher-des-ede3-cfb1.patch diff --git a/recipes-connectivity/openssl/openssl/initial-aarch64-bits.patch b/recipes-connectivity/openssl/openssl-qoriq/initial-aarch64-bits.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/initial-aarch64-bits.patch rename to recipes-connectivity/openssl/openssl-qoriq/initial-aarch64-bits.patch diff --git a/recipes-connectivity/openssl/openssl/oe-ldflags.patch b/recipes-connectivity/openssl/openssl-qoriq/oe-ldflags.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/oe-ldflags.patch rename to recipes-connectivity/openssl/openssl-qoriq/oe-ldflags.patch diff --git a/recipes-connectivity/openssl/openssl/openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch b/recipes-connectivity/openssl/openssl-qoriq/openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch rename to recipes-connectivity/openssl/openssl-qoriq/openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch diff --git a/recipes-connectivity/openssl/openssl/openssl-avoid-NULL-pointer-dereference-in-dh_pub_encode.patch b/recipes-connectivity/openssl/openssl-qoriq/openssl-avoid-NULL-pointer-dereference-in-dh_pub_encode.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/openssl-avoid-NULL-pointer-dereference-in-dh_pub_encode.patch rename to recipes-connectivity/openssl/openssl-qoriq/openssl-avoid-NULL-pointer-dereference-in-dh_pub_encode.patch diff --git a/recipes-connectivity/openssl/openssl/openssl-fix-des.pod-error.patch b/recipes-connectivity/openssl/openssl-qoriq/openssl-fix-des.pod-error.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/openssl-fix-des.pod-error.patch rename to recipes-connectivity/openssl/openssl-qoriq/openssl-fix-des.pod-error.patch diff --git a/recipes-connectivity/openssl/openssl/openssl-fix-link.patch b/recipes-connectivity/openssl/openssl-qoriq/openssl-fix-link.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/openssl-fix-link.patch rename to recipes-connectivity/openssl/openssl-qoriq/openssl-fix-link.patch diff --git a/recipes-connectivity/openssl/openssl/openssl_fix_for_x32.patch b/recipes-connectivity/openssl/openssl-qoriq/openssl_fix_for_x32.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/openssl_fix_for_x32.patch rename to recipes-connectivity/openssl/openssl-qoriq/openssl_fix_for_x32.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0001-remove-double-initialization-of-cryptodev-engine.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0001-remove-double-initialization-of-cryptodev-engine.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0001-remove-double-initialization-of-cryptodev-engine.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0001-remove-double-initialization-of-cryptodev-engine.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0002-eng_cryptodev-add-support-for-TLS-algorithms-offload.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0002-eng_cryptodev-add-support-for-TLS-algorithms-offload.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0002-eng_cryptodev-add-support-for-TLS-algorithms-offload.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0002-eng_cryptodev-add-support-for-TLS-algorithms-offload.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0003-cryptodev-fix-algorithm-registration.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0003-cryptodev-fix-algorithm-registration.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0003-cryptodev-fix-algorithm-registration.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0003-cryptodev-fix-algorithm-registration.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0004-linux-pcc-make-it-more-robust-and-recognize-KERNEL_B.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0004-linux-pcc-make-it-more-robust-and-recognize-KERNEL_B.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0004-linux-pcc-make-it-more-robust-and-recognize-KERNEL_B.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0004-linux-pcc-make-it-more-robust-and-recognize-KERNEL_B.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0005-ECC-Support-header-for-Cryptodev-Engine.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0005-ECC-Support-header-for-Cryptodev-Engine.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0005-ECC-Support-header-for-Cryptodev-Engine.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0005-ECC-Support-header-for-Cryptodev-Engine.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0006-Fixed-private-key-support-for-DH.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0006-Fixed-private-key-support-for-DH.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0006-Fixed-private-key-support-for-DH.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0006-Fixed-private-key-support-for-DH.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0007-Fixed-private-key-support-for-DH.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0007-Fixed-private-key-support-for-DH.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0007-Fixed-private-key-support-for-DH.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0007-Fixed-private-key-support-for-DH.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0008-Initial-support-for-PKC-in-cryptodev-engine.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0008-Initial-support-for-PKC-in-cryptodev-engine.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0008-Initial-support-for-PKC-in-cryptodev-engine.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0008-Initial-support-for-PKC-in-cryptodev-engine.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0009-Added-hwrng-dev-file-as-source-of-RNG.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0009-Added-hwrng-dev-file-as-source-of-RNG.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0009-Added-hwrng-dev-file-as-source-of-RNG.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0009-Added-hwrng-dev-file-as-source-of-RNG.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0010-Asynchronous-interface-added-for-PKC-cryptodev-inter.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0010-Asynchronous-interface-added-for-PKC-cryptodev-inter.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0010-Asynchronous-interface-added-for-PKC-cryptodev-inter.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0010-Asynchronous-interface-added-for-PKC-cryptodev-inter.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0011-Add-RSA-keygen-operation-and-support-gendsa-command-.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0011-Add-RSA-keygen-operation-and-support-gendsa-command-.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0011-Add-RSA-keygen-operation-and-support-gendsa-command-.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0011-Add-RSA-keygen-operation-and-support-gendsa-command-.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0012-RSA-Keygen-Fix.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0012-RSA-Keygen-Fix.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0012-RSA-Keygen-Fix.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0012-RSA-Keygen-Fix.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0013-Removed-local-copy-of-curve_t-type.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0013-Removed-local-copy-of-curve_t-type.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0013-Removed-local-copy-of-curve_t-type.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0013-Removed-local-copy-of-curve_t-type.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0014-Modulus-parameter-is-not-populated-by-dhparams.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0014-Modulus-parameter-is-not-populated-by-dhparams.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0014-Modulus-parameter-is-not-populated-by-dhparams.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0014-Modulus-parameter-is-not-populated-by-dhparams.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0015-SW-Backoff-mechanism-for-dsa-keygen.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0015-SW-Backoff-mechanism-for-dsa-keygen.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0015-SW-Backoff-mechanism-for-dsa-keygen.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0015-SW-Backoff-mechanism-for-dsa-keygen.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0016-Fixed-DH-keygen-pair-generator.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0016-Fixed-DH-keygen-pair-generator.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0016-Fixed-DH-keygen-pair-generator.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0016-Fixed-DH-keygen-pair-generator.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0017-cryptodev-add-support-for-aes-gcm-algorithm-offloadi.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0017-cryptodev-add-support-for-aes-gcm-algorithm-offloadi.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0017-cryptodev-add-support-for-aes-gcm-algorithm-offloadi.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0017-cryptodev-add-support-for-aes-gcm-algorithm-offloadi.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0018-eng_cryptodev-extend-TLS-offload-with-3des_cbc_hmac_.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0018-eng_cryptodev-extend-TLS-offload-with-3des_cbc_hmac_.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0018-eng_cryptodev-extend-TLS-offload-with-3des_cbc_hmac_.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0018-eng_cryptodev-extend-TLS-offload-with-3des_cbc_hmac_.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0019-eng_cryptodev-add-support-for-TLSv1.1-record-offload.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0019-eng_cryptodev-add-support-for-TLSv1.1-record-offload.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0019-eng_cryptodev-add-support-for-TLSv1.1-record-offload.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0019-eng_cryptodev-add-support-for-TLSv1.1-record-offload.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0020-eng_cryptodev-add-support-for-TLSv1.2-record-offload.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0020-eng_cryptodev-add-support-for-TLSv1.2-record-offload.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0020-eng_cryptodev-add-support-for-TLSv1.2-record-offload.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0020-eng_cryptodev-add-support-for-TLSv1.2-record-offload.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0021-cryptodev-drop-redundant-function.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0021-cryptodev-drop-redundant-function.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0021-cryptodev-drop-redundant-function.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0021-cryptodev-drop-redundant-function.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0022-cryptodev-do-not-zero-the-buffer-before-use.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0022-cryptodev-do-not-zero-the-buffer-before-use.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0022-cryptodev-do-not-zero-the-buffer-before-use.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0022-cryptodev-do-not-zero-the-buffer-before-use.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0023-cryptodev-clean-up-code-layout.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0023-cryptodev-clean-up-code-layout.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0023-cryptodev-clean-up-code-layout.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0023-cryptodev-clean-up-code-layout.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0024-cryptodev-do-not-cache-file-descriptor-in-open.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0024-cryptodev-do-not-cache-file-descriptor-in-open.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0024-cryptodev-do-not-cache-file-descriptor-in-open.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0024-cryptodev-do-not-cache-file-descriptor-in-open.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0025-cryptodev-put_dev_crypto-should-be-an-int.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0025-cryptodev-put_dev_crypto-should-be-an-int.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0025-cryptodev-put_dev_crypto-should-be-an-int.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0025-cryptodev-put_dev_crypto-should-be-an-int.patch diff --git a/recipes-connectivity/openssl/openssl-fsl/0026-cryptodev-simplify-cryptodev-pkc-support-code.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0026-cryptodev-simplify-cryptodev-pkc-support-code.patch similarity index 100% rename from recipes-connectivity/openssl/openssl-fsl/0026-cryptodev-simplify-cryptodev-pkc-support-code.patch rename to recipes-connectivity/openssl/openssl-qoriq/qoriq/0026-cryptodev-simplify-cryptodev-pkc-support-code.patch diff --git a/recipes-connectivity/openssl/openssl/shared-libs.patch b/recipes-connectivity/openssl/openssl-qoriq/shared-libs.patch similarity index 100% rename from recipes-connectivity/openssl/openssl/shared-libs.patch rename to recipes-connectivity/openssl/openssl-qoriq/shared-libs.patch diff --git a/recipes-connectivity/openssl/openssl-qoriq_1.0.1i.bb b/recipes-connectivity/openssl/openssl-qoriq_1.0.1i.bb new file mode 100644 index 0000000..3b9d56e --- /dev/null +++ b/recipes-connectivity/openssl/openssl-qoriq_1.0.1i.bb @@ -0,0 +1,96 @@ +require openssl-qoriq.inc + +# For target side versions of openssl enable support for cryptodev Linux driver +# if they are available. +DEPENDS_class-target += "cryptodev-linux" +CFLAG_class-target += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" + +export DIRS = "crypto ssl apps engines" +export OE_LDFLAGS="${LDFLAGS}" + +SRC_URI += "file://configure-targets.patch \ + file://shared-libs.patch \ + file://oe-ldflags.patch \ + file://engines-install-in-libdir-ssl.patch \ + file://openssl-fix-link.patch \ + file://debian/version-script.patch \ + file://debian/pic.patch \ + file://debian/c_rehash-compat.patch \ + file://debian/ca.patch \ + file://debian/make-targets.patch \ + file://debian/no-rpath.patch \ + file://debian/man-dir.patch \ + file://debian/man-section.patch \ + file://debian/no-symbolic.patch \ + file://debian/debian-targets.patch \ + file://openssl_fix_for_x32.patch \ + file://fix-cipher-des-ede3-cfb1.patch \ + file://openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch \ + file://openssl-avoid-NULL-pointer-dereference-in-dh_pub_encode.patch \ + file://initial-aarch64-bits.patch \ + file://find.pl \ + file://openssl-fix-des.pod-error.patch \ + " + +SRC_URI_append_class-target = "\ + file://qoriq/0001-remove-double-initialization-of-cryptodev-engine.patch \ + file://qoriq/0002-eng_cryptodev-add-support-for-TLS-algorithms-offload.patch \ + file://qoriq/0003-cryptodev-fix-algorithm-registration.patch \ + file://qoriq/0004-linux-pcc-make-it-more-robust-and-recognize-KERNEL_B.patch \ + file://qoriq/0005-ECC-Support-header-for-Cryptodev-Engine.patch \ + file://qoriq/0006-Fixed-private-key-support-for-DH.patch \ + file://qoriq/0007-Fixed-private-key-support-for-DH.patch \ + file://qoriq/0008-Initial-support-for-PKC-in-cryptodev-engine.patch \ + file://qoriq/0009-Added-hwrng-dev-file-as-source-of-RNG.patch \ + file://qoriq/0010-Asynchronous-interface-added-for-PKC-cryptodev-inter.patch \ + file://qoriq/0011-Add-RSA-keygen-operation-and-support-gendsa-command-.patch \ + file://qoriq/0012-RSA-Keygen-Fix.patch \ + file://qoriq/0013-Removed-local-copy-of-curve_t-type.patch \ + file://qoriq/0014-Modulus-parameter-is-not-populated-by-dhparams.patch \ + file://qoriq/0015-SW-Backoff-mechanism-for-dsa-keygen.patch \ + file://qoriq/0016-Fixed-DH-keygen-pair-generator.patch \ + file://qoriq/0017-cryptodev-add-support-for-aes-gcm-algorithm-offloadi.patch \ + file://qoriq/0018-eng_cryptodev-extend-TLS-offload-with-3des_cbc_hmac_.patch \ + file://qoriq/0019-eng_cryptodev-add-support-for-TLSv1.1-record-offload.patch \ + file://qoriq/0020-eng_cryptodev-add-support-for-TLSv1.2-record-offload.patch \ + file://qoriq/0021-cryptodev-drop-redundant-function.patch \ + file://qoriq/0022-cryptodev-do-not-zero-the-buffer-before-use.patch \ + file://qoriq/0023-cryptodev-clean-up-code-layout.patch \ + file://qoriq/0024-cryptodev-do-not-cache-file-descriptor-in-open.patch \ + file://qoriq/0025-cryptodev-put_dev_crypto-should-be-an-int.patch \ + file://qoriq/0026-cryptodev-simplify-cryptodev-pkc-support-code.patch \ +" + +SRC_URI[md5sum] = "c8dc151a671b9b92ff3e4c118b174972" +SRC_URI[sha256sum] = "3c179f46ca77069a6a0bac70212a9b3b838b2f66129cb52d568837fc79d8fcc7" + +PACKAGES =+ " \ + ${PN}-engines-dbg \ + ${PN}-engines \ +" + +FILES_${PN}-engines = "${libdir}/ssl/engines/*.so ${libdir}/engines" +FILES_${PN}-engines-dbg = "${libdir}/engines/.debug ${libdir}/ssl/engines/.debug" + +PARALLEL_MAKE = "" +PARALLEL_MAKEINST = "" + +# Digest offloading through cryptodev is not recommended because of the +# performance penalty of the Openssl engine interface. Openssl generates a huge +# number of calls to digest functions for even a small amount of work data. +# For example there are 70 calls to cipher code and over 10000 to digest code +# when downloading only 10 files of 700 bytes each. +# Do not build OpenSSL with cryptodev digest support until engine digest +# interface gets some rework: +CFLAG_class-target := "${@'${CFLAG}'.replace('-DUSE_CRYPTODEV_DIGESTS', '')}" + +do_configure_prepend() { + cp ${WORKDIR}/find.pl ${S}/util/find.pl +} + + +RDEPENDS_${PN}_class-target += "cryptodev-module" + +COMPATIBLE_MACHINE = "(qoriq)" diff --git a/recipes-connectivity/openssl/openssl_1.0.1i.bb b/recipes-connectivity/openssl/openssl_1.0.1i.bb deleted file mode 100644 index 9d093ef..0000000 --- a/recipes-connectivity/openssl/openssl_1.0.1i.bb +++ /dev/null @@ -1,53 +0,0 @@ -require openssl.inc - -# For target side versions of openssl enable support for cryptodev Linux driver -# if they are available. -DEPENDS_class-target += "cryptodev-linux" -CFLAG_class-target += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" - -export DIRS = "crypto ssl apps engines" -export OE_LDFLAGS="${LDFLAGS}" - -SRC_URI += "file://configure-targets.patch \ - file://shared-libs.patch \ - file://oe-ldflags.patch \ - file://engines-install-in-libdir-ssl.patch \ - file://openssl-fix-link.patch \ - file://debian/version-script.patch \ - file://debian/pic.patch \ - file://debian/c_rehash-compat.patch \ - file://debian/ca.patch \ - file://debian/make-targets.patch \ - file://debian/no-rpath.patch \ - file://debian/man-dir.patch \ - file://debian/man-section.patch \ - file://debian/no-symbolic.patch \ - file://debian/debian-targets.patch \ - file://openssl_fix_for_x32.patch \ - file://fix-cipher-des-ede3-cfb1.patch \ - file://openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch \ - file://openssl-avoid-NULL-pointer-dereference-in-dh_pub_encode.patch \ - file://initial-aarch64-bits.patch \ - file://find.pl \ - file://openssl-fix-des.pod-error.patch \ - " - -SRC_URI[md5sum] = "c8dc151a671b9b92ff3e4c118b174972" -SRC_URI[sha256sum] = "3c179f46ca77069a6a0bac70212a9b3b838b2f66129cb52d568837fc79d8fcc7" - -PACKAGES =+ " \ - ${PN}-engines-dbg \ - ${PN}-engines \ -" - -FILES_${PN}-engines = "${libdir}/ssl/engines/*.so ${libdir}/engines" -FILES_${PN}-engines-dbg = "${libdir}/engines/.debug ${libdir}/ssl/engines/.debug" - -PARALLEL_MAKE = "" -PARALLEL_MAKEINST = "" - -do_configure_prepend() { - cp ${WORKDIR}/find.pl ${S}/util/find.pl -} diff --git a/recipes-connectivity/openssl/openssl_1.0.1i.bbappend b/recipes-connectivity/openssl/openssl_1.0.1i.bbappend deleted file mode 100644 index 7b381ff..0000000 --- a/recipes-connectivity/openssl/openssl_1.0.1i.bbappend +++ /dev/null @@ -1,40 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/openssl-fsl:" - -RDEPENDS_${PN}_class-target += "cryptodev-module" - -SRC_URI_append_class-target = " file://0001-remove-double-initialization-of-cryptodev-engine.patch \ - file://0002-eng_cryptodev-add-support-for-TLS-algorithms-offload.patch \ - file://0003-cryptodev-fix-algorithm-registration.patch \ - file://0004-linux-pcc-make-it-more-robust-and-recognize-KERNEL_B.patch \ - file://0005-ECC-Support-header-for-Cryptodev-Engine.patch \ - file://0006-Fixed-private-key-support-for-DH.patch \ - file://0007-Fixed-private-key-support-for-DH.patch \ - file://0008-Initial-support-for-PKC-in-cryptodev-engine.patch \ - file://0009-Added-hwrng-dev-file-as-source-of-RNG.patch \ - file://0010-Asynchronous-interface-added-for-PKC-cryptodev-inter.patch \ - file://0011-Add-RSA-keygen-operation-and-support-gendsa-command-.patch \ - file://0012-RSA-Keygen-Fix.patch \ - file://0013-Removed-local-copy-of-curve_t-type.patch \ - file://0014-Modulus-parameter-is-not-populated-by-dhparams.patch \ - file://0015-SW-Backoff-mechanism-for-dsa-keygen.patch \ - file://0016-Fixed-DH-keygen-pair-generator.patch \ - file://0017-cryptodev-add-support-for-aes-gcm-algorithm-offloadi.patch \ - file://0018-eng_cryptodev-extend-TLS-offload-with-3des_cbc_hmac_.patch \ - file://0019-eng_cryptodev-add-support-for-TLSv1.1-record-offload.patch \ - file://0020-eng_cryptodev-add-support-for-TLSv1.2-record-offload.patch \ - file://0021-cryptodev-drop-redundant-function.patch \ - file://0022-cryptodev-do-not-zero-the-buffer-before-use.patch \ - file://0023-cryptodev-clean-up-code-layout.patch \ - file://0024-cryptodev-do-not-cache-file-descriptor-in-open.patch \ - file://0025-cryptodev-put_dev_crypto-should-be-an-int.patch \ - file://0026-cryptodev-simplify-cryptodev-pkc-support-code.patch \ -" - -# Digest offloading through cryptodev is not recommended because of the -# performance penalty of the Openssl engine interface. Openssl generates a huge -# number of calls to digest functions for even a small amount of work data. -# For example there are 70 calls to cipher code and over 10000 to digest code -# when downloading only 10 files of 700 bytes each. -# Do not build OpenSSL with cryptodev digest support until engine digest -# interface gets some rework: -CFLAG_class-target := "${@'${CFLAG}'.replace('-DUSE_CRYPTODEV_DIGESTS', '')}" -- 1.9.2