ports INDEX file

Jason jhelfman at e-e.com
Fri Jul 23 05:28:25 UTC 2010

On Fri, Jul 23, 2010 at 06:14:12AM +0100, Matthew Seaman thus spake:
>On 23/07/2010 02:20:02, Fbsd8 wrote:
>> I have a pristine install  of 8.0.
>> There is no /usr/ports directory yet.
>> I am trying to use the "portcheckout" port and the "porteasy" port to
>> just populate the ports tree with only the ports I use.

Portcheckout really won't grab all the dependencies that are needed. I've
filed a PR for this.

I wrote up a quick script that has the same output that grabs all the
dependencies. Portcheckout doesn't grab dependencies of dependencies (ie.
make all-depends-list)

>I've heard of a few people trying to do things like this, and mostly the
>consensus is that's it's more trouble than it's worth.  Good luck.
>In order to make your cut-down tree work properly, you'ld have to
>maintain custom versions of /usr/ports/Makefile and which ever of the
>category Makefiles you use (ie. the Makefiles one level down the tree).
>> Problem is in both cases the above ports require an existing INDEX file
>> to process and since I have none they don't work.
>> How can I just download the ports INDEX file?
>> Portsnap is not a solution.
>You can use my ports-mgmt/p5-FreeBSD-Portindex port to build an INDEX
>file -- ideally you should get it to run without complaints about
>missing dependencies and such, but if you don't it will do the best it
>can to produce something resembling an INDEX.
>	Cheers,
>	Matthew
>Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
>                                                  Flat 3
>PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
>JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

More information about the freebsd-questions mailing list