diff options
| author | Peter Marko <peter.marko@siemens.com> | 2025-10-09 23:41:30 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-10-09 16:15:49 -0700 |
| commit | f088e1e1f93e6bd15358f921624159ab279953ab (patch) | |
| tree | ad220f65298af688fbc2ab1d1731b9913a48d886 /meta-networking | |
| parent | ecf51fd29413b33540383fc1a3292ba37235217b (diff) | |
| download | meta-openembedded-f088e1e1f93e6bd15358f921624159ab279953ab.tar.gz | |
squid: download from github
Devtool could not find latest versions before.
Download page [1] shows message
"Squid sources are released through GitHub. Please refer to the Releases
Page to find all released versions."
Note that also squid security advisories were moved to Github.
[1] https://www.squid-cache.org/Versions/
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
| -rw-r--r-- | meta-networking/recipes-daemons/squid/squid_6.12.bb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta-networking/recipes-daemons/squid/squid_6.12.bb b/meta-networking/recipes-daemons/squid/squid_6.12.bb index 87144fb049..41226f232e 100644 --- a/meta-networking/recipes-daemons/squid/squid_6.12.bb +++ b/meta-networking/recipes-daemons/squid/squid_6.12.bb | |||
| @@ -9,10 +9,9 @@ HOMEPAGE = "http://www.squid-cache.org" | |||
| 9 | SECTION = "web" | 9 | SECTION = "web" |
| 10 | LICENSE = "GPL-2.0-or-later" | 10 | LICENSE = "GPL-2.0-or-later" |
| 11 | 11 | ||
| 12 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 1)}" | 12 | PV_U = "${@d.getVar('PV').replace('.', '_')}" |
| 13 | MIN_VER = "${@oe.utils.trim_version("${PV}", 2)}" | ||
| 14 | 13 | ||
| 15 | SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${BPN}-${PV}.tar.xz \ | 14 | SRC_URI = "https://github.com/squid-cache/${BPN}/releases/download/SQUID_${PV_U}/${BPN}-${PV}.tar.xz \ |
| 16 | file://Set-up-for-cross-compilation.patch \ | 15 | file://Set-up-for-cross-compilation.patch \ |
| 17 | file://Skip-AC_RUN_IFELSE-tests.patch \ | 16 | file://Skip-AC_RUN_IFELSE-tests.patch \ |
| 18 | file://squid-use-serial-tests-config-needed-by-ptest.patch \ | 17 | file://squid-use-serial-tests-config-needed-by-ptest.patch \ |
| @@ -28,6 +27,10 @@ SRC_URI[sha256sum] = "f3df3abb2603a513266f24a5d4699a9f0d76b9f554d1848b67f9c51cd3 | |||
| 28 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | 27 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 29 | file://errors/COPYRIGHT;md5=6fbb6a2adc362e206da7b4f42846cdec \ | 28 | file://errors/COPYRIGHT;md5=6fbb6a2adc362e206da7b4f42846cdec \ |
| 30 | " | 29 | " |
| 30 | |||
| 31 | UPSTREAM_CHECK_URI = "https://github.com/squid-cache/${BPN}/releases/" | ||
| 32 | UPSTREAM_CHECK_REGEX = "v?(?P<pver>\d+(\.\d+)+)" | ||
| 33 | |||
| 31 | DEPENDS = "libtool" | 34 | DEPENDS = "libtool" |
| 32 | 35 | ||
| 33 | inherit autotools pkgconfig useradd ptest perlnative systemd | 36 | inherit autotools pkgconfig useradd ptest perlnative systemd |
