Ports upgrade script

JosC bsduser at cloudzeeland.nl
Sat Apr 16 14:34:11 UTC 2016


In een bericht van 16-4-2016 12:18:
>
> Portsnap isn't compatible with svn.
>
So I think I should revise the way I update my ports.
What I did with my 9.3 BSD was the following script (which worked 
perfectly):

!/bin/sh
cd /local/user/etc
svn update /usr/src
svn update /usr/ports
#
cd /usr/ports
make fetchindex
portsdb -fu
#
#
cd /usr/local/etc
portupgrade -na
#

So this part I replaced now with:

portsnap fetch update

kind of lost how to continue now...

BR, Jos



More information about the freebsd-questions mailing list