From owner-freebsd-questions Mon Aug 5 9:41:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C45B037B400 for ; Mon, 5 Aug 2002 09:41:41 -0700 (PDT) Received: from otter.mills-atl.com (dsl-64-192-140-77.telocity.com [64.192.140.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id D380543E6E for ; Mon, 5 Aug 2002 09:41:40 -0700 (PDT) (envelope-from jmmills@telocity.com) Received: from localhost (jmills@localhost) by otter.mills-atl.com (8.9.3/8.9.3) with ESMTP id MAA09277; Mon, 5 Aug 2002 12:44:17 -0400 X-Authentication-Warning: otter.mills-atl.com: jmills owned process doing -bs Date: Mon, 5 Aug 2002 12:44:17 -0400 (EDT) From: John Mills X-Sender: jmills@otter.mills-atl.com Reply-To: John Mills To: MET Cc: "'John Mills'" , freebsd-questions@FreeBSD.ORG Subject: RE: Getting started with CVS || slightly off topic again In-Reply-To: <001801c23a27$c48b3c30$6901a8c0@SURVIVAL> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew On Fri, 2 Aug 2002, MET wrote: > "Did you set up the connection between your [x]inetd and starting a > server?" > > ... Do you mean uncommenting the line from the /etc/inetd.conf file > allowing for cvspserver and cvs. > > cvspserver stream tcp nowait root /usr/bin/cvs > cvs --allow-root=/usr/local/repository pserver > cvs stream tcp nowait root > /usr/bin/cvs cvs --allow-root=/usr/local/repository kserver Basically yes, though I can't check the details. My server is a GNU/Linux RH7.2 box, so I have: '/etc/xinetd.d/cvspserver' with: ************************************************************************ # default: on # description: CVS Password Server service. # service cvspserver { # flags = REUSE socket_type = stream protocol = tcp wait = no user = root server = /usr/bin/cvs server_args = -f --allow-root=/usr/tga/CVS pserver log_on_failure += USERID disable = no } ************************************************************************ > "Put in your environment setup: > export CVSROOT=:pserver:192.168.1.30:/usr/local/repository " If you can do '$ cvs login' successfully, you have the network link working and this is just a convenience. > Please bare[sic] with me, I'm extremely new to this.....where's my [...passing up _almost_ irresistable 'cheap shot' ...] > environmental setup file? This depends on your shell and whether you want a default for all users, or just yourself. Since this _is_ basically a _default_, you can supply or override it whenever you type a 'cvs' command, but setting a default server is handy. I put my environmental settings in my '$HOME/.bash_profile' (The '.' is needed here.) There are other files you could choose. I specify thus: ... CVSROOT=:pserver:: export CVSROOT ... In your setup, I guess you would have: CVSROOT=:pserver:192.168.1.30:/usr/local/repository For all users, you could put the same entry in '/etc/profile' There is no advantage, and possible inconvenience, in putting USERNAME and PORTNO in this environmental. I leave them out. You do need to form the login command with your username: 'cvs -d ::[:]@: login' After you login you can see all settings with $ env You can look for some specific content with (for example): $ env | grep CVS If you're not using 'bash', check man pages for your preferred shell. - John Mills To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message