Hi Guys
I have been looking into ways to keep my system upto date and have gotten myself a bit turned around.
To update my port tree I have this in my crontab:
	
	
	
		
Which sends me an email advising that there are ports to update. However I have found at least three ways to do the update, each of which seems to have their own pros and cons.
The best options I have found so far are:
	
	
	
		
	
	
	
		
	
	
	
		
Or this script:
	
	
	
		
Or this script: http://www.mebsd.com/freebsd-security-hardening/update-freebsd-with-portmaster.html
I know there are alot of opinions in the forum and portmaster looks to be the method of choice but is there any reason to think otherwise? I have run portmanager already, will it preclude using the portmaster next time?
Thanks
				
			I have been looking into ways to keep my system upto date and have gotten myself a bit turned around.
To update my port tree I have this in my crontab:
		Code:
	
	portsnap -I cron update && pkg_version -vIL=Which sends me an email advising that there are ports to update. However I have found at least three ways to do the update, each of which seems to have their own pros and cons.
The best options I have found so far are:
		Code:
	
	portupgrade -aRrP
		Code:
	
	portmanager -u -l
		Code:
	
	portmaster -ayOr this script:
		Code:
	
	#!/bin/sh
/usr/sbin/portsnap fetch update && \
/usr/local/sbin/portmaster -L --index-only | egrep '(ew|ort) version|total install'Or this script: http://www.mebsd.com/freebsd-security-hardening/update-freebsd-with-portmaster.html
I know there are alot of opinions in the forum and portmaster looks to be the method of choice but is there any reason to think otherwise? I have run portmanager already, will it preclude using the portmaster next time?
Thanks

 
			     
 
		
 
 
		 
 
		 
 
		