Updating ports collection fdating commen

The port does not include the actual source code, also known as a “distfile”.

updating ports collection-52

Keeping the ports collection up-to-date on a Free BSD 7.x system is a very simple process.

The first step is to login as a user with root priveledges and download the latest ports collection snapshot.

To combine these steps into one command, perhaps for use in a cron job, you can execute the following command.

Your ports collection is now up-to-date with the latest snapshot from the STABLE branch of the ports collection.

The detailed description of available make targets and environment variables is available in ports. As of mid 2012, the Free BSD Ports Project has migrated revision control systems from CVS to Subversion.

The preferred method for obtaining and maintaining the ports tree is Portsnap.With cvsup update ports collection isn’t difficult.Install cvsup: It is can updating a long time (specially if you have slow internet connection).Users requiring local customization of ports (that is, maintaining additional local patches) will probably prefer to use Subversion directly.The CVSup service is being phased out as of February 28, 2013, and further use is discouraged.Doing so saves disk space and minimizes the chance of problems later when upgrading to the newer version of the port. Using only make install means there will potentially be many waiting periods between user interaction as the default behaviour is to prompt the user for options. When using config-recursive, the list of ports to configure are gathered by the all-depends-list make(1) target.

Tags: , ,