From 3ce8e121c322237e953f9a4f816a5deddd2ec1fd Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 21 Feb 2024 10:13:50 +0100 Subject: [PATCH] docs: cleanup public domain license texts The absence of an official 'Public domain' definition is the reason why, for example, the Fedora distribution aggregates all variants from various projects to make them reviewable. This commit unifies the 'Public domain' statements to make it simple. Signed-off-by: Karel Zak --- include/crc32.h | 4 ++-- include/crc32c.h | 4 ++-- include/pty-session.h | 3 ++- lib/sha1.c | 3 +++ lib/sha256.c | 3 +++ login-utils/newgrp.1.adoc | 6 +++++- misc-utils/mcookie.c | 6 +++++- misc-utils/rename.1.adoc | 6 +++++- sys-utils/setpgid.1.adoc | 4 ++++ text-utils/line.1.adoc | 6 +++++- text-utils/line.c | 7 +++---- 11 files changed, 39 insertions(+), 13 deletions(-) diff --git a/include/crc32.h b/include/crc32.h index 81c7703b17..0d34da0d24 100644 --- a/include/crc32.h +++ b/include/crc32.h @@ -1,6 +1,6 @@ /* - * No copyright is claimed. This code is in the public domain; do with it what - * you wish. + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. */ #ifndef UL_CRC32_H #define UL_CRC32_H diff --git a/include/crc32c.h b/include/crc32c.h index 3d27461844..1ac6b970c6 100644 --- a/include/crc32c.h +++ b/include/crc32c.h @@ -1,6 +1,6 @@ /* - * No copyright is claimed. This code is in the public domain; do with it what - * you wish. + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. */ #ifndef UL_CRC32C_H #define UL_CRC32C_H diff --git a/include/pty-session.h b/include/pty-session.h index bece863f5c..734a7f6893 100644 --- a/include/pty-session.h +++ b/include/pty-session.h @@ -1,5 +1,6 @@ /* - * This code is in the public domain; do with it what you wish. + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. * * Written by Karel Zak in Jul 2019 */ diff --git a/lib/sha1.c b/lib/sha1.c index 2e6b44d053..32ef5b9ca9 100644 --- a/lib/sha1.c +++ b/lib/sha1.c @@ -1,4 +1,7 @@ /* + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * * SHA-1 in C by Steve Reid * 100% Public Domain * diff --git a/lib/sha256.c b/lib/sha256.c index 934303c7b3..10877d2402 100644 --- a/lib/sha256.c +++ b/lib/sha256.c @@ -1,4 +1,7 @@ /* + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * * public domain sha256 crypt implementation * * original sha crypt design: http://people.redhat.com/drepper/SHA-crypt.txt diff --git a/login-utils/newgrp.1.adoc b/login-utils/newgrp.1.adoc index 0e73eaf51c..e9a90d3ea8 100644 --- a/login-utils/newgrp.1.adoc +++ b/login-utils/newgrp.1.adoc @@ -1,4 +1,8 @@ -//po4a: entry man manual +// +// No copyright is claimed. This code is in the public domain; do with +// it what you wish. +// +// po4a: entry man manual // Original author unknown. This man page is in the public domain. // Modified Sat Oct 9 17:46:48 1993 by faith@cs.unc.edu = newgrp(1) diff --git a/misc-utils/mcookie.c b/misc-utils/mcookie.c index 5a01b4605a..99df4f4a6d 100644 --- a/misc-utils/mcookie.c +++ b/misc-utils/mcookie.c @@ -1,4 +1,8 @@ -/* mcookie.c -- Generates random numbers for xauth +/* + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * + * mcookie.c -- Generates random numbers for xauth * Created: Fri Feb 3 10:42:48 1995 by faith@cs.unc.edu * Revised: Fri Mar 19 07:48:01 1999 by faith@acm.org * Public Domain 1995, 1999 Rickard E. Faith (faith@acm.org) diff --git a/misc-utils/rename.1.adoc b/misc-utils/rename.1.adoc index 1f6225fb14..692f4b54f6 100644 --- a/misc-utils/rename.1.adoc +++ b/misc-utils/rename.1.adoc @@ -1,4 +1,8 @@ -//po4a: entry man manual +// +// No copyright is claimed. This code is in the public domain; do with +// it what you wish. +// +// po4a: entry man manual // Written by Andries E. Brouwer (aeb@cwi.nl) // Placed in the public domain = rename(1) diff --git a/sys-utils/setpgid.1.adoc b/sys-utils/setpgid.1.adoc index c0c53bf7bb..0d43723e42 100644 --- a/sys-utils/setpgid.1.adoc +++ b/sys-utils/setpgid.1.adoc @@ -1,3 +1,7 @@ +// +// No copyright is claimed. This code is in the public domain; do with +// it what you wish. +// //po4a: entry man manual // Daan De Meyer // In the public domain. diff --git a/text-utils/line.1.adoc b/text-utils/line.1.adoc index d3c929be61..bed0d0d31c 100644 --- a/text-utils/line.1.adoc +++ b/text-utils/line.1.adoc @@ -1,4 +1,8 @@ -//po4a: entry man manual +// +// No copyright is claimed. This code is in the public domain; do with +// it what you wish. +// +// po4a: entry man manual // This page is in the public domain = line(1) :doctype: manpage diff --git a/text-utils/line.c b/text-utils/line.c index 7ad552fb95..b7853a179d 100644 --- a/text-utils/line.c +++ b/text-utils/line.c @@ -1,12 +1,11 @@ /* + * No copyright is claimed. This code is in the public domain; do with + * it what you wish. + * * line - read one line * * Gunnar Ritter, Freiburg i. Br., Germany, December 2000. * - * Public Domain. - */ - -/* * This command is deprecated. The utility is in maintenance mode, * meaning we keep them in source tree for backward compatibility * only. Do not waste time making this command better, unless the -- 2.47.3