From owner-freebsd-current Sat Jan 6 23:48:10 2001 Delivered-To: freebsd-current@freebsd.org Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (Postfix) with ESMTP id 1046637B400; Sat, 6 Jan 2001 23:47:46 -0800 (PST) Received: from C992631-A.pinol1.sfba.home.com (C992631-A.pinol1.sfba.home.com [24.12.58.155]) by shale.csir.co.za (8.9.3/8.9.3) with ESMTP id JAA27171; Sun, 7 Jan 2001 09:47:27 +0200 (SAT) (envelope-from reg@shale.csir.co.za) Received: (from reg@localhost) by C992631-A.pinol1.sfba.home.com (8.11.1/8.11.1) id f077l0D48707; Sat, 6 Jan 2001 23:47:00 -0800 (PST) (envelope-from reg) Date: Sat, 6 Jan 2001 23:46:55 -0800 From: Jeremy Lea To: freebsd-ports@FreeBSD.org, "Jordan K. Hubbard" Cc: freebsd-current@FreeBSD.org, Satoshi Asami Subject: Latest on rewrite of pkg_install tools. Message-ID: <20010106234655.K388@shale.csir.co.za> Mail-Followup-To: Jeremy Lea , freebsd-ports@FreeBSD.org, "Jordan K. Hubbard" , freebsd-current@FreeBSD.org, Satoshi Asami Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, hub seems to be acting up, so I'm sending this a second time... Sorry for any duplicates. At http://people.FreeBSD.org/~reg/, I have placed the latest of my patches to the pkg_install tools. This is an almost complete rewrite of the tools, based around a 'Package Manager', which supplies an API which could be used by third party applications (like a KDE or GTK+ application.) There is more status on the page, but the current patch set implements: - which(1) like functionality, to tell you which package installed a particular file. - BUILD_DEPEND and LIB_DEPEND style dependency checking, which relies on installed files and libraries, not the package names. - Use pkg_add from bsd.port.mk, so that building a port no longer requires any of the dependencies to be checked out. - Backup packages created from the installed packages. Future enhancements include the ability to run a backup script to save local configuration/data files into the backup package. - Inplace upgrading of installed packages, by deleting the old package, except it's shared libraries, and merging these into the new package's plist. This will obsolete the recent pkg_upgrade commit. The code is pretty rough at the moment. I'm still testing it, so expect a new release soon, with a bunch of bug fixes. I would really like people to comment on the added functionality, the design and pkg_mgr API and also do some testing for me. There is also a patch for bsd.port.mk, which uses these changes. Regards, -Jeremy -- FreeBSD - Because the best things in life are free... http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message