Date: Fri, 5 May 2006 04:54:47 +0800 From: Rong-En Fan <rafan@infor.org> To: Ion-Mihai Tetcu <itetcu@people.tecnik93.com> Cc: Brooks Davis <brooks@one-eyed-alien.net>, freebsd-ports@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: Upgrade Tool Message-ID: <20060504205447.GA1134@svm.csie.ntu.edu.tw> In-Reply-To: <20060504232124.131e8bd1@it.buh.tecnik93.com> References: <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> <20060504232124.131e8bd1@it.buh.tecnik93.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 04, 2006 at 11:21:24PM +0300, Ion-Mihai Tetcu wrote: > On Thu, 4 May 2006 16:01:43 -0400 > Kris Kennaway <kris@obsecurity.org> 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. > > That is sysutils/p5-FreeBSD-Portindex. > /me big fan :) > I'm using it since it was created and I didn't have problems with it. Recently I tried it, but it does not recognize my local category. I thought it uses ``make describe'' so it should find my local category. In the end, I use ``make index''. If all local ports are all ports and you use portsnap, I think you can just do something like: cd /usr/ports/local && make describe | grep -v '^===>' > /tmp/desc.local gunzip -c "${WORKDIR}/files/`look $1 ${WORKDIR}/tINDEX | \ cut -f 2 -d '|'`.gz" > /tmp/desc.ports cat /tmp/desc.ports /tmp/desc.local | \ /usr/libexec/make_index /dev/stdin > /usr/ports/INDEX-6 That's how portsnap build the INDEX file. Hope this helps, Rong-En Fan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060504205447.GA1134>