Pádraig Brady <[email protected]> writes:

> * build-aux/gen-lists-of-programs.sh: kill and uptime are not installed
> by arch, debian, fedora, suse at least, so add to disabled list.
> Fixes https://github.com/coreutils/coreutils/issues/132
> ---
>  build-aux/gen-lists-of-programs.sh | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/build-aux/gen-lists-of-programs.sh 
> b/build-aux/gen-lists-of-programs.sh
> index 454eba0aa..1892b1aeb 100755
> --- a/build-aux/gen-lists-of-programs.sh
> +++ b/build-aux/gen-lists-of-programs.sh
> @@ -19,6 +19,8 @@ disabled_by_default_progs='
>      arch
>      coreutils
>      hostname
> +    kill
> +    uptime
>  '
>  
>  # Programs that can be built only when certain requisite system
> @@ -76,7 +78,6 @@ normal_progs='
>      head
>      id
>      join
> -    kill
>      link
>      ln
>      logname
> @@ -131,7 +132,6 @@ normal_progs='
>      unexpand
>      uniq
>      unlink
> -    uptime
>      vdir
>      wc
>      whoami

Should we have a NEWS entry? Just so we don't surprise any distributions
who may have used them.

Something like this:

diff --git a/NEWS b/NEWS
index ed33d27aa..efe51d702 100644
--- a/NEWS
+++ b/NEWS
@@ -43,6 +43,12 @@ GNU coreutils NEWS                                    -*- 
outline -*-
 
   csplit, ls, and sort, now handle a more complete set of terminating signals.
 
+** Build-related
+
+  kill and uptime are no longer built by default.
+  These programs can be built with the --enable-install-program=kill,uptime
+  configure option.
+
 
 * Noteworthy changes in release 9.9 (2025-11-10) [stable]
 
Collin

Reply via email to