Patchwork [meta-oe,v3] lz4: update to latest version

login
register
mail settings
Submitter Armin Kuster
Date July 15, 2014, 1:28 p.m.
Message ID <1405430888-12456-1-git-send-email-akuster@mvista.com>
Download mbox | patch
Permalink /patch/75553/
State New
Headers show

Comments

Armin Kuster - July 15, 2014, 1:28 p.m.
update to version r119
Use github instead of svn
LICENSE md5sum changed since it was updated in r117
FIxes CVE-2014-4611

Signed-off-by: Armin Kuster <akuster@mvista.com>
---
 meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
 rename meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} (68%)
Saul Wold - July 15, 2014, 3:06 p.m.
On 07/15/2014 06:28 AM, Armin Kuster wrote:
> update to version r119
> Use github instead of svn
> LICENSE md5sum changed since it was updated in r117

What exactly changed in r117?  Same License different working or ??

Sau!

> FIxes CVE-2014-4611
>
> Signed-off-by: Armin Kuster <akuster@mvista.com>
> ---
>   meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} | 11 ++++-------
>   1 file changed, 4 insertions(+), 7 deletions(-)
>   rename meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} (68%)
>
> diff --git a/meta/recipes-support/lz4/lz4_svn.bb b/meta/recipes-support/lz4/lz4_git.bb
> similarity index 68%
> rename from meta/recipes-support/lz4/lz4_svn.bb
> rename to meta/recipes-support/lz4/lz4_git.bb
> index 38e36d8..3978d76 100644
> --- a/meta/recipes-support/lz4/lz4_svn.bb
> +++ b/meta/recipes-support/lz4/lz4_git.bb
> @@ -2,15 +2,12 @@ SUMMARY = "Extremely Fast Compression algorithm"
>   DESCRIPTION = "LZ4 is a very fast lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems."
>
>   LICENSE = "BSD"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=2008d2325e11691e17fcaa3a6046f850"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=0b0d063f37a4477b54af2459477dcafd"
>
> -# Upstream names releases after SVN revs
> -SRCREV = "112"
> -PV = "r${SRCREV}"
> +SRCREV = "28fd251bc7b42e5cde15f9a2d78fc53b3b575558"
> +SRC_URI= "git://github.com/Cyan4973/lz4.git;branch=master"
>
> -SRC_URI = "svn://lz4.googlecode.com/svn/;module=trunk;protocol=http"
> -
> -S = "${WORKDIR}/trunk"
> +S = "${WORKDIR}/git"
>
>   EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
>
>
Armin Kuster - July 15, 2014, 3:22 p.m.
On 07/15/2014 08:06 AM, Saul Wold wrote:
> On 07/15/2014 06:28 AM, Armin Kuster wrote:
>> update to version r119
>> Use github instead of svn
>> LICENSE md5sum changed since it was updated in r117
>
> What exactly changed in r117?  Same License different working or ??

They updated the copyright date.

