ppp and cvsup - some progress
CB
ecliptica.ww at virgin.net
Fri Jan 4 01:50:26 GMT 2002
This is a multi-part message in MIME format.
------=_NextPart_000_000B_01C194C2.2E39F100
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Many thanks John for your further guidance on cvsup etc.
The "secure-supfile" I used is as follows (with quite a few comment =
lines omitted and a few of my own in [square brackets] added):
--
# $FreeBSD: src/share/examples/cvsup/secure-supfile,v 1.11 1999/08/31 =
17:26:21 jdp Exp $
#
# This file contains all of the "CVSup collections" that make up the
# source tree of the FreeBSD-current international secure distribution.
# If you are outside the USA or Canada, use this file.
#
#.
#. [some comment lines omitted]
#.
#
# If not running X, or invoking cvsup from a non-interactive script, =
then
# run it as follows:
# [this is the command line I used] - CB
# cvsup -g -L 2 secure-supfile
#.
#. [some comment lines omitted]
#.
#
*default host=3Dcvsup.internat.FreeBSD.org
*default base=3D/usr
*default prefix=3D/usr
*default release=3Dcvs tag=3D.
*default delete use-rel-suffix
# If your network link is a T1 or faster, comment out the following =
line.
*default compress
## The international secure collections.
#cvs-crypto
#
# These are the individual collections that make up "cvs-crypto". If
# you use these, be sure to comment out "cvs-crypto" above.
#
# [At first I tried running cvsup with "cvs-crypto" above but=20
# it said it couldn't find it on the server, so I commented it out
# and un-commented the three collection names below and it seemed to=20
# run OK] - CB
#
src-crypto
src-secure
src-sys-crypto
#
# [end of secure-supfile]
--
I'm using FreeBSD 4.0 with the default "csh" shell (I think) - it has a =
# prompt - and I was using a shell command line instruction:
set CVSROOT=3D/usr
to try to set the environment variable $CVSROOT value. Should I be doing =
this from within one of the initialisation shell scripts? ... or am I =
getting led astray by the command I'd use to do the same job in MS DOS?! =
... I definitely wasn't typing the $ prefix on the variable name.
Any guidance on what the supfile should look like and anything further I =
need to do to get to "make world" would be much appreciated.
Many thanks
Charles
----- Original Message -----=20
From: John Rochester=20
To: CB=20
Cc: freebsd-users at uk.freebsd.org=20
Sent: Thursday, January 03, 2002 6:47 PM
Subject: Re: ppp and cvsup - some progress
CB wrote:
Hi - many thanks to Paul Robinson and John Rochester for most =
helpful advice on getting ppp working.
Following your advice I started from scratch using a clean copy of =
the ppp.conf sample and managed to get connected OK; initially to the =
number Paul suggested using uid & pw "fbsduktest". With that working OK, =
I found I could substitute the phone number, uid & pw I use for Virgin =
and connect OK, and then to my 0800 ntlworld account. I was pleasantly =
surprised in particular to find the connection to ntl's 0800 number =
working, as when I used to do tech support for them, the standard line =
was that it simply was not possible to log in to ntlworld from anything =
other than an MS Win platform.
From there I was able to run cvsup using the "secure-supfile" they =
recommend for non-USA/Canada users, and it chuntered away for a good =
hour or so checkout-ing files and eventually appeared to complete =
normally.
As this file doesn't exist any more in more recent versions of =
FreeBSD, please refresh our memory by attaching a copy in a reply. Most =
people use cvsup to directly update to the latest source code instead of =
keeping a copy of the cvs tree locally. The difference is in the
*default release=3Dcvs
line - if it has a tag=3DRELENG_4 on it, you are updating to the =
lastest source and don't need to run cvs afterwards, otherwise you are =
getting a copy of the entire cvs repository.
In the latter case, you probably want to have a
*default prefix=3D...
that is somewhere other than /usr, or it will have written your cvs
repository files (the names end in ,v) into the same directories as =
your sources.
The next step (as I read the documentation) is to run "cvs" to =
update the source tree. The most appropriate command line appears to be:
cvs update -P -d
and I appreciate that this requires the $CVSROOT environment =
variable to be set.
I have tried setting $CVSROOT=3D/usr and then $CVSROOT=3D/usr/src =
but neither appears to allow cvs to work.
First, I hope you aren't actually typing the $ when attempting to =
change the value of CVSROOT - it won't work. Secondly, the value you =
want here is whatever was in the prefix of your supfile. (Assuming you =
didn't have a tag=3D... on the release line)
Could any kind soul who has experience of updating via cvsup suggest =
an alternative cvs command line and/or value for $CVSROOT which might =
assist in progressing further with the procedure.
Many thanks for any help.
Charles
-- John Rochester Senior Java Developer, Merus Software =
Ltd.Tel: +44 7870 174690 http://merus.co.uk
------=_NextPart_000_000B_01C194C2.2E39F100
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Many thanks John for your further =
guidance on cvsup=20
etc.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>The "secure-supfile" I used is as =
follows (with=20
quite a few comment lines omitted and a few of my own in [square =
brackets]=20
added):</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>--</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2># $FreeBSD:=20
src/share/examples/cvsup/secure-supfile,v 1.11 1999/08/31 17:26:21 jdp =
Exp=20
$<BR>#<BR># This file contains all of the "CVSup collections" that make =
up=20
the<BR># source tree of the FreeBSD-current international secure=20
distribution.<BR># If you are outside the USA or Canada, use this=20
file.<BR>#<BR>#.<BR>#. [some comment lines omitted]<BR>#.<BR>#<BR># If =
not=20
running X, or invoking cvsup from a non-interactive script, then<BR># =
run it as=20
follows:<BR># [this is the command line I used] - CB<BR># cvsup -g =
-L 2=20
secure-supfile<BR>#.<BR>#. [some comment lines =
omitted]<BR>#.<BR>#<BR>*default=20
host=3Dcvsup.internat.FreeBSD.org<BR>*default base=3D/usr<BR>*default=20
prefix=3D/usr<BR>*default release=3Dcvs tag=3D.<BR>*default delete=20
use-rel-suffix</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2># If your network link is a T1 or =
faster, comment=20
out the following line.<BR>*default compress</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>## The international secure=20
collections.<BR>#cvs-crypto<BR>#<BR># These are the individual =
collections that=20
make up "cvs-crypto". If<BR># you use these, be sure to comment =
out=20
"cvs-crypto" above.<BR>#<BR># [At first I tried running cvsup with =
"cvs-crypto"=20
above but <BR># it said it couldn't find it on the server, so I =
commented=20
it out<BR># and un-commented the three collection names below and =
it=20
seemed to <BR># run OK] -=20
CB<BR>#<BR>src-crypto<BR>src-secure<BR>src-sys-crypto</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>#</FONT></DIV>
<DIV><FONT face=3DArial size=3D2># [end of secure-supfile]</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>--</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I'm using FreeBSD 4.0 with the default =
"csh" shell=20
(I think) - it has a # prompt - and I was using a shell command line=20
instruction:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>set CVSROOT=3D/usr</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>to try to set the environment variable =
$CVSROOT=20
value. Should I be doing this from within one of the initialisation =
shell=20
scripts? ... or am I getting led astray by the command I'd use to do the =
same=20
job in MS DOS?! ... I definitely wasn't typing the $ prefix on the =
variable=20
name.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Any guidance on what the supfile should =
look like=20
and anything further I need to do to get to "make world" would be much=20
appreciated.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Many thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Charles</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:john at jrochester.org" =
title=3Djohn at jrochester.org>John=20
Rochester</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:ecliptica.ww at virgin.net" =
title=3Decliptica.ww at virgin.net>CB</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A=20
href=3D"mailto:freebsd-users at uk.freebsd.org"=20
title=3Dfreebsd-users at uk.freebsd.org>freebsd-users at uk.freebsd.org</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, January 03, =
2002 6:47=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: ppp and cvsup - =
some=20
progress</DIV>
<DIV><BR></DIV>CB wrote:<BR>
<BLOCKQUOTE cite=3D"mid:000e01c19483$3a04bc20$0858fd3e at newroad.org"=20
type=3D"cite"><META content=3D"MSHTML 5.00.2314.1000" =
name=3DGENERATOR>
<STYLE></STYLE>
<DIV><FONT face=3DArial size=3D2>Hi - many thanks to Paul Robinson =
and John=20
Rochester for most helpful advice on getting ppp =
working.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Following your advice I started =
from scratch=20
using a clean copy of the ppp.conf sample and managed to get =
connected OK;=20
initially to the number Paul suggested using uid & pw =
"fbsduktest". With=20
that working OK, I found I could substitute the phone number, uid =
& pw I=20
use for Virgin and connect OK, and then to my 0800 ntlworld account. =
I was=20
pleasantly surprised in particular to find the connection to ntl's =
0800=20
number working, as when I used to do tech support for them, the =
standard=20
line was that it simply was not possible to log in to ntlworld from =
anything=20
other than an MS Win platform.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>From there I was able to run cvsup =
using the=20
"secure-supfile" they recommend for non-USA/Canada users, and it =
chuntered=20
away for a good hour or so checkout-ing files and eventually =
appeared to=20
complete normally.</FONT></DIV></BLOCKQUOTE><TT>As this file doesn't =
exist any=20
more in more recent versions of FreeBSD, please refresh our memory by=20
attaching a copy in a reply. Most people use cvsup to directly =
update to=20
the latest source code instead of keeping a copy of the cvs tree =
locally.=20
The difference is in the<BR> *default =
release=3Dcvs<BR>line -=20
if it has a tag=3DRELENG_4 on it, you are updating to the lastest =
source and=20
don't need to run cvs afterwards, otherwise you are getting a copy of =
the=20
entire cvs repository.<BR><BR>In the latter case, you probably want to =
have=20
a<BR> *default prefix=3D...<BR>that is somewhere other =
than /usr,=20
or it will have written your cvs<BR>repository files (the names end in =
,v)=20
into the same directories as your sources.<BR><BR></TT>
<BLOCKQUOTE cite=3D"mid:000e01c19483$3a04bc20$0858fd3e at newroad.org"=20
type=3D"cite"><DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>The next step (as I read the =
documentation) is=20
to run "cvs" to update the source tree. The most appropriate command =
line=20
appears to be:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>cvs update -P -d</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and I appreciate that this requires =
the=20
$CVSROOT environment variable to be set.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I have tried setting =
$CVSROOT=3D/usr and then=20
$CVSROOT=3D/usr/src but neither appears to allow cvs to=20
work.</FONT></DIV></BLOCKQUOTE><TT>First, I hope you aren't actually =
typing=20
the $ when attempting to change the value of CVSROOT - it won't work.=20
Secondly, the value you want here is whatever was in the prefix =
of your=20
supfile. (Assuming you didn't have a tag=3D... on the release=20
line)</TT><BR>
<BLOCKQUOTE cite=3D"mid:000e01c19483$3a04bc20$0858fd3e at newroad.org"=20
type=3D"cite"><DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Could any kind soul who has =
experience of=20
updating via cvsup suggest an alternative cvs command line and/or =
value for=20
$CVSROOT which might assist in progressing further with the=20
procedure.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Many thanks for any =
help.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Charles</FONT></DIV>
<DIV> </DIV></BLOCKQUOTE><BR><PRE class=3Dmoz-signature =
cols=3D"$mailwrapcol">-- <BR>John Rochester Senior Java =
Developer, Merus Software Ltd.<BR>Tel: +44 7870 174690 <A =
class=3Dmoz-txt-link-freetext =
href=3D"http://merus.co.uk">http://merus.co.uk</A><BR></PRE><BR></BLOCKQU=
OTE></BODY></HTML>
------=_NextPart_000_000B_01C194C2.2E39F100--
More information about the Ukfreebsd
mailing list