The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
Scripts / handy tips
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 cvsup script.
Author: el_kab0ng 
Date:   24-06-02 04:49

Awhile back a good FreeBSD cheat site existed which helped me understand cvsup a bit better by scripting it out...

Unfortunately the FreeBSD part of the site was taken down recently. So with that said, here's a simple script to cron out after you put it in /usr/local/bin

#!/bin/sh
echo Subject: `hostname` weekly cvsup run output
/usr/local/bin/cvsup -g -L 2 /usr/src/stable-supfile

My stable-supfile:

*default host=cvsup2.FreeBSD.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
*default compress
# src-all
ports-all tag=.

So basically I just update the ports tree weekly by adding this to root's crontab...

0 22 * * 2 /usr/local/bin/cvsrun

Reply To This Message
 
 Re: cvsup script.
Author: shane 
Date:   23-07-02 20:14

i think the site you're talking about is

http://www.mostgraveconcern/freebsd

still up with the old cheat sheets...

-shane

Reply To This Message
 
 Re: cvsup script.
Author: el_kab0ng 
Date:   15-08-02 23:37

Looking up www.mostgraveconcern.
Unable to locate remote host www.mostgraveconcern.
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://www.mostgraveconcern/freebsd

Reply To This Message
 
 Re: cvsup script.
Author: Dan Langille 
Date:   18-08-02 08:47

That should be http://www.mostgraveconcern.com/freebsd/.

Reply To This Message
 
 Re: cvsup script.
Author: Travis 
Date:   12-09-02 23:12

No need to even mess w/Cron. Just shove the line:

/usr/local/bin/cvsup -g -L 2 /usr/src/stable-supfile

Into /etc/periodic/weekly (or daily,or monthly if you choose)

Reply To This Message
 
 Re: cvsup script.
Author: Travis 
Date:   12-09-02 23:16

ooops. that should be /etc/weekly.local

Reply To This Message
 
 Re: cvsup script.
Author: el_kab0ng 
Date:   01-04-03 06:17

mgc will kill the FBSD cheats after Mar31 of this year. I have mirrored the whole FBSD section here:

http://www.reject.org/pr0ject/freebsd/www.mostgraveconcern.com/freebsd/

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org