Skip to contentSkip to conversation

recipes: Update SRC_URI branch and protocols

PATCH New Armin Kuster 1 participant 1 message Nov 7, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipes: Update SRC_URI branch and protocols

This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core.

---
 .../recipes-openscap/oe-scap/oe-scap_1.0.bb                     | 2 +-
 .../recipes-openscap/openscap-daemon/openscap-daemon_0.1.10.bb  | 2 +-
 .../recipes-openscap/openscap/openscap_1.3.3.bb                 | 2 +-
 .../recipes-openscap/openscap/openscap_git.bb                   | 2 +-
 .../scap-security-guide/scap-security-guide_0.1.44.bb           | 2 +-
 .../scap-security-guide/scap-security-guide_git.bb              | 2 +-
 meta-tpm/recipes-tpm/libtpm/libtpm_0.8.2.bb                     | 2 +-
 .../recipes-tpm/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb  | 2 +-
 meta-tpm/recipes-tpm/pcr-extend/pcr-extend_git.bb               | 2 +-
 meta-tpm/recipes-tpm/swtpm/swtpm_0.5.2.bb                       | 2 +-
 meta-tpm/recipes-tpm/tpm-tools/tpm-tools_1.3.9.2.bb             | 2 +-
 meta-tpm/recipes-tpm/trousers/trousers_git.bb                   | 2 +-
 meta-tpm/recipes-tpm2/tpm2-abrmd/tpm2-abrmd_2.4.0.bb            | 2 +-
 meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_1.5.0.bb          | 2 +-
 meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb    | 2 +-
 meta-tpm/recipes-tpm2/tpm2-totp/tpm2-totp_0.3.0.bb              | 2 +-
 meta-tpm/recipes-tpm2/tpm2-tss-engine/tpm2-tss-engine_1.1.0.bb  | 2 +-
 recipes-ids/suricata/python3-suricata-update_1.2.1.bb           | 2 +-
 recipes-ids/tripwire/tripwire_2.4.3.7.bb                        | 2 +-
 recipes-mac/smack/smack_1.3.1.bb                                | 2 +-
 recipes-scanners/checksec/checksec_2.4.0.bb                     | 2 +-
 recipes-scanners/clamav/clamav_0.104.0.bb                       | 2 +-
 recipes-security/fail2ban/python3-fail2ban_0.11.2.bb            | 2 +-
 recipes-security/fscryptctl/fscryptctl_1.0.0.bb                 | 2 +-
 .../google-authenticator-libpam_1.08.bb                         | 2 +-
 recipes-security/libest/libest_3.2.0.bb                         | 2 +-
 recipes-security/libmspack/libmspack_1.9.1.bb                   | 2 +-
 recipes-security/libseccomp/libseccomp_2.5.1.bb                 | 2 +-
 recipes-security/ncrack/ncrack_0.7.bb                           | 2 +-
 recipes-security/nikto/nikto_2.1.6.bb                           | 2 +-
 recipes-security/scapy/python3-scapy_2.4.4.bb                   | 2 +-
 31 files changed, 31 insertions(+), 31 deletions(-)
meta-security-compliance/recipes-openscap/oe-scap/oe-scap_1.0.bb +1 -1
index fd53fcb..d75910d 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://README.md;md5=46dec9f167b6e05986cb4023df6d92f4"
 LICENSE = "MIT"
 
 SRCREV = "7147871d7f37d408c0dd7720ef0fd3ec1b54ad98"
-SRC_URI = "git://github.com/akuster/oe-scap.git"
+SRC_URI = "git://github.com/akuster/oe-scap.git;branch=master;protocol=https"
 SRC_URI += " \
             file://run_cve.sh \
             file://run_test.sh \
meta-security-compliance/recipes-openscap/openscap-daemon/openscap-daemon_0.1.10.bb +1 -1
index a775021..ce1fdd3 100644
@@ -9,7 +9,7 @@ LICENSE = "LGPL-2.1"
 DEPENDS = "python3-dbus"
 
 SRCREV = "f25b16afb6ac761fea13132ff406fba4cdfd2b76"
-SRC_URI = "git://github.com/OpenSCAP/openscap-daemon.git \
+SRC_URI = "git://github.com/OpenSCAP/openscap-daemon.git;branch=master;protocol=https \
            file://0001-Renamed-module-and-variables-to-get-rid-of-async.patch \
           "
 