- Armin
>
> Sau!
>
>> FIxes CVE-2014-4611
>>
>> Signed-off-by: Armin Kuster <akuster@mvista.com>
>> ---
>>   meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} | 11 ++++-------
>>   1 file changed, 4 insertions(+), 7 deletions(-)
>>   rename meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} (68%)
>>
>> diff --git a/meta/recipes-support/lz4/lz4_svn.bb 
>> b/meta/recipes-support/lz4/lz4_git.bb
>> similarity index 68%
>> rename from meta/recipes-support/lz4/lz4_svn.bb
>> rename to meta/recipes-support/lz4/lz4_git.bb
>> index 38e36d8..3978d76 100644
>> --- a/meta/recipes-support/lz4/lz4_svn.bb
>> +++ b/meta/recipes-support/lz4/lz4_git.bb
>> @@ -2,15 +2,12 @@ SUMMARY = "Extremely Fast Compression algorithm"
>>   DESCRIPTION = "LZ4 is a very fast lossless compression algorithm, 
>> providing compression speed at 400 MB/s per core, scalable with 
>> multi-cores CPU. It also features an extremely fast decoder, with 
>> speed in multiple GB/s per core, typically reaching RAM speed limits 
>> on multi-core systems."
>>
>>   LICENSE = "BSD"
>> -LIC_FILES_CHKSUM = 
>> "file://LICENSE;md5=2008d2325e11691e17fcaa3a6046f850"
>> +LIC_FILES_CHKSUM = 
>> "file://LICENSE;md5=0b0d063f37a4477b54af2459477dcafd"
>>
>> -# Upstream names releases after SVN revs
>> -SRCREV = "112"
>> -PV = "r${SRCREV}"
>> +SRCREV = "28fd251bc7b42e5cde15f9a2d78fc53b3b575558"
>> +SRC_URI= "git://github.com/Cyan4973/lz4.git;branch=master"
>>
>> -SRC_URI = "svn://lz4.googlecode.com/svn/;module=trunk;protocol=http"
>> -
>> -S = "${WORKDIR}/trunk"
>> +S = "${WORKDIR}/git"
>>
>>   EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} 
>> LIBDIR=${libdir} INCLUDEDIR=${includedir}"
>>
>>
Saul Wold - July 15, 2014, 3:37 p.m.
On 07/15/2014 08:22 AM, akuster wrote:
>
> On 07/15/2014 08:06 AM, Saul Wold wrote:
>> On 07/15/2014 06:28 AM, Armin Kuster wrote:
>>> update to version r119
>>> Use github instead of svn
>>> LICENSE md5sum changed since it was updated in r117
>>
>> What exactly changed in r117?  Same License different working or ??
>
> They updated the copyright date.
>

That's what we need in the commit message then, please update your 
commit message.

Is there a valid PV that you can set for lz4, seems like they are still 
calling them rXXX, so PV should be "r119"

Thanks
	Sau!

> - Armin
>>
>> Sau!
>>
>>> FIxes CVE-2014-4611
>>>
>>> Signed-off-by: Armin Kuster <akuster@mvista.com>
>>> ---
>>>   meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} | 11 ++++-------
>>>   1 file changed, 4 insertions(+), 7 deletions(-)
>>>   rename meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} (68%)
>>>
>>> diff --git a/meta/recipes-support/lz4/lz4_svn.bb
>>> b/meta/recipes-support/lz4/lz4_git.bb
>>> similarity index 68%
>>> rename from meta/recipes-support/lz4/lz4_svn.bb
>>> rename to meta/recipes-support/lz4/lz4_git.bb
>>> index 38e36d8..3978d76 100644
>>> --- a/meta/recipes-support/lz4/lz4_svn.bb
>>> +++ b/meta/recipes-support/lz4/lz4_git.bb
>>> @@ -2,15 +2,12 @@ SUMMARY = "Extremely Fast Compression algorithm"
>>>   DESCRIPTION = "LZ4 is a very fast lossless compression algorithm,
>>> providing compression speed at 400 MB/s per core, scalable with
>>> multi-cores CPU. It also features an extremely fast decoder, with
>>> speed in multiple GB/s per core, typically reaching RAM speed limits
>>> on multi-core systems."
>>>
>>>   LICENSE = "BSD"
>>> -LIC_FILES_CHKSUM =
>>> "file://LICENSE;md5=2008d2325e11691e17fcaa3a6046f850"
>>> +LIC_FILES_CHKSUM =
>>> "file://LICENSE;md5=0b0d063f37a4477b54af2459477dcafd"
>>>
>>> -# Upstream names releases after SVN revs
>>> -SRCREV = "112"
>>> -PV = "r${SRCREV}"
>>> +SRCREV = "28fd251bc7b42e5cde15f9a2d78fc53b3b575558"
>>> +SRC_URI= "git://github.com/Cyan4973/lz4.git;branch=master"
>>>
>>> -SRC_URI = "svn://lz4.googlecode.com/svn/;module=trunk;protocol=http"
>>> -
>>> -S = "${WORKDIR}/trunk"
>>> +S = "${WORKDIR}/git"
>>>
>>>   EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D}
>>> LIBDIR=${libdir} INCLUDEDIR=${includedir}"
>>>
>>>
>
>
Armin Kuster - July 15, 2014, 7:37 p.m.
On 07/15/2014 08:37 AM, Saul Wold wrote:
> On 07/15/2014 08:22 AM, akuster wrote:
>>
>> On 07/15/2014 08:06 AM, Saul Wold wrote:
>>> On 07/15/2014 06:28 AM, Armin Kuster wrote:
>>>> update to version r119
>>>> Use github instead of svn
>>>> LICENSE md5sum changed since it was updated in r117
>>>
>>> What exactly changed in r117?  Same License different working or ??
>>
>> They updated the copyright date.
>>
>
> That's what we need in the commit message then, please update your 
> commit message.

