From owner-freebsd-arch Wed Jul 10 18:24:20 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E982337B400 for ; Wed, 10 Jul 2002 18:24:14 -0700 (PDT) Received: from smtp.noos.fr (claudel.noos.net [212.198.2.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CC9C43E42 for ; Wed, 10 Jul 2002 18:24:13 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: (qmail 27014052 invoked by uid 0); 11 Jul 2002 01:24:12 -0000 Received: from unknown (HELO gits.gits.dyndns.org) ([212.198.229.153]) (envelope-sender ) by 212.198.2.83 (qmail-ldap-1.03) with SMTP for ; 11 Jul 2002 01:24:12 -0000 Received: from gits.gits.dyndns.org (e2epfxapzitoueop@localhost [127.0.0.1]) by gits.gits.dyndns.org (8.12.5/8.12.5) with ESMTP id g6B1KCWx083194; Thu, 11 Jul 2002 03:24:11 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by gits.gits.dyndns.org (8.12.5/8.12.5/Submit) id g6B0pSLm082803; Thu, 11 Jul 2002 02:51:28 +0200 (CEST) (envelope-from root) Date: Thu, 11 Jul 2002 02:51:27 +0200 From: Cyrille Lefevre To: Mark Valentine Cc: Dag-Erling Smorgrav , Wes Peters , Dan Moschuk , arch@freebsd.org Subject: Re: Package system flaws? Message-ID: <20020711005127.GB82744@gits.dyndns.org> References: <200207071546.g67FkVIL018923@dotar.thuvia.org> <20020708020907.GB83084@gits.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020708020907.GB83084@gits.dyndns.org> User-Agent: Mutt/1.3.99i Organization: ACME X-Face: V|+c;4!|B?E%BE^{E6);aI.[< List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG message resent due to mta misconfigation. On Mon, Jul 08, 2002 at 04:09:07AM +0200, Cyrille Lefevre wrote: > On Sun, Jul 07, 2002 at 04:46:31PM +0100, Mark Valentine wrote: > [snip] > > However, the archive members are _not_ the individual files comprising > > the package. Instead, the package is split into logical sub-packages > > (there may be only one, that's fine), such as the core run-time package, > > language sets, development headers and libraries, end-user documentation. > > Each sub-package is stored as a compressed archive (.tar.bz2 or whatever). > > The _package_ archive comprises the package metadata files (optionally > > compressed - useful for the larger files such as +CONTENTS) and the > > sub-package(s), each as a package archive member. > > that's exactly what HP-UX packages (depots) are w/ using another level. > > BUNDLE.PRODUCT.FILESET > > a bundle may contain one or more products which may contain one or more > filesets. usually, depot are just in the form of PRODUCT.FILESET where > PRODUCT is something like `tar' and FILESETS are something like `core', > `man', `lib', `shlib', `doc', etc. w/ dependencies between them. > > > The idea here is to allow individual access to those parts of the package > > that are needed individually, whilst gaining the benefits of compressing > > major portions of the package as collections of files (to which individual > > access is not generally required). > > > > While the division of an existing port into sub-packages requires effort, > > it's necessary only to gain the benefits of optionally-installable sub- > > packages. > > > > For existing ports, and for the majority of ports which will never likely be > > sub-package, pkg_create simple creates the package archive using the existing > > metadata files and a single compressed archive of the packages files. > [snip] > > IMHO, it would be better to provide each sub-package as it's own rather > to put them all in a single archive. so, you have more granularity on > what to download. if I just want tar-core and tar-man, I don't have to > fill my disk w/ tar-doc, etc. > > > The package install tools would allow the user to select between optional > > sub-packages. The base sub-package may be marked as "required". If there > > are only "required" sub-packages, or the user elects to install "all" or > > "only required" sub-packages, no dialog is necessary. And so on.. > > last year, I propose to port the SVR4 pkg commands to FreeBSD but no > one was interrested. so, I give up. Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message