meta-security-compliance/recipes-openscap/openscap/openscap_1.3.3.bb +1 -1
index 51fa9ee..192b008 100644
@@ -3,7 +3,7 @@ SUMARRY = "NIST Certified SCAP 1.2 toolkit"
 require openscap.inc
 
 SRCREV = "0cb55c55af6be9934d6fd0caf4563b206f289732"
-SRC_URI = "git://github.com/OpenSCAP/openscap.git;branch=maint-1.3 \
+SRC_URI = "git://github.com/OpenSCAP/openscap.git;branch=maint-1.3;protocol=https \
 "
 
 DEFAULT_PREFERENCE = "-1"
meta-security-compliance/recipes-openscap/openscap/openscap_git.bb +1 -1
index 73a4729..a18cbd1 100644
@@ -6,7 +6,7 @@ SUMARRY = "NIST Certified SCAP 1.2 toolkit with OE changes"
 include openscap.inc
 
 SRCREV = "a85943eee400fdbe59234d1c4a02d8cf710c4625"
-SRC_URI = "git://github.com/akuster/openscap.git;branch=oe-1.3 \
+SRC_URI = "git://github.com/akuster/openscap.git;branch=oe-1.3;protocol=https \
 "
 
 PV = "1.3.3+git${SRCPV}"
meta-security-compliance/recipes-openscap/scap-security-guide/scap-security-guide_0.1.44.bb +1 -1
index d80ecd7..ecf136d 100644
@@ -1,7 +1,7 @@
 SUMARRY = "SCAP content for various platforms, upstream version"
 
 SRCREV = "8cb2d0f351faff5440742258782281164953b0a6"
-SRC_URI = "git://github.com/ComplianceAsCode/content.git"
+SRC_URI = "git://github.com/ComplianceAsCode/content.git;branch=master;protocol=https"
 
 DEFAULT_PREFERENCE = "-1"
 
meta-security-compliance/recipes-openscap/scap-security-guide/scap-security-guide_git.bb +1 -1
index 0617c56..8a22c6f 100644
@@ -1,7 +1,7 @@
 SUMARRY = "SCAP content for various platforms, OE changes"
 
 SRCREV = "5fdfdcb2e95afbd86ace555beca5d20cbf1043ed"
-SRC_URI = "git://github.com/akuster/scap-security-guide.git;branch=oe-0.1.44; \
+SRC_URI = "git://github.com/akuster/scap-security-guide.git;branch=oe-0.1.44;protocol=https \
            file://0001-Fix-XML-parsing-of-the-remediation-functions-file.patch \
            file://0002-Fixed-the-broken-fix-when-greedy-regex-ate-the-whole.patch \
            file://0001-fix-deprecated-instance-of-element.getchildren.patch \
meta-tpm/recipes-tpm/libtpm/libtpm_0.8.2.bb +1 -1
index 9784aa1..d2b3997 100644
@@ -3,7 +3,7 @@ LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e73f0786a936da3814896df06ad225a9"
 
 SRCREV = "f66a719eda0b492ea3ec7852421a9d98db0a0621"
-SRC_URI = "git://github.com/stefanberger/libtpms.git;branch=stable-0.8"
+SRC_URI = "git://github.com/stefanberger/libtpms.git;branch=stable-0.8;protocol=https"
 
 PE = "1"
 
meta-tpm/recipes-tpm/openssl-tpm-engine/openssl-tpm-engine_0.5.0.bb +1 -1
index 0f98b79..f55c649 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=11f0ee3af475c85b907426e285c9bb52"
 DEPENDS += "openssl trousers"
 
 SRC_URI = "\
-    git://github.com/mgerstner/openssl_tpm_engine.git \
+    git://github.com/mgerstner/openssl_tpm_engine.git;branch=master;protocol=https \
     file://0001-create-tpm-key-support-well-known-key-option.patch \
     file://0002-libtpm-support-env-TPM_SRK_PW.patch \
     file://0003-tpm-openssl-tpm-engine-parse-an-encrypted-tpm-SRK-pa.patch \
meta-tpm/recipes-tpm/pcr-extend/pcr-extend_git.bb +1 -1
index f8347b7..77f65ae 100644
@@ -9,7 +9,7 @@ DEPENDS = "libtspi"
 PV = "0.1+git${SRCPV}"
 SRCREV = "c02ad8f628b3d99f6d4c087b402fe31a40ee6316"
 
