Skip to content

Commit 6bb951f

Browse files
mzaslonkgregkh
authored andcommitted
LICENSES/deprecated: add Zlib license text
The new files contributed to zlib have Zlib SPDX license identifier. Since there was no Zlib license text in LICENSES, scripts/spdxcheck.py reported the following errors: lib/zlib_dfltcc/dfltcc.c: 1:28 Invalid License ID: Zlib lib/zlib_dfltcc/dfltcc.h: 1:28 Invalid License ID: Zlib lib/zlib_dfltcc/dfltcc_deflate.c: 1:28 Invalid License ID: Zlib lib/zlib_dfltcc/dfltcc_inflate.c: 1:28 Invalid License ID: Zlib lib/zlib_dfltcc/dfltcc_util.h: 1:28 Invalid License ID: Zlib The patch adds Zlib SPDX license to LICENSES/deprecated, thus resolving the issues reported by spdxcheck. Suggested-by: Lukas Bulwahn <[email protected]> Reviewed-by: Lukas Bulwahn <[email protected]> Signed-off-by: Mikhail Zaslonko <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 509edd9 commit 6bb951f

File tree

1 file changed

+27
-0
lines changed
  • LICENSES/deprecated

1 file changed

+27
-0
lines changed

LICENSES/deprecated/Zlib

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Valid-License-Identifier: Zlib
2+
SPDX-URL: https://spdx.org/licenses/Zlib.html
3+
Usage-Guide:
4+
To use the Zlib License put the following SPDX tag/value pair into a
5+
comment according to the placement guidelines in the licensing rules
6+
documentation:
7+
SPDX-License-Identifier: Zlib
8+
License-Text:
9+
10+
zlib License
11+
12+
Copyright (c) <year> <copyright holders>
13+
14+
This software is provided 'as-is', without any express or implied warranty. In
15+
no event will the authors be held liable for any damages arising from the use
16+
of this software.
17+
18+
Permission is granted to anyone to use this software for any purpose, including
19+
commercial applications, and to alter it and redistribute it freely, subject
20+
to the following restrictions:
21+
1. The origin of this software must not be misrepresented; you must not
22+
claim that you wrote the original software. If you use this software in a
23+
product, an acknowledgment in the product documentation would be appreciated
24+
but is not required.
25+
2. Altered source versions must be plainly marked as such, and must not be
26+
misrepresented as being the original software.
27+
3. This notice may not be removed or altered from any source distribution.

0 commit comments

Comments
 (0)