Merge remote-tracking branch 'origin/topic/etyp/copying-2025'

* origin/topic/etyp/copying-2025:
  Update COPYING date to now and fix some [skip CI]
This commit is contained in:
Arne Welzel 2025-01-09 16:26:00 +01:00
commit 0fc7a8ca4b
29 changed files with 41 additions and 35 deletions

View file

@ -1,4 +1,4 @@
# Copyright (c) 2020-2023 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
--- ---
Language: Cpp Language: Cpp

View file

@ -8,10 +8,9 @@ repos:
name: Check for license headers name: Check for license headers
entry: ./ci/license-header.py entry: ./ci/license-header.py
language: python language: python
types_or: files: '\.(h|c|cpp|cc|spicy|evt)$'
- "c" types: [file]
- "c++" exclude: '^(testing/btest/(Baseline|plugins|spicy|scripts)/.*|testing/builtin-plugins/.*)$'
exclude: '^(testing/btest/plugins/.*|testing/builtin-plugins/.*)$'
- repo: https://github.com/pre-commit/mirrors-clang-format - repo: https://github.com/pre-commit/mirrors-clang-format
rev: 'v19.1.4' rev: 'v19.1.4'

View file

@ -1,3 +1,7 @@
7.2.0-dev.50 | 2025-01-09 16:26:00 +0100
* Update COPYING date to now and fix some [skip CI] (Evan Typanski, Corelight)
7.2.0-dev.48 | 2025-01-08 21:44:21 -0800 7.2.0-dev.48 | 2025-01-08 21:44:21 -0800
* Try to be more careful with `--help` printing (Evan Typanski, Corelight) * Try to be more careful with `--help` printing (Evan Typanski, Corelight)

View file

@ -1,4 +1,4 @@
Copyright (c) 1995-2023, The Regents of the University of California Copyright (c) 1995-now, The Regents of the University of California
through the Lawrence Berkeley National Laboratory and the through the Lawrence Berkeley National Laboratory and the
International Computer Science Institute. All rights reserved. International Computer Science Institute. All rights reserved.

View file

@ -1 +1 @@
7.2.0-dev.48 7.2.0-dev.50

View file

@ -5,18 +5,13 @@ import sys
exit_code = 0 exit_code = 0
pat1 = re.compile( copyright_pat = re.compile(
r"See the file \"COPYING\" in the main distribution directory for copyright." r"See the file \"COPYING\" in the main distribution directory for copyright."
) )
# This is the copyright line used within Spicy plugin and popular in
# Spicy analyzers.
pat2 = re.compile(r"Copyright \(c\) 2... by the Zeek Project. See COPYING for details.")
def match_line(line): def match_line(line):
for pat in [pat1, pat2]: m = copyright_pat.search(line)
m = pat.search(line)
if m is not None: if m is not None:
return True return True

View file

@ -1,4 +1,4 @@
# Copyright (c) 2021 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
@load base/frameworks/reporter @load base/frameworks/reporter
@load base/protocols/conn/removal-hooks @load base/protocols/conn/removal-hooks

View file

@ -1,4 +1,4 @@
# Copyright (c) 2020-2021 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
module zeek; module zeek;

View file

@ -1,4 +1,4 @@
# Copyright (c) 2020-2021 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
# #
# TODO: This code would ideally just be a part of zeek.spicy, but that would # TODO: This code would ideally just be a part of zeek.spicy, but that would
# come with compilation overhead currently even if not used, see # come with compilation overhead currently even if not used, see

View file

@ -1,4 +1,4 @@
# Copyright (c) 2022 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
%doc-id= Zeek::Finger; %doc-id= Zeek::Finger;
%doc-description = "Finger analyzer"; %doc-description = "Finger analyzer";

View file

@ -1,4 +1,4 @@
# Copyright (c) 2022 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
# #
# Giving the rare number of instances of this protocol these days, we err on the side of # Giving the rare number of instances of this protocol these days, we err on the side of
# rejecting sessions if they don't parse well. # rejecting sessions if they don't parse well.

View file

@ -1,4 +1,4 @@
# Copyright (c) 2021 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
module ASN1; module ASN1;

View file

@ -1,4 +1,4 @@
# Copyright (c) 2021 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
%doc-id = Zeek::LDAP; %doc-id = Zeek::LDAP;
%doc-description = "LDAP analyzer"; %doc-description = "LDAP analyzer";

