Re: Question: /usr/sbin/pkg vs /usr/local/sbin/pkg in 9.1

2012-12-27 Thread Matthew Seaman
On 27/12/2012 10:38, Dimitry Andric wrote:
> On 2012-12-27 11:35, David Demelier wrote:
>> On 27/12/2012 11:02, Matthew Seaman wrote:

>>> pkgng is not in base and there are no plans to import it.  If you are
>>> going to use pkgng then you need to install it, either from ports or by
>>> using the /usr/sbin/pkg shim to install from a pkgng package.

>> Why there is no plan to import it?

> Because pkgng is developed independently from the base system.  As soon
> as you put a copy of it in base, it is no longer independent. :-)

Which somewhat begs the question as to why pkgng is developed
independently of the base system.  That is for entirely pragmatic
reasons: there are rules about what you can change in the lifetime of a
FreeBSD major or minor release.  Which for a project of the scope of
pkgng would basically mean taking many years to develop and adopt it.
This is one of the sticking points that has effectively stymied
development of pkg_tools over the years.

By keeping pkgng out of the base we get:

  * Exactly the same version of pkgng for all current versions of
FreeBSD
-- which is important, as it means port maintainers can generally
   rely on solving problems one time for all versions.

  * The ability to develop pkgng at as rapid a pace as we can maintain.
-- there is still a large amount of new functionality yet to be
   introduced, particularly the dependency solver, which will be
   quite revolutionary when it comes in.

  * Related to the above, we have been able to arbitrarily declare that
the libpkg.so API will not be stabilized until pkg-2.0 is released.
-- again, purely pragmatic and to enable as rapid development as
   possible.

Despite this, we anticipate that there are changes to pkgng and
pkgng-related changes to the ports which we won't be able to introduce
until around April 2014 and the EoL of 8.3-RELEASE, which will be the last
pre-pkgng release to go and hence the earliest date at which pkg_tools
support can be entirely ceased.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: Question: /usr/sbin/pkg vs /usr/local/sbin/pkg in 9.1

2012-12-27 Thread Dimitry Andric

On 2012-12-27 11:35, David Demelier wrote:

On 27/12/2012 11:02, Matthew Seaman wrote:

...

pkgng is not in base and there are no plans to import it.  If you are
going to use pkgng then you need to install it, either from ports or by
using the /usr/sbin/pkg shim to install from a pkgng package.

Why there is no plan to import it?


Because pkgng is developed independently from the base system.  As soon
as you put a copy of it in base, it is no longer independent. :-)
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Question: /usr/sbin/pkg vs /usr/local/sbin/pkg in 9.1

2012-12-27 Thread David Demelier

On 27/12/2012 11:02, Matthew Seaman wrote:

On 27/12/2012 09:44, Rainer Duffner wrote:

as I see it, pkgng is actually included in 9.1 as /usr/sbin/pkg, right?


/usr/sbin/pkg and /usr/local/sbin/pkg are very different.

/usr/local/sbin/pkg is a binary package management system.

/usr/sbin/pkg is a shim that can bootstrap the installation of
/usr/local/sbin/pkg if it is not already installed, or that invokes
/usr/local/sbin/pkg preserving the rest of the command line otherwise.


Is there a way to say "I have the pkg tool in base already"?


pkgng is not in base and there are no plans to import it.  If you are
going to use pkgng then you need to install it, either from ports or by
using the /usr/sbin/pkg shim to install from a pkgng package.



Why there is no plan to import it?


Or is the pkg in base supposed to just install the pkgng from ports?


Indirectly.  /usr/sbin/pkg installs from a pre-compiled tarball, which
is generated from the ports-mgmt/pkg port.

Cheers,

Matthew



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


Re: Question: /usr/sbin/pkg vs /usr/local/sbin/pkg in 9.1

2012-12-27 Thread Matthew Seaman
On 27/12/2012 09:44, Rainer Duffner wrote:
> as I see it, pkgng is actually included in 9.1 as /usr/sbin/pkg, right?

/usr/sbin/pkg and /usr/local/sbin/pkg are very different.

/usr/local/sbin/pkg is a binary package management system.

/usr/sbin/pkg is a shim that can bootstrap the installation of
/usr/local/sbin/pkg if it is not already installed, or that invokes
/usr/local/sbin/pkg preserving the rest of the command line otherwise.

> Is there a way to say "I have the pkg tool in base already"?

pkgng is not in base and there are no plans to import it.  If you are
going to use pkgng then you need to install it, either from ports or by
using the /usr/sbin/pkg shim to install from a pkgng package.

> Or is the pkg in base supposed to just install the pkgng from ports?

Indirectly.  /usr/sbin/pkg installs from a pre-compiled tarball, which
is generated from the ports-mgmt/pkg port.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Question: /usr/sbin/pkg vs /usr/local/sbin/pkg in 9.1

2012-12-27 Thread Rainer Duffner
Hi,

as I see it, pkgng is actually included in 9.1 as /usr/sbin/pkg, right?
But when I define
WITH_PKGNG=yes

in /etc/make.conf

the ports-system wants to install the pkgng-package (because it looks
for pkgng in /usr/local/sbin).

Is there a way to say "I have the pkg tool in base already"?

Or is the pkg in base supposed to just install the pkgng from ports?




Best Regards,
Rainer
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"