Updating 1 single port.

RW rwmaillists at googlemail.com
Sat Dec 11 00:25:05 UTC 2010


On Fri, 10 Dec 2010 13:07:00 -0700 (MST)
Warren Block <wblock at wonkity.com> wrote:

> On Fri, 10 Dec 2010, Michael Powell wrote:
> 
> > Grant Peel wrote:
> >
> >> 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.
> 
> make clean deinstall install
> 
> is a little safer.  

And I would suggest running pkg_create -b,  <package-name> in advance,
just in case the install fail and you are left with a deinstalled port.
Portupgrade does that automatically.


More information about the freebsd-questions mailing list