]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Add SPDX license identifiers to GPL, LGPL, and FSFULLR files.
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 12 Feb 2024 15:09:10 +0000 (17:09 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 14 Feb 2024 16:31:16 +0000 (18:31 +0200)
22 files changed:
extra/scanlzma/scanlzma.c
lib/Makefile.am
lib/getopt-cdefs.h
lib/getopt-core.h
lib/getopt-ext.h
lib/getopt-pfx-core.h
lib/getopt-pfx-ext.h
lib/getopt.c
lib/getopt.in.h
lib/getopt1.c
lib/getopt_int.h
m4/ax_pthread.m4
m4/getopt.m4
m4/posix-shell.m4
m4/visibility.m4
src/scripts/xzdiff.1
src/scripts/xzdiff.in
src/scripts/xzgrep.1
src/scripts/xzgrep.in
src/scripts/xzless.in
src/scripts/xzmore.1
src/scripts/xzmore.in

index 110f822b35d4172472076cf783750692fc5e1279..1c8fcd8f48ffea9ef9142bd47f25247ef764504f 100644 (file)
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
 /*
     scanlzma, scan for lzma compressed data in stdin and echo it to stdout.
     Copyright (C) 2006 Timo Lindfors
index b6a3b1619d7b1bc262d60a11da4391296ad85515..3309e228294c2b6d4e51a42ea2771cf963868774 100644 (file)
@@ -1,3 +1,5 @@
+## SPDX-License-Identifier: GPL-2.0-or-later
+
 ##
 ## Copyright (C) 2004-2007 Free Software Foundation, Inc.
 ##
index 021bdd36827c9c2ae8ee056e81dbf432ff54df55..576428c1c42d1dc766dffcc6fa6a0c76ff7529af 100644 (file)
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
 /* getopt-on-non-glibc compatibility macros.
    Copyright (C) 1989-2023 Free Software Foundation, Inc.
    This file is part of gnulib.
index c5dd49363f0b6af0feaa84caab63379cec920256..126ce8089203acd223de57c1a697fb75c6a41798 100644 (file)
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
 /* Declarations for getopt (basic, portable features only).
    Copyright (C) 1989-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library and is also part of gnulib.
index d37c29328b2d23dd763808aa1dbaf860dbb57baf..006037ba86478dbbb8f77d3fd103af86817ba33b 100644 (file)
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
 /* Declarations for getopt (GNU extensions).
    Copyright (C) 1989-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library and is also part of gnulib.
index 095e3930feb5c568b63a0a1e78bd11f1a930106a..ee22d3f77f427de0e4fbbd43088323bc1cfc585a 100644 (file)
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
 /* getopt (basic, portable features) gnulib wrapper header.
    Copyright (C) 1989-2023 Free Software Foundation, Inc.
    This file is part of gnulib.
index 8578d72530ac34f354809d81f0ec770774eeec3b..00d2a0952f45ab65e7901c2626e7430476df5845 100644 (file)
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
 /* getopt (GNU extensions) gnulib wrapper header.
    Copyright (C) 1989-2023 Free Software Foundation, Inc.
    This file is part of gnulib.
index 5941f6fdde2a1a3166353cb0e11033dd2d363bda..ab3ff879ced0d7cefab2b3937b072c3b933a07a6 100644 (file)
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
 /* Getopt for GNU.
    Copyright (C) 1987-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library and is also part of gnulib.
index 79941d442cd5930cfaeb334d6a9d366ac30b8869..6d602c5da24c803f83dc5da02864b95b3e7d8f52 100644 (file)
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
 /* Declarations for getopt.
    Copyright (C) 1989-2023 Free Software Foundation, Inc.
    This file is part of gnulib.
index fb99b4a0bd8a43396beab223bdd8e2e1ca77a063..5cb3b913d09fa3c843ce45ce9fed3c3b0faef6ac 100644 (file)
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
 /* getopt_long and getopt_long_only entry points for GNU getopt.
    Copyright (C) 1987-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library and is also part of gnulib.
index 4d9e24beebcfb21d81ecc0b960ba367a0739511b..2dcb5538213d9f5d4739273c8d6521d879a3e513 100644 (file)
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+
 /* Internal declarations for getopt.
    Copyright (C) 1989-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library and is also part of gnulib.
index 9f35d139149f8d9bda17cddb730cd13bcf775465..3f26da6265e82af01ce58f04c512d1f10f7c097a 100644 (file)
@@ -1,3 +1,5 @@
+dnl SPDX-License-Identifier: GPL-3.0-or-later WITH Autoconf-exception-macro
+
 # ===========================================================================
 #        https://www.gnu.org/software/autoconf-archive/ax_pthread.html
 # ===========================================================================
index 5271f557abb971232e3d7893b14630040fccdf7b..af8bfd4cb1b8bdc789d56091ac0807035fe2104e 100644 (file)
@@ -1,3 +1,5 @@
+dnl SPDX-License-Identifier: FSFULLR
+
 # getopt.m4 serial 49 (modified version)
 dnl Copyright (C) 2002-2006, 2008-2023 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
index 4c56193c1571dbf86074727a933b44c739bf70b7..95a19a96904c43b1c42730e4c820dcb5022b2f51 100644 (file)
@@ -1,3 +1,5 @@
+dnl SPDX-License-Identifier: FSFULLR
+
 # Find a POSIX-conforming shell.
 
 # Copyright (C) 2007-2008 Free Software Foundation, Inc.
index f0468e89b5d5a3f9ed312b76a22eb368825d4896..52c7ef10e8e26fcd1e9e37510cd2566aebb037a4 100644 (file)
@@ -1,3 +1,5 @@
+dnl SPDX-License-Identifier: FSFULLR
+
 # visibility.m4 serial 8
 dnl Copyright (C) 2005, 2008, 2010-2023 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
index 24fed68062173a9df2b2106b070a747f14e46570..218241180bf11f5f88e05691449cd20d3853e0a6 100644 (file)
@@ -1,11 +1,10 @@
+.\" SPDX-License-Identifier: GPL-2.0-or-later
 .\"
 .\" Original zdiff.1 for gzip: Jean-loup Gailly
 .\"
 .\" Modifications for XZ Utils: Lasse Collin
 .\"                             Andrew Dudman
 .\"
-.\" License: GNU GPLv2+
-.\"
 .TH XZDIFF 1 "2021-06-04" "Tukaani" "XZ Utils"
 .SH NAME
 xzcmp, xzdiff, lzcmp, lzdiff \- compare compressed files
index 72249d3abcc0a53690d856e237e2ffc6e58f4f30..40a1fd331d73ae568a6cb1008d66ba580e772c27 100644 (file)
@@ -1,4 +1,5 @@
 #!@POSIX_SHELL@
+# SPDX-License-Identifier: GPL-2.0-or-later
 
 # Copyright (C) 1998, 2002, 2006, 2007 Free Software Foundation
 # Copyright (C) 1993 Jean-loup Gailly
index e0514b8b8353309b8c1ffb4316b886c00037b2cc..0ace85028d5a32ef498acb046f65abc07d999fc6 100644 (file)
@@ -1,11 +1,10 @@
+.\" SPDX-License-Identifier: GPL-2.0-or-later
 .\"
 .\" Original zgrep.1 for gzip: Jean-loup Gailly
 .\"                            Charles Levert <charles@comm.polymtl.ca>
 .\"
 .\" Modifications for XZ Utils: Lasse Collin
 .\"
-.\" License: GNU GPLv2+
-.\"
 .TH XZGREP 1 "2022-07-19" "Tukaani" "XZ Utils"
 .SH NAME
 xzgrep \- search compressed files for a regular expression
index c98fb30d8c3f2df42b58b570c1f66d96ebd58d1e..6e3d8d7e9cccf5a358d99da1c4408e01b505fae5 100644 (file)
@@ -1,4 +1,5 @@
 #!@POSIX_SHELL@
+# SPDX-License-Identifier: GPL-2.0-or-later
 
 # xzgrep -- a wrapper around a grep program that decompresses files as needed
 # Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca>
index 53650ef1bea7bcd19a421c5d71694ab524286c62..08a64dc76fd2c54f0d0a5411bd9a9f76425a9f0e 100644 (file)
@@ -1,4 +1,5 @@
 #!@POSIX_SHELL@
+# SPDX-License-Identifier: GPL-2.0-or-later
 
 # Copyright (C) 1998, 2002, 2006, 2007 Free Software Foundation
 
index 9613974ecf7915fcee023db97894ef85eeb9d972..8a402808ff03df1cbf8b2644d12682f54883ae3d 100644 (file)
@@ -1,9 +1,8 @@
+.\" SPDX-License-Identifier: GPL-2.0-or-later
 .\"
 .\" Original zdiff.1 for gzip: Jean-loup Gailly
 .\" Modifications for XZ Utils: Lasse Collin
 .\"
-.\" License: GNU GPLv2+
-.\"
 .TH XZMORE 1 "2013-06-30" "Tukaani" "XZ Utils"
 .SH NAME
 xzmore, lzmore \- view xz or lzma compressed (text) files
index 5188fdab2c6483b410ec89a0f35b7baa550f7d98..7cb31cbe2840abcfb94e3397d92b5d21bf66ee73 100644 (file)
@@ -1,4 +1,5 @@
 #!@POSIX_SHELL@
+# SPDX-License-Identifier: GPL-2.0-or-later
 
 # Copyright (C) 2001, 2002, 2007 Free Software Foundation
 # Copyright (C) 1992, 1993 Jean-loup Gailly