From owner-freebsd-pkg@FreeBSD.ORG Sat Jul 13 17:00:24 2013 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DF3ECFEB for ; Sat, 13 Jul 2013 17:00:24 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 61225197F for ; Sat, 13 Jul 2013 17:00:24 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r6DH0J09001230 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 13 Jul 2013 18:00:19 +0100 (BST) (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r6DH0J09001230 Authentication-Results: smtp.infracaninophile.co.uk/r6DH0J09001230; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) Message-ID: <51E1879B.7050300@FreeBSD.org> Date: Sat, 13 Jul 2013 18:00:11 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: Distribute FreeBSD via packages instead of "global" tarballs References: <51E165F2.20801@peterschmitt.fr> In-Reply-To: <51E165F2.20801@peterschmitt.fr> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2MMAKMRTFKLOPITXBDPSC" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_FAIL, SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jul 2013 17:00:24 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2MMAKMRTFKLOPITXBDPSC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 13/07/2013 15:36, Florent Peterschmitt wrote: > Is it possible to package FreeBSD distribution under little packages, > aiming easy and small upgrades ? >=20 > Or this has already been thought ? This is certainly technically possible, and it's something there's been occasional speculation about; but as far as I know, no one has yet come up with a demonstration setup. There are a number of practical problems that would need sorting out -- * pkg isn't part of the base system -- by design -- which makes it tricky to use to register installing base system components on a bare metal system. * Similarly, pkg pretty much ignores the facilities and shared libraries from base when calculating dependencies and so forth for ports. If base is pkg-ised, should that still be the case? * Given that the base system is divided up into numerous smaller packages, should those packages be registered in the same database as is used for ports? (ie. /var/db/pkg/local.sqlite) Packaging the base system is an idea that has been floating around for a long time -- since long before pkg was conceived, certainly. But it has never really gone anywhere. Using pkg for the job would have some advantages over trying to do the same thing with the old pkg_tools, but would it ultimately be competitive with the way the installation media works now or to freebsd-update(8)? Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ------enig2MMAKMRTFKLOPITXBDPSC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHhh6IACgkQ8Mjk52CukIw1CwCfSJxBhCIhs8rEvXvvF28KN9ly 4/4AnjsB6eS9onnmcQ/3VQPPKHxLlQxm =OKR+ -----END PGP SIGNATURE----- ------enig2MMAKMRTFKLOPITXBDPSC--