From owner-freebsd-ports@FreeBSD.ORG Tue May 4 02:09:30 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C0AF16A4CE for ; Tue, 4 May 2004 02:09:30 -0700 (PDT) Received: from ctb-mesg6.saix.net (ctb-mesg6.saix.net [196.25.240.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E54143D2D for ; Tue, 4 May 2004 02:09:29 -0700 (PDT) (envelope-from reg@lantic.net) Received: from local (wpaw-ip-nas-1-p10.telkom-ipnet.co.za [155.239.120.10]) by ctb-mesg6.saix.net (Postfix) with ESMTP id EFA8455E0; Tue, 4 May 2004 11:09:20 +0200 (SAST) Received: from local (shale.local [192.168.0.1]) by local (8.12.11/8.12.11) with ESMTP id i449AiQK007923; Tue, 4 May 2004 11:10:44 +0200 (SAT) (envelope-from reg@local) Received: (from reg@localhost) by local (8.12.11/8.12.11/Submit) id i449AhGH007922; Tue, 4 May 2004 11:10:43 +0200 (SAT) (envelope-from reg) Date: Tue, 4 May 2004 11:10:43 +0200 From: Jeremy Lea To: freebsd-ports@FreeBSD.org Message-ID: <20040504091043.GA1051@shale.local> Mail-Followup-To: Jeremy Lea , freebsd-ports@FreeBSD.org, fpkg-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i cc: fpkg-devel@lists.sourceforge.net Subject: FreePKG: An alternative to the pkg_* tools X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 09:09:30 -0000 Hi, Some time ago, I began to work on adding some features to the pkg_install tools. This work was mostly ignored by the FreeBSD community (except for the bits stolen and committed without attribution). There was some interest from openpackages.org, but that project has died... I have continued to work on these tools however, and have now registered a SourceForge project, as FreePKG. FreePKG is an almost complete re-write of the pkg_* tools, aimed at restructuring the code so that it is understandable and easy to use... It has the following features which are not available in the pkg_* tools. 1. Uses LIB_DEPEND and RUN_DEPEND style dependencies in packages, so that you can run alternate versions, of say ghostscript, without problems. 2. Can upgrade packages from one version to another. (So you don't have to reinstall when someone bumps a revision of something like glib). This should also allow the tools to be used to install parts of /usr/src as packages, which are automatically upgraded during an installworld, removing old files. (sendmail comes to mind). 3. Has a fairly carefully defined API to libfpkg, so that other programs can link with it and use it to install packages. I'm hoping to start work on a GTK+ based package tool soon. 4. Additional features such as NetBSD's file.db support, so that the tools can quickly detect conflicts. There is a patch for bsd.port.mk to. I intend moving nearly all of the INSTALL_SEQ and INSTALL_SU_SEQ targets into fpkg_create(1), so that it can do all of the munging in /var/db/pkg, and all of the plist processing. I have no intention of initiating any attempt to get these tools imported into FreeBSD. I've decided on a very different approach to the Ports/Packages collection to the way that things appear to be going. However, these tools are functional, and some people might find them useful. Additional developers/testers would be most welcome. I've been able to spend some time working on them in the past few weeks, and so they are currently in an alpha state, because I've changed a lot of things around. I am hoping to do a tarball release as soon as I figure out the SourceForge system for doing that ;-)... More info can be found at: http://sourceforge.net/projects/fpkg/ http://fpkg.sourceforge.net/ Regards, -Jeremy -- | What will people think when they hear that I'm a Jesus freak? --+-- What will people do when they find that it's true? | I don't really care if they label me a Jesus Freak, | There ain't no disguising the truth. - d c Talk