[MacPorts] #47632: p7zip executables in lib/ instead of bin/
#47632: p7zip executables in lib/ instead of bin/ -------------------------------+-------------------------------- Reporter: stuartwesterman@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Low | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: p7zip -------------------------------+-------------------------------- This was emailed to me from a concerned macports user: ''I just installed p7zip via ports and was surprised that the executables were not in my path after installation. A short search on /opt/local showed that the executables were installed under /opt/local/lib/p7zip. It is my strong belief that the correct place for the executables is /opt/local/bin, while the libraries are properly placed under /opt/local/lib/p7zip. I have of course linked my executables to bin, while leaving them in /opt/local/lib/p7zip so as to not upset port, but I suggest that the above referenced correction be made to this port.'' I'll try to add the patch here when I get around to it. -- Ticket URL: <https://trac.macports.org/ticket/47632> MacPorts <https://www.macports.org/> Ports system for OS X
#47632: p7zip executables in lib/ instead of bin/ --------------------------------+-------------------------------- Reporter: stuartwesterman@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Low | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: p7zip | --------------------------------+-------------------------------- Comment (by ryandesign@…): It is your port, so feel free to make that change. I agree it would be more normal for binaries to be in /opt/local/bin. Perhaps there is a reason why the developers chose to install them /opt/local/lib/p7zip instead and install wrapper scripts in /opt/local/bin. Have you asked them? Also in /opt/local/lib/p7zip are files 7z.so and 7zCon.sfx. Odd names for executables, those. If they are not executables, then they should not be moved into /opt/local/bin. -- Ticket URL: <https://trac.macports.org/ticket/47632#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47632: p7zip executables in lib/ instead of bin/ --------------------------------+-------------------------------- Reporter: stuartwesterman@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Low | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: p7zip | --------------------------------+-------------------------------- Comment (by larryv@…): Agreed that it’s kind of weird, but you should try to address this upstream instead of hacking it into the port. From the README in the source distribution: {{{ - 7za is a stand-alone program, you can put this program where you want. example : cp bin/7za /usr/local/bin/7za - 7z needs its plugins. You must copy the file 7z, 7z.so and the directory Codecs in the same destination directory. - if you want to be able to create SFX archive, copy bin/7zCon.sfx to the directory where 7za or 7z can be found. }}} -- Ticket URL: <https://trac.macports.org/ticket/47632#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47632: p7zip executables in lib/ instead of bin/ --------------------------------+-------------------------------- Reporter: stuartwesterman@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Low | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: p7zip | --------------------------------+-------------------------------- Comment (by khindenburg@…): It appears to work as-is since the bin files are just small script files {{{ /opt/local/bin/7z /opt/local/bin/7za /opt/local/bin/7zr cat /opt/local/bin/7z #! /bin/sh "/opt/local/lib/p7zip/7z" "$@" }}} -- Ticket URL: <https://trac.macports.org/ticket/47632#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts