Updating 1 single port.

Michael Powell nightrecon at hotmail.com
Fri Dec 10 15:54:49 UTC 2010


Grant Peel wrote:

> Hi all,
> 
> I suspect I have an issue with Proftpd and need to update it quickly. At
> Christmas break we will be apdating all ports and src, but for now, I
> would like to get the latest version of Proftpd up.
> 
> What is the best / quickest method of getting 1 single port updated?
> (Proftpd 1.3.3c)
> 

Since this is in the ports, refresh your ports tree. Then just cd to 
/usr/ports/ftp/proftpd and do make && make deinstall && make reinstall. Most 
ports will not munge your config files by this process. Just in case, I 
always set aside a copy of the relevant .conf file as insurance.

This is the "manual" do it yourself way. Portupgrade and others can 
accomplish the same. But this is quick and simple for just doing one port. 
Also don't forget to restart the daemon afterward.  :-)

-Mike





More information about the freebsd-questions mailing list