best practices for private ports?

Vasil Dimov vd at FreeBSD.org
Mon Mar 6 22:27:32 PST 2006


On Mon, Mar 06, 2006 at 09:50:55AM -0500, Vivek Khera wrote:
> 
> On Mar 6, 2006, at 2:06 AM, Vasil Dimov wrote:
> 
> >Or create a script that calls portsnap and then restores your "local"
> >ports automatically, something like
> >cp -r /usr/ports-local/category/port /usr/ports/category/
> 
> I'm probably gonna have to do something like that...
> 
> but is "local" the preferred category?  I have to manually force it  
> on to VALID_CATEGORIES in my port.  i don't see a pre-defined  
> location for local private ports.

I meant that you copy your port from some private directory to the
appropriate directory in /usr/ports like
cp -r /home/joe/myport /usr/ports/astro/

> 
> >Btw, have you tried playing with /usr/ports/.cvsignore?
> 
> Not sure what that will buy me.  What would be the goal of adding  
> directories to it?

The goal is to prevent c[v]sup from deleting the directories you added
to .cvsignore

Good luck!

-- 
Vasil Dimov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060307/ca918a27/attachment.bin


More information about the freebsd-ports mailing list