Skip to content

Commit f3884a9

Browse files
committed
Add copyright regexes for expat and siphash
1 parent 0d8f84f commit f3884a9

File tree

5 files changed

+74
-0
lines changed

5 files changed

+74
-0
lines changed

graalpython/com.oracle.graal.python.cext/expat/expat_config.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/* Copyright (c) 2019, 2021, Oracle and/or its affiliates.
2+
* Copyright (C) 1996-2020 Python Software Foundation
3+
*
4+
* Licensed under the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
5+
*/
16
/*
27
* Expat configuration for python. This file is not part of the expat
38
* distribution.

graalpython/com.oracle.graal.python.cext/expat/pyexpatns.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/* Copyright (c) 2019, 2021, Oracle and/or its affiliates.
2+
* Copyright (C) 1996-2020 Python Software Foundation
3+
*
4+
* Licensed under the PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
5+
*/
16
/* Copyright (c) 2005-2006 ActiveState Software Inc.
27
*
38
* Namespace all expat exported symbols to avoid dynamic loading symbol
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/\*.*
2+
__ __ _
3+
___\\ \\/ /_ __ __ _\| \|_
4+
/ _ \\\\ /\| '_ \\ / _` \| __\|
5+
\| __// \\\| \|_\) \| \(_\| \| \|_
6+
\\___/_/\\_\\ \.__/ \\__,_\|\\__\|
7+
\|_\| XML parser
8+
9+
Copyright \(c\) 1997-2000 Thai Open Source Software Center Ltd
10+
Copyright \(c\) 2000-2017 Expat development team
11+
Licensed under the MIT license:
12+
13+
Permission is hereby granted, free of charge, to any person obtaining
14+
a copy of this software and associated documentation files \(the
15+
"Software"\), to deal in the Software without restriction, including
16+
without limitation the rights to use, copy, modify, merge, publish,
17+
distribute, sublicense, and/or sell copies of the Software, and to permit
18+
persons to whom the Software is furnished to do so, subject to the
19+
following conditions:
20+
21+
The above copyright notice and this permission notice shall be included
22+
in all copies or substantial portions of the Software\.
23+
24+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\. IN
27+
NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
28+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
29+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
30+
USE OR OTHER DEALINGS IN THE SOFTWARE\.
31+
\*/
32+
.*

mx.graalpython/copyrights/overrides

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,26 @@ graalpython/com.oracle.graal.python.cext/include/ceval.h,python.copyright
6868
graalpython/com.oracle.graal.python.cext/include/classobject.h,python.copyright
6969
graalpython/com.oracle.graal.python.cext/include/code.h,python.copyright
7070
graalpython/com.oracle.graal.python.cext/include/codecs.h,python.copyright
71+
graalpython/com.oracle.graal.python.cext/expat/ascii.h,expat.copyright
72+
graalpython/com.oracle.graal.python.cext/expat/asciitab.h,expat.copyright
73+
graalpython/com.oracle.graal.python.cext/expat/expat_config.h,python.copyright
74+
graalpython/com.oracle.graal.python.cext/expat/expat_external.h,expat.copyright
75+
graalpython/com.oracle.graal.python.cext/expat/expat.h,expat.copyright
76+
graalpython/com.oracle.graal.python.cext/expat/iasciitab.h,expat.copyright
77+
graalpython/com.oracle.graal.python.cext/expat/internal.h,expat.copyright
78+
graalpython/com.oracle.graal.python.cext/expat/latin1tab.h,expat.copyright
79+
graalpython/com.oracle.graal.python.cext/expat/nametab.h,expat.copyright
80+
graalpython/com.oracle.graal.python.cext/expat/pyexpatns.h,python.copyright
81+
graalpython/com.oracle.graal.python.cext/expat/siphash.h,siphash.copyright
82+
graalpython/com.oracle.graal.python.cext/expat/utf8tab.h,expat.copyright
83+
graalpython/com.oracle.graal.python.cext/expat/xmlparse.c,expat.copyright
84+
graalpython/com.oracle.graal.python.cext/expat/xmlrole.c,expat.copyright
85+
graalpython/com.oracle.graal.python.cext/expat/xmlrole.h,expat.copyright
86+
graalpython/com.oracle.graal.python.cext/expat/xmltok.c,expat.copyright
87+
graalpython/com.oracle.graal.python.cext/expat/xmltok.h,expat.copyright
88+
graalpython/com.oracle.graal.python.cext/expat/xmltok_impl.c,expat.copyright
89+
graalpython/com.oracle.graal.python.cext/expat/xmltok_impl.h,expat.copyright
90+
graalpython/com.oracle.graal.python.cext/expat/xmltok_ns.c,expat.copyright
7191
graalpython/com.oracle.graal.python.cext/include/hpy/autogen_hpyfunc_declare.h,hpy.copyright
7292
graalpython/com.oracle.graal.python.cext/include/hpy/autogen_hpyslot.h,hpy.copyright
7393
graalpython/com.oracle.graal.python.cext/include/hpy/cpy_types.h,hpy.copyright
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/\* ==========================================================================
2+
\* siphash\.h - SipHash-2-4 in a single header file
3+
\* --------------------------------------------------------------------------
4+
\* Derived by William Ahern from the reference implementation\[1\] published\[2\]
5+
\* by Jean-Philippe Aumasson and Daniel J\. Berstein\.
6+
\* Minimal changes by Sebastian Pipping and Victor Stinner on top, see below\.
7+
\* Licensed under the CC0 Public Domain Dedication license\.
8+
\*
9+
\* 1\. https://www\.131002\.net/siphash/siphash24\.c
10+
\* 2\. https://www\.131002\.net/siphash/
11+
\* --------------------------------------------------------------------------
12+
.*

0 commit comments

Comments
 (0)