Re: Question on CVS Branches

2003-09-08 Thread Heinrich Rebehn
Chuck Swiger wrote:
Heinrich Rebehn wrote:

Chuck Swiger wrote:
[ ... ]

6-sec% touch ~/.cvspass
7-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs login
Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ncvs
CVS password:
[ Use anoncvs for the password. ]

8-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs co src
cvs server: Updating src
U src/COPYRIGHT
U src/MAINTAINERS
U src/Makefile
U src/Makefile.inc1
U src/README
U src/UPDATING
cvs server: Updating src/bin
^C...


This looks like you still have to type in the password from the terminal.
I would like to update the source each night from a cron job.
Is there really no way to do that?


I had to enter the password for the cvs login; the CVS checkout 
operation did not require a password.

How do you enter a password from within a cron job?

Heinrich

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on CVS Branches

2003-09-08 Thread Chuck Swiger
Heinrich Rebehn wrote:
Chuck Swiger wrote:
[ ... ]
I had to enter the password for the cvs login; the CVS checkout 
operation did not require a password.
How do you enter a password from within a cron job?
You don't/can't.  That's why you cvs login by hand, enter the password. 
Later, when you run cvs co, it will use the saved password (in ~/.cvspass).

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on CVS Branches

2003-09-01 Thread Heinrich Rebehn
Chuck Swiger wrote:
[EMAIL PROTECTED] wrote:

Quoting Chuck Swiger [EMAIL PROTECTED]:

The documentation for CVS is not especially well-known for being 
inclusive. Are you using CVS over SSH or in pserver mode?  The first 
case requires you to
set up password-less SSH authentication via ssh-keygen, the latter 
uses the cvs
login mechanism.


