Debian Codegraph @

util/kconfig/patches/0015-fix-incorrect-spdx-strings.patch

raw
1 commit be08c1d6dca1b6dbaf3e0f3f8d953120c6ee02f9
2 Author: Martin Roth <[email protected]>
3 Date: Fri Feb 16 09:12:33 2024 -0700
4
5 Treewide: Fix incorrect SPDX license strings
6
7 These strings didn't match the license names exactly, so update them
8 to match.
9
10 Change-Id: Ib946eb15ca5fa64cbd6b657350b989b4a4c1b7b7
11 Signed-off-by: Martin Roth <[email protected]>
12 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80583
13 Tested-by: build bot (Jenkins) <[email protected]>
14 Reviewed-by: Felix Singer <[email protected]>
15
16 Index: kconfig/Makefile
17 ===================================================================
18 --- kconfig.orig/Makefile
19 +++ kconfig/Makefile
20 @@ -1,4 +1,4 @@
21 -# SPDX-License-Identifier: GPL-2.0
22 +# SPDX-License-Identifier: GPL-2.0-only
23 # ===========================================================================
24 # Kernel configuration targets
25 # These targets are used from top-level makefile
26 Index: kconfig/conf.c
27 ===================================================================
28 --- kconfig.orig/conf.c
29 +++ kconfig/conf.c
30 @@ -1,4 +1,4 @@
31 -// SPDX-License-Identifier: GPL-2.0
32 +// SPDX-License-Identifier: GPL-2.0-only
33 /*
34 * Copyright (C) 2002 Roman Zippel <[email protected]>
35 */
36 Index: kconfig/confdata.c
37 ===================================================================
38 --- kconfig.orig/confdata.c
39 +++ kconfig/confdata.c
40 @@ -1,4 +1,4 @@
41 -// SPDX-License-Identifier: GPL-2.0
42 +// SPDX-License-Identifier: GPL-2.0-only
43 /*
44 * Copyright (C) 2002 Roman Zippel <[email protected]>
45 */
46 Index: kconfig/expr.c
47 ===================================================================
48 --- kconfig.orig/expr.c
49 +++ kconfig/expr.c
50 @@ -1,4 +1,4 @@
51 -// SPDX-License-Identifier: GPL-2.0
52 +// SPDX-License-Identifier: GPL-2.0-only
53 /*
54 * Copyright (C) 2002 Roman Zippel <[email protected]>
55 */
56 Index: kconfig/expr.h
57 ===================================================================
58 --- kconfig.orig/expr.h
59 +++ kconfig/expr.h
60 @@ -1,4 +1,4 @@
61 -/* SPDX-License-Identifier: GPL-2.0 */
62 +/* SPDX-License-Identifier: GPL-2.0-only */
63 /*
64 * Copyright (C) 2002 Roman Zippel <[email protected]>
65 */
66 Index: kconfig/gconf-cfg.sh
67 ===================================================================
68 --- kconfig.orig/gconf-cfg.sh
69 +++ kconfig/gconf-cfg.sh
70 @@ -1,5 +1,5 @@
71 #!/bin/sh
72 -# SPDX-License-Identifier: GPL-2.0
73 +# SPDX-License-Identifier: GPL-2.0-only
74
75 cflags=$1
76 libs=$2
77 Index: kconfig/gconf.c
78 ===================================================================
79 --- kconfig.orig/gconf.c
80 +++ kconfig/gconf.c
81 @@ -1,4 +1,4 @@
82 -// SPDX-License-Identifier: GPL-2.0
83 +// SPDX-License-Identifier: GPL-2.0-only
84 /*
85 * Copyright (C) 2002-2003 Romain Lievin <[email protected]>
86 */
87 Index: kconfig/images.c
88 ===================================================================
89 --- kconfig.orig/images.c
90 +++ kconfig/images.c
91 @@ -1,4 +1,4 @@
92 -// SPDX-License-Identifier: GPL-2.0
93 +// SPDX-License-Identifier: GPL-2.0-only
94 /*
95 * Copyright (C) 2002 Roman Zippel <[email protected]>
96 */
97 Index: kconfig/images.h
98 ===================================================================
99 --- kconfig.orig/images.h
100 +++ kconfig/images.h
101 @@ -1,4 +1,4 @@
102 -/* SPDX-License-Identifier: GPL-2.0 */
103 +/* SPDX-License-Identifier: GPL-2.0-only */
104 /*
105 * Copyright (C) 2002 Roman Zippel <[email protected]>
106 */
107 Index: kconfig/lexer.l
108 ===================================================================
109 --- kconfig.orig/lexer.l
110 +++ kconfig/lexer.l
111 @@ -1,4 +1,4 @@
112 -/* SPDX-License-Identifier: GPL-2.0 */
113 +/* SPDX-License-Identifier: GPL-2.0-only */
114 /*
115 * Copyright (C) 2002 Roman Zippel <[email protected]>
116 */
117 Index: kconfig/lexer.lex.c_shipped
118 ===================================================================
119 --- kconfig.orig/lexer.lex.c_shipped
120 +++ kconfig/lexer.lex.c_shipped
121 @@ -2221,7 +2221,7 @@ int yy_flex_debug = 0;
122 #define YY_MORE_ADJ 0
123 #define YY_RESTORE_YY_MORE_OFFSET
124 char *yytext;
125 -/* SPDX-License-Identifier: GPL-2.0 */
126 +/* SPDX-License-Identifier: GPL-2.0-only */
127 /*
128 * Copyright (C) 2002 Roman Zippel <[email protected]>
129 */
130 Index: kconfig/list.h
131 ===================================================================
132 --- kconfig.orig/list.h
133 +++ kconfig/list.h
134 @@ -1,4 +1,4 @@
135 -/* SPDX-License-Identifier: GPL-2.0 */
136 +/* SPDX-License-Identifier: GPL-2.0-only */
137 #ifndef LIST_H
138 #define LIST_H
139
140 Index: kconfig/lkc.h
141 ===================================================================
142 --- kconfig.orig/lkc.h
143 +++ kconfig/lkc.h
144 @@ -1,4 +1,4 @@
145 -/* SPDX-License-Identifier: GPL-2.0 */
146 +/* SPDX-License-Identifier: GPL-2.0-only */
147 /*
148 * Copyright (C) 2002 Roman Zippel <[email protected]>
149 */
150 Index: kconfig/lkc_proto.h
151 ===================================================================
152 --- kconfig.orig/lkc_proto.h
153 +++ kconfig/lkc_proto.h
154 @@ -1,4 +1,4 @@
155 -/* SPDX-License-Identifier: GPL-2.0 */
156 +/* SPDX-License-Identifier: GPL-2.0-only */
157 #ifndef LKC_PROTO_H
158 #define LKC_PROTO_H
159
160 Index: kconfig/lxdialog/checklist.c
161 ===================================================================
162 --- kconfig.orig/lxdialog/checklist.c
163 +++ kconfig/lxdialog/checklist.c
164 @@ -1,4 +1,4 @@
165 -// SPDX-License-Identifier: GPL-2.0+
166 +// SPDX-License-Identifier: GPL-2.0-or-later
167 /*
168 * checklist.c -- implements the checklist box
169 *
170 Index: kconfig/lxdialog/dialog.h
171 ===================================================================
172 --- kconfig.orig/lxdialog/dialog.h
173 +++ kconfig/lxdialog/dialog.h
174 @@ -1,4 +1,4 @@
175 -/* SPDX-License-Identifier: GPL-2.0+ */
176 +/* SPDX-License-Identifier: GPL-2.0-or-later */
177 /*
178 * dialog.h -- common declarations for all dialog modules
179 *
180 Index: kconfig/lxdialog/inputbox.c
181 ===================================================================
182 --- kconfig.orig/lxdialog/inputbox.c
183 +++ kconfig/lxdialog/inputbox.c
184 @@ -1,4 +1,4 @@
185 -// SPDX-License-Identifier: GPL-2.0+
186 +// SPDX-License-Identifier: GPL-2.0-or-later
187 /*
188 * inputbox.c -- implements the input box
189 *
190 Index: kconfig/lxdialog/menubox.c
191 ===================================================================
192 --- kconfig.orig/lxdialog/menubox.c
193 +++ kconfig/lxdialog/menubox.c
194 @@ -1,4 +1,4 @@
195 -// SPDX-License-Identifier: GPL-2.0+
196 +// SPDX-License-Identifier: GPL-2.0-or-later
197 /*
198 * menubox.c -- implements the menu box
199 *
200 Index: kconfig/lxdialog/textbox.c
201 ===================================================================
202 --- kconfig.orig/lxdialog/textbox.c
203 +++ kconfig/lxdialog/textbox.c
204 @@ -1,4 +1,4 @@
205 -// SPDX-License-Identifier: GPL-2.0+
206 +// SPDX-License-Identifier: GPL-2.0-or-later
207 /*
208 * textbox.c -- implements the text box
209 *
210 Index: kconfig/lxdialog/util.c
211 ===================================================================
212 --- kconfig.orig/lxdialog/util.c
213 +++ kconfig/lxdialog/util.c
214 @@ -1,4 +1,4 @@
215 -// SPDX-License-Identifier: GPL-2.0+
216 +// SPDX-License-Identifier: GPL-2.0-or-later
217 /*
218 * util.c
219 *
220 Index: kconfig/lxdialog/yesno.c
221 ===================================================================
222 --- kconfig.orig/lxdialog/yesno.c
223 +++ kconfig/lxdialog/yesno.c
224 @@ -1,4 +1,4 @@
225 -// SPDX-License-Identifier: GPL-2.0+
226 +// SPDX-License-Identifier: GPL-2.0-or-later
227 /*
228 * yesno.c -- implements the yes/no box
229 *
230 Index: kconfig/mconf-cfg.sh
231 ===================================================================
232 --- kconfig.orig/mconf-cfg.sh
233 +++ kconfig/mconf-cfg.sh
234 @@ -1,5 +1,5 @@
235 #!/bin/sh
236 -# SPDX-License-Identifier: GPL-2.0
237 +# SPDX-License-Identifier: GPL-2.0-only
238
239 cflags=$1
240 libs=$2
241 Index: kconfig/mconf.c
242 ===================================================================
243 --- kconfig.orig/mconf.c
244 +++ kconfig/mconf.c
245 @@ -1,4 +1,4 @@
246 -// SPDX-License-Identifier: GPL-2.0
247 +// SPDX-License-Identifier: GPL-2.0-only
248 /*
249 * Copyright (C) 2002 Roman Zippel <[email protected]>
250 *
251 Index: kconfig/menu.c
252 ===================================================================
253 --- kconfig.orig/menu.c
254 +++ kconfig/menu.c
255 @@ -1,4 +1,4 @@
256 -// SPDX-License-Identifier: GPL-2.0
257 +// SPDX-License-Identifier: GPL-2.0-only
258 /*
259 * Copyright (C) 2002 Roman Zippel <[email protected]>
260 */
261 Index: kconfig/merge_config.sh
262 ===================================================================
263 --- kconfig.orig/merge_config.sh
264 +++ kconfig/merge_config.sh
265 @@ -1,5 +1,5 @@
266 #!/bin/sh
267 -# SPDX-License-Identifier: GPL-2.0
268 +# SPDX-License-Identifier: GPL-2.0-only
269 #
270 # merge_config.sh - Takes a list of config fragment values, and merges
271 # them one by one. Provides warnings on overridden values, and specified
272 Index: kconfig/nconf-cfg.sh
273 ===================================================================
274 --- kconfig.orig/nconf-cfg.sh
275 +++ kconfig/nconf-cfg.sh
276 @@ -1,5 +1,5 @@
277 #!/bin/sh
278 -# SPDX-License-Identifier: GPL-2.0
279 +# SPDX-License-Identifier: GPL-2.0-only
280
281 cflags=$1
282 libs=$2
283 Index: kconfig/nconf.c
284 ===================================================================
285 --- kconfig.orig/nconf.c
286 +++ kconfig/nconf.c
287 @@ -1,4 +1,4 @@
288 -// SPDX-License-Identifier: GPL-2.0
289 +// SPDX-License-Identifier: GPL-2.0-only
290 /*
291 * Copyright (C) 2008 Nir Tzachar <[email protected]>
292 *
293 Index: kconfig/nconf.gui.c
294 ===================================================================
295 --- kconfig.orig/nconf.gui.c
296 +++ kconfig/nconf.gui.c
297 @@ -1,4 +1,4 @@
298 -// SPDX-License-Identifier: GPL-2.0
299 +// SPDX-License-Identifier: GPL-2.0-only
300 /*
301 * Copyright (C) 2008 Nir Tzachar <[email protected]>
302 *
303 Index: kconfig/nconf.h
304 ===================================================================
305 --- kconfig.orig/nconf.h
306 +++ kconfig/nconf.h
307 @@ -1,4 +1,4 @@
308 -/* SPDX-License-Identifier: GPL-2.0 */
309 +/* SPDX-License-Identifier: GPL-2.0-only */
310 /*
311 * Copyright (C) 2008 Nir Tzachar <[email protected]>
312 *
313 Index: kconfig/parser.y
314 ===================================================================
315 --- kconfig.orig/parser.y
316 +++ kconfig/parser.y
317 @@ -1,4 +1,4 @@
318 -/* SPDX-License-Identifier: GPL-2.0 */
319 +/* SPDX-License-Identifier: GPL-2.0-only */
320 /*
321 * Copyright (C) 2002 Roman Zippel <[email protected]>
322 */
323 Index: kconfig/preprocess.c
324 ===================================================================
325 --- kconfig.orig/preprocess.c
326 +++ kconfig/preprocess.c
327 @@ -1,4 +1,4 @@
328 -// SPDX-License-Identifier: GPL-2.0
329 +// SPDX-License-Identifier: GPL-2.0-only
330 //
331 // Copyright (C) 2018 Masahiro Yamada <[email protected]>
332
333 Index: kconfig/qconf-cfg.sh
334 ===================================================================
335 --- kconfig.orig/qconf-cfg.sh
336 +++ kconfig/qconf-cfg.sh
337 @@ -1,5 +1,5 @@
338 #!/bin/sh
339 -# SPDX-License-Identifier: GPL-2.0
340 +# SPDX-License-Identifier: GPL-2.0-only
341
342 cflags=$1
343 libs=$2
344 Index: kconfig/qconf.cc
345 ===================================================================
346 --- kconfig.orig/qconf.cc
347 +++ kconfig/qconf.cc
348 @@ -1,4 +1,4 @@
349 -// SPDX-License-Identifier: GPL-2.0
350 +// SPDX-License-Identifier: GPL-2.0-only
351 /*
352 * Copyright (C) 2002 Roman Zippel <[email protected]>
353 * Copyright (C) 2015 Boris Barbulovski <[email protected]>
354 Index: kconfig/qconf.h
355 ===================================================================
356 --- kconfig.orig/qconf.h
357 +++ kconfig/qconf.h
358 @@ -1,4 +1,4 @@
359 -/* SPDX-License-Identifier: GPL-2.0 */
360 +/* SPDX-License-Identifier: GPL-2.0-only */
361 /*
362 * Copyright (C) 2002 Roman Zippel <[email protected]>
363 */
364 Index: kconfig/streamline_config.pl
365 ===================================================================
366 --- kconfig.orig/streamline_config.pl
367 +++ kconfig/streamline_config.pl
368 @@ -1,5 +1,5 @@
369 #!/usr/bin/env perl
370 -# SPDX-License-Identifier: GPL-2.0
371 +# SPDX-License-Identifier: GPL-2.0-only
372 #
373 # Copyright 2005-2009 - Steven Rostedt
374 #
375 Index: kconfig/symbol.c
376 ===================================================================
377 --- kconfig.orig/symbol.c
378 +++ kconfig/symbol.c
379 @@ -1,4 +1,4 @@
380 -// SPDX-License-Identifier: GPL-2.0
381 +// SPDX-License-Identifier: GPL-2.0-only
382 /*
383 * Copyright (C) 2002 Roman Zippel <[email protected]>
384 */
385 Index: kconfig/util.c
386 ===================================================================
387 --- kconfig.orig/util.c
388 +++ kconfig/util.c
389 @@ -1,4 +1,4 @@
390 -// SPDX-License-Identifier: GPL-2.0
391 +// SPDX-License-Identifier: GPL-2.0-only
392 /*
393 * Copyright (C) 2002-2005 Roman Zippel <[email protected]>
394 * Copyright (C) 2002-2005 Sam Ravnborg <[email protected]>