Skip to content

Commit 47a3a82

Browse files
committed
*: manual SPDX License ID conversions
The files converted in this commit either had some random misspelling or formatting weirdness that made them escape automated replacement, or have a particularly "weird" licensing setup (e.g. dual-licensed.) This also marks a bunch of "public domain" files as SPDX License "NONE". Signed-off-by: David Lamparter <[email protected]>
1 parent 47b6d54 commit 47a3a82

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+75
-849
lines changed

bfdd/bfddp_packet.h

+1-18
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,9 @@
1+
// SPDX-License-Identifier: MIT
12
/*
23
* BFD Data Plane protocol messages header.
34
*
45
* Copyright (C) 2020 Network Device Education Foundation, Inc. ("NetDEF")
56
* Rafael F. Zalamena
6-
*
7-
* Permission is hereby granted, free of charge, to any person obtaining a copy
8-
* of this software and associated documentation files (the “Software”), to
9-
* deal in the Software without restriction, including without limitation the
10-
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
11-
* sell copies of the Software, and to permit persons to whom the Software is
12-
* furnished to do so, subject to the following conditions:
13-
*
14-
* The above copyright notice and this permission notice shall be included in
15-
* all copies or substantial portions of the Software.
16-
*
17-
* THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22-
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
23-
* IN THE SOFTWARE.
247
*/
258

269
/**

bgpd/rfapi/rfapi_import.c

+3-18
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
2-
*
3-
* Copyright 2009-2016, LabN Consulting, L.L.C.
4-
*
5-
*
6-
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU General Public License
8-
* as published by the Free Software Foundation; either version 2
9-
* of the License, or (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License along
17-
* with this program; see the file COPYING; if not, write to the Free Software
18-
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19-
*/
3+
* Copyright 2009-2016, LabN Consulting, L.L.C.
4+
*/
205

216
/*
227
* File: rfapi_import.c

buildtest.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# SPDX-License-Identifier: NONE
23
# written 2012-2013 by David Lamparter, placed in Public Domain.
34
#
45
# builds some git commit of FRR in some different configurations

fpm/fpm.h

+1-31
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: ISC OR GPL-2.0-or-later
12
/*
23
* Public definitions pertaining to the Forwarding Plane Manager component.
34
*
@@ -16,38 +17,7 @@
1617

1718
/*
1819
* License Option 1: GPL
19-
*
20-
* This program is free software; you can redistribute it and/or modify it
21-
* under the terms of the GNU General Public License as published by the Free
22-
* Software Foundation; either version 2 of the License, or (at your option)
23-
* any later version.
24-
*
25-
* This program is distributed in the hope that it will be useful,but WITHOUT
26-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
27-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
28-
* more details.
29-
*
30-
* You should have received a copy of the GNU General Public License along
31-
* with this program; if not, write to the Free Software Foundation, Inc.,
32-
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
33-
*/
34-
35-
/*
3620
* License Option 2: ISC License
37-
*
38-
* Permission to use, copy, modify, and/or distribute this software
39-
* for any purpose with or without fee is hereby granted, provided
40-
* that the above copyright notice and this permission notice appear
41-
* in all copies.
42-
*
43-
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
44-
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
45-
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
46-
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
47-
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
48-
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
49-
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
50-
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
5121
*/
5222

5323
#ifndef _FPM_H

fpm/fpm.proto

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: ISC
12
//
23
// fpm.proto
34
//

grpc/frr-northbound.proto

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: BSD-2-Clause
12
//
23
// Copyright 2019 FRRouting
34
//

include/linux/seg6_local.h

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
23
* SR-IPv6 implementation
34
*
45
* Author:
56
* David Lebrun <[email protected]>
6-
*
7-
*
8-
* This program is free software; you can redistribute it and/or
9-
* modify it under the terms of the GNU General Public License
10-
* as published by the Free Software Foundation; either version
11-
* 2 of the License, or (at your option) any later version.
127
*/
138

149
#ifndef _LINUX_SEG6_LOCAL_H

