Skip to contentSkip to conversation

iso-codes: update to 3.79 and fix SRC_URI

PATCH Superseded Oleksandr Kravchuk 2 participants 2 messages Jun 5, 2018

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iso-codes: update to 3.79 and fix SRC_URI

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

---
 .../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%)
meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +5 -3
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
@@ -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/"
Signature · 1 line
2.17.0
#1 lore raw

2018-06-05 18:22 GMT+03:00 Oleksandr Kravchuk
<[email protected]>:

meta/recipes-support/iso-codes/iso-codes_3.79.bb SUMMARY = "ISO language, territory, currency, script codes and their translation · line 7

Quoted 6 lines
meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +3 -3
-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