-SRC_URI = "git://github.com/flihp/pcr-extend.git \
+SRC_URI = "git://github.com/flihp/pcr-extend.git;branch=master;protocol=https \
            file://fix_openssl11_build.patch "
 
 inherit autotools
meta-tpm/recipes-tpm/swtpm/swtpm_0.5.2.bb +1 -1
index caf99e8..f12acd2 100644
@@ -10,7 +10,7 @@ DEPENDS = "libtasn1 coreutils-native expect socat glib-2.0 net-tools-native libt
 DEPENDS_append = " tpm-tools-native expect-native socat-native python3-pip-native python3-cryptography-native"
 
 SRCREV = "e59c0c1a7b4c8d652dbb280fd6126895a7057464"
-SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.5 \
+SRC_URI = "git://github.com/stefanberger/swtpm.git;branch=stable-0.5;protocol=https \
            file://ioctl_h.patch \
            file://oe_configure.patch \
            "
meta-tpm/recipes-tpm/tpm-tools/tpm-tools_1.3.9.2.bb +1 -1
index 9e0a686..45f8a6d 100644
@@ -14,7 +14,7 @@ DEPENDS_class-native = "trousers-native"
 
 SRCREV = "bf43837575c5f7d31865562dce7778eae970052e"
 SRC_URI = " \
-    git://git.code.sf.net/p/trousers/tpm-tools \
+    git://git.code.sf.net/p/trousers/tpm-tools;branch=master \
     file://tpm-tools-extendpcr.patch \
     file://04-fix-FTBFS-clang.patch \
     file://openssl1.1_fix.patch \
meta-tpm/recipes-tpm/trousers/trousers_git.bb +1 -1
index 32c9a49..83d3858 100644
@@ -10,7 +10,7 @@ SRCREV = "94144b0a1dcef6e31845d6c319e9bd7357208eb9"
 PV = "0.3.15+git${SRCPV}"
 
 SRC_URI = " \
-	git://git.code.sf.net/p/trousers/trousers \
+	git://git.code.sf.net/p/trousers/trousers;branch=master \
     	file://trousers.init.sh \
     	file://trousers-udev.rules \
     	file://tcsd.service \
meta-tpm/recipes-tpm2/tpm2-abrmd/tpm2-abrmd_2.4.0.bb +1 -1
index edfcce9..9954a8e 100644
@@ -13,7 +13,7 @@ DEPENDS = "autoconf-archive dbus glib-2.0 tpm2-tss glib-2.0-native \
             libtss2 libtss2-mu libtss2-tcti-device libtss2-tcti-mssim"
 
 SRC_URI = "\
-    git://github.com/tpm2-software/tpm2-abrmd.git \
+    git://github.com/tpm2-software/tpm2-abrmd.git;branch=master;protocol=https \
     file://tpm2-abrmd-init.sh \
     file://tpm2-abrmd.default \
 "
meta-tpm/recipes-tpm2/tpm2-pkcs11/tpm2-pkcs11_1.5.0.bb +1 -1
index d53d4fa..c8fd10b 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0fc19f620a102768d6dbd1e7166e78ab"
 
 DEPENDS = "autoconf-archive pkgconfig dstat sqlite3 openssl libtss2-dev tpm2-tools libyaml python3-setuptools-native"
 
-SRC_URI = "git://github.com/tpm2-software/tpm2-pkcs11.git;branch=1.X \
+SRC_URI = "git://github.com/tpm2-software/tpm2-pkcs11.git;branch=1.X;protocol=https \
            file://bootstrap_fixup.patch \
            file://0001-remove-local-binary-checkes.patch"
 
meta-tpm/recipes-tpm2/tpm2-tcti-uefi/tpm2-tcti-uefi_0.9.9.bb +1 -1
index a67e3c3..35274a1 100644
@@ -4,7 +4,7 @@ LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=500b2e742befc3da00684d8a1d5fd9da"
 DEPENDS = "libtss2-dev libtss2-mu-dev gnu-efi-native gnu-efi pkgconfig autoconf-archive-native"
 
-SRC_URI = "git://github.com/tpm2-software/tpm2-tcti-uefi.git \
+SRC_URI = "git://github.com/tpm2-software/tpm2-tcti-uefi.git;branch=master;protocol=https \
            file://configure_oe_fixup.patch \
            file://0001-configure.ac-stop-inserting-host-directories-into-co.patch \
            file://fix_header_file.patch \
