Re: portmanager or portupgrade?

2007-03-21 Thread RW
On Wed, 21 Mar 2007 07:45:54 -0500
Eric <[EMAIL PROTECTED]> wrote:

> n j wrote:
> > Hello,
> > 
> > first off, I'm looking for a ports upgrading solution on my box, not
> > trying to start a religious debate over which one is better. I'm
> > interested in hearing what other FreeBSD admins are using and, if
> > possible, why they prefer one over the other. I have some experience
> > with portupgrade only, but I see more and more people talk about
> > portmanager, so I thought it would be good to hear what others use.
> > 
> > On a related note, is portmaster comparable to the previous two?
> > 
> > Thanks,
> 
> i have used them all and I think portmaster is the best of the 3 
> choices, at least for my needs/machines.

I use a combination of portmanager for major upgrades and portupgrade
for minor tinkering. I would consider using portmaster in place of
portupgrade, but it lacks a feature that I regard as fundamental. The
other two tools will backup the existing installed package and
automatically restore it if a "make install"  fails. Portmaster creates
a package before an upgrade, but it wont restore it automatically. I
really don't want a gaping hole in my packages for any longer than is
necessary.  

> It has no dependencies as well, which, to me, is a plus. It is simple
> to use and has a lot of options should they be needed. 

Although it's flexibility  doesn't come with the portupgrade's shared
library management, so you can shoot yourself in the foot. portmanager
is too much of a blunt instrument to suffer from such problems

>One really
> nice feature is that all the options for ports are set at the
> beginning of the process.

It's actually quite simple to do this yourself:

   for porg in `pkg_version -ovl'<' |awk '{ print $1 }'` ; do
  cd  /usr/ports/${porg} && make config-recursive
   done

> 
> In the end its all a matter of what you like. Try them all and see
> what one you like for how you manage your boxes.  For me, its
> portmaster all the way. it hasnt let me down yet and I havent seen a
> need to keep the other 2 around once i was familiar with portmaster.

It's worth having portmanager just for it's -slid option. AFAIK it's
the only leaf-deletion utility that understands build dependencies.
That is, it wont prompt you to delete versions of gcc, autoconf etc
while they are still useful.

I mostly use portmanager, because it tends to do the right thing without
being prompted. The port[upgrade|master] recipes in UPDATING just aren't
needed for portmanager, which means that it should do the right thing in
the case of subtle problems that don't make it to UPDATING on day one
(or at all).

Another nice feature is that after any error, portmanager recursively
adds origins that depend on the failed port to it's ignore list, and
then just carries-on. When building a lot of ports there is a high
probability of one or more failing, so this can be as useful
configuring at the beginning.



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


Re: portmanager or portupgrade?

2007-03-21 Thread Roland Smith
On Wed, Mar 21, 2007 at 07:45:54AM -0500, Eric wrote:
> n j wrote:

> >first off, I'm looking for a ports upgrading solution on my box, not
> >trying to start a religious debate over which one is better. I'm
> >interested in hearing what other FreeBSD admins are using and, if
> >possible, why they prefer one over the other. I have some experience
> >with portupgrade only, but I see more and more people talk about
> >portmanager, so I thought it would be good to hear what others use.

> i have used them all and I think portmaster is the best of the 3 
> choices, at least for my needs/machines.

I second that.

> It has no dependencies as well, which, to me, is a plus. 

And no database that can be corrupted.

> It is simple to use and has a lot of options should they be
> needed. One really nice feature is that all the options for ports are
> set at the beginning of the process. this basically allows you to set
> your config options up front and then let it compile away. 

This is definitely one of the better features of portmaster.

> In the end its all a matter of what you like. Try them all and see what 
> one you like for how you manage your boxes.  For me, its portmaster all 
> the way. it hasnt let me down yet and I havent seen a need to keep the 
> other 2 around once i was familiar with portmaster.

One feature that might be nice to have is a kind of intelligent restart if one
of the ports in a dependency chain fails. 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpWWy9Vjecby.pgp
Description: PGP signature


Re: portmanager or portupgrade?

2007-03-21 Thread Eric

n j wrote:

Hello,

first off, I'm looking for a ports upgrading solution on my box, not
trying to start a religious debate over which one is better. I'm
interested in hearing what other FreeBSD admins are using and, if
possible, why they prefer one over the other. I have some experience
with portupgrade only, but I see more and more people talk about
portmanager, so I thought it would be good to hear what others use.

On a related note, is portmaster comparable to the previous two?

Thanks,


i have used them all and I think portmaster is the best of the 3 
choices, at least for my needs/machines.


The author is actively working on it, is helpful, and takes suggestions 
for features which are often incorporated into the program.


It has no dependencies as well, which, to me, is a plus. It is simple to 
use and has a lot of options should they be needed. One really nice 
feature is that all the options for ports are set at the beginning of 
the process. this basically allows you to set your config options up 
front and then let it compile away. In the past one had to watch the 
upgrades happen in case an options screen came up after a port finished. 
if you were AFK for an extended amount of time (or overnight for slower 
machines/big ports) you potentially lost a lot of time. granted you 
could use batch and all that, but pushing all the make options stuff up 
front is a nicety i have come to appreciate.


In the end its all a matter of what you like. Try them all and see what 
one you like for how you manage your boxes.  For me, its portmaster all 
the way. it hasnt let me down yet and I havent seen a need to keep the 
other 2 around once i was familiar with portmaster.


Good luck!

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


Re: portmanager or portupgrade?

2007-03-21 Thread Gerard
On Wednesday March 21, 2007 at 08:19:38 (AM) n j wrote:


> first off, I'm looking for a ports upgrading solution on my box, not
> trying to start a religious debate over which one is better. I'm
> interested in hearing what other FreeBSD admins are using and, if
> possible, why they prefer one over the other. I have some experience
> with portupgrade only, but I see more and more people talk about
> portmanager, so I thought it would be good to hear what others use.

I use portmanager and find it quite effective at updating the system. It
has a conf file similar to portupgrade. In fact, it can use the
portupgrade file.
> 
> On a related note, is portmaster comparable to the previous two?

I found it to be slow and not as through at updating ports with broken
dependencies; however, that was using one of the original versions of
the program. I understand it has improved.

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


portmanager or portupgrade?

2007-03-21 Thread n j

Hello,

first off, I'm looking for a ports upgrading solution on my box, not
trying to start a religious debate over which one is better. I'm
interested in hearing what other FreeBSD admins are using and, if
possible, why they prefer one over the other. I have some experience
with portupgrade only, but I see more and more people talk about
portmanager, so I thought it would be good to hear what others use.

On a related note, is portmaster comparable to the previous two?

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