From 107f1c4cee2ac6534c536efc3affae5e417e01fe Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Fri, 22 Mar 2024 17:49:33 +0100 Subject: all: use REUSE with LGPL-3.0-or-later and BSD-3-Clause Signed-off-by: Anna (navi) Figueiredo Gomes --- adapters/ae.h | 27 ++++----------------------- adapters/glib.h | 11 +++++++++++ adapters/ivykis.h | 11 +++++++++++ adapters/libev.h | 25 ++++--------------------- adapters/libevent.h | 27 ++++----------------------- adapters/libhv.h | 11 +++++++++++ adapters/libsdevent.h | 11 +++++++++++ adapters/libuv.h | 11 +++++++++++ adapters/macosx.h | 14 ++++++++++---- adapters/poll.h | 10 ++++++++++ adapters/qt.h | 26 ++++++-------------------- adapters/redismoduleapi.h | 11 +++++++++++ 12 files changed, 104 insertions(+), 91 deletions(-) (limited to 'adapters') diff --git a/adapters/ae.h b/adapters/ae.h index 660d82e..9923f1b 100644 --- a/adapters/ae.h +++ b/adapters/ae.h @@ -1,31 +1,12 @@ /* * Copyright (c) 2010-2011, Pieter Noordhuis * - * All rights reserved. + * SPDX-FileCopyrightText: 2024 Hiredict Contributors + * SPDX-FileCopyrightText: 2024 Pieter Noordhuis * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: LGPL-3.0-or-later * - * * Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of Redis nor the names of its contributors may be used - * to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER OR CONTRIBUTORS 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. */ #ifndef __HIREDIS_AE_H__ diff --git a/adapters/glib.h b/adapters/glib.h index ad59dd1..3b6772c 100644 --- a/adapters/glib.h +++ b/adapters/glib.h @@ -1,3 +1,14 @@ +/* + * Copyright (c) 2009-2011, Salvatore Sanfilippo + * + * SPDX-FileCopyrightText: 2024 Hiredict Contributors + * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo + * + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: LGPL-3.0-or-later + * + */ + #ifndef __HIREDIS_GLIB_H__ #define __HIREDIS_GLIB_H__ diff --git a/adapters/ivykis.h b/adapters/ivykis.h index 179f6ab..3de8d0c 100644 --- a/adapters/ivykis.h +++ b/adapters/ivykis.h @@ -1,3 +1,14 @@ +/* + * Copyright (c) 2009-2011, Salvatore Sanfilippo + * + * SPDX-FileCopyrightText: 2024 Hiredict Contributors + * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo + * + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: LGPL-3.0-or-later + * + */ + #ifndef __HIREDIS_IVYKIS_H__ #define __HIREDIS_IVYKIS_H__ #include diff --git a/adapters/libev.h b/adapters/libev.h index c59d3da..ad8e79c 100644 --- a/adapters/libev.h +++ b/adapters/libev.h @@ -3,29 +3,12 @@ * * All rights reserved. * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: + * SPDX-FileCopyrightText: 2024 Hiredict Contributors + * SPDX-FileCopyrightText: 2024 Pieter Noordhuis * - * * Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of Redis nor the names of its contributors may be used - * to endorse or promote products derived from this software without - * specific prior written permission. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: LGPL-3.0-or-later * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER OR CONTRIBUTORS 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. */ #ifndef __HIREDIS_LIBEV_H__ diff --git a/adapters/libevent.h b/adapters/libevent.h index 73bb8ed..c7cc4e7 100644 --- a/adapters/libevent.h +++ b/adapters/libevent.h @@ -1,31 +1,12 @@ /* * Copyright (c) 2010-2011, Pieter Noordhuis * - * All rights reserved. + * SPDX-FileCopyrightText: 2024 Hiredict Contributors + * SPDX-FileCopyrightText: 2024 Pieter Noordhuis * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: LGPL-3.0-or-later * - * * Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of Redis nor the names of its contributors may be used - * to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER OR CONTRIBUTORS 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. */ #ifndef __HIREDIS_LIBEVENT_H__ diff --git a/adapters/libhv.h b/adapters/libhv.h index 3b54c70..3dd6978 100644 --- a/adapters/libhv.h +++ b/adapters/libhv.h @@ -1,3 +1,14 @@ +/* + * Copyright (c) 2009-2011, Salvatore Sanfilippo + * + * SPDX-FileCopyrightText: 2024 Hiredict Contributors + * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo + * + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: LGPL-3.0-or-later + * + */ + #ifndef __HIREDIS_LIBHV_H__ #define __HIREDIS_LIBHV_H__ diff --git a/adapters/libsdevent.h b/adapters/libsdevent.h index 1268ed9..74364a5 100644 --- a/adapters/libsdevent.h +++ b/adapters/libsdevent.h @@ -1,3 +1,14 @@ +/* + * Copyright (c) 2009-2011, Salvatore Sanfilippo + * + * SPDX-FileCopyrightText: 2024 Hiredict Contributors + * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo + * + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: LGPL-3.0-or-later + * + */ + #ifndef HIREDIS_LIBSDEVENT_H #define HIREDIS_LIBSDEVENT_H #include diff --git a/adapters/libuv.h b/adapters/libuv.h index ec67c15..85e12ed 100644 --- a/adapters/libuv.h +++ b/adapters/libuv.h @@ -1,3 +1,14 @@ +/* + * Copyright (c) 2009-2011, Salvatore Sanfilippo + * + * SPDX-FileCopyrightText: 2024 Hiredict Contributors + * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo + * + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: LGPL-3.0-or-later + * + */ + #ifndef __HIREDIS_LIBUV_H__ #define __HIREDIS_LIBUV_H__ #include diff --git a/adapters/macosx.h b/adapters/macosx.h index 3c87f1b..fafd43b 100644 --- a/adapters/macosx.h +++ b/adapters/macosx.h @@ -1,7 +1,13 @@ -// -// Created by Дмитрий Бахвалов on 13.07.15. -// Copyright (c) 2015 Dmitry Bakhvalov. All rights reserved. -// +/* + * Copyright (c) 2015 Dmitry Bakhvalov + * + * SPDX-FileCopyrightText: 2024 Hiredict Contributors + * SPDX-FileCopyrightText: 2024 Dmitry Bakhvalov + * + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: LGPL-3.0-or-later + * + */ #ifndef __HIREDIS_MACOSX_H__ #define __HIREDIS_MACOSX_H__ diff --git a/adapters/poll.h b/adapters/poll.h index f138650..23b3eba 100644 --- a/adapters/poll.h +++ b/adapters/poll.h @@ -1,3 +1,13 @@ +/* + * Copyright (c) 2009-2011, Salvatore Sanfilippo + * + * SPDX-FileCopyrightText: 2024 Hiredict Contributors + * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo + * + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: LGPL-3.0-or-later + * + */ #ifndef HIREDIS_POLL_H #define HIREDIS_POLL_H diff --git a/adapters/qt.h b/adapters/qt.h index 5cc02e6..a75cf31 100644 --- a/adapters/qt.h +++ b/adapters/qt.h @@ -1,26 +1,12 @@ -/*- +/* * Copyright (C) 2014 Pietro Cerutti * - * 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 above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. + * SPDX-FileCopyrightText: 2024 Hiredict Contributors + * SPDX-FileCopyrightText: 2024 Pietro Cerutti + * + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: LGPL-3.0-or-later * - * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``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 AUTHOR OR CONTRIBUTORS 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. */ #ifndef __HIREDIS_QT_H__ diff --git a/adapters/redismoduleapi.h b/adapters/redismoduleapi.h index 8a076fe..4614b8d 100644 --- a/adapters/redismoduleapi.h +++ b/adapters/redismoduleapi.h @@ -1,3 +1,14 @@ +/* + * Copyright (c) 2009-2011, Salvatore Sanfilippo + * + * SPDX-FileCopyrightText: 2024 Hiredict Contributors + * SPDX-FileCopyrightText: 2024 Salvatore Sanfilippo + * + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-License-Identifier: LGPL-3.0-or-later + * + */ + #ifndef __HIREDIS_REDISMODULEAPI_H__ #define __HIREDIS_REDISMODULEAPI_H__ -- cgit v1.2.3