request for port peg command, to lock down a port at the currently installed version

Ken Cunningham ken.cunningham.webuse at gmail.com
Tue Mar 6 14:50:30 UTC 2018


It is fairly common for users to find an update to a port that won't build on their system for some reason.

It would be nice to have a simple command, like 

port peg PORTNAME

that stops the port from attempting to update until the peg is released. Such a command does exist in other package mgmt systems.

This can be done manually with a local repo, but it is a bit of a PITA to do that for casual users.

Perhaps MacPorts could have a built-in local repo, and "port peg PORTNAME" would copy the current portfile out of the installed registry in there. That sounds pretty easy to do.

Perhaps there is some easy way to keep a list of ports that are ignored for port upgrade outdated.


Best,

Ken


More information about the macports-dev mailing list