Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2010 22:28:22 -0700
From:      Jason <jhelfman@e-e.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        Fbsd8 <fbsd8@a1poweruser.com>, "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: ports INDEX file
Message-ID:  <20100723052821.GA2854@Jason-Helfmans-MacBook-Pro.local>
In-Reply-To: <4C492524.8080109@infracaninophile.co.uk>
References:  <4C48EE42.1050102@a1poweruser.com> <4C492524.8080109@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@infracaninophile.co.uk               Kent, CT11 9PW
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100723052821.GA2854>