From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from heian.cn.fujitsu.com (unknown [59.151.112.132]) by mail.openembedded.org (Postfix) with ESMTP id 4F0AF6013D for ; Wed, 6 Jul 2016 09:42:14 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="8440082" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 06 Jul 2016 17:42:05 +0800 Received: from G08CNEXCHPEKD01.g08.fujitsu.local (unknown [10.167.33.80]) by cn.fujitsu.com (Postfix) with ESMTP id AE86541C0BBA for ; Wed, 6 Jul 2016 17:41:59 +0800 (CST) Received: from localhost.localdomain (10.167.226.93) by G08CNEXCHPEKD01.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.279.2; Wed, 6 Jul 2016 17:41:59 +0800 From: Lei Maohui To: Date: Sun, 26 Jun 2016 17:11:41 -0700 Message-ID: <1466986302-33565-1-git-send-email-leimaohui@cn.fujitsu.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.167.226.93] X-yoursite-MailScanner-ID: AE86541C0BBA.AFDF2 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: leimaohui@cn.fujitsu.com X-Spam-Status: No Subject: [PATCH] To make yocto-spdx support spdx2.0 SPEC X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2016 09:42:28 -0000 Content-Type: text/plain There are some problems in spdx module(spdx.bbclass). 1. The newest version of spdxi specification is 2.0. But even spdx 1.1, yocto+SPDX can't support well. 2. It is complex to build a Yocto+SPDX environment. 3. Creating a spdx file spends too much time, especially for large software. To improve spdx module ,I change the spdx create tool from fossology to dosocs2. With this patch: 1. Also gets license informations by scanner from fossology. 1. Can support SPDX2.0 SPEC. 2. Because dosocs2 can work on directories, so there is no necessary to pack source code before do_spdx. It can save time for large software. Lei Maohui (1): To Make yocto-spdx support spdx v2.0 specification. meta/classes/spdx.bbclass | 488 +++++++++++++++++----------------------------- meta/conf/licenses.conf | 67 +------ 2 files changed, 184 insertions(+), 371 deletions(-) -- 1.9.1