From owner-freebsd-questions@FreeBSD.ORG Wed Apr 4 19:17:01 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 121F316A401 for ; Wed, 4 Apr 2007 19:17:01 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.freebsd.org (Postfix) with ESMTP id CC82113C45B for ; Wed, 4 Apr 2007 19:17:00 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.147] (helo=anti-virus03-10) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1HZAya-0002dn-1I; Wed, 04 Apr 2007 20:17:00 +0100 Received: from [62.31.10.181] (helo=[192.168.0.2]) by asmtp-out2.blueyonder.co.uk with esmtp (Exim 4.52) id 1HZAyR-0006Zh-CC; Wed, 04 Apr 2007 20:16:51 +0100 Message-ID: <4613F9A3.3080206@dial.pipex.com> Date: Wed, 04 Apr 2007 20:16:51 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061205 X-Accept-Language: en MIME-Version: 1.0 To: Milan Knizek References: <200704042052.19897.knizek@volny.cz> In-Reply-To: <200704042052.19897.knizek@volny.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Own ports organization X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2007 19:17:01 -0000 Milan Knizek wrote: >Hello, > >are there any recommendation how to organize own ports? > >Should I keep them within official /usr/ports structure or rather separately? >If kept separately, how does it work with pkg* commands then? > > For what it's worth, if you use cvsup then you can store your own ports safely under /usr/ports. You can also store extra files (like extra patches, for example), though I'm not sure what would happen if that port got deleted. Probably just your patch would remain. I have no idea if csup is safe in this regard, and portsnap was definitely not safe, last I heard. I'm sure you could easily concoct a solution where you kept new ports in a separate tree, and had something like a Makefile to make links into /usr/ports after each time you used say portsnap. A symlink to a directory should work just as well as a real directory. I find it easier to stick with cvsup. --Alex