Date: Mon, 21 Nov 2005 12:16:32 +0200 From: Vasil Dimov <vd@datamax.bg> To: freebsd-ports@freebsd.org Subject: Re: which port would install bin/foo Message-ID: <20051121101632.GA30534@qlovarnika.bg.datamax> In-Reply-To: <20051118162020.GA1187@qlovarnika.bg.datamax> References: <20051118162020.GA1187@qlovarnika.bg.datamax>
next in thread | previous in thread | raw e-mail | index | archive | help
--cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks for all your answers. Some time ago, when I faced this I wrote a sh script (~20 lines) that did find -name pkg-plist and make -V PLIST_FILES, storing the results in one flat text file of the form category/port:file, suitable for latter grep-ing. The result was 65M text file, containing 1230504 lines. Now I think on writing a more advanced tool, that would store the results in a more efficient way and would provide something like: portsearch -f bin/foo I thought on extending `make search' with file=3D or building a database that can be used by pkg_info -W, but for different resons rejected these ideas. --=20 Vasil Dimov --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFDgZ5/Fw6SP/bBpCARAgNyAJ9L7RJi0d4+oX4Dr4xcVQ6b9vkbCwCdH8ek LMlnTXx8SVf1hEAC4ZFkHIg= =mNEV -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051121101632.GA30534>