[pacman-dev] [PATCH] Add missing sha224 sums in man page and linting

morganamilo morganamilo at gmail.com
Fri Jun 8 00:40:01 UTC 2018


Signed-off-by: morganamilo <morganamilo at gmail.com>
---
 doc/PKGBUILD.5.asciidoc                         | 2 +-
 scripts/libmakepkg/lint_pkgbuild/variable.sh.in | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/PKGBUILD.5.asciidoc b/doc/PKGBUILD.5.asciidoc
index 9634bd15..f1897f86 100644
--- a/doc/PKGBUILD.5.asciidoc
+++ b/doc/PKGBUILD.5.asciidoc
@@ -152,7 +152,7 @@ contain whitespace characters.
 	be skipped. To easily generate md5sums, run ``makepkg -g >> PKGBUILD''.
 	If desired, move the md5sums line to an appropriate location.
 
-*sha1sums, sha256sums, sha384sums, sha512sums (arrays)*::
+*sha1sums, sha224sums, sha256sums, sha384sums, sha512sums (arrays)*::
 	Alternative integrity checks that makepkg supports; these all behave
 	similar to the md5sums option described above. To enable use and generation
 	of these checksums, be sure to set up the `INTEGRITY_CHECK` option in
diff --git a/scripts/libmakepkg/lint_pkgbuild/variable.sh.in b/scripts/libmakepkg/lint_pkgbuild/variable.sh.in
index 3266cb5e..00039bc5 100644
--- a/scripts/libmakepkg/lint_pkgbuild/variable.sh.in
+++ b/scripts/libmakepkg/lint_pkgbuild/variable.sh.in
@@ -34,7 +34,8 @@ lint_variable() {
 	local array=(arch backup checkdepends groups license noextract options
 	             validpgpkeys)
 	local arch_array=(conflicts depends makedepends md5sums optdepends provides
-	                  replaces sha1sums sha256sums sha384sums sha512sums source)
+	                  replaces sha1sums sha224sums sha256sums sha384sums sha512sums
+			  source)
 	local string=(changelog epoch install pkgdesc pkgrel pkgver url)
 
 	local i a v pkg keys out bad ret=0
-- 
2.17.1


More information about the pacman-dev mailing list