Skip to contentSkip to conversation

netfilter: Move protocol=https into SRC_URI

PATCH New Ryan Eatmon 1 participant 5 messages Sep 30

lore
Share & tools
lore
#0 lore raw

cover netfilter: Move protocol=https into SRC_URI

Move the protocol=https into the SRC_URI so that both mirrors use it insteaad of the git protocol.

This fixes a build error:

ERROR: libnftnl-1.3.2-r0 do_unpack: Bitbake Fetcher Error: UnpackError('No up to date source found: clone directory not available or not up to date: *snip*/downloads/git2/git.netfilter.org.libnftnl; shallow clone not enabled', 'git://git.netfilter.org/libnftnl;branch=master;tag=libnftnl-1.3.2')
ERROR: Logfile of failure stored in: *snip*/build/arago-tmp-default/work/aarch64-oe-linux/libnftnl/1.3.2/temp/log.do_unpack.738
ERROR: Task (*snip*/sources/meta-openembedded/meta-networking/recipes-filter/libnftnl/libnftnl_1.3.2.bb:do_unpack) failed with exit code '1'

I could not find another example of including ;protocol=https in PREMIRRORS.

Ryan Eatmon (4):
ulogd2: Move protocol=https into SRC_URI
libnftnl: Move protocol=https into SRC_URI
libnetfilter-queue: Move protocol=https into SRC_URI
libnetfilter-log: Move protocol=https into SRC_URI

 .../recipes-filter/libnetfilter/libnetfilter-log_1.0.2.bb     | 4 ++--
 .../recipes-filter/libnetfilter/libnetfilter-queue_1.0.5.bb   | 4 ++--
 meta-networking/recipes-filter/libnftnl/libnftnl_1.3.2.bb     | 4 ++--
 meta-networking/recipes-filter/ulogd2/ulogd2_2.0.9.bb         | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/4 ulogd2: Move protocol=https into SRC_URI

Move the protocol=https into the SRC_URI so that both mirrors use it instead of the git protocol.

---
 meta-networking/recipes-filter/ulogd2/ulogd2_2.0.9.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-filter/ulogd2/ulogd2_2.0.9.bb +2 -2
index 409a34d6da..15814676d2 100644
@@ -9,13 +9,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b"
 DEPENDS = "libnfnetlink"
 PROVIDES = "ulogd"
 
-SRC_URI = "git://git.netfilter.org/ulogd2;branch=master \
+SRC_URI = "git://git.netfilter.org/ulogd2;protocol=https;branch=master \
            file://ulogd.init \
            file://ulogd.service \
 "
 
 # See https://www.netfilter.org/mirrors.html#git
-PREMIRRORS:append = " git://git.netfilter.org/ulogd2 git://repo.or.cz/ulogd2.git;protocol=https"
+PREMIRRORS:append = " git://git.netfilter.org/ulogd2 git://repo.or.cz/ulogd2.git"
 SRCREV = "1fe54ec39a071ea3b06e6883e542dfdcf40d2840"
 
 
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/4 libnftnl: Move protocol=https into SRC_URI

In reply to Ryan Eatmon

Move the protocol=https into the SRC_URI so that both mirrors use it instead of the git protocol.

---
 meta-networking/recipes-filter/libnftnl/libnftnl_1.3.2.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-filter/libnftnl/libnftnl_1.3.2.bb +2 -2
index ae72631d08..a26f7216eb 100644
@@ -3,13 +3,13 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=79808397c3355f163c012616125c9e26"
 SECTION = "libs"
 
-SRC_URI = "git://git.netfilter.org/libnftnl;branch=master;tag=${BP} \
+SRC_URI = "git://git.netfilter.org/libnftnl;protocol=https;branch=master;tag=${BP} \
            file://0001-configure.ac-Add-serial-tests.patch \
            file://run-ptest \
            "
 
 # See https://www.netfilter.org/mirrors.html#git
-PREMIRRORS:append = " git://git.netfilter.org/libnftnl git://repo.or.cz/libnftnl.git;protocol=https"
+PREMIRRORS:append = " git://git.netfilter.org/libnftnl git://repo.or.cz/libnftnl.git"
 SRCREV = "3d7184970506df2c09868dc6ef3c21aba383db63"
 
 
Signature · 1 line
2.43.0
#3 lore raw

PATCH 3/4 libnetfilter-queue: Move protocol=https into SRC_URI

In reply to Ryan Eatmon

Move the protocol=https into the SRC_URI so that both mirrors use it instead of the git protocol.

---
 .../recipes-filter/libnetfilter/libnetfilter-queue_1.0.5.bb   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-filter/libnetfilter/libnetfilter-queue_1.0.5.bb +2 -2
index 6c8731b4cd..8395fb3e54 100644
@@ -8,11 +8,11 @@ DEPENDS = "libnfnetlink libmnl"
 
 SRCREV = "2ff321690b8dafeca99ee8e9cafac71e36f292b9"
 
-SRC_URI = "git://git.netfilter.org/libnetfilter_queue;branch=master \
+SRC_URI = "git://git.netfilter.org/libnetfilter_queue;protocol=https;branch=master \
            "
 
 # See https://www.netfilter.org/mirrors.html#git
-PREMIRRORS:append = " git://git.netfilter.org/libnetfilter_queue git://repo.or.cz/libnetfilter_queue.git;protocol=https"
+PREMIRRORS:append = " git://git.netfilter.org/libnetfilter_queue git://repo.or.cz/libnetfilter_queue.git"
 
 
 inherit autotools pkgconfig
Signature · 1 line
2.43.0
#4 lore raw

PATCH 4/4 libnetfilter-log: Move protocol=https into SRC_URI

In reply to Ryan Eatmon

Move the protocol=https into the SRC_URI so that both mirrors use it instead of the git protocol.

---
 .../recipes-filter/libnetfilter/libnetfilter-log_1.0.2.bb     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-filter/libnetfilter/libnetfilter-log_1.0.2.bb +2 -2
index 5082ed0134..3ed8fc8f6a 100644
@@ -7,10 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
 DEPENDS = "libnfnetlink libmnl"
 SRCREV = "b0e4be94c0b8f68d4e912402b93a130063c34e17"
 
-SRC_URI = "git://git.netfilter.org/libnetfilter_log;branch=master"
+SRC_URI = "git://git.netfilter.org/libnetfilter_log;protocol=https;branch=master"
 
 # See https://www.netfilter.org/mirrors.html#git
-PREMIRRORS:append = " git://git.netfilter.org/libnetfilter_log git://repo.or.cz/libnetfilter_log.git;protocol=https"
+PREMIRRORS:append = " git://git.netfilter.org/libnetfilter_log git://repo.or.cz/libnetfilter_log.git"
 
 
 inherit autotools pkgconfig
Signature · 1 line
2.43.0