From 7866aea0b6dde7fa518af6f2018d5b80224b7b80 Mon Sep 17 00:00:00 2001 From: Attila Szakacs Date: Thu, 4 Jan 2024 10:37:01 +0100 Subject: [PATCH] copyright: add severity-aliases.table Signed-off-by: Attila Szakacs --- lib/severity-aliases.table | 23 +++++++++++++++++++++++ tests/copyright/check.sh | 2 +- tests/copyright/policy | 1 + 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/lib/severity-aliases.table b/lib/severity-aliases.table index 1fb1215965..43be1b42c3 100644 --- a/lib/severity-aliases.table +++ b/lib/severity-aliases.table @@ -1,3 +1,26 @@ +/* + * Copyright (c) 2024 Balazs Scheidler + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + * As an additional exemption you are allowed to compile & link against the + * OpenSSL libraries as published by the OpenSSL project. See the file + * COPYING for details. + * + */ + %{ #pragma GCC diagnostic ignored "-Wswitch-default" diff --git a/tests/copyright/check.sh b/tests/copyright/check.sh index 7f10b34c09..26e7dd4507 100755 --- a/tests/copyright/check.sh +++ b/tests/copyright/check.sh @@ -301,7 +301,7 @@ extract_holder_license() { local EXT="`echo "$FILE" | sed -r "s~^.*\.([^.]+)$~\1~"`" case "$EXT" in - c|h|cpp|hpp|ym|java) + c|h|cpp|hpp|ym|java|table) extract_holder_license_c ;; ac|am|cmake|conf|sh|pl|py) diff --git a/tests/copyright/policy b/tests/copyright/policy index 794bfdde2e..7cde5eb9ae 100644 --- a/tests/copyright/policy +++ b/tests/copyright/policy @@ -107,6 +107,7 @@ lib/multi-line/tests/test_smart_multi_line\.c libtest/mock-logpipe\.[ch] lib/generic-number\.[ch] lib/tests/test_generic_number\.c +lib/severity-aliases\.table syslog-ng-ctl/commands/log-level.[ch] modules/afsocket/afsocket-signals.h syslog-ng-ctl/commands/healthcheck.[ch]