From owner-freebsd-questions@FreeBSD.ORG Mon Nov 24 17:31:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17BC5106564A for ; Mon, 24 Nov 2008 17:31:08 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id E7B5C8FC16 for ; Mon, 24 Nov 2008 17:31:07 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 6843 invoked from network); 24 Nov 2008 17:31:07 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 24 Nov 2008 17:31:07 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id A29EA50863; Mon, 24 Nov 2008 12:31:05 -0500 (EST) To: "fire jotawski" References: <4463n0j3xu.fsf@be-well.ilk.org> From: Lowell Gilbert Date: Mon, 24 Nov 2008 12:31:05 -0500 In-Reply-To: (fire jotawski's message of "Sun\, 23 Nov 2008 14\:55\:17 +0700") Message-ID: <44prkljajq.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: cvsup: local X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2008 17:31:08 -0000 "fire jotawski" writes: > On Thu, Nov 6, 2008 at 9:59 PM, Lowell Gilbert < > freebsd-questions-local@be-well.ilk.org> wrote: > >> "fire jotawski" writes: >> >> > i have my small box, 10.3.1.25 ip, that cvsup-ed files from repository >> into >> > it. it use cvs-supfile in /usr/share/examples/cvsup/ to collect files. >> > now that i want my other machine to cvsup 6.2-release source files from >> the >> > one mentioned above. >> > >> > my trial was >> > >> > cvsupd -b /var/db -c sup >> > >> > for box, 10.3.1.25 ip, and for other machine >> > >> > cvsup -g -L 2 -h 10.3.1.25 sup-file >> > >> > what i got was 'Server message: Unknown collection "src-all" ' message. >> > and later on >> > >> > Running >> > Skipping collection src-all/cvs >> > Skipping collection doc-all/cvs >> > Shutting down connection to server >> > Finished successfully >> > >> > very strange indeed. >> > >> > any helps and hints in setting cvsup server would highly be appreciated. >> >> To run cvsupd, you need the whole cvs tree for the collections you're >> handling, not just the checked-out files. >> >> Assuming these machines are attached by a protected network, a better >> approach (easier, anyway) would probably be to cvsup the changes to >> just one machine, then NFS-mount that machine's ports tree from the >> other machine. >> >> -- >> Lowell Gilbert, embedded/networking software engineer, Boston area >> http://be-well.ilk.org/~lowell/ >> > > > thanks indeed and apologized me for postponing answer to all of postings. > what about cvs then. i did this > > cvs -d /home/ncvs checkout ports > > and i got some thing quite similar to ports tree indeed. What did you think that command was going to do? Do you have a full cvs ports tree under /home/ncvs? How did you get that? My understanding was that you wanted to put the ports tree on one machine (call it the "master"), then use it to install ports on other machines that are local to the master. The way to do that would be to use cvsup as normal on the master, and build all the ports there. Then you can use NFS to mount /usr/ports on the other machines, and install the ports on them as well. To speed things up, you can set WRKDIRPREFIX to point at local disk space on the client machines. You can even have the master machine build packages, avoiding the need to build the ports from source on the clients. Does that make sense to you? Do you need it described in more detail? Good luck. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/