summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-daemons/squid/squid_6.12.bb9
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"
9SECTION = "web" 9SECTION = "web"
10LICENSE = "GPL-2.0-or-later" 10LICENSE = "GPL-2.0-or-later"
11 11
12MAJ_VER = "${@oe.utils.trim_version("${PV}", 1)}" 12PV_U = "${@d.getVar('PV').replace('.', '_')}"
13MIN_VER = "${@oe.utils.trim_version("${PV}", 2)}"
14 13
15SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${BPN}-${PV}.tar.xz \ 14SRC_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
28LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 27LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
29 file://errors/COPYRIGHT;md5=6fbb6a2adc362e206da7b4f42846cdec \ 28 file://errors/COPYRIGHT;md5=6fbb6a2adc362e206da7b4f42846cdec \
30 " 29 "
30
31UPSTREAM_CHECK_URI = "https://github.com/squid-cache/${BPN}/releases/"
32UPSTREAM_CHECK_REGEX = "v?(?P<pver>\d+(\.\d+)+)"
33
31DEPENDS = "libtool" 34DEPENDS = "libtool"
32 35
33inherit autotools pkgconfig useradd ptest perlnative systemd 36inherit autotools pkgconfig useradd ptest perlnative systemd