m.seaman at infracaninophile.co.uk
Thu May 4 23:32:47 UTC 2006
Kris Kennaway wrote:
> On Thu, May 04, 2006 at 12:49:28PM -0700, Brooks Davis wrote:
>> On Thu, May 04, 2006 at 03:41:22PM -0400, Kris Kennaway wrote:
>>> On Thu, May 04, 2006 at 12:23:08PM -0700, Brooks Davis wrote:
>>>> Another option that could work for me would be to make it easier to
>>>> maintain a local ports category so I could have my own slave ports.
>>> You should be able to do that by just appending to SUBDIR and
>>> CATEGORIES in a Makefile.local or similar. It's been discussed
>>> recently, anyway.
>> I've messed with it a bit. The biggest issue I've found is that I
>> couldn't find an easy way to add a few leaf ports to the INDEX file
>> without doing a full rebuild.
Yes -- my p5-FreeBSD-Portindex port will handle this very easily. If
you follow the standard instructions to instantiate the cache and maintain
it via processing cvsup logs or whatever you can add in any number of local
ports by piping the names into cache-update. one per line:
cache-update -f plain <<E_O_LOCALPORTS
You only need to do that when you init the cache or whenever you change
one of your local ports. Your local ports can be anywhere on your system
-- there's no requirement for them to be under /usr/ports
However, I believe you have managed to point up a flaw in the way cache
init is done. Makefile.local in /usr/ports wouldn't be scanned for
additions to SUBDIR.
> Yeah, this is a general issue that I'd also like to solve - the most
> promising candidate is the incremental index build port, but I need to
> study it carefully before I can deploy it myself on pointyhat because
> of the consequences of failure.
Woo. Fame at last. I'd be utterly delighted if you did choose my code
for that. I've been meaning to put some work into speeding up especially
the cache-init stage, but ENOTIME at the moment. Bug fixes though -- just
let me know.
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060504/e80b2fc8/signature.pgp
More information about the freebsd-ports