meta-tpm/recipes-tpm2/tpm2-totp/tpm2-totp_0.3.0.bb +1 -1
index dfebc07..d324e33 100644
@@ -10,7 +10,7 @@ DEPENDS = "autoconf-archive libtss2-dev qrencode"
 PE = "1"
 
 SRCREV = "96a1448753a48974149003bc90ea3990ae8e8d0b"
-SRC_URI = "git://github.com/tpm2-software/tpm2-totp.git"
+SRC_URI = "git://github.com/tpm2-software/tpm2-totp.git;branch=master;protocol=https"
 
 inherit autotools-brokensep pkgconfig
 
meta-tpm/recipes-tpm2/tpm2-tss-engine/tpm2-tss-engine_1.1.0.bb +1 -1
index 5395695..137821b 100644
@@ -9,7 +9,7 @@ SECTION = "security/tpm"
 DEPENDS = "autoconf-archive-native bash-completion libtss2 libgcrypt openssl"
 
 SRCREV = "6f387a4efe2049f1b4833e8f621c77231bc1eef4"
-SRC_URI = "git://github.com/tpm2-software/tpm2-tss-engine.git;branch=v1.1.x"
+SRC_URI = "git://github.com/tpm2-software/tpm2-tss-engine.git;branch=v1.1.x;protocol=https"
 
 inherit autotools-brokensep pkgconfig systemd
 
recipes-ids/suricata/python3-suricata-update_1.2.1.bb +1 -1
index bbdce69..c0a7960 100644
@@ -6,7 +6,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;beginline=1;endline=2;md5=c70d8d3310941dcdfcd1e02800a1f548"
 
 SRCREV = "50e857f75e576e239d8306a6ac55946a1ce252a6"
-SRC_URI = "git://github.com/OISF/suricata-update;branch='master-1.2.x'"
+SRC_URI = "git://github.com/OISF/suricata-update;branch='master-1.2.x';protocol=https"
 
 S = "${WORKDIR}/git"
 
recipes-ids/tripwire/tripwire_2.4.3.7.bb +1 -1
index 4f50bff..b1f4765 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1c069be8dbbe48e89b580ab4ed86c127"
 SRCREV = "6e64a9e5b70a909ec439bc5a099e3fcf38c614b0"
 
 SRC_URI = "\
-	git://github.com/Tripwire/tripwire-open-source.git \
+	git://github.com/Tripwire/tripwire-open-source.git;branch=master;protocol=https \
 	file://tripwire.cron \
 	file://tripwire.sh \
 	file://tripwire.txt \
recipes-mac/smack/smack_1.3.1.bb +1 -1
index b1ea4e9..9fe40d0 100644
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 SRCREV = "4a102c7584b39ce693995ffb65e0918a9df98dd8"
 SRC_URI = " \
-	git://github.com/smack-team/smack.git \
+	git://github.com/smack-team/smack.git;branch=master;protocol=https \
 	file://smack_generator_make_fixup.patch \
 	file://run-ptest"
 
recipes-scanners/checksec/checksec_2.4.0.bb +1 -1
index 52bcf7c..f5b7137 100644
@@ -7,7 +7,7 @@ HOMEPAGE="https://github.com/slimm609/checksec.sh"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8d90285f711cf1f378e2c024457066d8"
 
 SRCREV = "c3754e45e04f9104db93b2048afd094427102d48"
-SRC_URI = "git://github.com/slimm609/checksec.sh"
+SRC_URI = "git://github.com/slimm609/checksec.sh;branch=master;protocol=https"
 
 S = "${WORKDIR}/git"
 
recipes-scanners/clamav/clamav_0.104.0.bb +1 -1
index 36e498d..a97bdf0 100644
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;beginline=2;endline=3;md5=f7029fbbc5898b2
 
 SRCREV = "5553a5e206ceae5d920368baee7d403f823bcb6f"
 
-SRC_URI = "git://github.com/vrtadmin/clamav-devel;branch=dev/0.104 \
+SRC_URI = "git://github.com/vrtadmin/clamav-devel;branch=dev/0.104;protocol=https \
     file://clamd.conf \
     file://freshclam.conf \
     file://volatiles.03_clamav \
recipes-security/fail2ban/python3-fail2ban_0.11.2.bb +1 -1
index b480c76..6701e08 100644
@@ -10,7 +10,7 @@ LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=ecabc31e90311da843753ba772885d9f"
 
 SRCREV ="eea1881b734b73599a21df2bfbe58b11f78d0a46"
