diff options
Diffstat (limited to 'recipes-devtools/go')
| -rw-r--r-- | recipes-devtools/go/compose-file_git.bb | 4 | ||||
| -rw-r--r-- | recipes-devtools/go/go-build_git.bb | 5 | ||||
| -rw-r--r-- | recipes-devtools/go/go-capability_git.bb | 2 | ||||
| -rw-r--r-- | recipes-devtools/go/go-cli_git.bb | 4 | ||||
| -rw-r--r-- | recipes-devtools/go/go-connections_git.bb | 4 | ||||
| -rw-r--r-- | recipes-devtools/go/go-context_git.bb | 2 | ||||
| -rw-r--r-- | recipes-devtools/go/go-dbus_git.bb | 2 | ||||
| -rw-r--r-- | recipes-devtools/go/go-distribution_git.bb | 4 | ||||
| -rw-r--r-- | recipes-devtools/go/go-fsnotify_git.bb | 2 | ||||
| -rw-r--r-- | recipes-devtools/go/go-libtrust_git.bb | 2 | ||||
| -rw-r--r-- | recipes-devtools/go/go-logrus_git.bb | 2 | ||||
| -rw-r--r-- | recipes-devtools/go/go-md2man_git.bb | 4 | ||||
| -rw-r--r-- | recipes-devtools/go/go-metalinter_git.bb | 2 | ||||
| -rw-r--r-- | recipes-devtools/go/go-mux_git.bb | 2 | ||||
| -rw-r--r-- | recipes-devtools/go/go-patricia_git.bb | 2 | ||||
| -rw-r--r-- | recipes-devtools/go/go-pty_git.bb | 2 | ||||
| -rw-r--r-- | recipes-devtools/go/go-systemd_git.bb | 2 | ||||
| -rw-r--r-- | recipes-devtools/go/grpc-go_git.bb | 9 | ||||
| -rw-r--r-- | recipes-devtools/go/notary_git.bb | 41 |
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 | |||
| 7 | SRCNAME = "compose-file" | 7 | SRCNAME = "compose-file" |
| 8 | 8 | ||
| 9 | PKG_NAME = "github.com/aanand/${SRCNAME}" | 9 | PKG_NAME = "github.com/aanand/${SRCNAME}" |
| 10 | SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" | 10 | SRC_URI = "git://${PKG_NAME}.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=master;protocol=https" |
| 11 | 11 | ||
| 12 | SRCREV = "a3e58764f50597b6217fec07e9bff7225c4a1719" | 12 | SRCREV = "a3e58764f50597b6217fec07e9bff7225c4a1719" |
| 13 | PV = "3.0+git" | 13 | PV = "3.0+git" |
| 14 | 14 | ||
| 15 | S = "${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. |
| 18 | do_compile() { | 16 | do_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 | ||
| 8 | SRCREV_FORMAT = "runx_runc" | 8 | SRCREV_FORMAT = "runx_runc" |
| 9 | SRC_URI = "\ | 9 | SRC_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 | " |
| 14 | SRC_URI[md5sum] = "0d701ac1e2a67d47ce7127432df2c32b" | 14 | SRC_URI[md5sum] = "0d701ac1e2a67d47ce7127432df2c32b" |
| @@ -17,7 +17,6 @@ SRC_URI[sha256sum] = "5a26478906d5005f4f809402e981518d2b8844949199f60c4b6e1f986c | |||
| 17 | LICENSE = "Apache-2.0" | 17 | LICENSE = "Apache-2.0" |
| 18 | LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=945fc9aa694796a6337395cc291ddd8c" | 18 | LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=945fc9aa694796a6337395cc291ddd8c" |
| 19 | 19 | ||
| 20 | S = "${WORKDIR}/git" | ||
| 21 | PV = "0.1-git${SRCREV_runx}" | 20 | PV = "0.1-git${SRCREV_runx}" |
| 22 | 21 | ||
| 23 | inherit features_check | 22 | inherit 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 | ||
| 15 | inherit meta-virt-depreciated-warning | 15 | inherit meta-virt-depreciated-warning |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | do_install() { | 17 | do_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" | |||
| 7 | SRCNAME = "cli" | 7 | SRCNAME = "cli" |
| 8 | 8 | ||
| 9 | PKG_NAME = "github.com/codegangsta/${SRCNAME}" | 9 | PKG_NAME = "github.com/codegangsta/${SRCNAME}" |
| 10 | SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" | 10 | SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https" |
| 11 | 11 | ||
| 12 | SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e" | 12 | SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e" |
| 13 | PV = "1.1.0+git" | 13 | PV = "1.1.0+git" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit meta-virt-depreciated-warning | 15 | inherit meta-virt-depreciated-warning |
| 18 | 16 | ||
| 19 | do_install() { | 17 | do_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 | |||
| 7 | SRCNAME = "go-connections" | 7 | SRCNAME = "go-connections" |
| 8 | 8 | ||
| 9 | PKG_NAME = "github.com/docker/${SRCNAME}" | 9 | PKG_NAME = "github.com/docker/${SRCNAME}" |
| 10 | SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" | 10 | SRC_URI = "git://${PKG_NAME}.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=master;protocol=https" |
| 11 | 11 | ||
| 12 | SRCREV = "4ccf312bf1d35e5dbda654e57a9be4c3f3cd0366" | 12 | SRCREV = "4ccf312bf1d35e5dbda654e57a9be4c3f3cd0366" |
| 13 | PV = "0.2.1+git" | 13 | PV = "0.2.1+git" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit meta-virt-depreciated-warning | 15 | inherit 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 | ||
| 12 | SRCREV = "1cbd4c16de64273a6e63fc710b0d89bfad72cd32" | 12 | SRCREV = "1cbd4c16de64273a6e63fc710b0d89bfad72cd32" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | inherit meta-virt-depreciated-warning | 14 | inherit meta-virt-depreciated-warning |
| 17 | 15 | ||
| 18 | do_compile() { | 16 | do_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" | |||
| 12 | SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3" | 12 | SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3" |
| 13 | PV = "4.0.0+git" | 13 | PV = "4.0.0+git" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit meta-virt-depreciated-warning | 15 | inherit meta-virt-depreciated-warning |
| 18 | 16 | ||
| 19 | do_install() { | 17 | do_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 | |||
| 7 | SRCNAME = "distribution" | 7 | SRCNAME = "distribution" |
| 8 | 8 | ||
| 9 | PKG_NAME = "github.com/docker/${SRCNAME}" | 9 | PKG_NAME = "github.com/docker/${SRCNAME}" |
| 10 | SRC_URI = "git://${PKG_NAME}.git;branch=docker/1.13;destsuffix=git/src/${PKG_NAME};protocol=https" | 10 | SRC_URI = "git://${PKG_NAME}.git;branch=docker/1.13;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};protocol=https" |
| 11 | 11 | ||
| 12 | SRCREV = "28602af35aceda2f8d571bad7ca37a54cf0250bc" | 12 | SRCREV = "28602af35aceda2f8d571bad7ca37a54cf0250bc" |
| 13 | PV = "2.6.0+git" | 13 | PV = "2.6.0+git" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit meta-virt-depreciated-warning | 15 | inherit 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" | |||
| 12 | SRCREV = "af855d7e6014ec848882bb2ed7d40d536872d275" | 12 | SRCREV = "af855d7e6014ec848882bb2ed7d40d536872d275" |
| 13 | PV = "v1.5.1+git" | 13 | PV = "v1.5.1+git" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit meta-virt-depreciated-warning | 15 | inherit meta-virt-depreciated-warning |
| 18 | 16 | ||
| 19 | do_install() { | 17 | do_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" | |||
| 12 | SRCREV = "9cbd2a1374f46905c68a4eb3694a130610adc62a" | 12 | SRCREV = "9cbd2a1374f46905c68a4eb3694a130610adc62a" |
| 13 | PV = "0.0+git" | 13 | PV = "0.0+git" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit meta-virt-depreciated-warning | 15 | inherit meta-virt-depreciated-warning |
| 18 | 16 | ||
| 19 | do_install() { | 17 | do_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" | |||
| 12 | SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb" | 12 | SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb" |
| 13 | PV = "0.11.0+git" | 13 | PV = "0.11.0+git" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit meta-virt-depreciated-warning | 15 | inherit meta-virt-depreciated-warning |
| 18 | 16 | ||
| 19 | do_install() { | 17 | do_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" | |||
| 9 | GO_IMPORT = "github.com/cpuguy83/go-md2man" | 9 | GO_IMPORT = "github.com/cpuguy83/go-md2man" |
| 10 | #GO_INSTALL = "${GO_IMPORT}/bin/go-md2man" | 10 | #GO_INSTALL = "${GO_IMPORT}/bin/go-md2man" |
| 11 | 11 | ||
| 12 | SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https" | 12 | SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}" |
| 13 | 13 | ||
| 14 | SRCREV = "f79a8a8ca69da163eee19ab442bedad7a35bba5a" | 14 | SRCREV = "f79a8a8ca69da163eee19ab442bedad7a35bba5a" |
| 15 | PV = "1.0.10+git" | 15 | PV = "1.0.10+git" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | inherit go | 17 | inherit go |
| 20 | 18 | ||
| 21 | do_compile:prepend() { | 19 | do_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" | |||
| 14 | SRCREV = "e8d801238da6f0dfd14078d68f9b53fa50a7eeb5" | 14 | SRCREV = "e8d801238da6f0dfd14078d68f9b53fa50a7eeb5" |
| 15 | PV = "0.0+git" | 15 | PV = "0.0+git" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | do_install() { | 17 | do_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 | ||
| 14 | inherit meta-virt-depreciated-warning | 14 | inherit meta-virt-depreciated-warning |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | do_configure[noexec] = "1" | 16 | do_configure[noexec] = "1" |
| 19 | do_compile[noexec] = "1" | 17 | do_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" | |||
| 12 | SRCREV = "666120de432aea38ab06bd5c818f04f4129882c9" | 12 | SRCREV = "666120de432aea38ab06bd5c818f04f4129882c9" |
| 13 | PV = "2.2.6+git" | 13 | PV = "2.2.6+git" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit meta-virt-depreciated-warning | 15 | inherit meta-virt-depreciated-warning |
| 18 | 16 | ||
| 19 | do_install() { | 17 | do_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 | ||
| 12 | SRCREV = "05017fcccf23c823bfdea560dcc958a136e54fb7" | 12 | SRCREV = "05017fcccf23c823bfdea560dcc958a136e54fb7" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | inherit meta-virt-depreciated-warning | 14 | inherit meta-virt-depreciated-warning |
| 17 | 15 | ||
| 18 | do_install() { | 16 | do_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 | ||
| 15 | RDEPENDS:${PN} += "bash" | 15 | RDEPENDS:${PN} += "bash" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | inherit meta-virt-depreciated-warning | 17 | inherit meta-virt-depreciated-warning |
| 20 | 18 | ||
| 21 | do_install() { | 19 | do_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 | |||
| 7 | SRCNAME = "grpc-go" | 7 | SRCNAME = "grpc-go" |
| 8 | 8 | ||
| 9 | PKG_NAME = "google.golang.org/grpc" | 9 | PKG_NAME = "google.golang.org/grpc" |
| 10 | SRC_URI = "git://github.com/grpc/${SRCNAME}.git;destsuffix=git/src/${PKG_NAME};branch=v1.59.x;protocol=https" | 10 | SRC_URI = "git://github.com/grpc/${SRCNAME}.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=v1.59.x;protocol=https" |
| 11 | 11 | ||
| 12 | SRCREV = "7765221f4bf6104973db7946d56936cf838cad46" | 12 | SRCREV = "7765221f4bf6104973db7946d56936cf838cad46" |
| 13 | PV = "1.59.0+git" | 13 | PV = "1.59.0+git" |
| 14 | 14 | ||
| 15 | S = "${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. |
| 18 | do_compile() { | 16 | do_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 |
| 45 | CVE_PRODUCT += "grpc" | 43 | CVE_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. | ||
| 48 | CVE_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 @@ | |||
| 1 | DESCRIPTION = "Notary is a Docker project that allows anyone to have trust over arbitrary collections of data" | ||
| 2 | HOMEPAGE = "https://github.com/docker/notary" | ||
| 3 | SECTION = "devel/go" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=3596b980bb036e0875174ed15e4b982a" | ||
| 6 | |||
| 7 | SRCNAME = "notary" | ||
| 8 | |||
| 9 | PKG_NAME = "github.com/docker/${SRCNAME}" | ||
| 10 | SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" | ||
| 11 | |||
| 12 | SRCREV = "d6e1431feb32348e0650bf7551ac5cffd01d857b" | ||
| 13 | PV = "0.6.1+git" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit meta-virt-depreciated-warning | ||
| 18 | |||
| 19 | # NO-OP the do compile rule because this recipe is source only. | ||
| 20 | do_compile() { | ||
| 21 | } | ||
| 22 | |||
| 23 | do_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 | |||
| 34 | SYSROOT_PREPROCESS_FUNCS += "go_notary_sysroot_preprocess" | ||
| 35 | |||
| 36 | go_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 | |||
| 41 | FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" | ||
