DaemonForums  

Go Back   DaemonForums > Miscellaneous > Guides

Guides All Guides and HOWTO's.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 26th May 2008
chris chris is offline
Port Guard
 
Join Date: May 2008
Location: United Kingdom
Posts: 35
Default HOWTO: Always install an up-to-date port

I know I should, but I very rarely have the latest ports tree on my system and it's for that reason I always make sure that a port I'm about to install is up to date.

So, this isn't a very lengthy or complex howto but next time your about to install a port and are unsure weather it's the latest skeleton version or not run this command first;

Code:
cvsup -i ports/CATAGORY/YOUR-PORT -g /location/of/your/ports-supfile
for example, if i wanted to install libtorrent-devel and my ports sup file was in the root DIR I'd run the following command

Code:
cvsup -i ports/net-p2p/libtorrent-devel -g /root/ports-supfile && cd /usr/ports/net-p2p/libtorrent-devel && make install clean
That's it! But remember it's still important to keep your ports tree up to date as some ports may install other dependencies which you had not accounted for.

If you haven't edited your ports-supfile yet you must do so beforehand, a typical user will only need to edit the *default host= variable and to help you find the fastest cvsup host a tool called fastest-cvsup has been developed, you can find it here;

Code:
/usr/ports/sysutils/fastest_cvsup
An example supfile can be found here;

Code:
/usr/share/examples/cvsup/ports-supfile

Last edited by chris; 26th May 2008 at 06:34 PM.
Reply With Quote
 

Tags
cvsup, freebsd, ports-supfile, update port, update uninstalled port, upgrade port

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opera Port - conflicting pkgs in "make install" IronForge OpenBSD Packages and Ports 5 29th October 2009 05:10 AM
HOWTO: Install and configure NVIDIA drivers on FreeBSD tangram Guides 2 29th March 2009 08:23 PM
HOWTO: Install and setup MLDonkey on FreeBSD tangram Guides 0 7th January 2009 05:13 PM
Using Date variable? cwhitmore FreeBSD General 9 13th August 2008 07:16 AM
Unable to make install on Subversion port Fuitad FreeBSD Ports and Packages 2 28th July 2008 04:49 PM


All times are GMT. The time now is 08:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick