From owner-freebsd-current@freebsd.org Wed Apr 20 05:27:46 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4334B15621 for ; Wed, 20 Apr 2016 05:27:46 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.netplex.net", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2E42197B; Wed, 20 Apr 2016 05:27:46 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.15.1/8.15.1/NETPLEX) with ESMTP id u3K5Rjnc014446; Wed, 20 Apr 2016 01:27:45 -0400 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.4.3 (mail.netplex.net [204.213.176.9]); Wed, 20 Apr 2016 01:27:45 -0400 (EDT) Date: Wed, 20 Apr 2016 01:27:45 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net Reply-To: Daniel Eischen To: Julian Elischer cc: Nathan Whitehorn , freebsd-current@freebsd.org Subject: Re: [CFT] packaging the base system with pkg(8) In-Reply-To: <57170E5D.1090701@freebsd.org> Message-ID: References: <76093.1461096570@critter.freebsd.dk> <5716AD65.8070007@shrew.net> <5716FA70.4080604@freebsd.org> <57170E5D.1090701@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2016 05:27:47 -0000 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