From ce42f1d567ee931fb1b47e439d29b2071f3e9b98 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Thu, 30 Jan 2020 11:27:20 -0500 Subject: [PATCH 74/86] SPDX-ify all the license text in source files. Signed-off-by: Peter Jones --- src/crc32.c | 1 + src/crc32.h | 15 +-------------- src/creator.c | 16 +--------------- src/disk.c | 16 +--------------- src/disk.h | 16 +--------------- src/dp-acpi.c | 16 +--------------- src/dp-hw.c | 16 +--------------- src/dp-media.c | 16 +--------------- src/dp-message.c | 16 +--------------- src/dp.c | 16 +--------------- src/dp.h | 16 +--------------- src/efiboot.h | 15 +-------------- src/efivar.c | 16 +--------------- src/efivar.h | 15 +-------------- src/efivar_endian.h | 15 +-------------- src/efivarfs.c | 16 +--------------- src/error.c | 16 +--------------- src/export.c | 16 +--------------- src/fix_coverity.h | 2 +- src/generics.h | 16 +--------------- src/gpt.c | 16 +--------------- src/gpt.h | 18 +++--------------- src/guid.c | 16 +--------------- src/guid.h | 17 +---------------- src/hexdump.h | 5 +++++ src/include/efivar/efiboot-creator.h | 16 +--------------- src/include/efivar/efiboot-loadopt.h | 16 +--------------- src/include/efivar/efiboot.h | 16 +--------------- src/include/efivar/efivar-dp.h | 15 +-------------- src/include/efivar/efivar.h | 16 +--------------- src/lib.c | 16 +--------------- src/lib.h | 16 +--------------- src/linux-acpi-root.c | 16 +--------------- src/linux-acpi.c | 16 +--------------- src/linux-ata.c | 16 +--------------- src/linux-emmc.c | 16 +--------------- src/linux-i2o.c | 16 +--------------- src/linux-md.c | 16 +--------------- src/linux-nvme.c | 15 +-------------- src/linux-pci-root.c | 16 +--------------- src/linux-pci.c | 16 +--------------- src/linux-pmem.c | 16 +--------------- src/linux-sas.c | 16 +--------------- src/linux-sata.c | 16 +--------------- src/linux-scsi.c | 16 +--------------- src/linux-soc-root.c | 16 +--------------- src/linux-virtblk.c | 16 +--------------- src/linux-virtual-root.c | 15 +-------------- src/linux.c | 16 +--------------- src/linux.h | 16 +--------------- src/loadopt.c | 16 +--------------- src/makeguids.c | 16 +--------------- src/path-helpers.c | 15 +-------------- src/path-helpers.h | 15 +-------------- src/safemath.h | 16 +--------------- src/test/tester.c | 18 ++++-------------- src/ucs2.h | 16 +--------------- src/util.h | 15 +-------------- src/vars.c | 16 +--------------- 59 files changed, 68 insertions(+), 831 deletions(-) diff --git a/src/crc32.c b/src/crc32.c index 533d2c0f551..4fa4bf44bc5 100644 --- a/src/crc32.c +++ b/src/crc32.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * Dec 5, 2000 Matt Domsch * - Copied crc32.c from the linux/drivers/net/cipe directory. diff --git a/src/crc32.h b/src/crc32.h index 4e833aafac0..1027d2be6d1 100644 --- a/src/crc32.h +++ b/src/crc32.h @@ -1,20 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * crc32.h - headers for crc32 * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #ifndef _CRC32_H diff --git a/src/creator.c b/src/creator.c index 8a2f8e79aca..0ea27841104 100644 --- a/src/creator.c +++ b/src/creator.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2015 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/disk.c b/src/disk.c index 3b5bf8330b1..94a56c7e57a 100644 --- a/src/disk.c +++ b/src/disk.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2015 Red Hat, Inc. * Copyright (C) 2000-2001 Dell Computer Corporation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/disk.h b/src/disk.h index 8ba0f4602f4..100b8d1e0a2 100644 --- a/src/disk.h +++ b/src/disk.h @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2015 Red Hat, Inc. * Copyright (C) 2001 Dell Computer Corporation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #ifndef _EFIBOOT_DISK_H #define _EFIBOOT_DISK_H diff --git a/src/dp-acpi.c b/src/dp-acpi.c index ae4102cdf56..c9d158626b5 100644 --- a/src/dp-acpi.c +++ b/src/dp-acpi.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/dp-hw.c b/src/dp-hw.c index 28998316d9d..e09984db052 100644 --- a/src/dp-hw.c +++ b/src/dp-hw.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2015 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/dp-media.c b/src/dp-media.c index 7f5d1c678ce..df472648862 100644 --- a/src/dp-media.c +++ b/src/dp-media.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2015 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/dp-message.c b/src/dp-message.c index d00b2ad5d67..03cd9961d70 100644 --- a/src/dp-message.c +++ b/src/dp-message.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2015 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/dp.c b/src/dp.c index f6a4b2ddafa..a25d0f27d43 100644 --- a/src/dp.c +++ b/src/dp.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2015 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/dp.h b/src/dp.h index 6609b0d827e..8290cc17022 100644 --- a/src/dp.h +++ b/src/dp.h @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2015 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #ifndef _EFIVAR_INTERNAL_DP_H #define _EFIVAR_INTERNAL_DP_H diff --git a/src/efiboot.h b/src/efiboot.h index 23275ed82bf..f3e3236261b 100644 --- a/src/efiboot.h +++ b/src/efiboot.h @@ -1,20 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * efiboot.h * Copyright 2018 Peter Jones - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . */ #ifndef PRIVATE_EFIBOOT_H_ diff --git a/src/efivar.c b/src/efivar.c index edfd4af7e01..2a8f2353ce2 100644 --- a/src/efivar.c +++ b/src/efivar.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/efivar.h b/src/efivar.h index 646863d14c5..1191cf8b000 100644 --- a/src/efivar.h +++ b/src/efivar.h @@ -1,20 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * efivar.h * Copyright 2018 Peter Jones - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . */ #ifndef PRIVATE_EFIVAR_H_ diff --git a/src/efivar_endian.h b/src/efivar_endian.h index bed4603ad71..460778491ed 100644 --- a/src/efivar_endian.h +++ b/src/efivar_endian.h @@ -1,20 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * Copyright 2009-2015 Red Hat, Inc. * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * * Author: Peter Jones */ #ifndef _EFIVAR_ENDIAN_H diff --git a/src/efivarfs.c b/src/efivarfs.c index ec2585a6648..dfd02d5ffbd 100644 --- a/src/efivarfs.c +++ b/src/efivarfs.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2013 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/error.c b/src/error.c index f865bb61e51..fb05c74b962 100644 --- a/src/error.c +++ b/src/error.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. * Copyright (C) 2000-2001 Dell Computer Corporation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/export.c b/src/export.c index 732b4bf30ad..30f706484ab 100644 --- a/src/export.c +++ b/src/export.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2013 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/fix_coverity.h b/src/fix_coverity.h index acb4cc65eff..8daa5df8fbc 100644 --- a/src/fix_coverity.h +++ b/src/fix_coverity.h @@ -1,8 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * fix_coverity.h * Copyright 2017 Peter Jones * - * Distributed under terms of the GPLv3 license. */ #ifndef FIX_COVERITY_H diff --git a/src/generics.h b/src/generics.h index 8ade54ee96b..06cf64cd4bf 100644 --- a/src/generics.h +++ b/src/generics.h @@ -1,20 +1,6 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * Copyright 2012-2016 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #ifndef EFIVAR_BUILD_ENVIRONMENT diff --git a/src/gpt.c b/src/gpt.c index 8babafeb588..823edba7cab 100644 --- a/src/gpt.c +++ b/src/gpt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * gpt.[ch] * Copyright (C) 2000-2001 Dell Computer Corporation @@ -5,21 +6,6 @@ * EFI GUID Partition Table handling * Per Intel EFI Specification v1.02 * http://developer.intel.com/technology/efi/efi.htm - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/gpt.h b/src/gpt.h index 45a048b21e1..06696acbb61 100644 --- a/src/gpt.h +++ b/src/gpt.h @@ -1,25 +1,13 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * gpt.[ch] * Copyright (C) 2000-2001 Dell Computer Corporation + * Copyright 2015-2020 Red Hat, Inc. + * Copyright 2015-2020 Peter M. Jones * * EFI GUID Partition Table handling * Per Intel EFI Specification v1.02 * http://developer.intel.com/technology/efi/efi.htm - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #ifndef _EFIBOOT_GPT_H diff --git a/src/guid.c b/src/guid.c index 34efb132d51..0d6ed981dc7 100644 --- a/src/guid.c +++ b/src/guid.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2014 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/guid.h b/src/guid.h index 3229621a3f1..2dbf8d92aa8 100644 --- a/src/guid.h +++ b/src/guid.h @@ -1,23 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2013 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ - #ifndef LIBEFIVAR_GUID_H #define LIBEFIVAR_GUID_H 1 diff --git a/src/hexdump.h b/src/hexdump.h index d88aa507b8d..80d7330db16 100644 --- a/src/hexdump.h +++ b/src/hexdump.h @@ -1,3 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later +/* + * libefivar - library for the manipulation of EFI variables + * Copyright 2018-2020 Peter M. Jones + */ #ifndef STATIC_HEXDUMP_H #define STATIC_HEXDUMP_H diff --git a/src/include/efivar/efiboot-creator.h b/src/include/efivar/efiboot-creator.h index b6e094c637c..308ea4950a6 100644 --- a/src/include/efivar/efiboot-creator.h +++ b/src/include/efivar/efiboot-creator.h @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2015 Red Hat, Inc. * Copyright (C) 2001 Dell Computer Corporation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #ifndef _EFIBOOT_CREATOR_H #define _EFIBOOT_CREATOR_H diff --git a/src/include/efivar/efiboot-loadopt.h b/src/include/efivar/efiboot-loadopt.h index 97b7892f4b8..3c723a106d9 100644 --- a/src/include/efivar/efiboot-loadopt.h +++ b/src/include/efivar/efiboot-loadopt.h @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2015 Red Hat, Inc. * Copyright (C) 2001 Dell Computer Corporation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #ifndef _EFIBOOT_LOADOPT_H #define _EFIBOOT_LOADOPT_H 1 diff --git a/src/include/efivar/efiboot.h b/src/include/efivar/efiboot.h index 8ae51ffa2a7..e52ab8f4b2a 100644 --- a/src/include/efivar/efiboot.h +++ b/src/include/efivar/efiboot.h @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2015 Red Hat, Inc. * Copyright (C) 2001 Dell Computer Corporation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #ifndef EFIBOOT_H #define EFIBOOT_H 1 diff --git a/src/include/efivar/efivar-dp.h b/src/include/efivar/efivar-dp.h index 706d25bdebd..8a1d29e63df 100644 --- a/src/include/efivar/efivar-dp.h +++ b/src/include/efivar/efivar-dp.h @@ -1,20 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2015 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this library. If not, see . - * */ #ifndef _EFIVAR_DP_H #define _EFIVAR_DP_H 1 diff --git a/src/include/efivar/efivar.h b/src/include/efivar/efivar.h index 8ad14b9be57..cc5dcc5657a 100644 --- a/src/include/efivar/efivar.h +++ b/src/include/efivar/efivar.h @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2014 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #ifndef EFIVAR_H #define EFIVAR_H 1 diff --git a/src/lib.c b/src/lib.c index b2eea6c2569..107e7efe688 100644 --- a/src/lib.c +++ b/src/lib.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2013 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/lib.h b/src/lib.h index 3cc29a01fb4..26e0f169bd1 100644 --- a/src/lib.h +++ b/src/lib.h @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2013 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #ifndef LIBEFIVAR_LIB_H diff --git a/src/linux-acpi-root.c b/src/linux-acpi-root.c index 86693c81878..c4c00e7db0a 100644 --- a/src/linux-acpi-root.c +++ b/src/linux-acpi-root.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-acpi.c b/src/linux-acpi.c index 534573f32c1..e4adb8a1384 100644 --- a/src/linux-acpi.c +++ b/src/linux-acpi.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-ata.c b/src/linux-ata.c index a51ed5abbe0..064a424787f 100644 --- a/src/linux-ata.c +++ b/src/linux-ata.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-emmc.c b/src/linux-emmc.c index 2b8ae64f0fb..800dc14d49f 100644 --- a/src/linux-emmc.c +++ b/src/linux-emmc.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-i2o.c b/src/linux-i2o.c index b53f4516309..3aea7d35338 100644 --- a/src/linux-i2o.c +++ b/src/linux-i2o.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-md.c b/src/linux-md.c index 2aacb87469a..c2912f17875 100644 --- a/src/linux-md.c +++ b/src/linux-md.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-nvme.c b/src/linux-nvme.c index 33edcd4fc7d..bccbef6bf6b 100644 --- a/src/linux-nvme.c +++ b/src/linux-nvme.c @@ -1,20 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . */ #include "fix_coverity.h" diff --git a/src/linux-pci-root.c b/src/linux-pci-root.c index 84189ffbaca..5de27a269dd 100644 --- a/src/linux-pci-root.c +++ b/src/linux-pci-root.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-pci.c b/src/linux-pci.c index 2cd450bc470..fc18f3c4493 100644 --- a/src/linux-pci.c +++ b/src/linux-pci.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-pmem.c b/src/linux-pmem.c index b9f83e12e7b..af42ca5369d 100644 --- a/src/linux-pmem.c +++ b/src/linux-pmem.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-sas.c b/src/linux-sas.c index 16f77d7259b..345cdd370c9 100644 --- a/src/linux-sas.c +++ b/src/linux-sas.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2018 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-sata.c b/src/linux-sata.c index 314a49c4337..49e935d6e9d 100644 --- a/src/linux-sata.c +++ b/src/linux-sata.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-scsi.c b/src/linux-scsi.c index 7f68e03a1b0..c5813a2e847 100644 --- a/src/linux-scsi.c +++ b/src/linux-scsi.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-soc-root.c b/src/linux-soc-root.c index 53686d614a0..044b628fca7 100644 --- a/src/linux-soc-root.c +++ b/src/linux-soc-root.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-virtblk.c b/src/linux-virtblk.c index fc87717ef96..34ad45e8840 100644 --- a/src/linux-virtblk.c +++ b/src/linux-virtblk.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux-virtual-root.c b/src/linux-virtual-root.c index 2d39c28ebb6..fca565b2710 100644 --- a/src/linux-virtual-root.c +++ b/src/linux-virtual-root.c @@ -1,20 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . */ #include "fix_coverity.h" diff --git a/src/linux.c b/src/linux.c index 6b88bfb7e9b..a9d6801eb2c 100644 --- a/src/linux.c +++ b/src/linux.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. * Copyright (C) 2001 Dell Computer Corporation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/linux.h b/src/linux.h index a5ef0dfa154..513f2fa01fd 100644 --- a/src/linux.h +++ b/src/linux.h @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2019 Red Hat, Inc. * Copyright (C) 2001 Dell Computer Corporation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #ifndef _EFIBOOT_LINUX_H #define _EFIBOOT_LINUX_H diff --git a/src/loadopt.c b/src/loadopt.c index e643d4a4fb8..01544cc628a 100644 --- a/src/loadopt.c +++ b/src/loadopt.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2015 Red Hat, Inc. * Copyright (C) 2001 Dell Computer Corporation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/makeguids.c b/src/makeguids.c index c0a9db1509c..2648a121383 100644 --- a/src/makeguids.c +++ b/src/makeguids.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2013 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" diff --git a/src/path-helpers.c b/src/path-helpers.c index dff8f34dfc8..5675809add6 100644 --- a/src/path-helpers.c +++ b/src/path-helpers.c @@ -1,20 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * path-helper.c * Copyright 2018 Peter Jones - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . */ #include "fix_coverity.h" diff --git a/src/path-helpers.h b/src/path-helpers.h index 7dec05b6297..6665eec8cb5 100644 --- a/src/path-helpers.h +++ b/src/path-helpers.h @@ -1,20 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * path-helper.h * Copyright 2018 Peter Jones - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . */ #ifndef PATH_HELPER_H_ diff --git a/src/safemath.h b/src/safemath.h index 08dfef7ec0b..fef19f288d6 100644 --- a/src/safemath.h +++ b/src/safemath.h @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * safemath.h * Copyright 2016-2019 Peter Jones - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #ifndef SAFEMATH_H_ diff --git a/src/test/tester.c b/src/test/tester.c index 32886539fea..a4f39ac1a86 100644 --- a/src/test/tester.c +++ b/src/test/tester.c @@ -1,18 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * + * tester.c + * Copyright 2012-2018 Red Hat, Inc. + * Copyright 2012-2018 Peter M. Jones */ #include diff --git a/src/ucs2.h b/src/ucs2.h index 3f8a41d8ccc..6f2f6cc1eed 100644 --- a/src/ucs2.h +++ b/src/ucs2.h @@ -1,20 +1,6 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * Copyright 2012-2016 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #ifndef _EFIVAR_UCS2_H #define _EFIVAR_UCS2_H diff --git a/src/util.h b/src/util.h index 845989bbfe9..4791223d962 100644 --- a/src/util.h +++ b/src/util.h @@ -1,21 +1,8 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * Copyright 2011-2014 Red Hat, Inc. * All rights reserved. * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * * Author(s): Peter Jones */ #ifndef EFIVAR_UTIL_H diff --git a/src/vars.c b/src/vars.c index 148dd7943bc..cd0863d0213 100644 --- a/src/vars.c +++ b/src/vars.c @@ -1,21 +1,7 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later /* * libefivar - library for the manipulation of EFI variables * Copyright 2012-2013 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of the - * License, or (at your option) any later version. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, see - * . - * */ #include "fix_coverity.h" -- 2.24.1