Skip to contentSkip to conversation

squid: fix UPSTREAM_CHECK_REGEX

PATCH New Peter Marko 1 participant 2 messages Mar 16

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 squid: fix UPSTREAM_CHECK_REGEX

From: Peter Marko <[email protected]>

Squid tags are in form SQUID_<MAJ>_<MIN>.
This can also be seen in SRC_URI download link.

This change will make "devtool latest-version squid" correctly show 7.5

---
 meta-networking/recipes-daemons/squid/squid_7.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-daemons/squid/squid_7.4.bb +1 -1
index 6333d1e0f2..3ba1895c45 100644
@@ -29,7 +29,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     "
 
 UPSTREAM_CHECK_URI = "https://github.com/squid-cache/${BPN}/releases/"
-UPSTREAM_CHECK_REGEX = "v?(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "SQUID_(?P<pver>\d+(_\d+)+)"
 
 DEPENDS = "libtool"
 
#1 lore raw

PATCH 2/2 squid: upgrade 7.4 -> 7.5

From: Peter Marko <[email protected]>

License-Update: updated to latest GPLv2 text version [1]

Changelog [2]
- Bug 5501: Squid may exit when ACLs decode an invalid URI
- ICP: Fix HttpRequest lifetime for ICP v3 queries
- ICP: Fix validation of packet sizes and URLs
- Do not escape malformed URI twice when sending ICP errors
- ... and some code, CI, and documentation cleanups

[1] https://github.com/squid-cache/squid/commit/765c7f4e7fa45ce87134b4a38ad175db4bda06dd
[2] https://github.com/squid-cache/squid/releases/tag/SQUID_7_5

---
 .../recipes-daemons/squid/{squid_7.4.bb => squid_7.5.bb}      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-daemons/squid/{squid_7.4.bb => squid_7.5.bb} (97%)
meta-networking/recipes-daemons/squid/squid_7.5.bb renamed from meta-networking/recipes-daemons/squid/squid_7.4.bb +2 -2
similarity index 97%
rename from meta-networking/recipes-daemons/squid/squid_7.4.bb
rename to meta-networking/recipes-daemons/squid/squid_7.5.bb
index 3ba1895c45..3364c1f746 100644
@@ -22,9 +22,9 @@ SRC_URI = "https://github.com/squid-cache/${BPN}/releases/download/SQUID_${PV_U}
            file://squid.nm \
            "
 
-SRC_URI[sha256sum] = "e31976edd755c295bd5842a349c9c7dad16a683d066337cc09033c1302b4fed4"
+SRC_URI[sha256sum] = "f6058907db0150d2f5d228482b5a9e5678920cf368ae0ccbcecceb2ff4c35106"
 
-LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
+LIC_FILES_CHKSUM = "file://COPYING;md5=570a9b3749dd0463a1778803b12a6dce \
                     file://errors/COPYRIGHT;md5=41d117978dbffedc893e8eeca12537d0 \
                     "