How to detect filename conflicts with uninstalled ports?

Mykola Dzham i at levsha.me
Mon Nov 22 15:59:07 UTC 2010


 Charlie Kester wrote:
> I'm working on a new port that installs a program with a name that seems
> like it would already be taken, but I don't have anything by that name
> on my system -- even though I have lots of ports installed.
> 
> I know that I can use "portsdb -r" to find all the ports that depend on
> a given port, whether they're installed or not.  Is there a similar way
> to determine if an uninstalled port installs a file with a given name?

You can use ports-mgmt/portsearch to search ports, contains some file.
For example 
portsearch -f 'bin/bash$'

-- 
LEFT-(UANIC|RIPE)
JID: levsha at jabber.net.ua
PGP fingerprint: 1BCD 7C80 2E04 7282 C944  B0E0 7E67 619E 4E72 9280


More information about the freebsd-ports mailing list