done

>
> Is there a valid PV that you can set for lz4, seems like they are 
> still calling them rXXX, so PV should be "r119"

done.

Thanks,
Armin
>
> Thanks
>     Sau!
>
>> - Armin
>>>
>>> Sau!
>>>
>>>> FIxes CVE-2014-4611
>>>>
>>>> Signed-off-by: Armin Kuster <akuster@mvista.com>
>>>> ---
>>>>   meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} | 11 ++++-------
>>>>   1 file changed, 4 insertions(+), 7 deletions(-)
>>>>   rename meta/recipes-support/lz4/{lz4_svn.bb => lz4_git.bb} (68%)
>>>>
>>>> diff --git a/meta/recipes-support/lz4/lz4_svn.bb
>>>> b/meta/recipes-support/lz4/lz4_git.bb
>>>> similarity index 68%
>>>> rename from meta/recipes-support/lz4/lz4_svn.bb
>>>> rename to meta/recipes-support/lz4/lz4_git.bb
>>>> index 38e36d8..3978d76 100644
>>>> --- a/meta/recipes-support/lz4/lz4_svn.bb
>>>> +++ b/meta/recipes-support/lz4/lz4_git.bb
>>>> @@ -2,15 +2,12 @@ SUMMARY = "Extremely Fast Compression algorithm"
>>>>   DESCRIPTION = "LZ4 is a very fast lossless compression algorithm,
>>>> providing compression speed at 400 MB/s per core, scalable with
>>>> multi-cores CPU. It also features an extremely fast decoder, with
>>>> speed in multiple GB/s per core, typically reaching RAM speed limits
>>>> on multi-core systems."
>>>>
>>>>   LICENSE = "BSD"
>>>> -LIC_FILES_CHKSUM =
>>>> "file://LICENSE;md5=2008d2325e11691e17fcaa3a6046f850"
>>>> +LIC_FILES_CHKSUM =
>>>> "file://LICENSE;md5=0b0d063f37a4477b54af2459477dcafd"
>>>>
>>>> -# Upstream names releases after SVN revs
>>>> -SRCREV = "112"
>>>> -PV = "r${SRCREV}"
>>>> +SRCREV = "28fd251bc7b42e5cde15f9a2d78fc53b3b575558"
>>>> +SRC_URI= "git://github.com/Cyan4973/lz4.git;branch=master"
>>>>
>>>> -SRC_URI = "svn://lz4.googlecode.com/svn/;module=trunk;protocol=http"
>>>> -
>>>> -S = "${WORKDIR}/trunk"
>>>> +S = "${WORKDIR}/git"
>>>>
>>>>   EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D}
>>>> LIBDIR=${libdir} INCLUDEDIR=${includedir}"
>>>>
>>>>
>>
>>

Patch

diff --git a/meta/recipes-support/lz4/lz4_svn.bb b/meta/recipes-support/lz4/lz4_git.bb
similarity index 68%
rename from meta/recipes-support/lz4/lz4_svn.bb
rename to meta/recipes-support/lz4/lz4_git.bb
index 38e36d8..3978d76 100644
--- a/meta/recipes-support/lz4/lz4_svn.bb
+++ b/meta/recipes-support/lz4/lz4_git.bb
@@ -2,15 +2,12 @@  SUMMARY = "Extremely Fast Compression algorithm"
 DESCRIPTION = "LZ4 is a very fast lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems."
 
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2008d2325e11691e17fcaa3a6046f850"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0b0d063f37a4477b54af2459477dcafd"
 
-# Upstream names releases after SVN revs
-SRCREV = "112"
-PV = "r${SRCREV}"
+SRCREV = "28fd251bc7b42e5cde15f9a2d78fc53b3b575558"
+SRC_URI= "git://github.com/Cyan4973/lz4.git;branch=master"
 
-SRC_URI = "svn://lz4.googlecode.com/svn/;module=trunk;protocol=http"
-
-S = "${WORKDIR}/trunk"
+S = "${WORKDIR}/git"
 
 EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"