Opened 3 years ago
Closed 3 years ago
#64872 closed defect (fixed)
gnutar: info file and manpage reference "tar" instead of "gnutar"
Reported by: | fgunbin | Owned by: | Filipp Gunbin <fgunbin@…> |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | gnutar |
Description
Package gnutar ships with gnutar.info file
If we do
install-info gnutar.info /opt/local/share/info/dir
Then the resulting line in dir looks like
Archiving * Tar: (tar). Making tape (or disk) archives.
Which refers to "tar" file instead of "gnutar"...
Change History (4)
comment:1 follow-ups: 2 3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | gnutar info incorrectly installed → gnutar: info file and manpage reference "tar" instead of "gnutar" |
---|
comment:2 Changed 3 years ago by fgunbin
Replying to ryandesign:
You could say the same thing about the manpage. (Oddly the port installs two different manpages...)
The port has no maintainer. Would you like to prepare a pull request to fix these issues?
This port doesn't seem to follow the usual convention (like in coreutils) to prefix GNU program's name with "g", while putting original name in libexec/gnubin: the port itself is named "gnutar".
I think the right way for man pages is:
- /opt/local/share/man/man1/gnutar.1.gz - the file itself
- /opt/local/libexec/gnubin/man/man1/tar.1.gz - symlink
Currently it's already like that, but file and symlink are "swapped". This can be fixed in Portfile.
The info file is put here:
- /opt/local/share/info/gnutar.info
It seems right, however the file contains menu items like "(tar)..." so they work incorrectly from "dir", thus my bug report. They should be "(gnutar)..." instead. I can provide a patch to be applied to tar.texi.
Does it all make sense? I have not yet contributed to MacPorts, maybe I misunderstand something.
comment:3 Changed 3 years ago by fgunbin
Replying to ryandesign:
You could say the same thing about the manpage. (Oddly the port installs two different manpages...)
The port has no maintainer. Would you like to prepare a pull request to fix these issues?
Please check the PR https://github.com/macports/macports-ports/pull/14400
comment:4 Changed 3 years ago by Filipp Gunbin <fgunbin@…>
Owner: | set to Filipp Gunbin <fgunbin@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
You could say the same thing about the manpage. (Oddly the port installs two different manpages...)
The port has no maintainer. Would you like to prepare a pull request to fix these issues?