diff --git a/.builds/alpine.yml b/.builds/alpine.yml index f83956d5f..6c27da065 100644 --- a/.builds/alpine.yml +++ b/.builds/alpine.yml @@ -9,6 +9,8 @@ packages: - openssl-dev - linux-headers - procps + - moreutils + - reuse sources: - https://codeberg.org/redict/redict.git tasks: diff --git a/.reuse/dep5 b/.reuse/dep5 index 41b4b7e10..c5f0b263d 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -105,3 +105,24 @@ License: BSD-2-Clause Files: deps/hdr_histogram/* Copyright: 2014 Matt Warren License: BSD-2-Clause + +# From hiredict +Files: deps/hiredict/.gitignore deps/hiredict/.travis.yml deps/hiredict/appveyor.yml +Copyright: Salvatore Sanfilippo +License: BSD-3-Clause + +Files: deps/hiredict/hiredict.pc.in deps/hiredict/hiredict.targets deps/hiredict/hiredict_ssl.pc.in +Copyright: Salvatore Sanfilippo +License: BSD-3-Clause + +Files: deps/hiredict/shim/hiredis.pc.in deps/hiredict/shim/hiredis_ssl.pc.in +Copyright: Salvatore Sanfilippo +License: BSD-3-Clause + +Files: deps/hiredict/hiredict-config.cmake.in deps/hiredict/hiredict_ssl-config.cmake.in +Copyright: Salvatore Sanfilippo +License: BSD-3-Clause + +Files: deps/hiredict/hiredict.targets +Copyright: Salvatore Sanfilippo +License: BSD-3-Clause diff --git a/utils/lint.sh b/utils/lint.sh index e875d72c7..076a2431d 100755 --- a/utils/lint.sh +++ b/utils/lint.sh @@ -1,4 +1,7 @@ #!/bin/sh -e +# SPDX-FileCopyrightText: 2024 Redict Contributors +# SPDX-License-Identifier: LGPL-3.0-only + signoff() { if ! git log --format='%b' HEAD^.. | grep 'Signed-off-by' >/dev/null then @@ -9,8 +12,15 @@ signoff() { fi } +licenses() { + if ! chronic sh -c "reuse lint 2>/dev/null" + then + return 1 + fi +} + exitcode=0 -for step in signoff +for step in signoff licenses do if ! $step then