Re: anoncvs instructions

2018-06-09 Thread martin
> The following instructions state to unpack the Xenocara sources in
> /usr, but should be done instead from the /usr/xenocara directory as
> the preceding directory for contents is ./ (whereas ports.tar.gz
> unpacks into ports/)?
>
> The following commands assume you have followed these instructions
> to give a non-root
> user write access to the src, ports and xenocara directories.
>
> $ cd /usr/src
> $ tar xzf /tmp/src.tar.gz
> $ tar xzf /tmp/sys.tar.gz
> $ cd /usr
> $ tar xzf /tmp/ports.tar.gz
> $ tar xzf /tmp/xenocara.tar.gz

Funny.  I've been running 6.3 since it was released and never noticed I
had extracted (by my script) right into /usr.  Guess I haven't needed to
look at X source since April...

Those instructions worked pre-6.3.

Martin

$ ftp http://ftp.usa.openbsd.org/pub/OpenBSD/6.3/xenocara.tar.gz
Trying 192.43.244.161...
Requesting http://ftp.usa.openbsd.org/pub/OpenBSD/6.3/xenocara.tar.gz
  0% |  |   896 KB07:05 
ETA^C
http fetch aborted.
$ tar tzf xenocara.tar.gz | head -3   
.
./CVS
./CVS/Root
gzip: stdin: Input/output error
tar: End of archive volume 1 reached
$ ftp http://ftp.usa.openbsd.org/pub/OpenBSD/6.2/xenocara.tar.gz 
Trying 192.43.244.161...
Requesting http://ftp.usa.openbsd.org/pub/OpenBSD/6.2/xenocara.tar.gz
  0% |  |  1152 KB05:32 
ETA^C
http fetch aborted.
$ tar tzf xenocara.tar.gz | head -3  
xenocara
xenocara/CVS
xenocara/CVS/Root
gzip: stdin: Input/output error
tar: End of archive volume 1 reached



anoncvs instructions

2018-06-09 Thread Darren S.
https://www.openbsd.org/anoncvs.html

The following instructions state to unpack the Xenocara sources in
/usr, but should be done instead from the /usr/xenocara directory as
the preceding directory for contents is ./ (whereas ports.tar.gz
unpacks into ports/)?

The following commands assume you have followed these instructions
to give a non-root
user write access to the src, ports and xenocara directories.

$ cd /usr/src
$ tar xzf /tmp/src.tar.gz
$ tar xzf /tmp/sys.tar.gz
$ cd /usr
$ tar xzf /tmp/ports.tar.gz
$ tar xzf /tmp/xenocara.tar.gz

-- 
Darren Spruell
phatbuck...@gmail.com



Question about AnonCVS Instructions

2007-11-27 Thread new_guy
What is the difference between these two cvs commands? I know what the first
one does... checks out the source code to stable and assumes a CVSROOT is
around... but is the second command not the same? I understand all the
options... except for 'get'... how is that different from checkout?

cvs checkout -P -rOPENBSD_4_2 src
cvs -qd [EMAIL PROTECTED]:/cvs get -rOPENBSD_4_2 -P src

Also, if one has the source tar files, neither of those commands are needed,
right? Won't this alone do (assuming the tar files have been extracted to
the appropriate areas):

# Do this for /usr/src /usr/ports and /usr/src/xenocara
cvs -q up -rOPENBSD_4_2 -Pd

OpenBSD docs are rather good, but IMO, http://openbsd.org/anoncvs.html;
could be simplified somewhat.
-- 
View this message in context: 
http://www.nabble.com/Question-about-AnonCVS-Instructions-tf4886332.html#a13985918
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Question about AnonCVS Instructions

2007-11-27 Thread Nick Holland

new_guy wrote:

What is the difference between these two cvs commands? I know what the first
one does... checks out the source code to stable and assumes a CVSROOT is
around... but is the second command not the same? I understand all the
options... except for 'get'... how is that different from checkout?


CVS has a lot of redundant commands.  See man cvs:
   checkout [options] modules...
  Requires: repository.
  Changes: working directory.
  Synonyms: co, get



cvs checkout -P -rOPENBSD_4_2 src
cvs -qd [EMAIL PROTECTED]:/cvs get -rOPENBSD_4_2 -P src


and since the second one does NOT assume anything about CVSROOT, it is 
potentially very different.


the -q is of marginal value in a checkout, but in a up, it eliminates 
massive amounts of chatter.  On the other hand, if you have a slow link, 
maybe you want to know that it is still working.



Also, if one has the source tar files, neither of those commands are needed,
right? Won't this alone do (assuming the tar files have been extracted to
the appropriate areas):

# Do this for /usr/src /usr/ports and /usr/src/xenocara
cvs -q up -rOPENBSD_4_2 -Pd


you really want a -d in there.  Pretty much mandatory if you are using 
the source tar files.



OpenBSD docs are rather good, but IMO, http://openbsd.org/anoncvs.html;
could be simplified somewhat.


try http://www.openbsd.org/faq/faq5.html instead.  (yeah, there's some 
redundancy that should be eliminated).


Nick.