summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksym Telychko <maksym.telychko@gmail.com>2022-02-18 19:57:06 +0200
committerJohn Klug <john.klug@multitech.com>2022-02-28 12:21:03 -0600
commit96a993a7998288377a94b39643484520c1c1b40d (patch)
tree4a544cf5d5c4cb625883efae7556983f275aa534
parent03d39189c541d509544bde2e22370885c35f36da (diff)
downloadmeta-mlinux-96a993a7998288377a94b39643484520c1c1b40d.tar.gz
meta-mlinux-96a993a7998288377a94b39643484520c1c1b40d.tar.bz2
meta-mlinux-96a993a7998288377a94b39643484520c1c1b40d.zip
[MTX-4410] fix pcre/pcre2 mirrors
FTP on pcre.org is no longer available
-rw-r--r--recipes-support/libpcre/libpcre2_%.bbappend11
-rw-r--r--recipes-support/libpcre/libpcre_%.bbappend11
2 files changed, 22 insertions, 0 deletions
diff --git a/recipes-support/libpcre/libpcre2_%.bbappend b/recipes-support/libpcre/libpcre2_%.bbappend
new file mode 100644
index 0000000..b7c303b
--- /dev/null
+++ b/recipes-support/libpcre/libpcre2_%.bbappend
@@ -0,0 +1,11 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PR = "r1"
+
+SRC_URI_remove = " \
+https://ftp.pcre.org/pub/pcre/pcre2-${PV}.tar.bz2 \
+"
+
+SRC_URI_prepend = " \
+ https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${PV}/pcre2-${PV}.tar.bz2 \
+"
diff --git a/recipes-support/libpcre/libpcre_%.bbappend b/recipes-support/libpcre/libpcre_%.bbappend
new file mode 100644
index 0000000..f0736eb
--- /dev/null
+++ b/recipes-support/libpcre/libpcre_%.bbappend
@@ -0,0 +1,11 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PR = "r1"
+
+SRC_URI_remove = " \
+https://ftp.pcre.org/pub/pcre/pcre-${PV}.tar.bz2 \
+"
+
+SRC_URI_prepend = " \
+ ${SOURCEFORGE_MIRROR}/project/pcre/pcre/${PV}/pcre-${PV}.tar.bz2 \
+"