From 92d7f6522617c947d635680d045f12a4ef77bcb4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 27 Dec 2014 07:51:34 +0100 Subject: convert checksum check to sha256 Rename the variable name to PKG_HASH and use a 256 Bit SHA checksum to verify the integrity of distfiles. While there do some housekeeping and remove old packages. --- docs/adding-packages-auto.txt | 6 +++--- docs/adding-packages-host.txt | 4 ++-- docs/adding-packages-manual.txt | 6 +++--- docs/package-reference.txt | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'docs') diff --git a/docs/adding-packages-auto.txt b/docs/adding-packages-auto.txt index 9af8c6ae9..603cd4a57 100644 --- a/docs/adding-packages-auto.txt +++ b/docs/adding-packages-auto.txt @@ -18,7 +18,7 @@ package, with an example: 06: PKG_NAME:= libfoo 07: PKG_VERSION:= 1.0 08: PKG_RELEASE:= 1 -09: PKG_MD5SUM:= ba526cd8f4403a5d351a9efaa8608fbc +09: PKG_HASH:= 62333167b79afb0b25a843513288c67b59547acf653e8fbe62ee64e71ebd1587 10: PKG_DESCR:= foo library 11: PKG_SECTION:= libs 12: PKG_BUILDDEP:= openssl @@ -42,8 +42,8 @@ The Makefile begins with line 4 with the inclusion of the top level rules.mk file. After that the Makefile starts on line 6 to 15 with metadata information: the name of the package (+PKG_NAME+), the version of the package (+PKG_VERSION+), the release number of the package (+PKG_RELEASE+), which is -used in OpenADK to mark any package updates, the md5 hash of the source archive -(+PKG_MD5SUM+), the short one line description for the package (+PKG_DESCR+), +used in OpenADK to mark any package updates, the sha256 hash of the source archive +(+PKG_HASH+), the short one line description for the package (+PKG_DESCR+), the package section for the menu configuration system (+PKG_SECTION+), the package buildtime dependencies (+PKG_BUILDDEP+), the package runtime dependencies (+PKG_DEPENDS+), the package homepage (+PKG_URL+) and finally the diff --git a/docs/adding-packages-host.txt b/docs/adding-packages-host.txt index bf7ff7158..35cf3ab6c 100644 --- a/docs/adding-packages-host.txt +++ b/docs/adding-packages-host.txt @@ -18,7 +18,7 @@ by another target package to build, with an example: 06: PKG_NAME:= hostfoo 07: PKG_VERSION:= 1.0 08: PKG_RELEASE:= 1 -09: PKG_MD5SUM:= 291ba57c0acd218da0b0916c280dcbae +09: PKG_HASH:= 62333167b79afb0b25a843513288c67b59547acf653e8fbe62ee64e71ebd1587 10: PKG_DESCR:= hostfoo utility 11: PKG_SECTION:= misc 12: PKG_URL:= http://www.foo.org/ @@ -52,7 +52,7 @@ Following mix between host and target package is possible, too: 06: PKG_NAME:= foo 07: PKG_VERSION:= 1.0 08: PKG_RELEASE:= 1 -09: PKG_MD5SUM:= 032a7b7b9f1a6e278ccde73f82cec5c2 +09: PKG_HASH:= 62333167b79afb0b25a843513288c67b59547acf653e8fbe62ee64e71ebd1587 10: PKG_DESCR:= foo tool 11: PKG_SECTION:= lang 12: PKG_BUILDDEP:= foo-host diff --git a/docs/adding-packages-manual.txt b/docs/adding-packages-manual.txt index 8bf6b32a0..be79afb30 100644 --- a/docs/adding-packages-manual.txt +++ b/docs/adding-packages-manual.txt @@ -20,7 +20,7 @@ scripts. 06: PKG_NAME:= libfoo 07: PKG_VERSION:= 1.0 08: PKG_RELEASE:= 1 -09: PKG_MD5SUM:= eade38998313c25fd7934719cdf8a2ea +09: PKG_HASH:= 62333167b79afb0b25a843513288c67b59547acf653e8fbe62ee64e71ebd1587 10: PKG_DESCR:= foo library 11: PKG_SECTION:= libs 12: PKG_BUILDDEP:= openssl @@ -53,8 +53,8 @@ The Makefile begins with line 4 with the inclusion of the top level rules.mk file. After that the Makefile starts on line 6 to 15 with metadata information: the name of the package (+PKG_NAME+), the version of the package (+PKG_VERSION+), the release number of the package (+PKG_RELEASE+), which is -used in OpenADK to mark any package updates, the md5 hash of the source archive -(+PKG_MD5SUM+), the short one line description for the package (+PKG_DESCR+), +used in OpenADK to mark any package updates, the sha256 hash of the source archive +(+PKG_HASH+), the short one line description for the package (+PKG_DESCR+), the package section for the menu configuration system (+PKG_SECTION+), the package buildtime dependencies (+PKG_BUILDDEP+), the package runtime dependencies (+PKG_DEPENDS+), the package homepage (+PKG_URL+) and finally the diff --git a/docs/package-reference.txt b/docs/package-reference.txt index 53bccb3bd..926cc6b8c 100644 --- a/docs/package-reference.txt +++ b/docs/package-reference.txt @@ -12,7 +12,7 @@ information is: * +PKG_RELEASE+, mandatory, must contain the OpenADK specific release of the package. -* +PKG_MD5SUM+, mandatory, must contain the MD5 hash of the package, will be used +* +PKG_HASH+, mandatory, must contain the SHA256 hash of the package, will be used to check if a download of a package is complete. * +PKG_SECTION+, mandatory, must contain the OpenADK specific section, see package/section.lst. -- cgit v1.2.3