Patchwork [meta-oe,1/2] lzip: add mirror for older versions

login
register
mail settings
Submitter Paul Barker
Date June 18, 2013, 10:39 p.m.
Message ID <1371595174-14731-2-git-send-email-paul@paulbarker.me.uk>
Download mbox | patch
Permalink /patch/51945/
State Accepted, archived
Commit 6d7d2b9912837f10a107e474e1163d38a5affebc
Headers show

Comments

Paul Barker - June 18, 2013, 10:39 p.m.
Older versions are available in .tar.lz format from the official source but that
would cause a circular dependency on lzip-native if the host doesn't already
have lzip. Fortunately the file we need is available from FreeBSD's distfiles.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
---
 meta-oe/recipes-support/lzip/lzip_1.13.bb | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/meta-oe/recipes-support/lzip/lzip_1.13.bb b/meta-oe/recipes-support/lzip/lzip_1.13.bb
index e04b6dc..f3f480b 100644
--- a/meta-oe/recipes-support/lzip/lzip_1.13.bb
+++ b/meta-oe/recipes-support/lzip/lzip_1.13.bb
@@ -6,6 +6,10 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
 
 SRC_URI = "http://download.savannah.gnu.org/releases/lzip/lzip-${PV}.tar.gz"
 
+# Only the latest version is available in .tar.gz format from savannah.gnu.org,
+# FreeBSD distfiles is known to have version 1.13.
+MIRRORS += "http://download.savannah.gnu.org/releases/lzip/ ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/"
+
 SRC_URI[md5sum] = "2f401e995c36cca05bd1805aa9c28231"
 SRC_URI[sha256sum] = "c73d36c0a926b71d484eacc192262a1d209674e3f903016f2c74a2bcbc5c28ac"