/usr/share/man as man prefix
Hello everyone, I've noticed a lot of packages in crux 3.2 still make use of /usr/man as the manpage directory, even though it's supposed to be /usr/share/man for 3.2 installations. To get the list of these packages you can use this command: find /usr/ports -name .footprint -exec grep 'usr/man' {} + | cut -d: -f1 | xargs dirname | sort | uniq That's more than 500 ports, which is a lot seeing how easy it can be fixed. This is not a *real* problem per se, as you can still access the pages, but I though it would be nice to see it fixed. I fixed it on my personnal ports by running: find -type f -exec sed -i 's|usr/man|usr/share/man|g' {} + I didn't run into any problem so far. thanks for reading, cheers! -- Willy Goiffon
For the time being, would it make sense to symlink /usr/man to /usr/share/man? On Sun, Dec 13, 2015, 6:44 AM Willy Goiffon <willy@mailoo.org> wrote:
Hello everyone,
I've noticed a lot of packages in crux 3.2 still make use of /usr/man as the manpage directory, even though it's supposed to be /usr/share/man for 3.2 installations.
To get the list of these packages you can use this command:
find /usr/ports -name .footprint -exec grep 'usr/man' {} + | cut -d: -f1 | xargs dirname | sort | uniq
That's more than 500 ports, which is a lot seeing how easy it can be fixed.
This is not a *real* problem per se, as you can still access the pages, but I though it would be nice to see it fixed.
I fixed it on my personnal ports by running:
find -type f -exec sed -i 's|usr/man|usr/share/man|g' {} +
I didn't run into any problem so far.
thanks for reading, cheers!
-- Willy Goiffon _______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
On Sun, Dec 13, 2015 at 03:43:22PM +0100, Willy Goiffon wrote:
Hello everyone,
I've noticed a lot of packages in crux 3.2 still make use of /usr/man as the manpage directory, even though it's supposed to be /usr/share/man for 3.2 installations.
To get the list of these packages you can use this command:
find /usr/ports -name .footprint -exec grep 'usr/man' {} + | cut -d: -f1 | xargs dirname | sort | uniq
That's more than 500 ports, which is a lot seeing how easy it can be fixed.
This is not a *real* problem per se, as you can still access the pages, but I though it would be nice to see it fixed.
Indeed. It's not really a problem. Since both paths work, maintainers are expected to do the "migration" during the 3.2 lifecycle.
I fixed it on my personnal ports by running:
find -type f -exec sed -i 's|usr/man|usr/share/man|g' {} +
I didn't run into any problem so far.
We did run across a few ports in core that required some more manual work before we released 3.2. Just a heads-up.
thanks for reading, cheers!
-- Fredrik Rinnestam
Fredrik Rinnestam wrote:
On Sun, Dec 13, 2015 at 03:43:22PM +0100, Willy Goiffon wrote:
Hello everyone,
I've noticed a lot of packages in crux 3.2 still make use of /usr/man as the manpage directory, even though it's supposed to be /usr/share/man for 3.2 installations.
To get the list of these packages you can use this command:
find /usr/ports -name .footprint -exec grep 'usr/man' {} + | cut -d: -f1 | xargs dirname | sort | uniq
That's more than 500 ports, which is a lot seeing how easy it can be fixed.
This is not a *real* problem per se, as you can still access the pages, but I though it would be nice to see it fixed.
Indeed. It's not really a problem. Since both paths work, maintainers are expected to do the "migration" during the 3.2 lifecycle.
I though ports had to be migrated BEFORE crux 3.2 was out. I'll just make a symlink as other people suggested then. Thanks for the reply! -- Willy Goiffon
participants (3)
-
Alex Matviychuk
-
Fredrik Rinnestam
-
Willy Goiffon