From: Tomas Mraz Date: Tue, 11 May 2021 14:20:51 +0000 (+0200) Subject: Add diff-fips-checksums target to compare BLDDIR and SRCDIR checksums X-Git-Tag: openssl-3.0.0-alpha17~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e782e8b4f8da79713d67446ac179e87201f2a5a;p=thirdparty%2Fopenssl.git Add diff-fips-checksums target to compare BLDDIR and SRCDIR checksums Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15229) --- diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index f4805e87136..345c1972538 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -1283,6 +1283,15 @@ $(SRCDIR)/providers/fips.checksum: providers/fips.checksum update-fips-checksums: $(SRCDIR)/providers/fips.checksum +diff-fips-checksums: fips-checksums + @if [ "$(SRCDIR)" = "$(BLDDIR)" ]; then \ + echo >&2 "Nothing to diff as the build and the source tree is the same"; \ + false; \ + fi + diff -u $(SRCDIR)/providers/fips.module.sources providers/fips.module.sources + diff -u $(SRCDIR)/providers/fips-sources.checksums providers/fips-sources.checksums + diff -u $(SRCDIR)/providers/fips.checksum providers/fips.checksum + # Release targets (note: only available on Unix) ##################### tar: