diff mbox series

[03/19] package/bzip2: add hash for license file

Message ID 20190529033537.128311-4-aduskett@gmail.com
State Accepted
Commit cc7581a850fcae8de601b9678f65a00d46db76af
Headers show
Series [01/19] package/acl: add hashes for license files | expand

Commit Message

Adam Duskett May 29, 2019, 3:35 a.m. UTC
From: Adam Duskett <Aduskett@gmail.com>

Also add a standard sha256 hash for the package itself.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
---
 package/bzip2/bzip2.hash | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Thomas Huth May 29, 2019, 8:59 a.m. UTC | #1
Am Tue, 28 May 2019 23:35:21 -0400
schrieb aduskett@gmail.com:

> From: Adam Duskett <Aduskett@gmail.com>
> 
> Also add a standard sha256 hash for the package itself.
> 
> Signed-off-by: Adam Duskett <Aduskett@gmail.com>
> ---
>  package/bzip2/bzip2.hash | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/bzip2/bzip2.hash b/package/bzip2/bzip2.hash
> index 60b0a191ef..684fe73109 100644
> --- a/package/bzip2/bzip2.hash
> +++ b/package/bzip2/bzip2.hash
> @@ -1,2 +1,6 @@
>  # From http://www.bzip.org/downloads.html

While you're at it, you could remove that URL (or change it to a
version from archive.org) - it does not seem to contain the md5sum
anymore.

>  md5	00b516f4704d4a7cb50a1d97e6e8e15b	bzip2-1.0.6.tar.gz
> +
> +# Locally calculated
> +sha256
> a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd
> bzip2-1.0.6.tar.gz +sha256
> 4919cfb14a73cd64fcef67b107613970cf1659a09aa675dba31314f373bc7204
> LICENSE 

I get the same values.

Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Peter Korsgaard May 30, 2019, 10:22 p.m. UTC | #2
>>>>> "aduskett" == aduskett  <aduskett@gmail.com> writes:

 > From: Adam Duskett <Aduskett@gmail.com>
 > Also add a standard sha256 hash for the package itself.

 > Signed-off-by: Adam Duskett <Aduskett@gmail.com>
 > ---
 >  package/bzip2/bzip2.hash | 4 ++++
 >  1 file changed, 4 insertions(+)

 > diff --git a/package/bzip2/bzip2.hash b/package/bzip2/bzip2.hash
 > index 60b0a191ef..684fe73109 100644
 > --- a/package/bzip2/bzip2.hash
 > +++ b/package/bzip2/bzip2.hash
 > @@ -1,2 +1,6 @@
 >  # From http://www.bzip.org/downloads.html
 >  md5	00b516f4704d4a7cb50a1d97e6e8e15b	bzip2-1.0.6.tar.gz
 > +
 > +# Locally calculated
 > +sha256	a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd	bzip2-1.0.6.tar.gz
 > +sha256	4919cfb14a73cd64fcef67b107613970cf1659a09aa675dba31314f373bc7204	LICENSE 

Committed to next after fixing the check-package issue, thanks:

Applying: package/bzip2: add hash for license file
package/bzip2/bzip2.hash:6: line contains trailing whitespace
diff mbox series

Patch

diff --git a/package/bzip2/bzip2.hash b/package/bzip2/bzip2.hash
index 60b0a191ef..684fe73109 100644
--- a/package/bzip2/bzip2.hash
+++ b/package/bzip2/bzip2.hash
@@ -1,2 +1,6 @@ 
 # From http://www.bzip.org/downloads.html
 md5	00b516f4704d4a7cb50a1d97e6e8e15b	bzip2-1.0.6.tar.gz
+
+# Locally calculated
+sha256	a2848f34fcd5d6cf47def00461fcb528a0484d8edef8208d6d2e2909dc61d9cd	bzip2-1.0.6.tar.gz
+sha256	4919cfb14a73cd64fcef67b107613970cf1659a09aa675dba31314f373bc7204	LICENSE