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   Previous Message  |  Next Message 
 Updating without recompiling
Author: Colin Percival 
Date:   16-04-03 01:10

I've put together a tool for building, distributing, and installing binary security updates; the client portion is now in the ports tree.

To keep a system up to date without needing the source tree:
1. Install 4.7-RELEASE or 4.8-RELEASE (that's all I'm publishing binary updates for).
2. Fetch the latest ports tree.
3. cd /usr/ports/security/freebsd-update && make all install
4. mv /usr/local/freebsd-update/update.conf.sample /usr/local/freebsd-update/update.conf
5. echo "0 2 * * * /usr/local/sbin/freebsd-update cron" >> /etc/crontab

Finally, read your email, and run
/usr/local/sbin/freebsd-update install
when you get an email advising you that there are updates waiting to be installed.

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

 Topics Author  Date
 Updating without recompiling   new
Colin Percival 16-04-03 01:10 


 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