*BSD News Article 38755


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!newshost.marcam.com!news.mathworks.com!noc.near.net!atria.com!jtk
From: jtk@atria.com (John Kohl)
Subject: Re: NetBSD package tools available
In-Reply-To: nate@bsd.coe.montana.edu's message of 30 Nov 1994 21:47:24 GMT
Message-ID: <D06tny.Mws@atria.com>
Sender: news@atria.com
Nntp-Posting-Host: banana.atria.com
Organization: Atria Software, Inc.
References: <D031n1.K36@atria.com> <3birtc$714@pdq.coe.montana.edu>
Date: Fri, 2 Dec 1994 14:31:09 GMT
Lines: 48

>>>>> "Nate" == Nate Williams <nate@bsd.coe.montana.edu> writes:
In article <3birtc$714@pdq.coe.montana.edu> nate@bsd.coe.montana.edu (Nate Williams) writes:

Nate> Just out of curiousity, what kind of whacking did you do?  What
Nate> was missing or broken that you needed to change?

OK, here's what I gleaned from my RCS diffs:

* added direct support for declared dependencies, without having to do
	this via executed install scripts (including force options on add and
	delete to ignore required/existing dependencies)
* added support to run an mtree file to create/set a directory tree upon
	unpacking
* add support to display a file at install time (useful for things like
	legal notices for GPL items, or reminders to read other install docs,
	etc.)
* changes to pkg_create and pkg_add to hard-link files on the way into
	and out of a package when possible--cuts down on creation and install
	time.
* change default mode of delete to NOT remove empty directories as it
	removes the package.  I think this is a dangerous mode of
	operation; you can select this if you want with -d.
* converted man pages to new style macros (-mandoc)
* umask(022) when extracting files, so that any new directories don't
	accidentally get created with write bits for group or other
* added prominent warnings to man pages about the potential for trojan
	horses
* diddle with tkpkg so it captured error output from pkg_info
* batch up mode/owner changes on extract into as few invocations of
	chmod/chgrp/chown as possible
* add keyword to have file included in package but not installed by it
* fixed at least one bug, introduced at least one new bug

Things I think still need to be done:

* tool to create packing lists
* figure out a way to untar directly into place if authorized
* probably add @mkdir command with modes of some sort for intermediates
* arrange tarfile so +DESC & friends are at the front (I think this can
	be done by putting some dummy filenames into the playpen directory,
	adding the package contents, then removing the dummy filenames and
	copying in the real file things.)
* version identifiers/ranges on package dependencies?

--
John Kohl <jtk@atria.com> or <jtkohl@mit.edu>
working for but not representing:	Atria Software
sometimes hacking on:			NetBSD/i386