1869b4065c
This patch fixes the CPE ID for both go-bin and go-src packages. The go-src package did had a CPE ID because GO_SRC_CPE_ID_VENDOR is defined but the generated CPE ID would be the following: cpe:2.3:a:golang:go-src:*:*:*:*:*:*:*:* The CPE product go-src doesn't match to anything and should be 'go' instead. For go-bin no CPE_ID variable were defined so no CPE ID would be generated if using a pre-build toolchain. This patch duplicate the definition of the CPE_ID variables, I didn't put the definition in the 'package/go/go.mk' file to avoid generate a CPE for the go virtual package. Signed-off-by: Thomas Perale <thomas.perale@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>