All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v3] iso-codes: fix SRC_URI
@ 2018-06-03  2:03 Oleksandr Kravchuk
  2018-06-03  8:16 ` Alexander Kanavin
  0 siblings, 1 reply; 2+ messages in thread
From: Oleksandr Kravchuk @ 2018-06-03  2:03 UTC (permalink / raw)
  To: openembedded-core; +Cc: Oleksandr Kravchuk

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 <dev@sashko.rv.ua>
---
 meta/recipes-support/iso-codes/iso-codes_3.77.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-support/iso-codes/iso-codes_3.77.bb b/meta/recipes-support/iso-codes/iso-codes_3.77.bb
index bd613ac573..b99fe65879 100644
--- a/meta/recipes-support/iso-codes/iso-codes_3.77.bb
+++ b/meta/recipes-support/iso-codes/iso-codes_3.77.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 = "https://salsa.debian.org/debian/iso-codes/-/archive/upstream/${PV}/iso-codes-upstream-${PV}.tar.bz2"
+SRC_URI[md5sum] = "a19626c1abe1b96ade163692cf17b566"
+SRC_URI[sha256sum] = "2501501aa26e078a07056c55df5d0c56ce2c03cf1c03a5bccce4f3193c91aea1"
 
 # inherit gettext cannot be used, because it adds gettext-native to BASEDEPENDS which
 # are inhibited by allarch
 DEPENDS = "gettext-native"
 
+S = "${WORKDIR}/iso-codes-upstream-${PV}"
+
 inherit allarch autotools
 
 FILES_${PN} += "${datadir}/xml/"
-- 
2.17.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-oe][PATCH v3] iso-codes: fix SRC_URI
  2018-06-03  2:03 [meta-oe][PATCH v3] iso-codes: fix SRC_URI Oleksandr Kravchuk
@ 2018-06-03  8:16 ` Alexander Kanavin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kanavin @ 2018-06-03  8:16 UTC (permalink / raw)
  To: Oleksandr Kravchuk; +Cc: Oleksandr Kravchuk, openembedded-core

2018-06-03 5:03 GMT+03:00 Oleksandr Kravchuk
<open.source@oleksandr-kravchuk.com>:
> -SRC_URI = "https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz"
> -SRC_URI[md5sum] = "9d0d06cfb4634428b300845edcd7140a"
> -SRC_URI[sha256sum] = "21cd73a4c6f95d9474ebfcffd4e065223857720f24858e564f4409b19f7f0d90"
> +SRC_URI = "https://salsa.debian.org/debian/iso-codes/-/archive/upstream/${PV}/iso-codes-upstream-${PV}.tar.bz2"
> +SRC_URI[md5sum] = "a19626c1abe1b96ade163692cf17b566"
> +SRC_URI[sha256sum] = "2501501aa26e078a07056c55df5d0c56ce2c03cf1c03a5bccce4f3193c91aea1"

Don't use autogenerated tarballs from git tags, their checksums can
and do change over time. Switch over directly to git:

https://salsa.debian.org/iso-codes-team/iso-codes

A fix for shadow recipe is missing.

Before sending the patches, make sure the upstream version check for
them still works. You can use 'oe-selftest -r distrodata', or run
'bitbake -c checkpkg <recipes>', followed by inspection of
tmp/log/checkpkg.csv.

Alex


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-03  8:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-03  2:03 [meta-oe][PATCH v3] iso-codes: fix SRC_URI Oleksandr Kravchuk
2018-06-03  8:16 ` Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.