rust-coreutils (0.11.0-1) unstable; urgency=medium

  * New upstream release.
  * Update the l10n component tarball to 0.11.0.
  * d/p/fix-locale-path.patch: refreshed. Upstream now installs the shared
    error locales (src/uucore/locales/errors); install them under
    /usr/share/coreutils/locales/uucore/errors like the rest.
  * d/p/use-l10n-translations-in-makefile.patch: refreshed.
  * Build the checksum utilities against the system OpenSSL: enable the
    upstream "openssl" feature so cksum, md5sum and the sha*sum family use
    libcrypto instead of the pure-Rust digests, with OPENSSL_NO_VENDOR=1 so
    openssl-sys links Debian's shared libcrypto rather than building the
    vendored openssl-src copy. Build-Depends on libssl-dev and pkgconf.
  * Build with profile-guided optimization on amd64 and arm64: the
    instrumented binary is built with the package's own build command, then
    upstream's util/build-pgo.sh runs the training workloads and merges the
    profile, which the real build consumes through -Cprofile-use.
    d/p/pgo-use-prebuilt-binary.patch adds the --instrumented-binary option
    the script needs for that; using its own step 1 instead would train a
    binary built with a different feature set, whose profile -Cprofile-use
    then silently ignores. Restricted to those two
    arches because training has to run the instrumented binary and roughly
    doubles the build time (s390x already flirts with the buildd timeout,
    the 32-bit arches OOM). Disable with DEB_BUILD_OPTIONS=nopgo.
    Build-Depends on llvm [amd64 arm64].
  * Update the vendored crates.
  * Drop the Cargo.toml.orig cargo-vendor-filterer leaves in every vendored
    crate, and delete them in the 'vendor' target from now on: cargo never
    reads them and lintian reports them as debian-adds-patch-failure-file.
    Drops the override that used to hide the tag.
  * Blank the .cargo-checksum.json of every vendored crate, not just the
    ones matching the old sed: cargo-vendor-filterer now emits a "$comment"
    key, which the line-anchored regexp skipped. Left as it was,
    minimal-lexical failed to build because its checksum list mentions a
    .gitmodules that dpkg-source strips from the .debian.tar.
  * d/p/remove-workspace-members.patch: drop the workspace members array
    so dh-cargo stops walking the Cargo.toml of every crate in
    debian/rust-vendor/ (Ubuntu)
  * Re-enable stdbuf, disabled since 0.0.30-2: set LIBSTDBUF_DIR and
    ship /usr/libexec/rust-coreutils/libstdbuf.so instead of shipping a
    stdbuf link to a binary that did not implement it (Ubuntu)
  * Build with --features feat_systemd_logind so who, users, uptime and
    pinky read sessions from logind rather than an empty utmp; Build-
    Depends on libsystemd-dev (Ubuntu, LP: #2152801)

 -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 01 Sep 2026 10:54:51 +0200

rust-coreutils (0.10.0-1) unstable; urgency=medium

  * New upstream release.
  * Rework the source package to match the layout used by Ubuntu, so that
    merging Debian into Ubuntu no longer means undoing our repack:
    - Drop debian/repack.sh: the orig tarball is now the pristine GitHub tag.
    - d/watch: new, fetching the upstream tag plus the translations from
      uutils/coreutils-l10n as an l10n component tarball (unpacked in l10n/).
      Written in the version=4 syntax because devscripts in Debian does not
      support the newer "Version: 5" templates yet.
    - The vendored crates move out of the orig tarball into
      debian/rust-vendor/, generated by the new "debian/rules vendor" target
      with cargo-vendor-filterer (tier 2, *-*-linux-gnu* only). Vendor-only
      patches now have their own quilt series, debian/patches/rust-vendor/,
      applied by dh_quilt_patch; Build-Depends on quilt accordingly.
    - d/control: add the XS-Vendored-Sources-Rust field.
    - d/README.source: document the whole workflow.
  * debian/patches:
    - Drop use-vendor.diff, handled by "cargo prepare-debian" now.
    - Drop disable-utmp-classic.diff: utmp-classic is an OpenBSD-only target
      dependency, so it is never built on Linux; only its (unused) vendored
      copy remains. Ubuntu dropped the patch for the same reason.
    - Replace fix-locale-path.diff by Ubuntu's fix-locale-path.patch and add
      their use-l10n-translations-in-makefile.patch, the translations being
      installed from l10n/ instead of src/uu/*/locales/.
    - New workspace-exclude.patch, to keep debian/rust-vendor out of the
      cargo workspace.
    - Rebase the remaining patches on 0.10.0 and refresh the whole series
      with standard -p1 headers.
  * Ship debian/tldr.zip (English pages only): the pristine tarball does not
    carry the tldr archive that improve-man.diff turns into the EXAMPLES
    section of the manpages, and the build has no network access.

 -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 06 Aug 2026 00:20:00 +0200

rust-coreutils (0.9.0-3) unstable; urgency=medium

  * Use the debian/changelog date (via SOURCE_DATE_EPOCH) for the
    generated manpage date instead of the current build date, so the
    package builds reproducibly. New patch reproducible-man-date.diff.

 -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 04 Jun 2026 11:12:51 +0200

rust-coreutils (0.9.0-2) unstable; urgency=medium

  * Fix the i386 (32-bit) FTBFS (OOM): the test build did fat LTO +
    codegen-units=1 + full debuginfo on the giant all-utils crate and ran out
    of the ~3GB address space. Set CARGO_PROFILE_RELEASE_LTO=thin,
    CODEGEN_UNITS=16 and DEBUG=1 via env on all 32-bit arches so every cargo
    invocation honours them, replacing the sed hacks that missed the test step.

 -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 31 May 2026 10:04:41 +0200

rust-coreutils (0.9.0-1) unstable; urgency=medium

  * New upstream release

 -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 30 May 2026 17:07:32 +0200

rust-coreutils (0.8.0-6) unstable; urgency=medium

  * Fix the s390x FTBFS (150min buildd inactivity timeout). The previous
    sed only disabled LTO around dh_auto_install, so the default build and
    the test build still did fat LTO + codegen-units=1 + full debuginfo on
    the giant all-utils crate, which is what actually timed out. Now set
    CARGO_PROFILE_RELEASE_LTO=false, CODEGEN_UNITS=16 and DEBUG=1 via env so
    every cargo invocation honours them.
  * Skip the (non-gating) test suite on s390x: the release test build was
    the step hitting the timeout (killed at "Compiling unindent").
  * Use lld as the linker on every architecture when it is available, not
    just on s390x: ld.lld is detected at build time (via command -v) and
    -fuse-ld=lld is added when present, falling back to the default linker
    otherwise. lld links the multicall binary much faster than GNU ld.
    Build-Depend on lld on all architectures (it ships from the same
    llvm-toolchain source as the already-required libclang-dev).
  * Log the linker on every architecture: emit the -Wl,-v banner on every
    link and print rustc -vV / ld.lld / ld at configure time, so every build
    log records which linker ran. Previously the ld.lld check lived in
    dh_auto_install (never reached when the build timed out) and only on s390x.

 -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 28 May 2026 08:08:46 +0200

rust-coreutils (0.8.0-5) unstable; urgency=medium

  * Disable LTO on s390x: thin LTO + lld in 0.8.0-4 still timed out on
    the buildd, so turn LTO off entirely on s390x.
  * Print ld.lld version and ask the linker to log itself (-Wl,-v) so
    the build log shows which linker was actually invoked.

 -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 27 May 2026 23:11:39 +0200

rust-coreutils (0.8.0-4) unstable; urgency=medium

  * Use lld as the linker on s390x: thin LTO alone in 0.8.0-3 did not
    unblock the buildd timeout, so switch the final link to ld.lld.

 -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 27 May 2026 08:04:14 +0200

rust-coreutils (0.8.0-3) unstable; urgency=medium

  * Use thin LTO on s390x to avoid linker timeouts on the buildd

 -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 27 May 2026 08:04:14 +0200

rust-coreutils (0.8.0-2) unstable; urgency=medium

  * try to unbreak the ppc64 build

 -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 17 May 2026 14:58:46 +0200

rust-coreutils (0.8.0-1) unstable; urgency=medium

  * New upstream release (Closes: #1134876)
  * Improve the manpage (LP: #2115782)
  * Add manpage symlink for coreutils binary (no-manual-page)
  * Extend disable-utmp-classic.diff to cover the new
    [target.'cfg(target_os = "openbsd")'.dependencies] block in
    src/uucore/Cargo.toml introduced upstream in 0.8.0 (fixes FTBFS).
  * Disable fix-man.diff: it converts .ftl bullet markers from `-` to `*`
    and rewrites top-level `key = value` lines as markdown bullets, which
    is invalid Fluent syntax. uudoc loads each utility's locale via
    setup_localization_or_exit and was aborting manpage generation with
    a Localization parse error. Patch kept in debian/patches/ but
    commented out in series until it can be rewritten Fluent-cleanly.

 -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 06 May 2026 13:08:52 +0000

rust-coreutils (0.7.0-1) unstable; urgency=medium

  * New upstream release
  * Move to https://salsa.debian.org/rust-team/coreutils
  * Improve the manpages example display

 -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 09 Mar 2026 06:59:39 +0100

rust-coreutils (0.6.0-1) unstable; urgency=medium

  * New upstream release
  * Vendor dependencies. Too hard to maintain in Debian

 -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 17 Feb 2026 13:48:51 +0100

rust-coreutils (0.0.30-4) unstable; urgency=medium

  * Team upload.

  [ Jeremy Bícha]
  * remove unused Build-Depends: librust-unix-socket-dev

  [ Peter Michael Green ]
  * Add patch for nix 0.30

 -- Peter Michael Green <plugwash@debian.org>  Tue, 30 Sep 2025 12:45:34 +0000

rust-coreutils (0.0.30-3) unstable; urgency=medium

  * Team upload.
  * Bump the notify dependency to v8

 -- NoisyCoil <noisycoil@debian.org>  Wed, 24 Sep 2025 19:38:04 +0200

rust-coreutils (0.0.30-3~exp1) experimental; urgency=medium

  * Also ship with b3sum (Closes: #1107092)

 -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 02 Jun 2025 20:43:15 +0200

rust-coreutils (0.0.30-2) unstable; urgency=medium

  [ Dylan Aïssi ]
  * disable stdbuf
  * tweak build profile for right balance between the smallest binary size and enough debug info

 -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 24 Apr 2025 21:02:55 +0200

rust-coreutils (0.0.30-1) unstable; urgency=medium

  * New upstream release
    (Closes: #1101590)

 -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 04 Apr 2025 23:49:25 +0200

rust-coreutils (0.0.27-3) unstable; urgency=medium

  [ NoisyCoil ]
  * Team upload.
  * Package coreutils 0.0.27 from crates.io using debcargo 2.7.5
  * Remove unused librust-users-dev build-dependency
    (Closes: #1089872)

  [ Sylvestre Ledru ]
  * Update of the description. Thanks to Dylan Aissi
  * Fix the executable-not-elf-or-script warning
  * Remove old patches

 -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 22 Dec 2024 13:56:37 +0100

rust-coreutils (0.0.27-2) unstable; urgency=medium

  * Team upload.
  * Update for nix 0.28 (Closes: #1085563)
    + Drop relax-nix.patch and nix-0.27.patch
    + Add new patch for nix 0.29
  * Add patch to support rust-ini 0.18, since newer version is blocked on
    rust-trim-in-place clearing NEW.
  * Reduce context in patches to avoid problems applying them after changes
    in other patches.

 -- Peter Michael Green <plugwash@debian.org>  Sun, 03 Nov 2024 17:56:48 +0000

rust-coreutils (0.0.27-1) unstable; urgency=medium

  * New upstream release
  * Disable factor as num-prime isn't working in Debian yet

 -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 03 Nov 2024 00:31:47 +0100

rust-coreutils (0.0.26-5) unstable; urgency=medium

  * Only apply the debug sed if the file exists (Closes: #1082938)
  * Fix the half dependency (Closes: #1083058) - was fixed in the previous
    upload but not closed

 -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 06 Oct 2024 10:58:56 +0200

rust-coreutils (0.0.26-4) unstable; urgency=medium

  * Team upload.
  * Stop patching cargo dependencies on half and glob. Update Debian build
    dependencies accordingly.
  * Reduce context in relax-itertools.diff, relax-gcd.diff, relax-fundu.diff
    and relax-hostname.diff to avoid fuzz.

 -- Peter Michael Green <plugwash@debian.org>  Thu, 19 Sep 2024 14:50:41 +0000

rust-coreutils (0.0.26-3) unstable; urgency=medium

  * Relax notify dependency to support 6.x

 -- James McCoy <jamessan@debian.org>  Tue, 11 Jun 2024 16:29:09 -0400

rust-coreutils (0.0.26-2) unstable; urgency=medium

  * Team upload

  [ Sylvestre Ledru ]
  * As nix & chrono have been updated, remove the upstream cherry-picked
    patches

  [ Peter Michael Green ]
  * Fix build on 32-bit architectures with time64 (Closes: #1071048)
    + Use mem::zeroed to create timespec structs as they contain padding on
      time64 architectures.
    + Build-depend on librust-selinux-sys-dev (>= 0.6.7-2)  to pick up time64
      fix.
  * Add patch to support nix 0.27 (upstream uses 0.28).
  * Tighten nix dependency in debian/control, the nix 0.27 patch will need
    to be removed when debian upgrades to nix 0.28.

 -- Peter Michael Green <plugwash@debian.org>  Wed, 15 May 2024 00:16:03 +0000

rust-coreutils (0.0.26-1) unstable; urgency=medium

  * New upstream release
    (Closes: #1067897, #1069413)
    Adds support for loongarch (Closes: #1059268)
  * remove librust-failure-dev, librust-failure-derive-dev unused deps
  * remove help2man from the build deps (not used)

 -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 01 May 2024 14:03:13 +0200

rust-coreutils (0.0.23-3) unstable; urgency=medium

  * Team upload.
  * Fix Debian dependency for "half" crate.

 -- Peter Michael Green <plugwash@debian.org>  Thu, 25 Jan 2024 08:27:35 +0000

rust-coreutils (0.0.23-2) unstable; urgency=medium

  * Team upload.
  * Relax crossterm dependency.

 -- Peter Michael Green <plugwash@debian.org>  Wed, 22 Nov 2023 17:02:31 +0000

rust-coreutils (0.0.23-1) unstable; urgency=medium

  * New upstream release
  * Fix "Fails to build source after successful build"
    (closes: #1046006)

 -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 18 Nov 2023 12:38:26 +0100

rust-coreutils (0.0.22-1) unstable; urgency=medium

  * New upstream release

 -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 15 Oct 2023 22:04:25 +0200

rust-coreutils (0.0.21-1) unstable; urgency=medium

  * New upstream release

 -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 03 Sep 2023 18:58:30 +0200

rust-coreutils (0.0.20-1) unstable; urgency=medium

  * New upstream release
  * librust-self-cell-dev is a new dep
  * Standards-Version updated 4.6.2

 -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 16 Jul 2023 18:34:00 +0200

rust-coreutils (0.0.19-3) unstable; urgency=medium

  * Team upload.
  * On 32-bit architectures, reduce debuginfo level and use thin lto rather
    than full lto to avoid issues with running out of address space.

 -- Peter Michael Green <plugwash@debian.org>  Sun, 16 Jul 2023 00:20:58 +0000

rust-coreutils (0.0.19-2) unstable; urgency=medium

  * Add missing build dep
    librust-clap-mangen-dev

 -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 14 Jul 2023 17:17:12 +0200

rust-coreutils (0.0.19-1) unstable; urgency=medium

  [ Peter Michael Green ]
  * Drop empty patch lower-zip.diff
  * Drop relax-bstr.diff
  * Build-depend explicitly on version 4 of clap and clap-complete.

  [ Sylvestre Ledru ]
  * New upstream release
  * Add override_dh_dwz

 -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 10 Jun 2023 14:04:16 +0200

rust-coreutils (0.0.17-2) unstable; urgency=medium

  * Unbreak the s390x build

 -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 23 Jan 2023 23:14:48 +0100

rust-coreutils (0.0.17-1) unstable; urgency=medium

  * New upstream release

 -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 21 Jan 2023 23:27:05 +0100

rust-coreutils (0.0.16-4) unstable; urgency=medium

  * Team upload.
  * Bump lscolors dependency to 0.14 and build-depend explicitly on it.
  * Build-depend explicitly on version 3 of clap.

 -- Peter Michael Green <plugwash@debian.org>  Sat, 14 Jan 2023 00:02:28 +0000

rust-coreutils (0.0.16-3) unstable; urgency=medium

  * Relax the dep on nix to unbreak the build

 -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 21 Dec 2022 09:31:17 +0100

rust-coreutils (0.0.16-2) unstable; urgency=medium

  * Run the tests (but don't fail the build if not 100%)

 -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 03 Nov 2022 09:55:03 +0100

rust-coreutils (0.0.16-1) unstable; urgency=medium

  * New upstream release

 -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 03 Nov 2022 09:34:36 +0100

rust-coreutils (0.0.15-1) unstable; urgency=medium

  * New upstream release
    - Update of the desc as all binaries exist now
      (some options are still missing)

 -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 17 Sep 2022 13:54:25 +0200

rust-coreutils (0.0.14-4~exp2) experimental; urgency=medium

  * Fix the FTBFS on 32 bit with selinux

 -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 05 Aug 2022 19:08:59 +0200

rust-coreutils (0.0.14-4~exp1) experimental; urgency=medium

  * Use symlink instead of multiple binaries.
    Works the same way but decrease the footprint
    Use changes from apertis:
    https://gitlab.apertis.org/pkg/rust-coreutils/-/tree/apertis/v2023dev1/debian
  * Be more explicit for some dependencies
  * Build selinux binaries

 -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 04 Aug 2022 14:48:40 +0200

rust-coreutils (0.0.14-3) unstable; urgency=medium

  * Remove the ioctl dep and use the libc directly

 -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 10 Jun 2022 21:00:01 +0200

rust-coreutils (0.0.14-2) unstable; urgency=medium

  * Relax dep against exacl to unbreak the build
    and potentially fix the FTBFS

 -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 10 Jun 2022 08:05:39 +0200

rust-coreutils (0.0.14-1) unstable; urgency=medium

  * New upstream release
  * Added librust-selinux-dev, librust-conv-dev, librust-pretty-assertions-dev
    librust-time-dev, librust-unindent-dev, librust-rlimit-dev,
    librust-data-encoding-macro-dev, librust-dns-lookup-dev,
    librust-os-display-dev, librust-z85-dev, librust-fts-sys-dev,
    librust-exacl-dev, librust-byte-unit-dev, librust-gcd-dev,
    librust-signal-hook-dev, librust-paste-dev, librust-quickcheck-dev,
    librust-crossterm-dev, librust-bigdecimal-dev,
    librust-binary-heap-plus-dev, librust-ouroboros-dev,
    librust-memmap2-dev, librust-retain-mut-dev,
    librust-strum-dev, librust-utf-8-dev
    as new deps
  * Fix various dep issues (Closes: #995914)
  * Package coreutils 0.0.14 from crates.io using debcargo 2.5.0

 -- Sylvestre Ledru <sylvestre@debian.org>  Sun, 05 Jun 2022 23:50:57 +0200

rust-coreutils (0.0.6-1~exp1) experimental; urgency=medium

  * New upstream release

 -- Sylvestre Ledru <sylvestre@debian.org>  Sat, 03 Apr 2021 12:08:24 +0200

rust-coreutils (0.0.4-1~exp2) experimental; urgency=medium

  * Binaries have been moved in usr/lib/cargo/bin/coreutils
    The rationale is that some other rust programs are installed
    in this directory (ex: /usr/lib/cargo/bin/fd). So, users might
    add /usr/lib/cargo/bin/ to their PATH and caused some unexpected
    errors if the Rust coreutils binaries aren't behaving like GNU's.

 -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 23 Mar 2021 10:57:54 +0100

rust-coreutils (0.0.4-1~exp1) experimental; urgency=medium

  * New upstream release
  * Rebase of the patches
  * Set a minimal version for platform-info
  * Use PROFILE=release instead of a silly sed

 -- Sylvestre Ledru <sylvestre@debian.org>  Thu, 04 Feb 2021 11:28:54 +0100

rust-coreutils (0.0.3-1~exp2) experimental; urgency=medium

  * Set a minimal version for librust-hostname-dev
  * chroot, hashsum, hostname, kill, more, relpath and uptime were
    not installed
  * Add fail missing

 -- Sylvestre Ledru <sylvestre@debian.org>  Wed, 03 Feb 2021 17:02:19 +0100

rust-coreutils (0.0.3-1~exp1) experimental; urgency=medium

  * New upstream release
  * Add missing build dependency (librust-cpp-build-dev)

 -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 02 Feb 2021 13:31:05 +0100

rust-coreutils (0.0.2-1~exp1) experimental; urgency=medium

  * Package coreutils 0.0.2 from crates.io using debcargo 2.4.4-alpha.0

 -- Sylvestre Ledru <sylvestre@debian.org>  Mon, 11 Jan 2021 22:15:47 +0100
