From patchwork Wed Apr 21 01:20:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 1468524 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=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=rockwellcollins.com header.i=@rockwellcollins.com header.a=rsa-sha256 header.s=hrcrc2020 header.b=DOdZ1pKY; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FQ2mW74s6z9tkB for ; Wed, 21 Apr 2021 11:20:25 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 4D2FC4034C; Wed, 21 Apr 2021 01:20:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IvWJwHsDhauM; Wed, 21 Apr 2021 01:20:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id AD96C4023D; Wed, 21 Apr 2021 01:20:16 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id A35CC1BF5A0 for ; Wed, 21 Apr 2021 01:20:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 9F76640637 for ; Wed, 21 Apr 2021 01:20:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=rockwellcollins.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q6v5I-FWnPdO for ; Wed, 21 Apr 2021 01:20:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from ch3vs05.rockwellcollins.com (ch3vs05.rockwellcollins.com [205.175.226.130]) by smtp4.osuosl.org (Postfix) with ESMTPS id 1257F40635 for ; Wed, 21 Apr 2021 01:20:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rockwellcollins.com; s=hrcrc2020; h=from:to:cc:subject:date:message-id; bh=WTSqyFqvNSgycTjZvQftpGPSHcZYqjsLkUxH6q5aczQ=; b=DOdZ1pKYb37U6f0B5HCKxehgFgwoLnZ73Oz+HkZRr2JMr05+AMrI4P+j 1AP0AtKjcxGsxTkPsjSb5MgF/DYKfIb8qz0m3hQDrO5x/JPv49SdxYCW7 xdCn8VsctN2JhUplTh6bQD7GWsFZpbEoQLgkrd48lMGvZf6lIzUjsjD9s KSmrgPMmk8nGk1w3tXVk/UFn7iVt9oHb4MFVZ0t30WdeAEwfz3GC8NRqp aPNKBO1HbLB84iUM9Gyq5kDr78cx+9MrYb9ib/SZUOelFodfz1m7UXzh6 AoOLOTxc7KnuVcqaclsvkFjVFMlhFdumseQsQEyjmbLiV14JiIdHeo5RZ A==; IronPort-SDR: /yAqof/TEMrRkeU/5ku/0yL38eFegN79Vux1jyQ1XN0WSnbtNPd+luoj6gVYRuWvx0YZCLbcE9 ef55MTSP5R1QF5rmVM1oVlJM4Oe2gxZTOK4WAg76nFCML7S54HCW5Kn/uUocrmRJUMduSEA53N H/rLs3X6eLxpseBP5uaomb2+c7ohZFLkJe7CAU6W6lAWNHi9pI7/Hb1rMiNHc5lkGgiKOz++6k Qh8Rcm8Xl9ez5q46GaT4ZA9hiL9kfUQdJ7MUCuE2WYx5LJUBe82+Fvrrrhmcm0KKBQ3iDHcmVF HyI= Received: from ofwch3n02.rockwellcollins.com (HELO dtulimr02.rockwellcollins.com) ([205.175.226.14]) by ch3vs05.rockwellcollins.com with ESMTP; 20 Apr 2021 20:20:10 -0500 X-Received: from biscuits.rockwellcollins.com (biscuits.rockwellcollins.lab [10.148.119.137]) by dtulimr02.rockwellcollins.com (Postfix) with ESMTP id 99D2720043; Tue, 20 Apr 2021 20:20:10 -0500 (CDT) From: Matt Weber To: buildroot@buildroot.org Date: Tue, 20 Apr 2021 20:20:08 -0500 Message-Id: <20210421012009.4494-1-matthew.weber@rockwellcollins.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH v2 1/2] package/libqmi: add _CPE_ID_VENDOR 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: Matt Weber MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" cpe:2.3:a:libqmi_project:libqmi:* is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe:2.3:a:libqmi_project:libqmi Signed-off-by: Matthew Weber --- v2 - added SOB and moved variable assignment under license files --- package/libqmi/libqmi.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libqmi/libqmi.mk b/package/libqmi/libqmi.mk index 4b430d11f8..6fc6d4a50d 100644 --- a/package/libqmi/libqmi.mk +++ b/package/libqmi/libqmi.mk @@ -9,6 +9,7 @@ LIBQMI_SITE = http://www.freedesktop.org/software/libqmi LIBQMI_SOURCE = libqmi-$(LIBQMI_VERSION).tar.xz LIBQMI_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs) LIBQMI_LICENSE_FILES = COPYING COPYING.LIB +LIBQMI_CPE_ID_VENDOR = libqmi_project LIBQMI_INSTALL_STAGING = YES LIBQMI_DEPENDENCIES = libglib2 From patchwork Wed Apr 21 01:20:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 1468525 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=smtp2.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=rockwellcollins.com header.i=@rockwellcollins.com header.a=rsa-sha256 header.s=hrcrc2020 header.b=LpDCK3e3; dkim-atps=neutral Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FQ2mf36F1z9tkB for ; Wed, 21 Apr 2021 11:20:34 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8AEF84038F; Wed, 21 Apr 2021 01:20:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0uiY8ltRY5PO; Wed, 21 Apr 2021 01:20:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id B989340389; Wed, 21 Apr 2021 01:20:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id C36EA1C119D for ; Wed, 21 Apr 2021 01:20:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id B2D5160B0C for ; Wed, 21 Apr 2021 01:20:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=rockwellcollins.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48TYYshMHWtz for ; Wed, 21 Apr 2021 01:20:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from da1vs05.rockwellcollins.com (da1vs05.rockwellcollins.com [205.175.227.130]) by smtp3.osuosl.org (Postfix) with ESMTPS id 9952360AFE for ; Wed, 21 Apr 2021 01:20:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rockwellcollins.com; s=hrcrc2020; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=VGsnINcF9Kf46oNgYXDL1shsnk4DYFlzEXqbH1ATVZc=; b=LpDCK3e3ZnN8NZiOl6SyCaLfDFyL+ZEqMQH3dgWcxUy6Z0OTiOgxl8xS hw8POrB5g+cw53AXesSXbPIgpfkNSlq+kFbeUa/CxulYzEjANBk7fwKAW MP1KRarHz7M6iMqhF5R14ESmPcTwJyZtuIkpQtjEC3CQ8dYC9WwsyaHV+ /weyIhxSDZ4xXdREakquCJn6bumrO1DTZlwLZKdAY9csmkI88RnOnEBkA uaxOtY5Ht439246evTFQqdRDAk/msWeFCpxSF0SRDTfy1u2zOem6jnGjW 8RUunnSD96csL2MK5ABySlDPLsT5Xcz6ENZ81RpTHBk9RhS/0+zG45t/9 w==; IronPort-SDR: LQUNJzUMPqGdNfv2Mf3DOpX78CawHe1e5wk0f0nLSIIn1TOZsP/MXnP0XLmJdFwV1Io+sV8r1h iDC4+KAiiVafx8ueXTHHXthAeR1ZZT5dm9M3UzDA+9GRoY7msVtz+yMtHGQSgxKuzffihj01Ow Fz7dSZyj+GqR2JwLchhz7PvUg//kk+e/f+Drjbix4cnL9zSUABy8EnQgw5C8GrYKhfJFctBteH 5rXgVEDO53cEzoCVjYlt7ITf74G5yi4G5pqO5ENE4u82s3of91yQY+zoBF9Go31pUZ5uZY4Fz0 OhE= Received: from ofwda1n02.rockwellcollins.com (HELO dtulimr02.rockwellcollins.com) ([205.175.227.14]) by da1vs05.rockwellcollins.com with ESMTP; 20 Apr 2021 20:20:12 -0500 X-Received: from biscuits.rockwellcollins.com (biscuits.rockwellcollins.lab [10.148.119.137]) by dtulimr02.rockwellcollins.com (Postfix) with ESMTP id 6148E20070; Tue, 20 Apr 2021 20:20:11 -0500 (CDT) From: Matt Weber To: buildroot@buildroot.org Date: Tue, 20 Apr 2021 20:20:09 -0500 Message-Id: <20210421012009.4494-2-matthew.weber@rockwellcollins.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210421012009.4494-1-matthew.weber@rockwellcollins.com> References: <20210421012009.4494-1-matthew.weber@rockwellcollins.com> Subject: [Buildroot] [PATCH v2 2/2] support/scripts/pkg-stats: add CPE searching links 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: Matt Weber MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" For cases of a CPE having a unknown version or when there hasn't been a CPE verified, proposed a search criteria to help the user research an update. (libcurl has NIST dict entries but not this version) cpe:2.3:a:haxx:libcurl:7.76.1:*:*:*:*:*:*:* CPE identifier unknown in CPE database (Search) (jitterentropy-library package doesn't have any NIST dict entries) no verified CPE identifier (Search) Signed-off-by: Matthew Weber --- v2 - new patch --- support/scripts/pkg-stats | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index 6f3ddc561f..bc83ca5888 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -921,7 +921,13 @@ def dump_html_pkg(f, pkg): if pkg.cpeid: f.write(" %s\n" % pkg.cpeid) if not pkg.is_status_ok("cpe"): - f.write(" %s%s\n" % ("
" if pkg.cpeid else "", pkg.status['cpe'][1])) + if pkg.cpeid: + f.write("
%s (Search)\n" % \ + (pkg.status['cpe'][1], ":".join(pkg.cpeid.split(":")[0:4]))) + else: + f.write(" %s (Search)\n" % \ + (pkg.status['cpe'][1], pkg.name)) + f.write(" \n") f.write(" \n")