Re: How often cvsup the ports?

2005-10-10 Thread martinko

Colin Percival wrote:

Andrew P. wrote:


On 10/6/05, Mikael Backman [EMAIL PROTECTED] wrote:


I use Portupgrade to install apps every now and then.
How often should I cvsup the ports?


If you like being up-to-date, you should consider
using portsnap, which is much more efficient than
cvsup. You can update every other couple of hours
then - and you'll probably waste less bandwidth
in a week than you would with cvsup in one run.



Portsnap certainly is more efficient than cvsup for
frequent updating, but for most people, updating the
ports tree every 2 hours is rather pointless.  On my
6.0-beta systems, I have a nightly cron job which runs

  portsnap -I cron update  pkg_version -vIL=



colin,
what is this I parameter to pkg_version supposed to be?
i don't seem to have it here on 5.4R.
cheers,
martin


which downloads updates, builds new ports INDEX files,
and emails me a list of installed packages which are
out of date.

When I get such an email, I log into the system and run

  portsnap update  portupgrade -a

which updates the ports tree and rebuilds the installed
packages which are out of date.

Between FreeBSD Update, portsnap, and portupgrade, I
doubt I spend more than half an hour per month keeping
each system up to date.

Colin Percival


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


Re: How often cvsup the ports?

2005-10-10 Thread Colin Percival
martinko wrote:
 Colin Percival wrote:
   portsnap -I cron update  pkg_version -vIL=
 
 what is this I parameter to pkg_version supposed to be?
 i don't seem to have it here on 5.4R.

It's a new flag in 6.0R; it means just use the INDEX, you stupid
program.  ;-)

Without that flag, pkg_version tries to be intelligent -- it will
go into each port directory and run /usr/bin/make -V PKGNAME in
order to work out exactly what version of the port is in the tree,
and will only use the INDEX if that fails.

Unfortunately, running make(1) repeatedly makes pkg_version about
50 times slower than if it just uses the INDEX file; so if you know
that the INDEX is up to date (which will be the case if you use
portsnap), the -I option makes pkg_version much faster.

Colin Percival
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How often cvsup the ports?

2005-10-10 Thread martinko

Colin Percival wrote:

martinko wrote:


Colin Percival wrote:


 portsnap -I cron update  pkg_version -vIL=


what is this I parameter to pkg_version supposed to be?
i don't seem to have it here on 5.4R.



It's a new flag in 6.0R; it means just use the INDEX, you stupid
program.  ;-)

Without that flag, pkg_version tries to be intelligent -- it will
go into each port directory and run /usr/bin/make -V PKGNAME in
order to work out exactly what version of the port is in the tree,
and will only use the INDEX if that fails.

Unfortunately, running make(1) repeatedly makes pkg_version about
50 times slower than if it just uses the INDEX file; so if you know
that the INDEX is up to date (which will be the case if you use
portsnap), the -I option makes pkg_version much faster.

Colin Percival


many thanks for your explanation and many thanks for the new functionality!

m:)

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


How often cvsup the ports?

2005-10-06 Thread Mikael Backman
Hi.
I use Portupgrade to install apps every now and then.
How often should I cvsup the ports? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How often cvsup the ports?

2005-10-06 Thread Benjamin Lutz
Mikael Backman wrote:
 Hi.
 I use Portupgrade to install apps every now and then.
 How often should I cvsup the ports? 

As often as you like/need. I usually do it manually every 1-3 days.
Cvsup is quite efficient, so you shouldn't have to worry about
overloading the cvsup servers if you do it frequently. On the other
hand, cvsupping every 6 hours when you only check the results once a day
is overkill.

You can also track changes to the ports tree via
http://www.freshports.org and cvsup when you see an interesting change
there.

Cheers
Benjamin


signature.asc
Description: OpenPGP digital signature


Re: How often cvsup the ports?

2005-10-06 Thread David Kelly


On Oct 6, 2005, at 6:24 AM, Mikael Backman wrote:


Hi.
I use Portupgrade to install apps every now and then.
How often should I cvsup the ports?


How often do you *need* updated ports? How often do you *need* an  
updated FreeBSD? Or is it just a matter of *want*.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.



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


Re: How often cvsup the ports?

2005-10-06 Thread Andrew P.
On 10/6/05, Mikael Backman [EMAIL PROTECTED] wrote:
 Hi.
 I use Portupgrade to install apps every now and then.
 How often should I cvsup the ports?
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


If you like being up-to-date, you should consider
using portsnap, which is much more efficient than
cvsup. You can update every other couple of hours
then - and you'll probably waste less bandwidth
in a week than you would with cvsup in one run.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How often cvsup the ports?

2005-10-06 Thread Chuck Swiger

Mikael Backman wrote:

I use Portupgrade to install apps every now and then.
How often should I cvsup the ports? 


Install portaudit.  Pay attention to your nightly email.  When you notice 
portaudit reporting that you have ports installed with known security 
vulnerabilities, it's a good time to update your ports.


You can update more frequently than that, of course.

--
-Chuck

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


Re: How often cvsup the ports?

2005-10-06 Thread Bob Johnson
On 10/6/05, Mikael Backman [EMAIL PROTECTED] wrote:
 Hi.
 I use Portupgrade to install apps every now and then.
 How often should I cvsup the ports?

I usually cvsup the ports every time I install a port.  That way I
know I'm getting the latest available ports.  There's not much point
in running cvsup when you are not going to be using the result.

Similarly, I update the source only when I'm going to be updating the
system.  Otherwise, I want to keep the source I actually used to build
the system, in case I need to rebuild something.

- Bob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How often cvsup the ports?

2005-10-06 Thread Robert Huff

Benjamin Lutz writes:

   I use Portupgrade to install apps every now and then.
   How often should I cvsup the ports? 
  
  As often as you like/need. I usually do it manually every 1-3
  days.

I upgrade the ports tree every night.
Building the ports depends on the number and identity.  Small
items and security fixes get done daily; monsters like Mozilla and
its kindred every couple of days; OpenOffice ... urk. 
(NB: I have a 7 mbit broadband connection and the build machine
has periods when it's not doing much of anything else.)


Robert Huff






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


Re: How often cvsup the ports?

2005-10-06 Thread Colin Percival
Andrew P. wrote:
 On 10/6/05, Mikael Backman [EMAIL PROTECTED] wrote:
I use Portupgrade to install apps every now and then.
How often should I cvsup the ports?
 
 If you like being up-to-date, you should consider
 using portsnap, which is much more efficient than
 cvsup. You can update every other couple of hours
 then - and you'll probably waste less bandwidth
 in a week than you would with cvsup in one run.

Portsnap certainly is more efficient than cvsup for
frequent updating, but for most people, updating the
ports tree every 2 hours is rather pointless.  On my
6.0-beta systems, I have a nightly cron job which runs

  portsnap -I cron update  pkg_version -vIL=

which downloads updates, builds new ports INDEX files,
and emails me a list of installed packages which are
out of date.

When I get such an email, I log into the system and run

  portsnap update  portupgrade -a

which updates the ports tree and rebuilds the installed
packages which are out of date.

Between FreeBSD Update, portsnap, and portupgrade, I
doubt I spend more than half an hour per month keeping
each system up to date.

Colin Percival
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]