Received: from mx0b-00082601.pphosted.com (mx0b-00082601.pphosted.com [67.231.153.30]) by mx.groups.io with SMTP id smtpd.web12.1282.1593709966165153781 for ; Thu, 02 Jul 2020 10:12:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@fb.com header.s=facebook header.b=avSLxvNw; spf=pass (domain: fb.com, ip: 67.231.153.30, mailfrom: prvs=44520df2fc=andrestc@fb.com) Received: from pps.filterd (m0109331.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 062H3wZN023299 for ; Thu, 2 Jul 2020 10:12:45 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=facebook; bh=IUvRzdFHpnPB8bYksMDi4ol3j8NE6hXP96nEFr1zTSo=; b=avSLxvNwHdyaXwUqICT54kFDhRbSO+MrorpZbRMewMrbNx50QpvWFHvFh8cNVr/skf/O PcY0JnXdM2K1rY4aI10Fu3X6t9ddt4zEjctpYzmowkCpTl6NiqiPO+/POEqhsAIfQDm8 bTike7qwASIJ4onpEmMe2Lpsp5mHBH86em4= Received: from maileast.thefacebook.com ([163.114.130.16]) by mx0a-00082601.pphosted.com with ESMTP id 321fwks960-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 02 Jul 2020 10:12:45 -0700 Received: from intmgw002.08.frc2.facebook.com (2620:10d:c0a8:1b::d) by mail.thefacebook.com (2620:10d:c0a8:82::f) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Thu, 2 Jul 2020 10:12:44 -0700 Received: by devbig014.lla2.facebook.com (Postfix, from userid 185260) id E30F15A005DD; Thu, 2 Jul 2020 10:12:36 -0700 (PDT) Smtp-Origin-Hostprefix: devbig From: "Andre Carvalho" Smtp-Origin-Hostname: devbig014.lla2.facebook.com To: CC: Andre Carvalho Smtp-Origin-Cluster: lla2c09 Subject: [meta-networking][PATCH v2] netcat: Set CVE_PRODUCT Date: Thu, 2 Jul 2020 10:12:27 -0700 Message-ID: <20200702171227.1893805-1-andrestc@fb.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-02_09:2020-07-02,2020-07-02 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 mlxscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 lowpriorityscore=0 clxscore=1015 bulkscore=0 phishscore=0 spamscore=0 cotscore=-2147483648 adultscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2007020117 X-FB-Internal: deliver Content-Transfer-Encoding: quoted-printable Content-Type: text/plain This way yocto cve-check can find open CVE's. See also: http://lists.openembedded.org/pipermail/openembedded-core/2017-July/13989= 7.html "Results from cve-check are not very good at the moment. One of the reasons for this is that component names used in CVE database differ from yocto recipe names. This series fixes several of those name mapping problems by setting the CVE_PRODUCT correctly in the recipes. To check this mapping with after a build, I'm exporting LICENSE and CVE_PRODUCT variables to buildhistory for recipes and packages." Value added is based on: https://nvd.nist.gov/products/cpe/search/results?keyword=3Dnetcat&status=3D= FINAL&orderBy=3DCPEURI&namingFormat=3D2.3 Signed-off-by: Andre Carvalho --- Changes in v2: - Fix typo in commit title meta-networking/recipes-support/netcat/netcat_0.7.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb b/met= a-networking/recipes-support/netcat/netcat_0.7.1.bb index 14d743f82..1e113de51 100644 --- a/meta-networking/recipes-support/netcat/netcat_0.7.1.bb +++ b/meta-networking/recipes-support/netcat/netcat_0.7.1.bb @@ -16,6 +16,8 @@ SRC_URI[sha256sum] =3D "b55af0bbdf5acc02d1eb6ab18da2acd= 77a400bafd074489003f3df0967 =20 inherit autotools =20 +CVE_PRODUCT =3D "netcat_project:netcat" + do_install_append() { install -d ${D}${bindir} mv ${D}${bindir}/nc ${D}${bindir}/nc.${BPN} --=20 2.24.1