Fix tr hack to not leak
- Jun 14, 2021
-
-
Sjoerd Simons authored
Rather then leaking a boxed value to keep the upstream code working wrap the unescape string into a cow. This causes a bunch of allocations to happen if the upper/lower character classes are used but at least there are no allocations leaked. Signed-off-by:
Sjoerd Simons <sjoerd@collabora.com>
-
- Jun 11, 2021
-
-
Apertis package maintainers authored
-
Apertis package maintainers authored
The current implementation of `rust-coreutils` isn't complete yet, and some of the executables need improvements in order to be able to build a base Apertis system. This commit adds the necessary patches to ensure we can use to package to build Apertis images. Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
Apertis package maintainers authored
The `revert-twox-hash.dif` patch is no longer needed as a similar change was merged upstream, which is included in this package as part of the `sort` backport. `bump-thread-local` is an empty file causing issues when using `gbp pq`, and can be safely removed. Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
Apertis package maintainers authored
The new implementation of `sort` backported from upstream adds a dependency on the `rayon` crate. This commit adds the corresponding Debian package as a build-dependency. Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
Apertis package maintainers authored
The post-installation script of at least one packages makes use of the `-k` option for `sort`, which isn't implemented in release 0.0.6 of `rust-coreutils`. As this has since been implemented upstream, this commit picks the corresponding patches so we can benefit of those improvements. Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
Apertis package maintainers authored
`rust-coreutils` provides `hashsum` as an implementation for all `*sum` executables (md5sum, sha1sum...). As most software expect individual binaries for each of those, this commit adds symlinks pointing to `hashsum` for all supported algorithms. Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
Apertis package maintainers authored
Some of the executables installed by `rust-coreutils` are already provided by other packages: - `more` is provided by `util-linux` - `hostname` is provided by `hostname` - `kill` and `uptime` are provided by `procps` Removing those executables from this package solves conflicts. Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-
Apertis package maintainers authored
As we want `rust-coreutils` to be a replacement to `coreutils-gplv2`, we need to ensure this package gets picked up when boostrapping the system, and that `coreutils-gplv2` won't be installed at the same time. This is achieved by: - adding Conflicts/Breaks/Replaces/Provides relationships identical to those of `coreutils-gplv2` - adding another Conflicts relationship with `coreutils-gplv2` - make the package priority `required` so it can be pulled by `debootstrap` Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
-