Date: Fri, 05 May 2006 00:32:27 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Kris Kennaway <kris@obsecurity.org> Cc: Brooks Davis <brooks@one-eyed-alien.net>, freebsd-ports@freebsd.org Subject: Re: Upgrade Tool Message-ID: <445A8F0B.2090607@infracaninophile.co.uk> In-Reply-To: <20060504200143.GC70598@xor.obsecurity.org> References: <200605010901.50654.aren.tyr@gawab.com> <20060501091523.GA38820@pentarou.parodius.com> <200605021827.34873.aren.tyr@gawab.com> <20060504094155.GC984@roadrunner.q.local> <20060504165727.GA67780@xor.obsecurity.org> <20060504183936.GC28973@odin.ac.hmc.edu> <20060504191512.GA69895@xor.obsecurity.org> <20060504192308.GE28973@odin.ac.hmc.edu> <20060504194122.GA70303@xor.obsecurity.org> <20060504194928.GF28973@odin.ac.hmc.edu> <20060504200143.GC70598@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig459ACBA8C166A754FDF243C0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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: =20 >>>> 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 maintai= n it via processing cvsup logs or whatever you can add in any number of loc= al ports by piping the names into cache-update. one per line: cache-update -f plain <<E_O_LOCALPORTS /usr/ports/local/foo /usr/ports/local/bar 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 -- jus= t let me know. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig459ACBA8C166A754FDF243C0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEWo8R8Mjk52CukIwRA5f5AJ4itUnfd7Orx1FVoboxF3qsuWM8wwCfe7RO vFrFN9kf8/lyV8blx5xtBK4= =eeey -----END PGP SIGNATURE----- --------------enig459ACBA8C166A754FDF243C0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?445A8F0B.2090607>