From: Karel Zak Date: Wed, 21 Feb 2024 09:13:50 +0000 (+0100) Subject: docs: cleanup public domain license texts X-Git-Tag: v2.42-start~525 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3ce8e121c322237e953f9a4f816a5deddd2ec1fd;p=thirdparty%2Futil-linux.git 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 --- diff --git a/include/crc32.h b/include/crc32.h index 81c7703b1..0d34da0d2 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 3d2746184..1ac6b970c 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 bece863f5..734a7f689 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 2e6b44d05..32ef5b9ca 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 934303c7b..10877d240 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 0e73eaf51..e9a90d3ea 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 5a01b4605..99df4f4a6 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 1f6225fb1..692f4b54f 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 c0c53bf7b..0d43723e4 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 d3c929be6..bed0d0d31 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 7ad552fb9..b7853a179 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