From 36a32e271b5646adbe211c41f099ffe1cf36af40 Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Sat, 28 Dec 2024 17:20:27 +0100 Subject: [PATCH] fix(template): make copyright notices consistent --- templates/BSD-1-Clause.tmpl | 4 +++- templates/BSD-2-Clause.tmpl | 4 +++- templates/BSD-3-Clause.tmpl | 4 +++- templates/ISC.tmpl | 2 +- templates/MIT.tmpl | 4 +++- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/templates/BSD-1-Clause.tmpl b/templates/BSD-1-Clause.tmpl index ce7d1b0..c410e71 100644 --- a/templates/BSD-1-Clause.tmpl +++ b/templates/BSD-1-Clause.tmpl @@ -1,4 +1,6 @@ -Copyright (c) {{ .Year }} {{ .AuthorName }} All rights reserved. +BSD 1-Clause License + +Copyright (C) {{ .Year }} by {{ .AuthorName }} <{{ .AuthorEmail }}>. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/templates/BSD-2-Clause.tmpl b/templates/BSD-2-Clause.tmpl index 1b5d1bd..50fc360 100644 --- a/templates/BSD-2-Clause.tmpl +++ b/templates/BSD-2-Clause.tmpl @@ -1,4 +1,6 @@ -Copyright (c) {{ .Year }} {{ .AuthorName }}. +BSD 2-Clause "Simplified" License + +Copyright (C) {{ .Year }} by {{ .AuthorName }} <{{ .AuthorEmail }}>. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/templates/BSD-3-Clause.tmpl b/templates/BSD-3-Clause.tmpl index ed79202..33ca4a3 100644 --- a/templates/BSD-3-Clause.tmpl +++ b/templates/BSD-3-Clause.tmpl @@ -1,4 +1,6 @@ -Copyright (c) {{ .Year }} {{ .AuthorName }}. +BSD 3-Clause "New" or "Revised" License + +Copyright (C) {{ .Year }} by {{ .AuthorName }} <{{ .AuthorEmail }}>. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/templates/ISC.tmpl b/templates/ISC.tmpl index d5e4964..b8dd536 100644 --- a/templates/ISC.tmpl +++ b/templates/ISC.tmpl @@ -1,6 +1,6 @@ ISC License -Copyright {{.Year}} {{.AuthorName}} +Copyright (C) {{ .Year }} by {{ .AuthorName }} <{{ .AuthorEmail }}>. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. diff --git a/templates/MIT.tmpl b/templates/MIT.tmpl index 470c901..2d60841 100644 --- a/templates/MIT.tmpl +++ b/templates/MIT.tmpl @@ -1,4 +1,6 @@ -Copyright {{.Year}} {{.AuthorName}} +MIT License + +Copyright (C) {{ .Year }} by {{ .AuthorName }} <{{ .AuthorEmail }}>. 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: