2022-03-29 00:54:50 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=coreutils
|
2022-04-19 11:25:16 +00:00
|
|
|
version=9.1
|
2022-03-29 00:54:50 +00:00
|
|
|
useconfigure="true"
|
|
|
|
use_fresh_config_sub="true"
|
2022-05-25 10:51:13 +00:00
|
|
|
config_sub_paths=("build-aux/config.sub")
|
2022-03-29 00:54:50 +00:00
|
|
|
files="https://ftpmirror.gnu.org/gnu/coreutils/coreutils-${version}.tar.gz coreutils-${version}.tar.gz
|
|
|
|
https://ftpmirror.gnu.org/gnu/coreutils/coreutils-${version}.tar.gz.sig coreutils-${version}.tar.gz.sig
|
|
|
|
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
|
|
|
|
auth_type="sig"
|
|
|
|
auth_opts=("--keyring" "./gnu-keyring.gpg" "coreutils-${version}.tar.gz.sig")
|
2022-04-18 14:10:28 +00:00
|
|
|
|
|
|
|
# Exclude some non-working utilities:
|
|
|
|
# - arch, coreutils, and hostname are already excluded in the default configuration
|
|
|
|
# - chcon and runcon are SELinux utilities
|
|
|
|
# - df requires one of the read_file_system_list implementations in gnulib/lib/mountlist.c
|
|
|
|
# - pinky, users, and who require utmp
|
|
|
|
# - nice is just something that doesn't exist
|
|
|
|
configopts+=("--enable-no-install-program=arch,coreutils,hostname,chcon,runcon,df,pinky,users,who,nice")
|