[MacPorts] #64872: gnutar: info file and manpage reference "tar" instead of "gnutar"

MacPorts noreply at macports.org
Thu Mar 24 20:41:21 UTC 2022


#64872: gnutar: info file and manpage reference "tar" instead of "gnutar"
----------------------+--------------------
  Reporter:  fgunbin  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  gnutar   |
----------------------+--------------------

Comment (by fgunbin):

 Replying to [comment:1 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/64872#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list