From owner-freebsd-hackers Thu Apr 16 11:14:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA00493 for freebsd-hackers-outgoing; Thu, 16 Apr 1998 11:14:40 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from zwei.siemens.at (zwei.siemens.at [193.81.246.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA00462 for ; Thu, 16 Apr 1998 18:14:28 GMT (envelope-from lada@pc8811.gud.siemens.at) Received: from pc8811.gud.siemens.at (root@firix [10.1.143.100]) by zwei.siemens.at with ESMTP id UAA16823; Thu, 16 Apr 1998 20:12:57 +0200 (MET DST) Received: from pc8811.gud.siemens.at (pc8811.gud.siemens.co.at [195.3.22.159]) by pc8811.gud.siemens.at (8.8.8/8.8.8) with ESMTP id UAA02882; Thu, 16 Apr 1998 20:14:24 +0200 (CEST) (envelope-from lada@pc8811.gud.siemens.at) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199804152224.IAA03296@gsms01.alcatel.com.au> Date: Thu, 16 Apr 1998 20:14:24 +0200 (CEST) Organization: Siemens Austria AG From: Marino Ladavac To: Peter Jeremy Subject: RE: Package management (was Re: Come on guys, close a PR or two, Cc: freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 15-Apr-98 Peter Jeremy wrote: > Some disadvantages of the SysV package style (or at least Sun's > implementation thereof): > 1) There's no provision for compressing the package. This is fairly > essential for Internet-based distribution. This is a minor issue: I wrote SysV style, not SysV reimplementation. It would be to our advantage at least to be able to read the SysV packages. We can have our own stream format (used by default when packaging) consisting basically of a header and a tar-gzipped data tarred together. The header shall contain all dependency info, at least. This is not unlike the present package format. > 2) The `datastream' format can only be understood by the package > management tools - whilst the guts are a cpio (yuk) archive, > there's a header that needs to be stripped off before cpio can > understand it. As Terry said, we must be able to install such packages. This may prove crucial in the light of possible x86 UNIX common ABI. Furthermore, additional extensions (prepackaging and postpackaging actions, support for patches and patch removal) have proven themselves as advantageous in practice. I intend to build a generic extension mechanism into prototype syntax. > My suggestions for the requirements (in order): I agree with your requirements, and have some additional comments: > 1) Menu-driven interface (in addition to the command line interface). > The current pkg_manage is probably OK as a UI, but is incredibly > slow (because of the amount of package unpacking it does). Sounds fine, but I alone may not be able to implement the front-end. The amount of unpacking necessary to retrieve the dependency info should be reasonable (i.e. tar xf -fast package header). > 6) Package contents and description can be determined quickly (ie > without unpacking the entire package) Header extraction should suffice. > 8) Package contents can be extracted using normal tools (eg tar, gzip) > if necessary (this may be mutually exclusive with 6 above). Not necessarily. The header should contain the complete prototype which is just plain old ASCII. > 9) Packages can be installed without requiring a staging area equal in > size to the unpacked package. This may prove to be difficult (or slow). Would you agree to the staging area as a default optimization? > > Unfortunately, at this stage, I don't have the spare time to actually > implement suitable tools. This is unfortunate :( /Marino ---------------------------------- Marino Ladavac Date: 16-Apr-98 Time: 19:43:01 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message