Re: [OE-core] [meta-oe][PATCH] iso-codes: update to 3.79 and fix SRC_URI

2018-06-05 Thread Alexander Kanavin
2018-06-05 18:22 GMT+03:00 Oleksandr Kravchuk
:
> -SRC_URI = 
> "https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz;
> -SRC_URI[md5sum] = "9d0d06cfb4634428b300845edcd7140a"
> -SRC_URI[sha256sum] = 
> "21cd73a4c6f95d9474ebfcffd4e065223857720f24858e564f4409b19f7f0d90"
> +SRC_URI = "${DEBIAN_MIRROR}/main/i/iso-codes/iso-codes_${PV}.orig.tar.xz"
> +SRC_URI[md5sum] = "5875d7aa41b1acd7b218631ff7b85464"
> +SRC_URI[sha256sum] = 
> "cbafd36cd4c588a254c0a5c42e682190c3784ceaf2a098da4c9c4a0cbc842822"

Please use the original upstream git repo. We take sources from
DEBIAN_MIRROR if the primary upstream source is absent or
inaccessible, but this is not the case here:
https://salsa.debian.org/iso-codes-team/iso-codes

Alex
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [meta-oe][PATCH] iso-codes: update to 3.79 and fix SRC_URI

2018-06-05 Thread Oleksandr Kravchuk
Updated package to version 3.79.

The original FTP server, alioth.debian.org has been permanently taken
down by the Debian Project and replaced with salsa.debian.org.

Source: https://wiki.debian.org/Alioth

Signed-off-by: Oleksandr Kravchuk 
---
 .../iso-codes/{iso-codes_3.77.bb => iso-codes_3.79.bb}| 8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)
 rename meta/recipes-support/iso-codes/{iso-codes_3.77.bb => iso-codes_3.79.bb} 
(58%)

diff --git a/meta/recipes-support/iso-codes/iso-codes_3.77.bb 
b/meta/recipes-support/iso-codes/iso-codes_3.79.bb
similarity index 58%
rename from meta/recipes-support/iso-codes/iso-codes_3.77.bb
rename to meta/recipes-support/iso-codes/iso-codes_3.79.bb
index bd613ac573..9f982a2668 100644
--- a/meta/recipes-support/iso-codes/iso-codes_3.77.bb
+++ b/meta/recipes-support/iso-codes/iso-codes_3.79.bb
@@ -2,14 +2,16 @@ SUMMARY = "ISO language, territory, currency, script codes 
and their translation
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = 
"https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz;
-SRC_URI[md5sum] = "9d0d06cfb4634428b300845edcd7140a"
-SRC_URI[sha256sum] = 
"21cd73a4c6f95d9474ebfcffd4e065223857720f24858e564f4409b19f7f0d90"
+SRC_URI = "${DEBIAN_MIRROR}/main/i/iso-codes/iso-codes_${PV}.orig.tar.xz"
+SRC_URI[md5sum] = "5875d7aa41b1acd7b218631ff7b85464"
+SRC_URI[sha256sum] = 
"cbafd36cd4c588a254c0a5c42e682190c3784ceaf2a098da4c9c4a0cbc842822"
 
 # inherit gettext cannot be used, because it adds gettext-native to 
BASEDEPENDS which
 # are inhibited by allarch
 DEPENDS = "gettext-native"
 
+UPSTREAM_CHECK_URI = "${DEBIAN_MIRROR}/main/i/iso-codes/"
+
 inherit allarch autotools
 
 FILES_${PN} += "${datadir}/xml/"
-- 
2.17.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core