#16911: git-core requiring macports' ssh on leopard, openssh security concern ---------------------------------+------------------------------------------ Reporter: bcbarnes@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: | ---------------------------------+------------------------------------------ Comment(by blb@macports.org): Replying to [comment:3 bcbarnes@…]:
I removed git-core, changed the PATH as suggested, and recompiled/installed git-core. Everything works fine; the macports binaries of openssh are apparently not required for git to function properly on OS X 10.5.5 (intel). If that is true, I would prefer that they were not installed...
Note that the PATH used by port is not the same as your PATH, it sets it up so that MacPorts' prefix is always first, so it most likely still uses the ssh in MacPorts.
I still find it slightly bad that the postflight script puts the macports path first, and then some ports replace critical system utilities. In what other cases does this happen? Is there a list?
This is for usability as otherwise there are numerous people who do want the MacPorts-installed items to override what's in /usr, again you are quite free to change this (I myself don't have it first in my PATH). -- Ticket URL: <http://trac.macports.org/ticket/16911#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS