Updating 1 single port.

2010-12-10 Thread Grant Peel
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)

-G
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating 1 single port.

2010-12-10 Thread tomasz dereszynski

 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)


portupgrade --OPTION PORT_NAME

-- 
bEsT rEgArDs|   Confidence is what you have before you
tomasz dereszynski  |   understand the problem. -- Woody Allen
|
Spes confisa Deo|   In theory, theory and practice are much
numquam confusa recedit |   the same. In practice they are very
|   different. -- Albert Einstein


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating 1 single port.

2010-12-10 Thread Michael Powell
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



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating 1 single port.

2010-12-10 Thread Paul Macdonald

On 10/12/2010 15:26, Grant Peel wrote:

Proftpd 1.3.3c


portupgrade proftpd 1.3.3c

or delete the port from /usr/ports/distfiles,   do a portsnap update,  
portsnap fetch index then make deinstall  make install clean


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating 1 single port.

2010-12-10 Thread Warren Block

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.  But the problem that many people run into is that 
they haven't updated other installed ports, including infrastructure 
like the autotools ports that were updated today.  So when they try to 
update a single port, things it depends on are missing or outdated.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating 1 single port.

2010-12-10 Thread Michael Powell
Warren Block 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.  But the problem that many people run into is that
 they haven't updated other installed ports, including infrastructure
 like the autotools ports that were updated today.  So when they try to
 update a single port, things it depends on are missing or outdated.

Excellent point indeed! The autotools fun - a perfect case in point. While 
you may be able to get away with a simple update some of the time, that is 
certainly not true all of the time.

-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Updating 1 single port.

2010-12-10 Thread RW
On Fri, 10 Dec 2010 13:07:00 -0700 (MST)
Warren Block wbl...@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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org