View file

@ -1,4 +1,4 @@
# Copyright (c) 2021 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
module LDAP; module LDAP;

View file

@ -1,3 +1,5 @@
# See the file "COPYING" in the main distribution directory for copyright.
module LDAP_Zeek; module LDAP_Zeek;
import LDAP; import LDAP;

View file

@ -1,3 +1,5 @@
# See the file "COPYING" in the main distribution directory for copyright.
import PostgreSQL; import PostgreSQL;
import PostgreSQL_Zeek; import PostgreSQL_Zeek;

View file

@ -1,3 +1,5 @@
# See the file "COPYING" in the main distribution directory for copyright.
#
# A PostgreSQL analyzer. # A PostgreSQL analyzer.
# #
# https://www.postgresql.org/docs/current/protocol.html # https://www.postgresql.org/docs/current/protocol.html

View file

@ -1,3 +1,5 @@
# See the file "COPYING" in the main distribution directory for copyright.
#
# Set up protocol confirmation/rejection for analyzers, as well as any further # Set up protocol confirmation/rejection for analyzers, as well as any further
# Zeek-specific analysis. # Zeek-specific analysis.

View file

@ -1,5 +1,5 @@
# See the file "COPYING" in the main distribution directory for copyright.
# Copyright (c) 2023, NCC Group / Fox-IT. See COPYING for details. # Copyright (c) 2023, NCC Group / Fox-IT. See COPYING for details.
# Copyright (c) 2023 by the Zeek Project. See COPYING for details.
%doc-id = Zeek::QUIC; %doc-id = Zeek::QUIC;
%doc-description = "QUIC analyzer"; %doc-description = "QUIC analyzer";

View file

@ -1,5 +1,5 @@
# See the file "COPYING" in the main distribution directory for copyright.
# Copyright (c) 2023, NCC Group / Fox-IT. See COPYING for details. # Copyright (c) 2023, NCC Group / Fox-IT. See COPYING for details.
# Copyright (c) 2023 by the Zeek Project. See COPYING for details.
module QUIC; module QUIC;

View file

@ -1,5 +1,5 @@
// See the file "COPYING" in the main distribution directory for copyright.
// Copyright (c) 2023, NCC Group / Fox-IT. See COPYING for details. // Copyright (c) 2023, NCC Group / Fox-IT. See COPYING for details.
// Copyright (c) 2023 by the Zeek Project. See COPYING for details.
/* /*
WARNING: THIS CODE IS NOT SAFE IN MULTI-THREADED ENVIRONMENTS: WARNING: THIS CODE IS NOT SAFE IN MULTI-THREADED ENVIRONMENTS:

View file

@ -1,4 +1,4 @@
# Copyright (c) 2024 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
protocol analyzer SSL over TCP: protocol analyzer SSL over TCP:
parse with SSL::Message; parse with SSL::Message;

View file

@ -1,4 +1,4 @@
# Copyright (c) 2024 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
module SSL; module SSL;

View file

@ -1,4 +1,4 @@
// Copyright (c) 2023 by the Zeek Project. See COPYING for details. // See the file "COPYING" in the main distribution directory for copyright.
#include <hilti/rt/libhilti.h> #include <hilti/rt/libhilti.h>
#include <cassert> #include <cassert>

View file

@ -1,4 +1,4 @@
# Copyright (c) 2022 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
%doc-id= Zeek::Syslog; %doc-id= Zeek::Syslog;
%doc-description = "Syslog analyzer UDP-only"; %doc-description = "Syslog analyzer UDP-only";

View file

@ -1,4 +1,4 @@
# Copyright (c) 2022 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
module Syslog; module Syslog;

View file

@ -1,4 +1,4 @@
// Copyright (c) 2024 by the Zeek Project. See COPYING for details. // See the file "COPYING" in the main distribution directory for copyright.
#include <hilti/rt/libhilti.h> #include <hilti/rt/libhilti.h>

View file

@ -1,4 +1,4 @@
# Copyright (c) 2024 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
%doc-id= Zeek::WebSocket; %doc-id= Zeek::WebSocket;
%doc-description = "webSocket analyzer"; %doc-description = "webSocket analyzer";

View file

@ -1,4 +1,4 @@
# Copyright (c) 2024 by the Zeek Project. See LICENSE for details. # See the file "COPYING" in the main distribution directory for copyright.
module WebSocket; module WebSocket;