diff mbox

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

Message ID 20180608004001.11695-1-morganamilo@gmail.com
State Accepted, archived
Headers show

Commit Message

morganamilo June 8, 2018, 12:40 a.m. UTC
Signed-off-by: morganamilo <morganamilo@gmail.com>
---
 doc/PKGBUILD.5.asciidoc                         | 2 +-
 scripts/libmakepkg/lint_pkgbuild/variable.sh.in | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
diff mbox

Patch

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