Subject: Re: GUI package admin tool
To: Jeremy C. Reed <>
From: David Brownlee <>
List: current-users
Date: 08/15/2000 10:46:08
On Mon, 14 Aug 2000, Jeremy C. Reed wrote:

> I noticed a Tcl/Tk script called tkpkg located under usr.sbin/pkg_install/
> and also at pkgsrc/pkgtools/pkg_install/work/pkg_install/. It is not
> installed and I see that tkpkg has not been worked on since May 1998. (On
> a side note: why are the pkg_install utilities in two places?)
	One is the version shipped with the system, the
	pkgsrc/pkgtools/pkg_install version is used to update older
	systems (for example if you use pkgsrc with 1.4)

> tkpkg can show all packages installed and show long description for a
> selected package. I didn't test it, but it has functionality to install,
> uninstall, and a broken "What can I install?" -- which tries to do:
>  pkg_info -I -c [glob -nocomplain *.{tgz,tar.z,tar.gz,tar.Z}] |tr
> Does anyone know the plan/status for tkpkg?
	It was brought across from FreeBSD when pkgsrc was set up, and
	I believe has been left in peace since.

> My plan is to write a tool for adding, removing and configuring NetBSD
> software packages. Also, display all installed packages and package
> dependencies -- and be able to check dependencies. And display package
> descriptions. The tool should be able to build packages from the pkgsrc
> tree or install from precompiled binary form (download or local). (Another
> question: is there some setting that will tell where the pkgsrc tree --
> pkgsrc/distfiles/ in particular -- is located? Or is
> /usr/pkgsrc/distfiles/ the standard?)
	Check /etc/mk.conf for PKGSRCDIR, and fallback to /usr/pkgsrc

			       -- A pmap for every occasion --