Add SPDX license identifiers and update copyright year

All source code files as well as README.md, .gitignore, and various configuration files have been updated with an SPDX license identifier, changing license from CC0-1.0 to MIT. The copyright year has been updated to 2023, and the copyright holder's email address has been corrected from 'winni@neessen.dev' to 'wn@neessen.dev'. An MIT license text file has been additionally added.
This commit is contained in:
Winni Neessen 2023-12-15 16:35:41 +01:00
parent cf17cc3419
commit ea1ac393bc
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D
17 changed files with 69 additions and 10 deletions

4
.github/FUNDING.yml vendored
View file

@ -1,6 +1,6 @@
# SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> # SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
# #
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: MIT
github: wneessen github: wneessen
ko_fi: winni ko_fi: winni

View file

@ -1,6 +1,6 @@
# SPDX-FileCopyrightText: 2023 Winni Neessen <winni@neessen.dev> # SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
# #
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: MIT
name: golangci-lint name: golangci-lint
on: on:

View file

@ -1,6 +1,6 @@
# SPDX-FileCopyrightText: 2023 Winni Neessen <winni@neessen.dev> # SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
# #
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: MIT
name: REUSE Compliance Check name: REUSE Compliance Check

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
#
# SPDX-License-Identifier: MIT
name: Build name: Build
on: on:
@ -5,7 +9,6 @@ on:
branches: branches:
- main - main
jobs: jobs:
build: build:
name: Build name: Build

4
.gitignore vendored
View file

@ -1,6 +1,6 @@
# SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> # SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
# #
# SPDX-License-Identifier: CC0-1.0 # SPDX-License-Identifier: MIT
# Binaries for programs and plugins # Binaries for programs and plugins
*.exe *.exe

4
.idea/.gitignore vendored
View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
#
# SPDX-License-Identifier: MIT
# Default ignored files # Default ignored files
/shelf/ /shelf/
/workspace.xml /workspace.xml

9
LICENSES/MIT.txt Normal file
View file

@ -0,0 +1,9 @@
MIT License
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View file

@ -1,2 +1,8 @@
<!--
SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
SPDX-License-Identifier: MIT
//-->
# logranger # logranger
Perform actions on rule-based incoming syslog messages Perform actions on rule-based incoming syslog messages

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
//
// SPDX-License-Identifier: MIT
package main package main
import ( import (

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
//
// SPDX-License-Identifier: MIT
package logranger package logranger
import ( import (

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
//
// SPDX-License-Identifier: MIT
package logranger package logranger
import "errors" import "errors"

4
go.mod
View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
//
// SPDX-License-Identifier: MIT
module github.com/wneessen/logranger module github.com/wneessen/logranger
go 1.21 go 1.21

4
go.sum
View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
//
// SPDX-License-Identifier: MIT
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
//
// SPDX-License-Identifier: MIT
package logranger package logranger
import ( import (

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
#
# SPDX-License-Identifier: MIT
[server] [server]
pid_file = "/var/tmp/logranger.pid" pid_file = "/var/tmp/logranger.pid"

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
//
// SPDX-License-Identifier: MIT
package logranger package logranger
import ( import (

View file

@ -1 +1,6 @@
sonar.projectKey=logranger # SPDX-FileCopyrightText: 2023 Winni Neessen <wn@neessen.dev>
#
# SPDX-License-Identifier: MIT
sonar.projectKey=logranger
sonar.go.coverage.reportPaths=cov.out