Skip to contentSkip to conversation

recipes: update SRC_URI branch and protocols

PATCH In review Yi Zhao 2 participants 2 messages Nov 5, 2021

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 recipes: update SRC_URI branch and protocols

Update SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls.

---
 meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb | 2 +-
 .../cluster-resource-agents/resource-agents_4.5.0.bb            | 2 +-
 meta-cgl-common/recipes-cgl/crmsh/crmsh_4.3.1.bb                | 2 +-
 meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.6.bb    | 2 +-
 meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb        | 2 +-
 meta-cgl-common/recipes-cgl/racoon2/racoon2_202003018.bb        | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb +1 -1
index 9221f06..acd3149 100644
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b70d30a00a451e19d7449d7465d02601 \
 DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux net-snmp openhpi"
 
 SRC_URI = " \
-    git://github.com/ClusterLabs/${BPN}.git \
+    git://github.com/ClusterLabs/${BPN}.git;branch=master;protocol=https \
     file://0001-don-t-compile-doc-and-Error-Fix.patch \
     file://0001-ribcl.py.in-Warning-Fix.patch \
     file://0001-Update-for-python3.patch \
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0.bb +1 -1
index bd906b2..261681c 100644
@@ -14,7 +14,7 @@ LICENSE:${PN}-extra = "GPLv3"
 LICENSE:${PN}-extra-dbg = "GPLv3"
 LICENSE:ldirectord = "GPLv2+"
 
-SRC_URI = "git://github.com/ClusterLabs/resource-agents \
+SRC_URI = "git://github.com/ClusterLabs/resource-agents;branch=master;protocol=https \
            file://01-disable-doc-build.patch \
            file://02-set-OCF_ROOT_DIR-to-libdir-ocf.patch \
            file://03-fix-header-defs-lookup.patch \
meta-cgl-common/recipes-cgl/crmsh/crmsh_4.3.1.bb +1 -1
index 531a053..43393d8 100644
@@ -13,7 +13,7 @@ DEPENDS = "asciidoc-native \
 RDEPENDS:${PN} = "pacemaker python3-lxml python3-parallax gawk bash python3-doctest"
 
 S = "${WORKDIR}/git"
-SRC_URI = "git://github.com/ClusterLabs/${BPN}.git \
+SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=master;protocol=https \
            file://tweaks_for_build.patch \
            file://0001-orderedset.py-fix-deprecation-on-collections.Mutable.patch \
           "
meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.6.bb +1 -1
index fa38006..7c32c54 100644
@@ -12,7 +12,7 @@ SECTION = "System Environment/Base"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8ef380476f642c20ebf40fecb0add2ec"
 
-SRC_URI = "git://github.com/markfasheh/ocfs2-tools \
+SRC_URI = "git://github.com/markfasheh/ocfs2-tools;branch=master;protocol=https \
     file://0003-vendor-common-o2cb.ocf-add-new-conf-file.patch \
     file://ocfs2-tools-1.8.5-format-fortify.patch \
     file://no-redhat.patch \
meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb +1 -1
index c86c282..006ed9b 100644
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=000212f361a81b100d9d0f0435040663"
 
 DEPENDS = "corosync libxslt libxml2 gnutls resource-agents libqb python3-native"
 
-SRC_URI = "git://github.com/ClusterLabs/${BPN}.git \
+SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=master;protocol=https \
            file://0001-Fix-python3-usage.patch \
            file://0001-pacemaker-set-OCF_ROOT_DIR-to-libdir-ocf.patch \
            file://volatiles \
meta-cgl-common/recipes-cgl/racoon2/racoon2_202003018.bb +1 -1
index 4c7c080..0388afe 100644
@@ -13,7 +13,7 @@ RDEPENDS:${PN} += "perl"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=99a60756441098855c538fe86f859afe"
 
-SRC_URI = "git://github.com/zoulasc/racoon2 \
+SRC_URI = "git://github.com/zoulasc/racoon2;branch=master;protocol=https \
            file://0001-Add-DESTDIR-to-install-commands.patch \
            file://0002-Enable-turning-of-kinkd-and-iked.patch \
            file://0003-Replace-perl_bindir-with-usr-bin-env-perl.patch \
Signature · 1 line
2.25.1
#1 lore raw

Merged.

Quoted 91 lines · Yi Zhao

