Update COPYING date to now and fix some [skip CI]

This commit is contained in:
Evan Typanski 2025-01-08 12:00:50 -05:00
parent ac1c55c02a
commit fe44022ee7
27 changed files with 36 additions and 34 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

View file

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

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
International Computer Science Institute. All rights reserved.

View file

@ -5,18 +5,13 @@ import sys
exit_code = 0
pat1 = re.compile(
copyright_pat = re.compile(
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):
for pat in [pat1, pat2]:
m = pat.search(line)
m = copyright_pat.search(line)
if m is not None:
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/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;

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
# 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-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
# 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;

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-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;

View file

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

View file

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

View file

@ -1,3 +1,5 @@
# See the file "COPYING" in the main distribution directory for copyright.
#
# A PostgreSQL analyzer.
#
# 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
# 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 by the Zeek Project. See COPYING for details.
%doc-id = Zeek::QUIC;
%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 by the Zeek Project. See COPYING for details.
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 by the Zeek Project. See COPYING for details.
/*
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:
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;

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 <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-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;

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>

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-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;