pacman/scripts/libmakepkg
Eli Schwartz 135f4397c2 libmakepkg/integrity: fix regression that broke invalid file sigs
In 42e7020281 creating the gpg statusfile
for a source file was split into a separate function, which used the
return code to indicate unsigned files and proto-specific errors.
However, the fallback return code was set by the final gpg invocation,
which would be 1 if the signature was somehow broken (for example, the
key was not available in the gpg keyring). As a result makepkg thought
that file did not have a signature and skipped over it rather than
erroring out.

Fix this by explicitly setting the return code for all
verify_*_signature() functions.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2018-01-06 12:38:05 +10:00
..
integrity libmakepkg/integrity: fix regression that broke invalid file sigs 2018-01-06 12:38:05 +10:00
lint_package libmakepkg: only output package file names when checking for build references 2017-10-17 20:31:06 +10:00
lint_pkgbuild Update copyright years 2017-01-04 13:59:14 +10:00
source libmakepkg: check for invalid tags in git 2017-09-13 14:20:35 +10:00
tidy makepkg: tell the compiler to record debugging info for debug packages 2017-12-07 15:54:16 +10:00
util makepkg: refactor archive compression for reusability 2017-12-07 15:46:04 +10:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
integrity.sh.in Update copyright years 2017-01-04 13:59:14 +10:00
lint_package.sh.in libmakepkg: grammar fix 2017-09-14 09:45:53 +10:00
lint_pkgbuild.sh.in Update copyright years 2017-01-04 13:59:14 +10:00
source.sh.in Update copyright years 2017-01-04 13:59:14 +10:00
srcinfo.sh.in Update copyright years 2017-01-04 13:59:14 +10:00
tidy.sh.in Update copyright years 2017-01-04 13:59:14 +10:00
util.sh.in Update copyright years 2017-01-04 13:59:14 +10:00