Add SPDX license identifiers to code files

Change manual pages word to recognize it by licensecheck tool.
This commit is contained in:
Petr Menšík 2023-06-29 15:12:18 +02:00 committed by Marco d'Itri
parent 881e1d41ec
commit 6761f80395
17 changed files with 21 additions and 3 deletions

View File

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
prefix = /usr
ifdef DESTDIR

View File

@ -1,4 +1,5 @@
/* Configurable features */
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Always hide legal disclaimers */
#undef ALWAYS_HIDE_DISCL

View File

@ -1,4 +1,5 @@
#!/usr/bin/perl
# SPDX-License-Identifier: GPL-2.0-or-later
use warnings;
use strict;

View File

@ -1,4 +1,5 @@
#!/usr/bin/perl
# SPDX-License-Identifier: GPL-2.0-or-later
use warnings;
use strict;

View File

@ -1,4 +1,5 @@
#!/usr/bin/perl
# SPDX-License-Identifier: GPL-2.0-or-later
use warnings;
use strict;

View File

@ -1,4 +1,5 @@
#!/usr/bin/perl
# SPDX-License-Identifier: GPL-2.0-or-later
use warnings;
use strict;

View File

@ -1,4 +1,5 @@
#!/usr/bin/perl
# SPDX-License-Identifier: GPL-2.0-or-later
use warnings;
use strict;

View File

@ -1,4 +1,5 @@
#!/usr/bin/perl
# SPDX-License-Identifier: GPL-2.0-or-later
use warnings;
use strict;

View File

@ -1,4 +1,5 @@
#!/usr/bin/perl
# SPDX-License-Identifier: GPL-2.0-or-later
use warnings;
use strict;

View File

@ -1,4 +1,5 @@
#!/usr/bin/perl
# SPDX-License-Identifier: GPL-2.0-or-later
use warnings;
use strict;

View File

@ -90,4 +90,5 @@ This program suffers of a bad case of featuritis.
and this man page were written by Marco d'Itri
.RI < md@linux.it >
and are licensed under the terms of the GNU General Public License,
version 2 or higher.
version 2 or later.
\" SPDX-License-Identifier: GPL-2.0-or-later

View File

@ -14,6 +14,8 @@
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/* for crypt, snprintf and strcasecmp */

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef WHOIS_UTILS_H
#define WHOIS_UTILS_H

View File

@ -304,5 +304,5 @@ original BSD client.
and this man page were written by Marco d'Itri
.RI < md@linux.it >
and are licensed under the terms of the GNU General Public License,
version 2 or higher.
version 2 or later.
\" SPDX-License-Identifier: GPL-2.0-or-later

View File

@ -5,6 +5,8 @@
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/* for AI_IDN */

View File

@ -47,3 +47,4 @@ This manual page was written by Petr Písař
.RI < ppisar@redhat.com >
and is licensed under the terms of the GNU General Public License,
version 2 or higher.
\" SPDX-License-Identifier: GPL-2.0-or-later

View File

@ -1,3 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#include "utils.h"
/* 6bone referto: extension */