Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2016 01:27:45 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Julian Elischer <julian@freebsd.org>
Cc:        Nathan Whitehorn <nwhitehorn@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: [CFT] packaging the base system with pkg(8)
Message-ID:  <Pine.GSO.4.64.1604200118530.11054@sea.ntplx.net>
In-Reply-To: <57170E5D.1090701@freebsd.org>
References:  <E1asbZj-0003Ra-Qs@rmm6prod02.runbox.com> <76093.1461096570@critter.freebsd.dk> <5716AD65.8070007@shrew.net> <BF66EA01-E073-45F0-8F9E-22D57E8871B0@bsdimp.com> <5716FA70.4080604@freebsd.org> <57170E5D.1090701@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 20 Apr 2016, Julian Elischer wrote:

>
> my problem with 400 packages is that is is hard to decide what you are 
> actually running.. or is it FreeBSD 11? is it FreeBSD 10.95342453?
> you have no way to tell exactly what you have without comparing all the 
> packages to a known list.
> uname doesn't mean much, nor does "__FreeBSD_version" if everything comes 
> with its own versions.

And perhaps I missed it in the large number of missives on
pkg'ing base, but we should be able to list just base packages
or host port packages.  I don't know if that is on or off
the table.

> the 'leaf' concept in pkg helps with this a bit, but we've always considered 
> FreeBSD bas as a sort of monalithic entity that moves forward together.
>
> you are running 10.1p8 pr 10.2p1  that tells you all you need to know.
> If you now need to take into account 400 different dimensions you have a much 
> harder way to describe what you have..

Solaris base packages seem to use the OS version in their pkg
version number, for instance:

sol11 $ pkg list | grep 0.5.11 | grep system/library
system/library                               0.5.11-0.175.3.1.0.3.0
system/library/boot-management               0.5.11-0.175.3.0.0.30.0
system/library/c++-runtime                   0.5.11-0.175.3.0.0.24.0
system/library/c++/sunpro                    0.5.11-0.168
system/library/iconv/unicode-core            0.5.11-0.175.3.0.0.26.2
system/library/iconv/utf-8                   0.5.11-0.175.3.0.0.26.2
system/library/install                       0.5.11-0.175.3.0.0.30.0
system/library/install/libinstzones          0.5.11-0.175.3.0.0.30.0
system/library/liblayout                     0.5.11-0.175.3.0.0.26.2
system/library/libv12n                       0.5.11-0.175.3.0.0.30.0
system/library/math                          0.5.11-0.175.3.0.0.19.0
system/library/mmheap                        0.5.11-0.175.3.0.0.7.0
system/library/openmp                        0.5.11-0.175.3.0.0.2.0
system/library/platform                      0.5.11-0.175.3.0.0.30.0
system/library/policykit                     0.5.11-0.175.3.0.0.30.0
system/library/processor                     0.5.11-0.175.3.0.0.30.0
system/library/security/crypto               0.5.11-0.175.3.1.0.4.0
system/library/security/gss                  0.5.11-0.175.3.0.0.30.0
system/library/security/gss/diffie-hellman   0.5.11-0.175.3.0.0.30.0
system/library/security/gss/spnego           0.5.11-0.175.3.0.0.30.0
system/library/security/libsasl              0.5.11-0.175.3.0.0.30.0
system/library/security/pkcs11               0.5.11-0.175.3.0.0.30.0
system/library/security/pkcs11_kernel        0.5.11-0.175.3.0.0.30.0
system/library/security/pkcs11_softtoken     0.5.11-0.175.3.0.0.30.0
system/library/security/pkcs11_tpm           0.5.11-0.175.3.0.0.30.0
system/library/security/rpcsec               0.5.11-0.175.3.0.0.30.0
system/library/storage/libdiskmgt            0.5.11-0.175.3.0.0.30.0
system/library/storage/libfcoe               0.5.11-0.175.3.0.0.30.0
system/library/storage/scsi-plugins          0.5.11-0.175.3.0.0.30.0
system/library/storage/snia-hbaapi           0.5.11-0.175.3.0.0.30.0
system/library/storage/snia-ima              0.5.11-0.175.3.0.0.30.0
system/library/storage/snia-mpapi            0.5.11-0.175.3.0.0.30.0
system/library/storage/suri                  0.5.11-0.175.3.0.0.30.0
system/library/storage/t11-sm-hba            0.5.11-0.175.3.0.0.30.0
system/library/usb/libusb                    0.5.11-0.175.3.0.0.30.0
system/library/usb/libusbugen                0.5.11-0.175.3.0.0.30.0

That's Solaris 11.3.  I'm assuming the 5.11 is Solaris 11 and
the 175.3 is the .3 update.  The remaining digits must be the
package versions.

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1604200118530.11054>