lib/base64.c

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: NONE
12
/*
23
* This is part of the libb64 project, and has been placed in the public domain.
34
* For details, see http://sourceforge.net/projects/libb64

lib/base64.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: NONE
12
/*
23
* This is part of the libb64 project, and has been placed in the public domain.
34
* For details, see http://sourceforge.net/projects/libb64

lib/command_lex.l

+1-17
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
1+
/* SPDX-License-Identifier: GPL-2.0-or-later */
12
/*
23
* Command format string lexer for CLI backend.
34
*
45
* --
56
* Copyright (C) 2015 Cumulus Networks, Inc.
6-
*
7-
* This file is part of GNU Zebra.
8-
*
9-
* GNU Zebra is free software; you can redistribute it and/or modify it
10-
* under the terms of the GNU General Public License as published by the
11-
* Free Software Foundation; either version 2, or (at your option) any
12-
* later version.
13-
*
14-
* GNU Zebra is distributed in the hope that it will be useful, but
15-
* WITHOUT ANY WARRANTY; without even the implied warranty of
16-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17-
* General Public License for more details.
18-
*
19-
* You should have received a copy of the GNU General Public License
20-
* along with GNU Zebra; see the file COPYING. If not, write to the Free
21-
* Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22-
* 02111-1307, USA.
237
*/
248

