From d6abc1da02959728236457e4a6b5b1b9a61b3427 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 18 May 2022 14:09:59 +0100 Subject: cmake: Add BSD-style licenses I've erred on the side of caution and treated the COPYING-CMAKE-SCRIPTS license (a BSD-3-Clause variation) as its own distinct license. Co-authored-by: Ralf Habacker Signed-off-by: Simon McVittie --- cmake/modules/COPYING-CMAKE-SCRIPTS | 22 ---------------------- cmake/modules/FindDocBookXSL.cmake | 1 + cmake/modules/FindGLIB2.cmake | 3 ++- cmake/modules/Win32Macros.cmake | 1 + 4 files changed, 4 insertions(+), 23 deletions(-) delete mode 100644 cmake/modules/COPYING-CMAKE-SCRIPTS (limited to 'cmake') diff --git a/cmake/modules/COPYING-CMAKE-SCRIPTS b/cmake/modules/COPYING-CMAKE-SCRIPTS deleted file mode 100644 index 53b6b71e..00000000 --- a/cmake/modules/COPYING-CMAKE-SCRIPTS +++ /dev/null @@ -1,22 +0,0 @@ -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the copyright - notice, this list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. -3. The name of the author may not be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/cmake/modules/FindDocBookXSL.cmake b/cmake/modules/FindDocBookXSL.cmake index 3d9e40c4..edb10c4e 100644 --- a/cmake/modules/FindDocBookXSL.cmake +++ b/cmake/modules/FindDocBookXSL.cmake @@ -6,6 +6,7 @@ # used to process DocBook XML # Copyright (c) 2010, Luigi Toscano, +# SPDX-License-Identifier: BSD-3-Clause # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions diff --git a/cmake/modules/FindGLIB2.cmake b/cmake/modules/FindGLIB2.cmake index 0cadba5e..97d2bf21 100644 --- a/cmake/modules/FindGLIB2.cmake +++ b/cmake/modules/FindGLIB2.cmake @@ -7,9 +7,10 @@ # Copyright (c) 2008 Laurent Montel, # Copyright (c) 2013 Ralf Habacker, +# SPDX-License-Identifier: LicenseRef-CMakeScripts.txt # # Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. +# For details see LICENSES/LicenseRef-CMakeScripts.txt. if(GLIB2_INCLUDE_DIR AND GLIB2_LIBRARIES) diff --git a/cmake/modules/Win32Macros.cmake b/cmake/modules/Win32Macros.cmake index c5054c67..4df8df51 100644 --- a/cmake/modules/Win32Macros.cmake +++ b/cmake/modules/Win32Macros.cmake @@ -2,6 +2,7 @@ # win32 macros # # Copyright (c) 2006-2007, Ralf Habacker +# SPDX-License-Identifier: BSD-3-Clause # # Redistribution and use is allowed according to the terms of the BSD license. # -- cgit v1.2.1