check for license files

This commit is contained in:
Matthias J. Kannwischer 2019-01-29 17:45:26 +01:00
parent bdf12d8258
commit 3b47fb2db7
5 changed files with 26 additions and 2 deletions

View File

@ -7,7 +7,7 @@ matrix:
- os: linux - os: linux
compiler: gcc compiler: gcc
env: env:
- MAKETARGET="test-all tidy-all check-format check-metadata" - MAKETARGET="test-all tidy-all check-format check-metadata check-license-files"
addons: addons:
apt: apt:
packages: packages:

View File

@ -189,6 +189,14 @@ run-sanitizer-all: sanitizer-all
done done
@echo Tests completed @echo Tests completed
.PHONY: check-license-files
check-license-files:
@echo Checking that LICENSE files exist
@for scheme in $(ALL_SCHEMES); do \
echo Checking for $$scheme/clean/LICENSE;\
test -f $$scheme/clean/LICENSE || exit 1 ;\
done
.PHONY: test-all .PHONY: test-all
test-all: run-functest-all run-valgrind-all run-sanitizer-all run-testvectors-all run-symbol-namespace-all test-all: run-functest-all run-valgrind-all run-sanitizer-all run-testvectors-all run-symbol-namespace-all

View File

@ -54,7 +54,7 @@ _The checking of items on this list is still being developed. Checked items shou
* [ ] Makefile-based build for each separate scheme * [ ] Makefile-based build for each separate scheme
* [ ] Makefile-based build for Windows (`nmake`) * [ ] Makefile-based build for Windows (`nmake`)
* [x] All exported symbols are namespaced with `PQCLEAN_SCHEMENAME_` * [x] All exported symbols are namespaced with `PQCLEAN_SCHEMENAME_`
* [ ] Each implementation comes with a `LICENSE` file (see below) * [x] Each implementation comes with a `LICENSE` file (see below)
* [x] Each scheme comes with a `META.yml` file giving details about version of the algorithm, designers * [x] Each scheme comes with a `META.yml` file giving details about version of the algorithm, designers
* [x] Each individual implementation is specified in `META.yml`. * [x] Each individual implementation is specified in `META.yml`.

View File

@ -0,0 +1,15 @@
Public Domain
Authors: Joppe Bos,
Léo Ducas,
Eike Kiltz ,
Tancrède Lepoint,
Vadim Lyubashevsky,
John Schanck,
Peter Schwabe,
Gregor Seiler,
Damien Stehlé
For Keccak and AES we are using public-domain
code from sources and by authors listed in
comments on top of the respective files.

View File

@ -0,0 +1 @@
Public Domain