summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/go
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/go')
-rw-r--r--recipes-devtools/go/compose-file_git.bb4
-rw-r--r--recipes-devtools/go/go-build_git.bb5
-rw-r--r--recipes-devtools/go/go-capability_git.bb2
-rw-r--r--recipes-devtools/go/go-cli_git.bb4
-rw-r--r--recipes-devtools/go/go-connections_git.bb4
-rw-r--r--recipes-devtools/go/go-context_git.bb2
-rw-r--r--recipes-devtools/go/go-dbus_git.bb2
-rw-r--r--recipes-devtools/go/go-distribution_git.bb4
-rw-r--r--recipes-devtools/go/go-fsnotify_git.bb2
-rw-r--r--recipes-devtools/go/go-libtrust_git.bb2
-rw-r--r--recipes-devtools/go/go-logrus_git.bb2
-rw-r--r--recipes-devtools/go/go-md2man_git.bb4
-rw-r--r--recipes-devtools/go/go-metalinter_git.bb2
-rw-r--r--recipes-devtools/go/go-mux_git.bb2
-rw-r--r--recipes-devtools/go/go-patricia_git.bb2
-rw-r--r--recipes-devtools/go/go-pty_git.bb2
-rw-r--r--recipes-devtools/go/go-systemd_git.bb2
-rw-r--r--recipes-devtools/go/grpc-go_git.bb9
-rw-r--r--recipes-devtools/go/notary_git.bb41
19 files changed, 13 insertions, 84 deletions
diff --git a/recipes-devtools/go/compose-file_git.bb b/recipes-devtools/go/compose-file_git.bb
index 7fedc407..64051b59 100644
--- a/recipes-devtools/go/compose-file_git.bb
+++ b/recipes-devtools/go/compose-file_git.bb
@@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=9cd86830b557232ce55e2a6b4
7SRCNAME = "compose-file" 7SRCNAME = "compose-file"
8 8
9PKG_NAME = "github.com/aanand/${SRCNAME}" 9PKG_NAME = "github.com/aanand/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" 10SRC_URI = "git://${PKG_NAME}.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=master;protocol=https"
11 11
12SRCREV = "a3e58764f50597b6217fec07e9bff7225c4a1719" 12SRCREV = "a3e58764f50597b6217fec07e9bff7225c4a1719"
13PV = "3.0+git" 13PV = "3.0+git"
14 14
15S = "${WORKDIR}/git"
16
17# NO-OP the do compile rule because this recipe is source only. 15# NO-OP the do compile rule because this recipe is source only.
18do_compile() { 16do_compile() {
19} 17}
diff --git a/recipes-devtools/go/go-build_git.bb b/recipes-devtools/go/go-build_git.bb
index 75ea40a8..8b750651 100644
--- a/recipes-devtools/go/go-build_git.bb
+++ b/recipes-devtools/go/go-build_git.bb
@@ -7,8 +7,8 @@ SRCREV_runc = "1e7bb5b773162b57333d57f612fd72e3f8612d94"
7 7
8SRCREV_FORMAT = "runx_runc" 8SRCREV_FORMAT = "runx_runc"
9SRC_URI = "\ 9SRC_URI = "\
10 git://github.com/lf-edge/runx;nobranch=1;name=runx;protocol=https \ 10 git://github.com/lf-edge/runx;nobranch=1;name=runx;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
11 git://github.com/opencontainers/runc;branch=release-1.1;name=runc;protocol=https;destsuffix=git/src/import/gobuild/go/src/github.com/opencontainers/runc \ 11 git://github.com/opencontainers/runc;branch=release-1.1;name=runc;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/import/gobuild/go/src/github.com/opencontainers/runc \
12 file://0001-build-use-instead-of-go.patch \ 12 file://0001-build-use-instead-of-go.patch \
13 " 13 "
14SRC_URI[md5sum] = "0d701ac1e2a67d47ce7127432df2c32b" 14SRC_URI[md5sum] = "0d701ac1e2a67d47ce7127432df2c32b"
@@ -17,7 +17,6 @@ SRC_URI[sha256sum] = "5a26478906d5005f4f809402e981518d2b8844949199f60c4b6e1f986c
17LICENSE = "Apache-2.0" 17LICENSE = "Apache-2.0"
18LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=945fc9aa694796a6337395cc291ddd8c" 18LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=945fc9aa694796a6337395cc291ddd8c"
19 19
20S = "${WORKDIR}/git"
21PV = "0.1-git${SRCREV_runx}" 20PV = "0.1-git${SRCREV_runx}"
22 21
23inherit features_check 22inherit features_check
diff --git a/recipes-devtools/go/go-capability_git.bb b/recipes-devtools/go/go-capability_git.bb
index c2562474..b6146519 100644
--- a/recipes-devtools/go/go-capability_git.bb
+++ b/recipes-devtools/go/go-capability_git.bb
@@ -14,8 +14,6 @@ PV = "0.0+git"
14 14
15inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
16 16
17S = "${WORKDIR}/git"
18
19do_install() { 17do_install() {
20 install -d ${D}${prefix}/local/go/src/${PKG_NAME} 18 install -d ${D}${prefix}/local/go/src/${PKG_NAME}
21 cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ 19 cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
diff --git a/recipes-devtools/go/go-cli_git.bb b/recipes-devtools/go/go-cli_git.bb
index 8a4992bd..a7cda644 100644
--- a/recipes-devtools/go/go-cli_git.bb
+++ b/recipes-devtools/go/go-cli_git.bb
@@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ed9b539ed65d73926f30ff1f1587dc44"
7SRCNAME = "cli" 7SRCNAME = "cli"
8 8
9PKG_NAME = "github.com/codegangsta/${SRCNAME}" 9PKG_NAME = "github.com/codegangsta/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" 10SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
11 11
12SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e" 12SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e"
13PV = "1.1.0+git" 13PV = "1.1.0+git"
14 14
15S = "${WORKDIR}/git"
16
17inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
18 16
19do_install() { 17do_install() {
diff --git a/recipes-devtools/go/go-connections_git.bb b/recipes-devtools/go/go-connections_git.bb
index 33bb83bf..5f22fdc6 100644
--- a/recipes-devtools/go/go-connections_git.bb
+++ b/recipes-devtools/go/go-connections_git.bb
@@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=04424bc6f5a5be60691b9824d
7SRCNAME = "go-connections" 7SRCNAME = "go-connections"
8 8
9PKG_NAME = "github.com/docker/${SRCNAME}" 9PKG_NAME = "github.com/docker/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" 10SRC_URI = "git://${PKG_NAME}.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=master;protocol=https"
11 11
12SRCREV = "4ccf312bf1d35e5dbda654e57a9be4c3f3cd0366" 12SRCREV = "4ccf312bf1d35e5dbda654e57a9be4c3f3cd0366"
13PV = "0.2.1+git" 13PV = "0.2.1+git"
14 14
15S = "${WORKDIR}/git"
16
17inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
18 16
19# NO-OP the do compile rule because this recipe is source only. 17# NO-OP the do compile rule because this recipe is source only.
diff --git a/recipes-devtools/go/go-context_git.bb b/recipes-devtools/go/go-context_git.bb
index 02f57875..2a101995 100644
--- a/recipes-devtools/go/go-context_git.bb
+++ b/recipes-devtools/go/go-context_git.bb
@@ -11,8 +11,6 @@ SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
11 11
12SRCREV = "1cbd4c16de64273a6e63fc710b0d89bfad72cd32" 12SRCREV = "1cbd4c16de64273a6e63fc710b0d89bfad72cd32"
13 13
14S = "${WORKDIR}/git"
15
16inherit meta-virt-depreciated-warning 14inherit meta-virt-depreciated-warning
17 15
18do_compile() { 16do_compile() {
diff --git a/recipes-devtools/go/go-dbus_git.bb b/recipes-devtools/go/go-dbus_git.bb
index bc8691c4..652e7c43 100644
--- a/recipes-devtools/go/go-dbus_git.bb
+++ b/recipes-devtools/go/go-dbus_git.bb
@@ -12,8 +12,6 @@ SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
12SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3" 12SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3"
13PV = "4.0.0+git" 13PV = "4.0.0+git"
14 14
15S = "${WORKDIR}/git"
16
17inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
18 16
19do_install() { 17do_install() {
diff --git a/recipes-devtools/go/go-distribution_git.bb b/recipes-devtools/go/go-distribution_git.bb
index 598df964..14494ad5 100644
--- a/recipes-devtools/go/go-distribution_git.bb
+++ b/recipes-devtools/go/go-distribution_git.bb
@@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=d2794c0df5b907fdace235a61
7SRCNAME = "distribution" 7SRCNAME = "distribution"
8 8
9PKG_NAME = "github.com/docker/${SRCNAME}" 9PKG_NAME = "github.com/docker/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME}.git;branch=docker/1.13;destsuffix=git/src/${PKG_NAME};protocol=https" 10SRC_URI = "git://${PKG_NAME}.git;branch=docker/1.13;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};protocol=https"
11 11
12SRCREV = "28602af35aceda2f8d571bad7ca37a54cf0250bc" 12SRCREV = "28602af35aceda2f8d571bad7ca37a54cf0250bc"
13PV = "2.6.0+git" 13PV = "2.6.0+git"
14 14
15S = "${WORKDIR}/git"
16
17inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
18 16
19# NO-OP the do compile rule because this recipe is source only. 17# NO-OP the do compile rule because this recipe is source only.
diff --git a/recipes-devtools/go/go-fsnotify_git.bb b/recipes-devtools/go/go-fsnotify_git.bb
index b934ae9a..72450290 100644
--- a/recipes-devtools/go/go-fsnotify_git.bb
+++ b/recipes-devtools/go/go-fsnotify_git.bb
@@ -12,8 +12,6 @@ SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
12SRCREV = "af855d7e6014ec848882bb2ed7d40d536872d275" 12SRCREV = "af855d7e6014ec848882bb2ed7d40d536872d275"
13PV = "v1.5.1+git" 13PV = "v1.5.1+git"
14 14
15S = "${WORKDIR}/git"
16
17inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
18 16
19do_install() { 17do_install() {
diff --git a/recipes-devtools/go/go-libtrust_git.bb b/recipes-devtools/go/go-libtrust_git.bb
index 17199856..ef2877e1 100644
--- a/recipes-devtools/go/go-libtrust_git.bb
+++ b/recipes-devtools/go/go-libtrust_git.bb
@@ -12,8 +12,6 @@ SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
12SRCREV = "9cbd2a1374f46905c68a4eb3694a130610adc62a" 12SRCREV = "9cbd2a1374f46905c68a4eb3694a130610adc62a"
13PV = "0.0+git" 13PV = "0.0+git"
14 14
15S = "${WORKDIR}/git"
16
17inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
18 16
19do_install() { 17do_install() {
diff --git a/recipes-devtools/go/go-logrus_git.bb b/recipes-devtools/go/go-logrus_git.bb
index 1826b893..aeb23a2b 100644
--- a/recipes-devtools/go/go-logrus_git.bb
+++ b/recipes-devtools/go/go-logrus_git.bb
@@ -12,8 +12,6 @@ SRC_URI = "git://${PKG_NAME};branch=master;protocol=https"
12SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb" 12SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb"
13PV = "0.11.0+git" 13PV = "0.11.0+git"
14 14
15S = "${WORKDIR}/git"
16
17inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
18 16
19do_install() { 17do_install() {
diff --git a/recipes-devtools/go/go-md2man_git.bb b/recipes-devtools/go/go-md2man_git.bb
index 1d96bb1b..720eac63 100644
--- a/recipes-devtools/go/go-md2man_git.bb
+++ b/recipes-devtools/go/go-md2man_git.bb
@@ -9,13 +9,11 @@ BBCLASSEXTEND = "native"
9GO_IMPORT = "github.com/cpuguy83/go-md2man" 9GO_IMPORT = "github.com/cpuguy83/go-md2man"
10#GO_INSTALL = "${GO_IMPORT}/bin/go-md2man" 10#GO_INSTALL = "${GO_IMPORT}/bin/go-md2man"
11 11
12SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https" 12SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}"
13 13
14SRCREV = "f79a8a8ca69da163eee19ab442bedad7a35bba5a" 14SRCREV = "f79a8a8ca69da163eee19ab442bedad7a35bba5a"
15PV = "1.0.10+git" 15PV = "1.0.10+git"
16 16
17S = "${WORKDIR}/git"
18
19inherit go 17inherit go
20 18
21do_compile:prepend() { 19do_compile:prepend() {
diff --git a/recipes-devtools/go/go-metalinter_git.bb b/recipes-devtools/go/go-metalinter_git.bb
index def3d063..f5576080 100644
--- a/recipes-devtools/go/go-metalinter_git.bb
+++ b/recipes-devtools/go/go-metalinter_git.bb
@@ -14,8 +14,6 @@ SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
14SRCREV = "e8d801238da6f0dfd14078d68f9b53fa50a7eeb5" 14SRCREV = "e8d801238da6f0dfd14078d68f9b53fa50a7eeb5"
15PV = "0.0+git" 15PV = "0.0+git"
16 16
17S = "${WORKDIR}/git"
18
19do_install() { 17do_install() {
20 install -d ${D}${prefix}/local/go/src/${PKG_NAME} 18 install -d ${D}${prefix}/local/go/src/${PKG_NAME}
21 cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ 19 cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
diff --git a/recipes-devtools/go/go-mux_git.bb b/recipes-devtools/go/go-mux_git.bb
index 0958617a..5f158aa2 100644
--- a/recipes-devtools/go/go-mux_git.bb
+++ b/recipes-devtools/go/go-mux_git.bb
@@ -13,8 +13,6 @@ SRCREV = "85123bf20e069b156415b871dea10517f6a8938a"
13 13
14inherit meta-virt-depreciated-warning 14inherit meta-virt-depreciated-warning
15 15
16S = "${WORKDIR}/git"
17
18do_configure[noexec] = "1" 16do_configure[noexec] = "1"
19do_compile[noexec] = "1" 17do_compile[noexec] = "1"
20 18
diff --git a/recipes-devtools/go/go-patricia_git.bb b/recipes-devtools/go/go-patricia_git.bb
index c05da591..4880c509 100644
--- a/recipes-devtools/go/go-patricia_git.bb
+++ b/recipes-devtools/go/go-patricia_git.bb
@@ -12,8 +12,6 @@ SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
12SRCREV = "666120de432aea38ab06bd5c818f04f4129882c9" 12SRCREV = "666120de432aea38ab06bd5c818f04f4129882c9"
13PV = "2.2.6+git" 13PV = "2.2.6+git"
14 14
15S = "${WORKDIR}/git"
16
17inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
18 16
19do_install() { 17do_install() {
diff --git a/recipes-devtools/go/go-pty_git.bb b/recipes-devtools/go/go-pty_git.bb
index d6aa95f6..f6e253a6 100644
--- a/recipes-devtools/go/go-pty_git.bb
+++ b/recipes-devtools/go/go-pty_git.bb
@@ -11,8 +11,6 @@ SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
11 11
12SRCREV = "05017fcccf23c823bfdea560dcc958a136e54fb7" 12SRCREV = "05017fcccf23c823bfdea560dcc958a136e54fb7"
13 13
14S = "${WORKDIR}/git"
15
16inherit meta-virt-depreciated-warning 14inherit meta-virt-depreciated-warning
17 15
18do_install() { 16do_install() {
diff --git a/recipes-devtools/go/go-systemd_git.bb b/recipes-devtools/go/go-systemd_git.bb
index e7e97b9e..d147889c 100644
--- a/recipes-devtools/go/go-systemd_git.bb
+++ b/recipes-devtools/go/go-systemd_git.bb
@@ -14,8 +14,6 @@ PV = "4+git"
14 14
15RDEPENDS:${PN} += "bash" 15RDEPENDS:${PN} += "bash"
16 16
17S = "${WORKDIR}/git"
18
19inherit meta-virt-depreciated-warning 17inherit meta-virt-depreciated-warning
20 18
21do_install() { 19do_install() {
diff --git a/recipes-devtools/go/grpc-go_git.bb b/recipes-devtools/go/grpc-go_git.bb
index 7989c02f..c2990869 100644
--- a/recipes-devtools/go/grpc-go_git.bb
+++ b/recipes-devtools/go/grpc-go_git.bb
@@ -7,13 +7,11 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=3b83ef96387f14655fc854ddc
7SRCNAME = "grpc-go" 7SRCNAME = "grpc-go"
8 8
9PKG_NAME = "google.golang.org/grpc" 9PKG_NAME = "google.golang.org/grpc"
10SRC_URI = "git://github.com/grpc/${SRCNAME}.git;destsuffix=git/src/${PKG_NAME};branch=v1.59.x;protocol=https" 10SRC_URI = "git://github.com/grpc/${SRCNAME}.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=v1.59.x;protocol=https"
11 11
12SRCREV = "7765221f4bf6104973db7946d56936cf838cad46" 12SRCREV = "7765221f4bf6104973db7946d56936cf838cad46"
13PV = "1.59.0+git" 13PV = "1.59.0+git"
14 14
15S = "${WORKDIR}/git"
16
17# NO-OP the do compile rule because this recipe is source only. 15# NO-OP the do compile rule because this recipe is source only.
18do_compile() { 16do_compile() {
19} 17}
@@ -43,3 +41,8 @@ FILES:${PN} += " \
43# some CVEs are reported with "cpe:2.3:a:grpc:grpc:*:*:*:*:*:go:*:*" 41# some CVEs are reported with "cpe:2.3:a:grpc:grpc:*:*:*:*:*:go:*:*"
44# it's better to have false positives than false negatives 42# it's better to have false positives than false negatives
45CVE_PRODUCT += "grpc" 43CVE_PRODUCT += "grpc"
44# CVE-2024-7246 is an HTTP/2 HPACK poisoning issue in gRPC C-core
45# (C/C++ implementation, meta-openembedded).
46# grpc-go (Go implementation in meta-virtualization) does not
47# contain the affected HPACK code path.
48CVE_STATUS[CVE-2024-7246] = "not-applicable-config: CVE is for grpc (C-core), not grpc-go."
diff --git a/recipes-devtools/go/notary_git.bb b/recipes-devtools/go/notary_git.bb
deleted file mode 100644
index ace7174d..00000000
--- a/recipes-devtools/go/notary_git.bb
+++ /dev/null
@@ -1,41 +0,0 @@
1DESCRIPTION = "Notary is a Docker project that allows anyone to have trust over arbitrary collections of data"
2HOMEPAGE = "https://github.com/docker/notary"
3SECTION = "devel/go"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=3596b980bb036e0875174ed15e4b982a"
6
7SRCNAME = "notary"
8
9PKG_NAME = "github.com/docker/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https"
11
12SRCREV = "d6e1431feb32348e0650bf7551ac5cffd01d857b"
13PV = "0.6.1+git"
14
15S = "${WORKDIR}/git"
16
17inherit meta-virt-depreciated-warning
18
19# NO-OP the do compile rule because this recipe is source only.
20do_compile() {
21}
22
23do_install() {
24 install -d ${D}${prefix}/local/go/src/${PKG_NAME}
25 for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do
26 if [ ! -d ${D}${prefix}/local/go/$(dirname $j) ]; then
27 mkdir -p ${D}${prefix}/local/go/$(dirname $j)
28 fi
29 cp $j ${D}${prefix}/local/go/$j
30 done
31 cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/
32}
33
34SYSROOT_PREPROCESS_FUNCS += "go_notary_sysroot_preprocess"
35
36go_notary_sysroot_preprocess () {
37 install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME}
38 cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME})
39}
40
41FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*"