-SRC_URI = " git://github.com/fail2ban/fail2ban.git;branch=0.11 \
+SRC_URI = " git://github.com/fail2ban/fail2ban.git;branch=0.11;protocol=https \
         file://initd \
         file://fail2ban_setup.py \
         file://run-ptest \
recipes-security/fscryptctl/fscryptctl_1.0.0.bb +1 -1
index df76a3d..aed8c24 100644
@@ -10,7 +10,7 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 SRCREV = "56b898c896240328adef7407090215abbe9ee03d"
-SRC_URI = "git://github.com/google/fscryptctl.git"
+SRC_URI = "git://github.com/google/fscryptctl.git;branch=master;protocol=https"
 
 S = "${WORKDIR}/git"
 
recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.08.bb +1 -1
index f9ca092..7181c52 100644
@@ -3,7 +3,7 @@ HOME_PAGE = "https://github.com/google/google-authenticator-libpam"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 LICENSE = "Apache-2.0"
 
-SRC_URI = "git://github.com/google/google-authenticator-libpam.git"
+SRC_URI = "git://github.com/google/google-authenticator-libpam.git;branch=master;protocol=https"
 SRCREV = "2c7415d950fb0b4a7f779f045910666447b100ef"
 
 DEPENDS = "libpam"
recipes-security/libest/libest_3.2.0.bb +1 -1
index 5b6dc99..fe66fc9 100644
@@ -6,7 +6,7 @@ LICENSE = "OpenSSL"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=ecb78acde8e3b795de8ef6b61aed5885"
 
 SRCREV = "4ca02c6d7540f2b1bcea278a4fbe373daac7103b"
-SRC_URI = "git://github.com/cisco/libest;branch=main"
+SRC_URI = "git://github.com/cisco/libest;branch=main;protocol=https"
 
 DEPENDS = "openssl"
 
recipes-security/libmspack/libmspack_1.9.1.bb +1 -1
index 8c288be..65db10f 100644
@@ -7,7 +7,7 @@ DEPENDS = ""
 LIC_FILES_CHKSUM = "file://COPYING.LIB;beginline=1;endline=2;md5=5b1fd1f66ef926b3c8a5bb00a72a28dd"
 
 SRCREV = "63d3faf90423a4a6c174539a7d32111a840adadc"
-SRC_URI = "git://github.com/kyz/libmspack.git"
+SRC_URI = "git://github.com/kyz/libmspack.git;branch=master;protocol=https"
 
 inherit autotools
 
recipes-security/libseccomp/libseccomp_2.5.1.bb +1 -1
index 40ac1a8..593d08e 100644
@@ -8,7 +8,7 @@ DEPENDS += "gperf-native"
 
 SRCREV = "4bf70431a339a2886ab8c82e9a45378f30c6e6c7"
 
-SRC_URI = "git://github.com/seccomp/libseccomp.git;branch=release-2.5 \
+SRC_URI = "git://github.com/seccomp/libseccomp.git;branch=release-2.5;protocol=https \
            file://run-ptest \
            "
 
recipes-security/ncrack/ncrack_0.7.bb +1 -1
index ba26965..0b732bc 100644
@@ -7,7 +7,7 @@ LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;beginline=7;endline=12;md5=66938a7e5b4c118eda78271de14874c2"
 
 SRCREV = "dc570e7e3cec1fb176c0168eaedc723084bd0426"
-SRC_URI = "git://github.com/nmap/ncrack.git"
+SRC_URI = "git://github.com/nmap/ncrack.git;branch=master;protocol=https"
 
 DEPENDS = "openssl zlib"
 
recipes-security/nikto/nikto_2.1.6.bb +1 -1
index 615cc30..003fb39 100644
@@ -7,7 +7,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6"
 
 SRCREV = "f1bbd1a8756c076c8fd4f4dd0bc34a8ef215ae79"
-SRC_URI = "git://github.com/sullo/nikto.git \
+SRC_URI = "git://github.com/sullo/nikto.git;branch=master;protocol=https \
            file://location.patch"
 
 S = "${WORKDIR}/git/program"
recipes-security/scapy/python3-scapy_2.4.4.bb +1 -1
index 8d81ed1..2463ea3 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 S = "${WORKDIR}/git"
 
 SRCREV = "95ba5b8504152a1f820bbe679ccf03668cb5118f"
-SRC_URI = "git://github.com/secdev/scapy.git \
+SRC_URI = "git://github.com/secdev/scapy.git;branch=master;protocol=https \
            file://run-ptest"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.25.1