Update SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls.

---
  meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb | 2 +-
  .../cluster-resource-agents/resource-agents_4.5.0.bb            | 2 +-
  meta-cgl-common/recipes-cgl/crmsh/crmsh_4.3.1.bb                | 2 +-
  meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.6.bb    | 2 +-
  meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb        | 2 +-
  meta-cgl-common/recipes-cgl/racoon2/racoon2_202003018.bb        | 2 +-
  6 files changed, 6 insertions(+), 6 deletions(-)
meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb +1 -1
index 9221f06..acd3149 100644
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b70d30a00a451e19d7449d7465d02601 \
  DEPENDS = "libxml2 libtool glib-2.0 bzip2 util-linux net-snmp openhpi"
 
  SRC_URI = " \
-    git://github.com/ClusterLabs/${BPN}.git \
+    git://github.com/ClusterLabs/${BPN}.git;branch=master;protocol=https \
      file://0001-don-t-compile-doc-and-Error-Fix.patch \
      file://0001-ribcl.py.in-Warning-Fix.patch \
      file://0001-Update-for-python3.patch \
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0.bb +1 -1
index bd906b2..261681c 100644
@@ -14,7 +14,7 @@ LICENSE:${PN}-extra = "GPLv3"
  LICENSE:${PN}-extra-dbg = "GPLv3"
  LICENSE:ldirectord = "GPLv2+"
 
-SRC_URI = "git://github.com/ClusterLabs/resource-agents \
+SRC_URI = "git://github.com/ClusterLabs/resource-agents;branch=master;protocol=https \
             file://01-disable-doc-build.patch \
             file://02-set-OCF_ROOT_DIR-to-libdir-ocf.patch \
             file://03-fix-header-defs-lookup.patch \
meta-cgl-common/recipes-cgl/crmsh/crmsh_4.3.1.bb +1 -1
index 531a053..43393d8 100644
@@ -13,7 +13,7 @@ DEPENDS = "asciidoc-native \
  RDEPENDS:${PN} = "pacemaker python3-lxml python3-parallax gawk bash python3-doctest"
 
  S = "${WORKDIR}/git"
-SRC_URI = "git://github.com/ClusterLabs/${BPN}.git \
+SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=master;protocol=https \
             file://tweaks_for_build.patch \
             file://0001-orderedset.py-fix-deprecation-on-collections.Mutable.patch \
            "
meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.6.bb +1 -1
index fa38006..7c32c54 100644
@@ -12,7 +12,7 @@ SECTION = "System Environment/Base"
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM = "file://COPYING;md5=8ef380476f642c20ebf40fecb0add2ec"
 
-SRC_URI = "git://github.com/markfasheh/ocfs2-tools \
+SRC_URI = "git://github.com/markfasheh/ocfs2-tools;branch=master;protocol=https \
      file://0003-vendor-common-o2cb.ocf-add-new-conf-file.patch \
      file://ocfs2-tools-1.8.5-format-fortify.patch \
      file://no-redhat.patch \
meta-cgl-common/recipes-cgl/pacemaker/pacemaker_2.0.5.bb +1 -1
index c86c282..006ed9b 100644
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=000212f361a81b100d9d0f0435040663"
 
  DEPENDS = "corosync libxslt libxml2 gnutls resource-agents libqb python3-native"
 
-SRC_URI = "git://github.com/ClusterLabs/${BPN}.git \
+SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=master;protocol=https \
             file://0001-Fix-python3-usage.patch \
             file://0001-pacemaker-set-OCF_ROOT_DIR-to-libdir-ocf.patch \
             file://volatiles \
meta-cgl-common/recipes-cgl/racoon2/racoon2_202003018.bb +1 -1
index 4c7c080..0388afe 100644
@@ -13,7 +13,7 @@ RDEPENDS:${PN} += "perl"
  LICENSE = "BSD-3-Clause"
  LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=99a60756441098855c538fe86f859afe"
 
-SRC_URI = "git://github.com/zoulasc/racoon2 \
+SRC_URI = "git://github.com/zoulasc/racoon2;branch=master;protocol=https \
             file://0001-Add-DESTDIR-to-install-commands.patch \
             file://0002-Enable-turning-of-kinkd-and-iked.patch \
             file://0003-Replace-perl_bindir-with-usr-bin-env-perl.patch \