I use CVSROOT=:pserver:[EMAIL PROTECTED]:/home/ncvs.
Is it possible to specify the password on the command line with cvs 
login (it
isn't secret anyhow)?


6-sec% touch ~/.cvspass
7-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs login
Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ncvs
CVS password:
[ Use anoncvs for the password. ]

8-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs co src
cvs server: Updating src
U src/COPYRIGHT
U src/MAINTAINERS
U src/Makefile
U src/Makefile.inc1
U src/README
U src/UPDATING
cvs server: Updating src/bin
^C...
This looks like you still have to type in the password from the terminal.
I would like to update the source each night from a cron job.
Is there really no way to do that?
With OpenBSD i can simply do:

# export [EMAIL PROTECTED]:/cvs
# cvs co -rOPENBSD_3_3 src/sys
cvs server: Updating src/sys
U src/sys/Makefile
cvs server: Updating src/sys/adosfs
U src/sys/adosfs/adlookup.c
U src/sys/adosfs/adosfs.h
U src/sys/adosfs/adutil.c
U src/sys/adosfs/advfsops.c
U src/sys/adosfs/advnops.c
cvs server: Updating src/sys/altq
^C
without the need to type in a password.

Seems i have to use CVSUP on FreeBSD..

- Heinrich

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on CVS Branches

2003-09-01 Thread Alexander Farber
On Mon, Sep 01, 2003 at 09:33:37AM +0200, Heinrich Rebehn wrote:
 This looks like you still have to type in the password from the terminal.
 I would like to update the source each night from a cron job.
 Is there really no way to do that?
 
 With OpenBSD i can simply do:
 
 # export [EMAIL PROTECTED]:/cvs
 # cvs co -rOPENBSD_3_3 src/sys
 cvs server: Updating src/sys
 U src/sys/Makefile
 cvs server: Updating src/sys/adosfs
 U src/sys/adosfs/adlookup.c
 U src/sys/adosfs/adosfs.h
 U src/sys/adosfs/adutil.c
 U src/sys/adosfs/advfsops.c
 U src/sys/adosfs/advnops.c
 cvs server: Updating src/sys/altq
 ^C
 
 without the need to type in a password.
 
 Seems i have to use CVSUP on FreeBSD..

No, I use cvs to update FreeBSD and OpenBSD on my dual 
boot PC and both work fine and without having to type 
the password. Maybe remove ~/.cvs* and try again with:

cvs -d $CVSROOT login
cvs -d $CVSROOT -q up ..

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on CVS Branches

2003-08-30 Thread Chuck Swiger
[EMAIL PROTECTED] wrote:
Quoting Chuck Swiger [EMAIL PROTECTED]:
The documentation for CVS is not especially well-known for being inclusive. 
Are you using CVS over SSH or in pserver mode?  The first case requires you to
set up password-less SSH authentication via ssh-keygen, the latter uses the cvs
login mechanism.
I use CVSROOT=:pserver:[EMAIL PROTECTED]:/home/ncvs.
Is it possible to specify the password on the command line with cvs login (it
isn't secret anyhow)?
6-sec% touch ~/.cvspass
7-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs login
Logging in to :pserver:[EMAIL PROTECTED]:2401/home/ncvs
CVS password:
[ Use anoncvs for the password. ]

8-sec% cvs -d :pserver:[EMAIL PROTECTED]:/home/ncvs co src
cvs server: Updating src
U src/COPYRIGHT
U src/MAINTAINERS
U src/Makefile
U src/Makefile.inc1
U src/README
U src/UPDATING
cvs server: Updating src/bin
^C...
How exactly do i set up password-less authentication over SSH?  I wont be able
to create an SSH key and copy it over to the server??
In this particular case (specificly, a read-only anonymous CVS repository), you 
can't use SSH.

If you were using your own CVS repository, or if you became a FreeBSD developer 
with commit privileges, you would run ssh-keygen and create a RSA or DSA 
keypair using an empty passphrase.  You'd place the public key 
(~/.ssh/identity.pub, ~/.ssh/id_dsa.pub, etc) in ~/.ssh/authorized_keys, or 
mail your key to the admin or CVS repo meister of cvs.freebsd.org, depending on 
the circumstances

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on CVS Branches

2003-08-29 Thread Heinrich Rebehn
Simon Barner wrote:
Is RELENG_4 to be considered stable? I.e. can i use it for production?


Well, that depends. At the moment, -stable has (or had) some stability problems
since some enhancements for huge memory systems ( 4gb) where merged
from -current).
I think the best for production system is the latest security branch,
i.e. RELENG_4_8 which is the latest release (4.8-RELEASE) + all the
security fixes that have been released so far. -stable aka. RELENG_4
contains those fixes + other bug fixes + feature enhancements, that
might cause problems once in a while.

Also i am still a bit unsure, what CURRENT, RELEASE and STABLE mean.
From other OS's, i know that Release means for production use.
But 5.x-RELEASE is said to be not for production.


The FreeBSD 5.x releases were made in order to provide a solid test
basis for the very latest branch of FreeBSD. Although it runs very
stable for a lot of people, more conservative users that do not need any
of the new features in FreeBSD 5.x are recommended stay with FreeBSD 4.x
at the present.
Regards,
 Simon
Thank you. Yet another question: I would like to update my source tree 
automatically each night. However the cvs login requires a password to be typed 
in. Is there any way to automate this? Strangely, the cvs man page does not even 
mention the login command.
I know that cvsup would be an alternative, i'm just used to using cvs from 
OpenBSD (where no login is required).

Greetings,
Heinrich
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on CVS Branches

2003-08-29 Thread Chuck Swiger
Heinrich Rebehn wrote:
[ ... ]
Thank you. Yet another question: I would like to update my source tree 
automatically each night. However the cvs login requires a password to 
be typed in. Is there any way to automate this? Strangely, the cvs man 
page does not even mention the login command.
The documentation for CVS is not especially well-known for being inclusive.  Are 
you using CVS over SSH or in pserver mode?  The first case requires you to set 
up password-less SSH authentication via ssh-keygen, the latter uses the cvs 
login mechanism.

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on CVS Branches

2003-08-29 Thread rebehn
Quoting Chuck Swiger [EMAIL PROTECTED]:

 Heinrich Rebehn wrote:
 [ ... ]
  Thank you. Yet another question: I would like to update my source tree 
  automatically each night. However the cvs login requires a password to 
  be typed in. Is there any way to automate this? Strangely, the cvs man 
  page does not even mention the login command.
 
 The documentation for CVS is not especially well-known for being inclusive. 
 Are 
 you using CVS over SSH or in pserver mode?  The first case requires you to
 set 
 up password-less SSH authentication via ssh-keygen, the latter uses the cvs
 
 login mechanism.
 
 -- 
 -Chuck
 
 
 


I use CVSROOT=:pserver:[EMAIL PROTECTED]:/home/ncvs.
Is it possible to specify the password on the command line with cvs login (it
isn't secret anyhow)?
How exactly do i set up password-less authentication over SSH ? I wont be able
to create an SSH key and copy it over to the server??

- Heinrich

-
This mail sent through IMP: http://horde.org/imp/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on CVS Branches

2003-08-29 Thread Joshua Oreman
On Fri, Aug 29, 2003 at 09:46:36PM +0200 or thereabouts, [EMAIL PROTECTED] wrote:
 Quoting Chuck Swiger [EMAIL PROTECTED]:
 
  Heinrich Rebehn wrote:
  [ ... ]
   Thank you. Yet another question: I would like to update my source tree 
   automatically each night. However the cvs login requires a password to 
   be typed in. Is there any way to automate this? Strangely, the cvs man 
   page does not even mention the login command.
  
  The documentation for CVS is not especially well-known for being inclusive. 
  Are 
  you using CVS over SSH or in pserver mode?  The first case requires you to
  set 
  up password-less SSH authentication via ssh-keygen, the latter uses the cvs
  
  login mechanism.
  
  -- 
  -Chuck
  
  
  
 
 
 I use CVSROOT=:pserver:[EMAIL PROTECTED]:/home/ncvs.
 Is it possible to specify the password on the command line with cvs login (it
 isn't secret anyhow)?
 How exactly do i set up password-less authentication over SSH ? I wont be able
 to create an SSH key and copy it over to the server??

Try CVSROOT=:pserver:anoncvs:[EMAIL PROTECTED]:/home/ncvs

Replace password with the password, of course.

-- Josh

 
 - Heinrich
 
 -
 This mail sent through IMP: http://horde.org/imp/
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on CVS Branches

2003-08-28 Thread Heinrich Rebehn
Viktor Lazlo wrote:
On Tue, 26 Aug 2003, Heinrich Rebehn wrote:


Hi,

please forgive me if this is a FAQ, but just what is the meaning of the RELENG_4
branch? Is it more current then RELENG_4_7 or RELENG_4_8 ?
What should i use if i want to get security patches for my 4.7-RELEASE-p4
installation?
What would happen if i use RELENG_4 ?


RELENG_4 is the development branch for FreeBSD-STABLE. RELENG_4_7 and
RELENG_4_8 are the security fix branches for those releases.  If you want
to track the most current code, use RELENG_4.  If you just want to ensure
your system is updated with the latest security patches for your release
use RELENG_4_7, or RELENG_4_8 if you want to upgrade.
Cheers,

Viktor



Is RELENG_4 to be considered stable? I.e. can i use it for production?

Also i am still a bit unsure, what CURRENT, RELEASE and STABLE mean.
From other OS's, i know that Release means for production use.
But 5.x-RELEASE is said to be not for production.
Is STABLE more stable than RELEASE?
Thanks for any insight

	Heinrich

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on CVS Branches

2003-08-28 Thread Greg J.
On Thu, 28 Aug 2003 15:43:49 +0200
Heinrich Rebehn [EMAIL PROTECTED] wrote:

 Is RELENG_4 to be considered stable? I.e. can i use it for production?
 
 Also i am still a bit unsure, what CURRENT, RELEASE and STABLE mean.
  From other OS's, i know that Release means for production use.
 But 5.x-RELEASE is said to be not for production.
 Is STABLE more stable than RELEASE?
 
 Thanks for any insight
 
   Heinrich

-STABLE  = 4.x
-CURRENT = 5.x
-RELEASE = Snapshot of STABLE/CURRENT

RELENG_4 is the development branch of -STABLE  it can be broken from
time to time (rarely, but still).. so you wouldn't want to use that for
production use.

For production.. it's best to use a -RELEASE from the -STABLE branch.
You'd want RELENG_4_8 - which is 4.8-RELEASE + bug/security fixes.

Hopefully that makes some kinda sense. :D
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on CVS Branches

2003-08-28 Thread Simon Barner
 Is RELENG_4 to be considered stable? I.e. can i use it for production?

Well, that depends. At the moment, -stable has (or had) some stability problems
since some enhancements for huge memory systems ( 4gb) where merged
from -current).

I think the best for production system is the latest security branch,
i.e. RELENG_4_8 which is the latest release (4.8-RELEASE) + all the
security fixes that have been released so far. -stable aka. RELENG_4
contains those fixes + other bug fixes + feature enhancements, that
might cause problems once in a while.

 Also i am still a bit unsure, what CURRENT, RELEASE and STABLE mean.
 From other OS's, i know that Release means for production use.
 But 5.x-RELEASE is said to be not for production.

The FreeBSD 5.x releases were made in order to provide a solid test
basis for the very latest branch of FreeBSD. Although it runs very
stable for a lot of people, more conservative users that do not need any
of the new features in FreeBSD 5.x are recommended stay with FreeBSD 4.x
at the present.

Regards,
 Simon


signature.asc
Description: Digital signature


Question on CVS Branches

2003-08-26 Thread Heinrich Rebehn
Hi,

please forgive me if this is a FAQ, but just what is the meaning of the RELENG_4 
branch? Is it more current then RELENG_4_7 or RELENG_4_8 ?
What should i use if i want to get security patches for my 4.7-RELEASE-p4 
installation?
What would happen if i use RELENG_4 ?

Thanks for your patience, if this is a FAQ.

Heinrich Rebehn

University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question on CVS Branches

2003-08-26 Thread Simon Barner
Hi,

 please forgive me if this is a FAQ, but just what is the meaning of the 
 RELENG_4 branch? Is it more current then RELENG_4_7 or RELENG_4_8 ?
 What should i use if i want to get security patches for my 4.7-RELEASE-p4 
 installation?

RELENG_4_7
 What would happen if i use RELENG_4 ?

This is at the moment FreeBSD 4.8-stable
 Thanks for your patience, if this is a FAQ.

Please see also:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

Simon


signature.asc
Description: Digital signature


Re: Question on CVS Branches

2003-08-26 Thread Viktor Lazlo


On Tue, 26 Aug 2003, Heinrich Rebehn wrote:

 Hi,

 please forgive me if this is a FAQ, but just what is the meaning of the RELENG_4
 branch? Is it more current then RELENG_4_7 or RELENG_4_8 ?
 What should i use if i want to get security patches for my 4.7-RELEASE-p4
 installation?
 What would happen if i use RELENG_4 ?

RELENG_4 is the development branch for FreeBSD-STABLE. RELENG_4_7 and
RELENG_4_8 are the security fix branches for those releases.  If you want
to track the most current code, use RELENG_4.  If you just want to ensure
your system is updated with the latest security patches for your release
use RELENG_4_7, or RELENG_4_8 if you want to upgrade.

Cheers,

Viktor


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]