diff options
| author | Steve Sakoman <steve@sakoman.com> | 2021-11-02 04:45:10 -1000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-11 10:54:32 +0000 |
| commit | 07be05c69896b6d9f4da4b3ba122a1668c8c1200 (patch) | |
| tree | 9774f6d61564d917c78f33faf08386a776b9daf7 /meta/recipes-core | |
| parent | afe0ef0a074b23fc5f1c39ed7fd345f7b75973c7 (diff) | |
| download | poky-07be05c69896b6d9f4da4b3ba122a1668c8c1200.tar.gz | |
meta: Add explict branch to git SRC_URIs, handle github url changes
This update was made with the convert-scruri.py script in scripts/contrib
This script handles two emerging issues:
1. There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.
2. Github are dropping support for git:// protocol fetching, so remap github
urls as needed. For more details see:
https://github.blog/2021-09-01-improving-git-protocol-security-github/
(From OE-Core rev: 827a805349f9732b2a5fa9184dc7922af36de327)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
| -rw-r--r-- | meta/recipes-core/dbus-wait/dbus-wait_git.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-core/expat/expat_2.2.9.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-core/fts/fts_1.2.7.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-core/glibc/cross-localedef-native_2.31.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-core/glibc/glibc-version.inc | 2 | ||||
| -rw-r--r-- | meta/recipes-core/ifupdown/ifupdown_0.8.35.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-core/libxcrypt/libxcrypt.inc | 2 | ||||
| -rw-r--r-- | meta/recipes-core/musl/libucontext_git.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-core/musl/musl-obstack.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-core/musl/musl-utils.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-core/musl/musl_git.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-core/ncurses/ncurses.inc | 2 | ||||
| -rw-r--r-- | meta/recipes-core/psplash/psplash_git.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-core/systemd/systemd.inc | 2 | ||||
| -rw-r--r-- | meta/recipes-core/update-rc.d/update-rc.d_0.8.bb | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/meta/recipes-core/dbus-wait/dbus-wait_git.bb b/meta/recipes-core/dbus-wait/dbus-wait_git.bb index 677768d35a..b39f7523c0 100644 --- a/meta/recipes-core/dbus-wait/dbus-wait_git.bb +++ b/meta/recipes-core/dbus-wait/dbus-wait_git.bb | |||
| @@ -11,7 +11,7 @@ SRCREV = "6cc6077a36fe2648a5f993fe7c16c9632f946517" | |||
| 11 | PV = "0.1+git${SRCPV}" | 11 | PV = "0.1+git${SRCPV}" |
| 12 | PR = "r2" | 12 | PR = "r2" |
| 13 | 13 | ||
| 14 | SRC_URI = "git://git.yoctoproject.org/${BPN}" | 14 | SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master" |
| 15 | UPSTREAM_CHECK_COMMITS = "1" | 15 | UPSTREAM_CHECK_COMMITS = "1" |
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
diff --git a/meta/recipes-core/expat/expat_2.2.9.bb b/meta/recipes-core/expat/expat_2.2.9.bb index cd38df91d9..a2df7ac492 100644 --- a/meta/recipes-core/expat/expat_2.2.9.bb +++ b/meta/recipes-core/expat/expat_2.2.9.bb | |||
| @@ -6,7 +6,7 @@ LICENSE = "MIT" | |||
| 6 | 6 | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5b8620d98e49772d95fc1d291c26aa79" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5b8620d98e49772d95fc1d291c26aa79" |
| 8 | 8 | ||
| 9 | SRC_URI = "git://github.com/libexpat/libexpat.git;protocol=https \ | 9 | SRC_URI = "git://github.com/libexpat/libexpat.git;protocol=https;branch=master \ |
| 10 | file://CVE-2013-0340.patch \ | 10 | file://CVE-2013-0340.patch \ |
| 11 | file://libtool-tag.patch \ | 11 | file://libtool-tag.patch \ |
| 12 | " | 12 | " |
diff --git a/meta/recipes-core/fts/fts_1.2.7.bb b/meta/recipes-core/fts/fts_1.2.7.bb index ea820cb0c3..d3b0f31eda 100644 --- a/meta/recipes-core/fts/fts_1.2.7.bb +++ b/meta/recipes-core/fts/fts_1.2.7.bb | |||
| @@ -10,7 +10,7 @@ SECTION = "libs" | |||
| 10 | 10 | ||
| 11 | SRCREV = "0bde52df588e8969879a2cae51c3a4774ec62472" | 11 | SRCREV = "0bde52df588e8969879a2cae51c3a4774ec62472" |
| 12 | 12 | ||
| 13 | SRC_URI = "git://github.com/pullmoll/musl-fts.git" | 13 | SRC_URI = "git://github.com/pullmoll/musl-fts.git;branch=master;protocol=https" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
| 16 | 16 | ||
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.31.bb b/meta/recipes-core/glibc/cross-localedef-native_2.31.bb index 24de55d929..9aa24eccfe 100644 --- a/meta/recipes-core/glibc/cross-localedef-native_2.31.bb +++ b/meta/recipes-core/glibc/cross-localedef-native_2.31.bb | |||
| @@ -20,7 +20,7 @@ inherit autotools | |||
| 20 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:" | 20 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:" |
| 21 | 21 | ||
| 22 | SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ | 22 | SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ |
| 23 | git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \ | 23 | git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef;protocol=https \ |
| 24 | \ | 24 | \ |
| 25 | file://0001-localedef-Add-hardlink-resolver-to-build.patch;patchdir=localedef \ | 25 | file://0001-localedef-Add-hardlink-resolver-to-build.patch;patchdir=localedef \ |
| 26 | \ | 26 | \ |
diff --git a/meta/recipes-core/glibc/glibc-version.inc b/meta/recipes-core/glibc/glibc-version.inc index aac0d9b3bf..dd6f0039c7 100644 --- a/meta/recipes-core/glibc/glibc-version.inc +++ b/meta/recipes-core/glibc/glibc-version.inc | |||
| @@ -3,6 +3,6 @@ PV = "2.31+git${SRCPV}" | |||
| 3 | SRCREV_glibc ?= "4f0a61f75385c9a5879cbe7202042e88f692a3c8" | 3 | SRCREV_glibc ?= "4f0a61f75385c9a5879cbe7202042e88f692a3c8" |
| 4 | SRCREV_localedef ?= "cd9f958c4c94a638fa7b2b4e21627364f1a1a655" | 4 | SRCREV_localedef ?= "cd9f958c4c94a638fa7b2b4e21627364f1a1a655" |
| 5 | 5 | ||
| 6 | GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" | 6 | GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;branch=master" |
| 7 | 7 | ||
| 8 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.(?!90)\d+)*)" | 8 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.(?!90)\d+)*)" |
diff --git a/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb b/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb index 16807eb675..c3681defdc 100644 --- a/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb +++ b/meta/recipes-core/ifupdown/ifupdown_0.8.35.bb | |||
| @@ -7,7 +7,7 @@ the file /etc/network/interfaces." | |||
| 7 | LICENSE = "GPLv2" | 7 | LICENSE = "GPLv2" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 9 | 9 | ||
| 10 | SRC_URI = "git://salsa.debian.org/debian/ifupdown.git;protocol=https \ | 10 | SRC_URI = "git://salsa.debian.org/debian/ifupdown.git;protocol=https;branch=master \ |
| 11 | file://defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch \ | 11 | file://defn2-c-man-don-t-rely-on-dpkg-architecture-to-set-a.patch \ |
| 12 | file://99_network \ | 12 | file://99_network \ |
| 13 | file://0001-Define-FNM_EXTMATCH-for-musl.patch \ | 13 | file://0001-Define-FNM_EXTMATCH-for-musl.patch \ |
diff --git a/meta/recipes-core/libxcrypt/libxcrypt.inc b/meta/recipes-core/libxcrypt/libxcrypt.inc index 2d2a0b03e3..b6bf48ba79 100644 --- a/meta/recipes-core/libxcrypt/libxcrypt.inc +++ b/meta/recipes-core/libxcrypt/libxcrypt.inc | |||
| @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM ?= "file://LICENSING;md5=3bb6614cf5880cbf1b9dbd9e3d145e2c \ | |||
| 9 | 9 | ||
| 10 | inherit autotools pkgconfig | 10 | inherit autotools pkgconfig |
| 11 | 11 | ||
| 12 | SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH}" | 12 | SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH};protocol=https" |
| 13 | SRCREV = "823437d015cd4ab4d100ed205f218681b03ae45c" | 13 | SRCREV = "823437d015cd4ab4d100ed205f218681b03ae45c" |
| 14 | SRCBRANCH ?= "develop" | 14 | SRCBRANCH ?= "develop" |
| 15 | 15 | ||
diff --git a/meta/recipes-core/musl/libucontext_git.bb b/meta/recipes-core/musl/libucontext_git.bb index ec988f1920..71beb80083 100644 --- a/meta/recipes-core/musl/libucontext_git.bb +++ b/meta/recipes-core/musl/libucontext_git.bb | |||
| @@ -10,7 +10,7 @@ DEPENDS = "" | |||
| 10 | 10 | ||
| 11 | PV = "0.10+${SRCPV}" | 11 | PV = "0.10+${SRCPV}" |
| 12 | SRCREV = "19fa1bbfc26efb92147b5e85cc0ca02a0e837561" | 12 | SRCREV = "19fa1bbfc26efb92147b5e85cc0ca02a0e837561" |
| 13 | SRC_URI = "git://github.com/kaniini/libucontext \ | 13 | SRC_URI = "git://github.com/kaniini/libucontext;branch=master;protocol=https \ |
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
diff --git a/meta/recipes-core/musl/musl-obstack.bb b/meta/recipes-core/musl/musl-obstack.bb index 3003935fe5..74de48c2cd 100644 --- a/meta/recipes-core/musl/musl-obstack.bb +++ b/meta/recipes-core/musl/musl-obstack.bb | |||
| @@ -10,7 +10,7 @@ SECTION = "libs" | |||
| 10 | 10 | ||
| 11 | PV = "1.1" | 11 | PV = "1.1" |
| 12 | SRCREV = "d2ad66b0df44a4b784956f7f7f2717131ddc05f4" | 12 | SRCREV = "d2ad66b0df44a4b784956f7f7f2717131ddc05f4" |
| 13 | SRC_URI = "git://github.com/pullmoll/musl-obstack" | 13 | SRC_URI = "git://github.com/pullmoll/musl-obstack;branch=master;protocol=https" |
| 14 | 14 | ||
| 15 | UPSTREAM_CHECK_COMMITS = "1" | 15 | UPSTREAM_CHECK_COMMITS = "1" |
| 16 | 16 | ||
diff --git a/meta/recipes-core/musl/musl-utils.bb b/meta/recipes-core/musl/musl-utils.bb index dd0ce33061..c30509469c 100644 --- a/meta/recipes-core/musl/musl-utils.bb +++ b/meta/recipes-core/musl/musl-utils.bb | |||
| @@ -11,7 +11,7 @@ SECTION = "utils" | |||
| 11 | PV = "20170421" | 11 | PV = "20170421" |
| 12 | 12 | ||
| 13 | SRCREV = "fb5630138ccabbbc14a19d372096a04e42573c7d" | 13 | SRCREV = "fb5630138ccabbbc14a19d372096a04e42573c7d" |
| 14 | SRC_URI = "git://github.com/boltlinux/musl-utils" | 14 | SRC_URI = "git://github.com/boltlinux/musl-utils;branch=master;protocol=https" |
| 15 | 15 | ||
| 16 | UPSTREAM_CHECK_COMMITS = "1" | 16 | UPSTREAM_CHECK_COMMITS = "1" |
| 17 | 17 | ||
diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 82379fd1c5..cbb56f4769 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb | |||
| @@ -12,7 +12,7 @@ PV = "${BASEVER}+git${SRCPV}" | |||
| 12 | 12 | ||
| 13 | # mirror is at git://github.com/kraj/musl.git | 13 | # mirror is at git://github.com/kraj/musl.git |
| 14 | 14 | ||
| 15 | SRC_URI = "git://git.musl-libc.org/musl \ | 15 | SRC_URI = "git://git.musl-libc.org/musl;branch=master \ |
| 16 | file://0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch \ | 16 | file://0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch \ |
| 17 | file://0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch \ | 17 | file://0002-ldso-Use-syslibdir-and-libdir-as-default-pathes-to-l.patch \ |
| 18 | " | 18 | " |
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index 7f1834f0dc..ee0b15ecf0 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc | |||
| @@ -13,7 +13,7 @@ BINCONFIG = "${bindir}/ncurses5-config ${bindir}/ncursesw5-config \ | |||
| 13 | inherit autotools binconfig-disabled multilib_header pkgconfig | 13 | inherit autotools binconfig-disabled multilib_header pkgconfig |
| 14 | 14 | ||
| 15 | # Upstream has useful patches at times at ftp://invisible-island.net/ncurses/ | 15 | # Upstream has useful patches at times at ftp://invisible-island.net/ncurses/ |
| 16 | SRC_URI = "git://salsa.debian.org/debian/ncurses.git;protocol=https" | 16 | SRC_URI = "git://salsa.debian.org/debian/ncurses.git;protocol=https;branch=master" |
| 17 | 17 | ||
| 18 | EXTRA_AUTORECONF = "-I m4" | 18 | EXTRA_AUTORECONF = "-I m4" |
| 19 | 19 | ||
diff --git a/meta/recipes-core/psplash/psplash_git.bb b/meta/recipes-core/psplash/psplash_git.bb index 22c71f099b..b2947c2114 100644 --- a/meta/recipes-core/psplash/psplash_git.bb +++ b/meta/recipes-core/psplash/psplash_git.bb | |||
| @@ -10,7 +10,7 @@ SRCREV = "0a902f7cd875ccf018456451be369f05fa55f962" | |||
| 10 | PV = "0.1+git${SRCPV}" | 10 | PV = "0.1+git${SRCPV}" |
| 11 | PR = "r15" | 11 | PR = "r15" |
| 12 | 12 | ||
| 13 | SRC_URI = "git://git.yoctoproject.org/${BPN} \ | 13 | SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master \ |
| 14 | file://psplash-init \ | 14 | file://psplash-init \ |
| 15 | file://psplash-start.service \ | 15 | file://psplash-start.service \ |
| 16 | file://psplash-systemd.service \ | 16 | file://psplash-systemd.service \ |
diff --git a/meta/recipes-core/systemd/systemd.inc b/meta/recipes-core/systemd/systemd.inc index 3165d13f03..8b5260bb0d 100644 --- a/meta/recipes-core/systemd/systemd.inc +++ b/meta/recipes-core/systemd/systemd.inc | |||
| @@ -16,6 +16,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ | |||
| 16 | 16 | ||
| 17 | SRCREV = "3ceaa81c61b654ebf562464d142675bd4d57d7b6" | 17 | SRCREV = "3ceaa81c61b654ebf562464d142675bd4d57d7b6" |
| 18 | SRCBRANCH = "v244-stable" | 18 | SRCBRANCH = "v244-stable" |
| 19 | SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=git;branch=${SRCBRANCH}" | 19 | SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH}" |
| 20 | 20 | ||
| 21 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
diff --git a/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb b/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb index da716674c3..daee5c224b 100644 --- a/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb +++ b/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb | |||
| @@ -6,7 +6,7 @@ SECTION = "base" | |||
| 6 | LICENSE = "GPLv2+" | 6 | LICENSE = "GPLv2+" |
| 7 | LIC_FILES_CHKSUM = "file://update-rc.d;beginline=5;endline=15;md5=d40a07c27f535425934bb5001f2037d9" | 7 | LIC_FILES_CHKSUM = "file://update-rc.d;beginline=5;endline=15;md5=d40a07c27f535425934bb5001f2037d9" |
| 8 | 8 | ||
| 9 | SRC_URI = "git://git.yoctoproject.org/update-rc.d" | 9 | SRC_URI = "git://git.yoctoproject.org/update-rc.d;branch=master" |
| 10 | SRCREV = "8636cf478d426b568c1be11dbd9346f67e03adac" | 10 | SRCREV = "8636cf478d426b568c1be11dbd9346f67e03adac" |
| 11 | 11 | ||
| 12 | UPSTREAM_CHECK_COMMITS = "1" | 12 | UPSTREAM_CHECK_COMMITS = "1" |