259
%top{

lib/command_parse.y

+1-17
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
/*
23
* Command format string parser for CLI backend.
34
*
45
* --
56
* Copyright (C) 2016 Cumulus Networks, Inc.
6-
*
7-
* This file is part of GNU Zebra.
8-
*
9-
* GNU Zebra is free software; you can redistribute it and/or modify it
10-
* under the terms of the GNU General Public License as published by the
11-
* Free Software Foundation; either version 2, or (at your option) any
12-
* later version.
13-
*
14-
* GNU Zebra is distributed in the hope that it will be useful, but
15-
* WITHOUT ANY WARRANTY; without even the implied warranty of
16-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17-
* General Public License for more details.
18-
*
19-
* You should have received a copy of the GNU General Public License
20-
* along with GNU Zebra; see the file COPYING. If not, write to the Free
21-
* Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22-
* 02111-1307, USA.
237
*/
248

259
%{

lib/db.c

+1-26
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,10 @@
1+
// SPDX-License-Identifier: ISC AND GPL-2.0-or-later
12
/*
23
* Copyright (c) 2018 Rafael Zalamena <[email protected]>
3-
*
4-
* This program is free software; you can redistribute it and/or modify it
5-
* under the terms of the GNU General Public License as published by the Free
6-
* Software Foundation; either version 2 of the License, or (at your option)
7-
* any later version.
8-
*
9-
* This program is distributed in the hope that it will be useful, but WITHOUT
10-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12-
* more details.
13-
*
14-
* You should have received a copy of the GNU General Public License along
15-
* with this program; see the file COPYING; if not, write to the Free Software
16-
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
174
*/
185

196
/*
207
* Copyright (c) 2016 Rafael Zalamena <[email protected]>
21-
*
22-
* Permission to use, copy, modify, and/or distribute this software for any
23-
* purpose with or without fee is hereby granted, provided that the above
24-
* copyright notice and this permission notice appear in all copies.
25-
*
26-
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
27-
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
28-
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
29-
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
30-
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
31-
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
32-
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
338
*/
349

3510
#include <zebra.h>

lib/db.h

+1-26
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,10 @@
1+
// SPDX-License-Identifier: ISC AND GPL-2.0-or-later
12
/*
23
* Copyright (c) 2018 Rafael Zalamena <[email protected]>
3-
*
4-
* This program is free software; you can redistribute it and/or modify it
5-
* under the terms of the GNU General Public License as published by the Free
6-
* Software Foundation; either version 2 of the License, or (at your option)
7-
* any later version.
8-
*
9-
* This program is distributed in the hope that it will be useful, but WITHOUT
10-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12-
* more details.
13-
*
14-
* You should have received a copy of the GNU General Public License along
15-
* with this program; see the file COPYING; if not, write to the Free Software
16-
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
174
*/
185

196
/*
207
* Copyright (c) 2016 Rafael Zalamena <[email protected]>
21-
*
22-
* Permission to use, copy, modify, and/or distribute this software for any
23-
* purpose with or without fee is hereby granted, provided that the above
24-
* copyright notice and this permission notice appear in all copies.
25-
*
26-
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
27-
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
28-
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
29-
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
30-
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
31-
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
32-
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
338
*/
349

3510
#ifndef _FRR_DB_H_

lib/defun_lex.l

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1+
/* SPDX-License-Identifier: GPL-2.0-or-later */
12
/*
23
* clippy (CLI preparator in python) C pseudo-lexer
34
* Copyright (C) 2016-2017 David Lamparter for NetDEF, Inc.
4-
*
5-
* This program is free software; you can redistribute it and/or modify it
6-
* under the terms of the GNU General Public License as published by the Free
7-
* Software Foundation; either version 2 of the License, or (at your option)
8-
* any later version.
9-
*
10-
* This program is distributed in the hope that it will be useful, but WITHOUT
11-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13-
* more details.
14-
*
15-
* You should have received a copy of the GNU General Public License along
16-
* with this program; see the file COPYING; if not, write to the Free Software
17-
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
185
*/
196

207
/* This is just enough of a lexer to make rough sense of a C source file.

lib/freebsd-queue.h

+1-24
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,8 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
12
/*-
23
* Copyright (c) 1991, 1993
34
* The Regents of the University of California. All rights reserved.
45
*
5-
* Redistribution and use in source and binary forms, with or without
6-
* modification, are permitted provided that the following conditions
7-
* are met:
8-
* 1. Redistributions of source code must retain the above copyright
9-
* notice, this list of conditions and the following disclaimer.
10-
* 2. Redistributions in binary form must reproduce the above copyright
11-
* notice, this list of conditions and the following disclaimer in the
12-
* documentation and/or other materials provided with the distribution.
13-
* 4. Neither the name of the University nor the names of its contributors
14-
* may be used to endorse or promote products derived from this software
15-
* without specific prior written permission.
16-
*
17-
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20-
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23-
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24-
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26-
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27-
* SUCH DAMAGE.
28-
*
296
* @(#)queue.h 8.5 (Berkeley) 8/20/94
307
* $FreeBSD$
318
*/

lib/northbound_grpc.cpp

+1-14
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
1+
// SPDX-License-Identifier: GPL-2.0-or-later
12
//
23
// Copyright (c) 2021-2022, LabN Consulting, L.L.C
34
// Copyright (C) 2019 NetDEF, Inc.
45
// Renato Westphal
56
//
6-
// This program is free software; you can redistribute it and/or modify it
7-
// under the terms of the GNU General Public License as published by the Free
8-
// Software Foundation; either version 2 of the License, or (at your option)
9-
// any later version.
10-
//
11-
// This program is distributed in the hope that it will be useful, but WITHOUT
12-
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13-
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14-
// more details.
15-
//
16-
// You should have received a copy of the GNU General Public License along
17-
// with this program; see the file COPYING; if not, write to the Free Software
18-
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19-
//
207

218
#include <zebra.h>
229
#include <grpcpp/grpcpp.h>

lib/openbsd-queue.h

+1-24
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,11 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
12
/* $OpenBSD: queue.h,v 1.43 2015/12/28 19:38:40 millert Exp $ */
23
/* $NetBSD: queue.h,v 1.11 1996/05/16 05:17:14 mycroft Exp $ */
34

45
/*
56
* Copyright (c) 1991, 1993
67
* The Regents of the University of California. All rights reserved.
78
*
8-
* Redistribution and use in source and binary forms, with or without
9-
* modification, are permitted provided that the following conditions
10-
* are met:
11-
* 1. Redistributions of source code must retain the above copyright
12-
* notice, this list of conditions and the following disclaimer.
13-
* 2. Redistributions in binary form must reproduce the above copyright
14-
* notice, this list of conditions and the following disclaimer in the
15-
* documentation and/or other materials provided with the distribution.
16-
* 3. Neither the name of the University nor the names of its contributors
17-
* may be used to endorse or promote products derived from this software
18-
* without specific prior written permission.
19-
*
20-
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21-
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23-
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24-
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25-
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26-
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27-
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28-
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29-
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30-
* SUCH DAMAGE.
31-
*
329
* @(#)queue.h 8.5 (Berkeley) 8/20/94
3310
*/
3411

0 commit comments

Comments
 (0)