| Subject: treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 26 |
| Date: Tue, 07 May 2019 12:01:39 +0100 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| |
| Based on 1 normalized pattern(s): |
| |
| gnupg is free software you can redistribute it and or modify 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 gnupg is distributed in the hope that |
| it will be useful but without any warranty without even the implied |
| warranty of merchantability or fitness for a particular purpose see |
| the gnu general public license for more details 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 59 temple |
| place - suite 330 boston ma 02111-1307 usa note this code is heavily |
| based on the gnu mp library actually it's the same code with only |
| minor changes in the way the data is stored this is to support the |
| abstraction of an optional secure memory allocation which may be |
| used to avoid revealing of sensitive data due to paging etc the gnu |
| mp library itself is published under the lgpl however i decided to |
| publish this code under the plain gpl |
| |
| |
| |
| extracted by the scancode license scanner the SPDX license identifier |
| |
| GPL-2.0-or-later |
| |
| has been chosen to replace the boilerplate/reference in 14 file(s). |
| |
| The result has been manually verified and compared against a license |
| compliance dataset provided by .... |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| |
| |
| --- |
| |
| --- a/include/linux/mpi.h |
| +++ b/include/linux/mpi.h |
| @@ -1,22 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* mpi.h - Multi Precision Integers |
| * Copyright (C) 1994, 1996, 1998, 1999, |
| * 2000, 2001 Free Software Foundation, Inc. |
| * |
| * This file is part of GNUPG. |
| - * |
| - * GNUPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GNUPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |
| --- a/lib/mpi/generic_mpih-add1.c |
| +++ b/lib/mpi/generic_mpih-add1.c |
| @@ -1,22 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* mpihelp-add_1.c - MPI helper functions |
| * Copyright (C) 1994, 1996, 1997, 1998, |
| * 2000 Free Software Foundation, Inc. |
| * |
| * This file is part of GnuPG. |
| - * |
| - * GnuPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GnuPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |
| --- a/lib/mpi/generic_mpih-lshift.c |
| +++ b/lib/mpi/generic_mpih-lshift.c |
| @@ -1,21 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* mpihelp-lshift.c - MPI helper functions |
| * Copyright (C) 1994, 1996, 1998, 2001 Free Software Foundation, Inc. |
| * |
| * This file is part of GnuPG. |
| - * |
| - * GnuPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GnuPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |
| --- a/lib/mpi/generic_mpih-mul1.c |
| +++ b/lib/mpi/generic_mpih-mul1.c |
| @@ -1,21 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* mpihelp-mul_1.c - MPI helper functions |
| * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc. |
| * |
| * This file is part of GnuPG. |
| - * |
| - * GnuPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GnuPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |
| --- a/lib/mpi/generic_mpih-mul2.c |
| +++ b/lib/mpi/generic_mpih-mul2.c |
| @@ -1,21 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* mpihelp-mul_2.c - MPI helper functions |
| * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc. |
| * |
| * This file is part of GnuPG. |
| - * |
| - * GnuPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GnuPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |
| --- a/lib/mpi/generic_mpih-mul3.c |
| +++ b/lib/mpi/generic_mpih-mul3.c |
| @@ -1,21 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* mpihelp-mul_3.c - MPI helper functions |
| * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc. |
| * |
| * This file is part of GnuPG. |
| - * |
| - * GnuPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GnuPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |
| --- a/lib/mpi/generic_mpih-rshift.c |
| +++ b/lib/mpi/generic_mpih-rshift.c |
| @@ -1,22 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* mpih-rshift.c - MPI helper functions |
| * Copyright (C) 1994, 1996, 1998, 1999, |
| * 2000, 2001 Free Software Foundation, Inc. |
| * |
| * This file is part of GNUPG |
| - * |
| - * GNUPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GNUPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |
| --- a/lib/mpi/generic_mpih-sub1.c |
| +++ b/lib/mpi/generic_mpih-sub1.c |
| @@ -1,21 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* mpihelp-add_2.c - MPI helper functions |
| * Copyright (C) 1994, 1996, 1997, 1998, 2001 Free Software Foundation, Inc. |
| * |
| * This file is part of GnuPG. |
| - * |
| - * GnuPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GnuPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |
| --- a/lib/mpi/mpi-inline.h |
| +++ b/lib/mpi/mpi-inline.h |
| @@ -1,21 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* mpi-inline.h - Internal to the Multi Precision Integers |
| * Copyright (C) 1994, 1996, 1998, 1999 Free Software Foundation, Inc. |
| * |
| * This file is part of GnuPG. |
| - * |
| - * GnuPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GnuPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |
| --- a/lib/mpi/mpi-internal.h |
| +++ b/lib/mpi/mpi-internal.h |
| @@ -1,22 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* mpi-internal.h - Internal to the Multi Precision Integers |
| * Copyright (C) 1994, 1996 Free Software Foundation, Inc. |
| * Copyright (C) 1998, 2000 Free Software Foundation, Inc. |
| * |
| * This file is part of GnuPG. |
| - * |
| - * GnuPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GnuPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |
| --- a/lib/mpi/mpi-pow.c |
| +++ b/lib/mpi/mpi-pow.c |
| @@ -1,21 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* mpi-pow.c - MPI functions |
| * Copyright (C) 1994, 1996, 1998, 2000 Free Software Foundation, Inc. |
| * |
| * This file is part of GnuPG. |
| - * |
| - * GnuPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GnuPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |
| --- a/lib/mpi/mpih-cmp.c |
| +++ b/lib/mpi/mpih-cmp.c |
| @@ -1,22 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* mpihelp-sub.c - MPI helper functions |
| * Copyright (C) 1994, 1996 Free Software Foundation, Inc. |
| * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. |
| * |
| * This file is part of GnuPG. |
| - * |
| - * GnuPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GnuPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |
| --- a/lib/mpi/mpih-div.c |
| +++ b/lib/mpi/mpih-div.c |
| @@ -1,22 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* mpihelp-div.c - MPI helper functions |
| * Copyright (C) 1994, 1996 Free Software Foundation, Inc. |
| * Copyright (C) 1998, 1999 Free Software Foundation, Inc. |
| * |
| * This file is part of GnuPG. |
| - * |
| - * GnuPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GnuPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |
| --- a/lib/mpi/mpih-mul.c |
| +++ b/lib/mpi/mpih-mul.c |
| @@ -1,22 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* mpihelp-mul.c - MPI helper functions |
| * Copyright (C) 1994, 1996, 1998, 1999, |
| * 2000 Free Software Foundation, Inc. |
| * |
| * This file is part of GnuPG. |
| - * |
| - * GnuPG is free software; you can redistribute it and/or modify |
| - * 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. |
| - * |
| - * GnuPG is distributed in the hope that it will be useful, |
| - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| - * GNU General Public License for more details. |
| - * |
| - * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
| * |
| * Note: This code is heavily based on the GNU MP Library. |
| * Actually it's the same code with only minor changes in the |
| |
| |