summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2026-03-26 14:25:30 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2026-03-26 15:54:03 +0000
commit5ccb61a7a67d4f4e9a31301630a3224076bcc4b4 (patch)
tree6fb3c21bc5034a65077e3b1d3fb93f0346449f8f
parentce4a0ce9006998863a7cb50ac2eee67d06ba3c08 (diff)
downloadmeta-virtualization-5ccb61a7a67d4f4e9a31301630a3224076bcc4b4.tar.gz
go recipes: update to latest upstream releases
Update all active Go library recipes to their latest releases: - go-md2man: 1.0.10 → 2.0.7 (update GO_IMPORT for v2 module path) - go-cli: 1.1.0 → 2.27.7 (moved to github.com/urfave/cli/v2) - go-connections: 0.2.1 → 0.6.0 - go-dbus: 4.0.0 → 5.2.2 (update GO_IMPORT for v5 module path) - go-distribution: 2.6.0 → 3.0.0 (repo moved to distribution/distribution) - go-fsnotify: 1.5.1 → 1.9.0 - go-logrus: 0.11.0 → 1.9.4 - go-mux: unversioned → 1.8.1 - go-patricia: 2.2.6 → 2.3.3 - go-systemd: 4 → 22.7.0 (update GO_IMPORT for v22 module path) - grpc-go: 1.59.0 → 1.79.3 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-devtools/go/go-cli_git.bb14
-rw-r--r--recipes-devtools/go/go-connections_git.bb6
-rw-r--r--recipes-devtools/go/go-dbus_git.bb8
-rw-r--r--recipes-devtools/go/go-distribution_git.bb8
-rw-r--r--recipes-devtools/go/go-fsnotify_git.bb6
-rw-r--r--recipes-devtools/go/go-logrus_git.bb5
-rw-r--r--recipes-devtools/go/go-md2man_git.bb19
-rw-r--r--recipes-devtools/go/go-mux_git.bb3
-rw-r--r--recipes-devtools/go/go-patricia_git.bb4
-rw-r--r--recipes-devtools/go/go-systemd_git.bb8
-rw-r--r--recipes-devtools/go/grpc-go_git.bb6
11 files changed, 48 insertions, 39 deletions
diff --git a/recipes-devtools/go/go-cli_git.bb b/recipes-devtools/go/go-cli_git.bb
index a7cda644..803cbe17 100644
--- a/recipes-devtools/go/go-cli_git.bb
+++ b/recipes-devtools/go/go-cli_git.bb
@@ -2,18 +2,22 @@ DESCRIPTION = "A small package for building command line apps in Go"
2HOMEPAGE = "https://github.com/codegangsta/cli" 2HOMEPAGE = "https://github.com/codegangsta/cli"
3SECTION = "devel/go" 3SECTION = "devel/go"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=ed9b539ed65d73926f30ff1f1587dc44" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=51992c80b05795f59c22028d39f9b74c"
6 6
7SRCNAME = "cli" 7SRCNAME = "cli"
8 8
9PKG_NAME = "github.com/codegangsta/${SRCNAME}" 9PKG_NAME = "github.com/urfave/${SRCNAME}/v2"
10SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https" 10SRC_URI = "git://github.com/urfave/${SRCNAME}.git;branch=v2-maint;protocol=https"
11 11
12SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e" 12SRCREV = "19b951ab78929023a9a670722b26ffb1d67c733a"
13PV = "1.1.0+git" 13PV = "2.27.7+git"
14 14
15inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
16 16
17# Source-only package, no compilation needed
18do_compile[noexec] = "1"
19do_configure[noexec] = "1"
20
17do_install() { 21do_install() {
18 install -d ${D}${prefix}/local/go/src/${PKG_NAME} 22 install -d ${D}${prefix}/local/go/src/${PKG_NAME}
19 cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ 23 cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
diff --git a/recipes-devtools/go/go-connections_git.bb b/recipes-devtools/go/go-connections_git.bb
index 5f22fdc6..7877cbc8 100644
--- a/recipes-devtools/go/go-connections_git.bb
+++ b/recipes-devtools/go/go-connections_git.bb
@@ -7,10 +7,10 @@ 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=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=master;protocol=https" 10SRC_URI = "git://${PKG_NAME}.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};branch=main;protocol=https"
11 11
12SRCREV = "4ccf312bf1d35e5dbda654e57a9be4c3f3cd0366" 12SRCREV = "42faf792bde28c414a060127d6351769408a675f"
13PV = "0.2.1+git" 13PV = "0.6.0+git"
14 14
15inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
16 16
diff --git a/recipes-devtools/go/go-dbus_git.bb b/recipes-devtools/go/go-dbus_git.bb
index 652e7c43..11737aa6 100644
--- a/recipes-devtools/go/go-dbus_git.bb
+++ b/recipes-devtools/go/go-dbus_git.bb
@@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09042bd5c6c96a2b9e45ddf1bc517eed"
6 6
7SRCNAME = "dbus" 7SRCNAME = "dbus"
8 8
9PKG_NAME = "github.com/godbus/${SRCNAME}" 9PKG_NAME = "github.com/godbus/${SRCNAME}/v5"
10SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" 10SRC_URI = "git://github.com/godbus/${SRCNAME}.git;branch=master;protocol=https"
11 11
12SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3" 12SRCREV = "a8ac15ba63645f02ffd57f4b443203279ab40b30"
13PV = "4.0.0+git" 13PV = "5.2.2+git"
14 14
15inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
16 16
diff --git a/recipes-devtools/go/go-distribution_git.bb b/recipes-devtools/go/go-distribution_git.bb
index 14494ad5..57b87f76 100644
--- a/recipes-devtools/go/go-distribution_git.bb
+++ b/recipes-devtools/go/go-distribution_git.bb
@@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=d2794c0df5b907fdace235a61
6 6
7SRCNAME = "distribution" 7SRCNAME = "distribution"
8 8
9PKG_NAME = "github.com/docker/${SRCNAME}" 9PKG_NAME = "github.com/distribution/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME}.git;branch=docker/1.13;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};protocol=https" 10SRC_URI = "git://${PKG_NAME}.git;branch=main;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/${PKG_NAME};protocol=https"
11 11
12SRCREV = "28602af35aceda2f8d571bad7ca37a54cf0250bc" 12SRCREV = "678b095af9c9be2a769da308daa76de583240f9b"
13PV = "2.6.0+git" 13PV = "3.0.0+git"
14 14
15inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
16 16
diff --git a/recipes-devtools/go/go-fsnotify_git.bb b/recipes-devtools/go/go-fsnotify_git.bb
index 72450290..6c551db9 100644
--- a/recipes-devtools/go/go-fsnotify_git.bb
+++ b/recipes-devtools/go/go-fsnotify_git.bb
@@ -2,15 +2,15 @@ DESCRIPTION = "A golang registry for global request variables."
2HOMEPAGE = "https://github.com/go-fsnotify/fsnotify" 2HOMEPAGE = "https://github.com/go-fsnotify/fsnotify"
3SECTION = "devel/go" 3SECTION = "devel/go"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=68f2948d3c4943313d07e084a362486c" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=8bae8b116e2cfd723492b02d9a212fe2"
6 6
7SRCNAME = "fsnotify" 7SRCNAME = "fsnotify"
8 8
9PKG_NAME = "github.com/fsnotify/${SRCNAME}" 9PKG_NAME = "github.com/fsnotify/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https" 10SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
11 11
12SRCREV = "af855d7e6014ec848882bb2ed7d40d536872d275" 12SRCREV = "ae0e7923765f64fb8061396db7edebb558cf6093"
13PV = "v1.5.1+git" 13PV = "1.9.0+git"
14 14
15inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
16 16
diff --git a/recipes-devtools/go/go-logrus_git.bb b/recipes-devtools/go/go-logrus_git.bb
index aeb23a2b..7b9e31a5 100644
--- a/recipes-devtools/go/go-logrus_git.bb
+++ b/recipes-devtools/go/go-logrus_git.bb
@@ -9,14 +9,15 @@ SRCNAME = "logrus"
9PKG_NAME = "github.com/sirupsen/${SRCNAME}" 9PKG_NAME = "github.com/sirupsen/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME};branch=master;protocol=https" 10SRC_URI = "git://${PKG_NAME};branch=master;protocol=https"
11 11
12SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb" 12SRCREV = "a29884b9be3dc22c18338c0fe5a51d23e69731e4"
13PV = "0.11.0+git" 13PV = "1.9.4+git"
14 14
15inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
16 16
17do_install() { 17do_install() {
18 install -d ${D}${prefix}/local/go/src/${PKG_NAME} 18 install -d ${D}${prefix}/local/go/src/${PKG_NAME}
19 cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ 19 cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
20 rm -rf ${D}${prefix}/local/go/src/${PKG_NAME}/travis
20} 21}
21 22
22SYSROOT_PREPROCESS_FUNCS += "go_logrus_sysroot_preprocess" 23SYSROOT_PREPROCESS_FUNCS += "go_logrus_sysroot_preprocess"
diff --git a/recipes-devtools/go/go-md2man_git.bb b/recipes-devtools/go/go-md2man_git.bb
index 720eac63..8f089473 100644
--- a/recipes-devtools/go/go-md2man_git.bb
+++ b/recipes-devtools/go/go-md2man_git.bb
@@ -6,16 +6,19 @@ LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE.md;md5=80794f9009df723bbc6fe
6 6
7BBCLASSEXTEND = "native" 7BBCLASSEXTEND = "native"
8 8
9GO_IMPORT = "github.com/cpuguy83/go-md2man" 9GO_IMPORT = "github.com/cpuguy83/go-md2man/v2"
10#GO_INSTALL = "${GO_IMPORT}/bin/go-md2man" 10GO_INSTALL = "${GO_IMPORT}/..."
11 11
12SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}" 12SRC_URI = "git://github.com/cpuguy83/go-md2man.git;branch=master;protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IMPORT} \
13 gomod://github.com/russross/blackfriday/v2;version=v2.1.0;sha256sum=7852750d58a053ce38b01f2c203208817564f552ebf371b2b630081d7004c6ae \
14 "
13 15
14SRCREV = "f79a8a8ca69da163eee19ab442bedad7a35bba5a" 16SRCREV = "061b6c7cbecd6752049221aa15b7a05160796698"
15PV = "1.0.10+git" 17PV = "2.0.7+git"
16 18
17inherit go 19inherit go-mod
18 20
19do_compile:prepend() { 21do_compile() {
20 export GO111MODULE=off 22 cd ${B}/src/${GO_IMPORT}
23 ${GO} install ${GOBUILDFLAGS} ./...
21} 24}
diff --git a/recipes-devtools/go/go-mux_git.bb b/recipes-devtools/go/go-mux_git.bb
index 5f158aa2..e1e0e7ef 100644
--- a/recipes-devtools/go/go-mux_git.bb
+++ b/recipes-devtools/go/go-mux_git.bb
@@ -9,7 +9,8 @@ SRCNAME = "mux"
9PKG_NAME = "github.com/gorilla/${SRCNAME}" 9PKG_NAME = "github.com/gorilla/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https" 10SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https"
11 11
12SRCREV = "85123bf20e069b156415b871dea10517f6a8938a" 12SRCREV = "b4617d0b9670ad14039b2739167fd35a60f557c5"
13PV = "1.8.1+git"
13 14
14inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
15 16
diff --git a/recipes-devtools/go/go-patricia_git.bb b/recipes-devtools/go/go-patricia_git.bb
index 4880c509..1f02f4c0 100644
--- a/recipes-devtools/go/go-patricia_git.bb
+++ b/recipes-devtools/go/go-patricia_git.bb
@@ -9,8 +9,8 @@ SRCNAME = "go-patricia"
9PKG_NAME = "github.com/tchap/${SRCNAME}" 9PKG_NAME = "github.com/tchap/${SRCNAME}"
10SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" 10SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https"
11 11
12SRCREV = "666120de432aea38ab06bd5c818f04f4129882c9" 12SRCREV = "8c5d7fa2ef98ad77bfbd2d2c3d67d4d17db0093a"
13PV = "2.2.6+git" 13PV = "2.3.3+git"
14 14
15inherit meta-virt-depreciated-warning 15inherit meta-virt-depreciated-warning
16 16
diff --git a/recipes-devtools/go/go-systemd_git.bb b/recipes-devtools/go/go-systemd_git.bb
index d147889c..49d60f0b 100644
--- a/recipes-devtools/go/go-systemd_git.bb
+++ b/recipes-devtools/go/go-systemd_git.bb
@@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=19cbd64715b51267a47bf3750cc6a8a5"
6 6
7SRCNAME = "systemd" 7SRCNAME = "systemd"
8 8
9PKG_NAME = "github.com/coreos/go-${SRCNAME}" 9PKG_NAME = "github.com/coreos/go-${SRCNAME}/v22"
10SRC_URI = "git://${PKG_NAME}.git;branch=main;protocol=https" 10SRC_URI = "git://github.com/coreos/go-${SRCNAME}.git;branch=main;protocol=https"
11 11
12SRCREV = "b4a58d95188dd092ae20072bac14cece0e67c388" 12SRCREV = "4dc4ee60b8394d431f19a3c599040ef758884a27"
13PV = "4+git" 13PV = "22.7.0+git"
14 14
15RDEPENDS:${PN} += "bash" 15RDEPENDS:${PN} += "bash"
16 16
diff --git a/recipes-devtools/go/grpc-go_git.bb b/recipes-devtools/go/grpc-go_git.bb
index c2990869..2b5894d3 100644
--- a/recipes-devtools/go/grpc-go_git.bb
+++ b/recipes-devtools/go/grpc-go_git.bb
@@ -7,10 +7,10 @@ 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=${BB_GIT_DEFAULT_DESTSUFFIX}/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};nobranch=1;protocol=https"
11 11
12SRCREV = "7765221f4bf6104973db7946d56936cf838cad46" 12SRCREV = "dda86dbd9cecb8b35b58c73d507d81d67761205f"
13PV = "1.59.0+git" 13PV = "1.79.3+git"
14 14
15# 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.
16do_compile() { 16do_compile() {