On 2023/05/21 21:27, Stefan Hagen wrote:
Laurent Cheylus wrote (2023-05-19 10:26 CEST):
proposal to import sysutils/gdu for the latest version 5.23.0

This collides with gdu from coreutils.

===>  Installing gdu-5.23.0 from /usr/ports/packages/amd64/all/
Collision in gdu-5.23.0: the following files already exist
        /usr/local/bin/gdu (coreutils-9.1 and gdu-5.23.0)
        /usr/local/man/man1/gdu.1 (coreutils-9.1 and gdu-5.23.0)
Couldn't install gdu-5.23.0

My first thought was to rename it to "godu", but this is taken by a similar
tool already (https://github.com/viktomas/godu).

Maybe check if the other BSDs have it with another name...

Thanks Stefan for your tests.

After review, in FreeBSD port, no rename for sysutils/gdu https://www.freshports.org/sysutils/gdu and no port for NetBSD.

I decided to rename binary and manpage from gdu to ggdu to avoid conflict with coreutils and to avoid to use godu name. I added patches in my port to rename binary in Go code and manpage and also add note in pkg/DESCR to explain the rename.

Attached my new version of sysutils/gdu port.

Laurent



Attachment: gdu-5.23.0.tar.gz
Description: application/gzip

Reply via email to