portupgrade <-> portmaster?

2009-01-15 Thread Ewald Jenisch
Hi,

Having used portupgrade for several years I'm thinking to make the
switch to portmaster since both of them seem to be fully supported as
far as upgrading ports is concerned.

Anything to consider when going from portupgrade to portmaster?

Caveats/pitfalls?

Is there also a way back, i.e. from portmaster to portupgrade?

What are your experiences with portmaster, esp. in terms of stability,
handling, features?

Thanks much in advance,
-ewald

___
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: portupgrade <-> portmaster?

2009-01-15 Thread Christer Solskogen

On 1/15/09 8:25 PM, Ewald Jenisch wrote:


Anything to consider when going from portupgrade to portmaster?



Portupgrade has the advantage that it can use binary packages to upgrade 
your system. portmaster can create them (by adding the -g option) - but 
not use them. This is the reason we use portupgrade at work where we 
have several FreeBSD servers which shares /usr/ports.



Is there also a way back, i.e. from portmaster to portupgrade?



No problem at all. You can even have both installed. If you upgrade your 
outdated port with portupgrade, portmaster will not try to upgrade it 
and vice versa, unless you force it to (which makes no sense).


--
chs


___
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: portupgrade <-> portmaster?

2009-01-15 Thread Mitja
On Thursday 15 January 2009 16:04:09 Christer Solskogen wrote:
> On 1/15/09 8:25 PM, Ewald Jenisch wrote:
> > Anything to consider when going from portupgrade to portmaster?
>
> Portupgrade has the advantage that it can use binary packages to upgrade
> your system. portmaster can create them (by adding the -g option) - but
> not use them. This is the reason we use portupgrade at work where we
> have several FreeBSD servers which shares /usr/ports.
>
> > Is there also a way back, i.e. from portmaster to portupgrade?
>
> No problem at all. You can even have both installed. If you upgrade your
> outdated port with portupgrade, portmaster will not try to upgrade it
> and vice versa, unless you force it to (which makes no sense).

I am more than one year FreeBSD user :), started with 7.0 and I have to used 
portupgrade but later I did change to portmaster which I like it but few day 
ago I had a problem (on FreeBSD 7.1) with update. Here is a link to the 
FreeBSD forum where I asked about a problem.
Today I installed portupgrade and update was without problem.

Are there some problem with portmaster on 7.1?
Thanks.



___
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: portupgrade <-> portmaster?

2009-01-15 Thread matt donovan
On Thu, Jan 15, 2009 at 7:22 PM, Mitja  wrote:

> On Thursday 15 January 2009 16:04:09 Christer Solskogen wrote:
> > On 1/15/09 8:25 PM, Ewald Jenisch wrote:
> > > Anything to consider when going from portupgrade to portmaster?
> >
> > Portupgrade has the advantage that it can use binary packages to upgrade
> > your system. portmaster can create them (by adding the -g option) - but
> > not use them. This is the reason we use portupgrade at work where we
> > have several FreeBSD servers which shares /usr/ports.
> >
> > > Is there also a way back, i.e. from portmaster to portupgrade?
> >
> > No problem at all. You can even have both installed. If you upgrade your
> > outdated port with portupgrade, portmaster will not try to upgrade it
> > and vice versa, unless you force it to (which makes no sense).
>
> I am more than one year FreeBSD user :), started with 7.0 and I have to
> used
> portupgrade but later I did change to portmaster which I like it but few
> day
> ago I had a problem (on FreeBSD 7.1) with update. Here is a link to the
> FreeBSD forum where I asked about a problem.
> Today I installed portupgrade and update was without problem.
>
> Are there some problem with portmaster on 7.1?
> Thanks.
>
>
>
> ___
> 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"
>

believe so since I remember seeing the author talk about patching
portmaster.
___
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: portupgrade <-> portmaster?

2009-01-16 Thread Tim Judd

Ewald Jenisch wrote:

Hi,

Having used portupgrade for several years I'm thinking to make the
switch to portmaster since both of them seem to be fully supported as
far as upgrading ports is concerned.

Anything to consider when going from portupgrade to portmaster?

Caveats/pitfalls?

Is there also a way back, i.e. from portmaster to portupgrade?

What are your experiences with portmaster, esp. in terms of stability,
handling, features?

Thanks much in advance,
-ewald



I'll be honest -- I've tried portupgrade, then portmaster, then dabbled 
with porteasy.  Then a buddy mentioned pkg_replace.  I never tried 
pkg_replace but the documented and recommended way to upgrade ports were 
not followed (in my eyes) by any of those... so I made my own based from 
the borne shell only.  It relies 100% on the ports subsystem to do it's 
work and it doesn't try to shortcut the process.


So what my system does (which isn't released, won't be released in the 
forseeable future)...
	Forces a warning of the upgrading process may "loose" some package if 
you cancel out of it

Forces a display of the UPGRADING file... then the MOVED file.
	Asks the user if it's OK to proceed, given the UPDATING and MOVED files 
may have given special instructions for something.

Scans for the outdated ports, optionally using the INDEX file
Re-calls itself to upgrade each port in turn found above
Gives options to do stages, such as building without installing
	Logs the process in memory, and logs the final result in a logfile and 
prints it to the screen


Most importantly, I love the concept that it has no external prerequisites.

In the end, I think it works really well but since I don't feel 
confident that it's bugfree and ready for dedicated and production 
servers -- I am not releasing it to the public (yet?).




But if I were to recommend anything, go through the ports-mgmt category 
and find something that works for you, or roll your own.


--Tim
___
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"