]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
include: use public domain for colors.{c,h} and xalloc.h
authorKarel Zak <kzak@redhat.com>
Mon, 17 Mar 2025 13:35:10 +0000 (14:35 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Mar 2025 13:35:10 +0000 (14:35 +0100)
The LGPL makes it difficult to use the code in the old BSD tools we
have in util-linux. After obtaining agreement from the major
contributors to the files, we are changing it to "Public Domain".

Signed-off-by: Karel Zak <kzak@redhat.com>
include/colors.h
include/xalloc.h
lib/colors.c

index d91f5af4544447cf796fe80809683f4ba4b31ffb..770161ae07cb3c157689f46e4c69c04cfd706b4f 100644 (file)
@@ -1,8 +1,9 @@
 /*
- * SPDX-License-Identifier: LGPL-2.1-or-later
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
  *
- * Copyright (C) 2012 Ondrej Oprala <ooprala@redhat.com>
- * Copyright (C) 2012-2014 Karel Zak <kzak@redhat.com>
+ * Authors: 2012 Ondrej Oprala <ooprala@redhat.com>
+ *          2012-2025 Karel Zak <kzak@redhat.com>
  *
  * This file may be distributed under the terms of the
  * GNU Lesser General Public License.
index e8e427c862720fe10f9f80f2316557301499bc15..2d13d54b931019bc0cf82dc016fce6061d115a6b 100644 (file)
@@ -1,11 +1,9 @@
 /*
- * SPDX-License-Identifier: LGPL-2.1-or-later
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
  *
- * Copyright (C) 2010 Davidlohr Bueso <dave@gnu.org>
- * Copyright (C) 2010-2022 Karel Zak <kzak@redhat.com>
- *
- * This file may be redistributed under the terms of the
- * GNU Lesser General Public License.
+ * Authors 2010 Davidlohr Bueso <dave@gnu.org>
+ *         2010-2025 Karel Zak <kzak@redhat.com>
  *
  * General memory allocation wrappers for malloc, realloc, calloc and strdup
  */
index 565a7171ba8c321ec2b34ea33ff0a9bcda6aafc1..e25610c1c433b1bb50a8999d004ea5c5347a4435 100644 (file)
@@ -1,8 +1,9 @@
 /*
- * SPDX-License-Identifier: LGPL-2.1-or-later
+ * No copyright is claimed.  This code is in the public domain; do with
+ * it what you wish.
  *
- * Copyright (C) 2012 Ondrej Oprala <ooprala@redhat.com>
- * Copyright (C) 2012-2014 Karel Zak <kzak@redhat.com>
+ * Authors: 2012 Ondrej Oprala <ooprala@redhat.com>
+ *          2012-2025 Karel Zak <kzak@redhat.com>
  *
  * This file may be distributed under the terms of the
  * GNU Lesser General Public License.