What would YOU like to see 'port doctor' do?

Brandon Allbery allbery.b at gmail.com
Tue Jul 22 12:01:05 PDT 2014


On Tue, Jul 22, 2014 at 2:01 PM, Kyle Sammons <ksammons at macports.org> wrote:

> There are some more unusual ways that people manage to break their
>> systems, like replacing executables (sed, tar, etc...) in /usr/bin with
>> incompatible versions (or just deleting them). I'm not sure if you want
>> to go down that rabbit hole, but if you can find a general way of
>> checking that won't break when OS updates change the files, that'd be
>> great.
>>
>>  Hmm. I'm not entirely sure how that would work, or even if it would
> work, but I'll definitely keep it in mind.
>

There are BOM files for OS packages that can be used to verify the standard
contents of /usr/bin; this is what Disk Utility's check permissions
functionality uses, and if it's not available directly via pkgutil then you
can at least use it to find the BOM files and then validate the current
paths against them.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140722/6703c8e3/attachment.html>


More information about the macports-dev mailing list