Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Information is out dated' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Information is out dated
Authored by: nulldev on Aug 05, '02 09:24:41AM

It's nice to have that information but it's out dated. Is there any way to get updated files?



[ Reply to This | # ]
Information is out dated
Authored by: jsewell on Aug 05, '02 09:43:18AM
I think you can find the newer versions of these files at: http://www.openbsd.org/cgi-bin/cvsweb/src/share/misc/ -Jason Sewell

[ Reply to This | # ]
Information is out dated
Authored by: bluehz on Aug 05, '02 05:01:50PM
If you want to get fancy - you can create a cron tas to sync against the cvs source each week or something to keep it up to date. I just discovered how to use the cvs function - so there may be better ways of doing this (cvs pros - please chime in here!): You could create file and paste the follwing in it, save it and change to executable. Then your cron job could run the task. Unfortunately the task asks you for a login password each time and I have not fig out a way to encode that into the script.The password is anoncvs when asked.
#!/bin/sh cd /path/to/tmp/dir cvs -d:pserver:anoncvs@anoncvs1.usa.openbsd.org:/cvs login cvs -z3 -d:pserver:anoncvs@anoncvs1.usa.openbsd.org:/cvs co src/share/misc
You could download directly to your /usr/share/misc but I am not that brave so I d/l to a tmp dir and move manually

[ Reply to This | # ]
.cvspass
Authored by: vajonez on Aug 05, '02 11:08:48PM

You only need to login once (assuming you don't "cvs logout"). CVS stores the trivially encoded password associated with each cvsroot (the stuff you listed after the -d in the commands above) in ~/.cvspass. CVS also keeps track of which cvsroot corresponds to each checked out directory in <checked_out_dir>/CVS/Root.

In a nutshell, login once by hand and chechout the files you are interested in, then use "cvs update", either run by hand or via a cron job, to keep the files current.



[ Reply to This | # ]
Information is out dated
Authored by: cybermill on Aug 08, '02 02:07:17AM

I tried the script and got the following, any ideas?

(Logging in to anoncvs@anoncvs1.usa.openbsd.org)
CVS password:
cvs [login aborted]: authorization failed: server anoncvs1.usa.openbsd.org rejected access
cvs checkout: cannot find password
cvs [checkout aborted]: use "cvs login" to log in first



[ Reply to This | # ]
Information is out dated
Authored by: vajonez on Aug 09, '02 01:34:04AM

cvs login is an interactive command and should not be in the script.

Remove the login command from the script and execute it once by hand. CVS will store the "encrypted" password for that cvsroot in ~/.cvspass. CVS will consult this file for future operations using that root.



[ Reply to This | # ]