FreeBSD Portsnap & CVSup

I just tried FreeBSD Portsnap, another tools to maintain FreeBSD port tree. The result is rocking, update on the port tree is extremely fast, it may take some time when you first perform portsnap fetch, extract and update. The command to perform the update is simple and straight forward.

FreeBSD’s portsnap isavailable on FreeBSD 4.x and above, if you can’t get it from port, may be you got to do cvsup first. Installing portsnap;

cd /usr/ports/sysutils/portsnap
make && make install

or if you have portinstall, run the command;

portinstall /usr/ports/sysutils/portsnap

After the installation, you might want to make some changes on the config file which located at /usr/local/etc/portsnap.conf.sample, make a copy to portsnap.conf. After that, run the command portsnap fetch, it might take some time to fetch the update from mirror website and after that portsnap extract/update.

That’s it, you can tick away portsdb -uU and spend 15-30mins to wait for the port tree updated. Try portsnap now and you won’t regret of using it.

Visit official portsnap website for more more more information and tips.

Related posts:

  1. freebsd port update, monitor outdated port with portsnap we have about 15 freebsd servers with us, ranging from...
  2. FreeBSD Port: Error Upgrading Perl 5.8.9 Usually I perform portupgrade daily on some of my FreeBSD...
  3. Fixed Cacti Spine 0.8.7g Problem on FreeBSD On latest release of Cacti Spine 0.8.7g, it has new...
  4. MySQL Quick Installation on FreeBSD Quick installation of MySQL Database on FreeBSD Server. Make sure...
  5. How to Find Out Public IP Address via Command Line in Unix/Linux Machine If you have more than 100 servers in your network;...
  6. Disable Vulnerabilities Check in FreeBSD Portupgrade After perform FreeBSD portsnap, there are updates for PHP52 packages,...
  7. How to Change Hostname in Unix FreeBSD We have interesting hostname for our all our servers. Some...
  8. How to Enable Suidperl in FreeBSD Enable Suidperl In FreeBSD Due to security issues, by default...
  9. Upgrade to php52 on FreeBSD By default, after portsnap to latest FreeBSD port tree, it...
  10. Configure NTP Server on FreeBSD Configure a NTP time server on FreeBSD is fairly easy....

3 Responses to “FreeBSD Portsnap & CVSup”

  1. chfl4gs_ Says:

    Just run portsnap fetch extract for the 1st time, then following by portsnap fetch update for each update.

    Lazy bum like me still stick to cvsup as it fetches src update too. Further, as there are many fbsd boxes within LAN, local cvsup / distfile ftp server was set up to reduce the demand for traffic when updating.

  2. sam Says:

    i just tried portsnap too.. its’ pretty cool stuff

    how often do u reckon is a good interval to update the ports tree using port snap?

  3. Paul Ooi Says:

    I do it every morning :D

Leave a Reply