From owner-freebsd-ports@FreeBSD.ORG Mon Oct 25 23:53:33 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 7A4D516A4E6 for ; Mon, 25 Oct 2004 23:53:33 +0000 (GMT) Received: from mail.lovett.com (core.lovett.com [216.168.8.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63B2743D41 for ; Mon, 25 Oct 2004 23:53:33 +0000 (GMT) (envelope-from ade@FreeBSD.org) Received: from 66-169-245-9.or.charter.com ([66.169.245.9] helo=[10.21.91.101]) by mail.lovett.com with esmtpa (Exim 4.43 (FreeBSD)) id 1CMEeb-000OFX-7n for ports@FreeBSD.org; Mon, 25 Oct 2004 23:53:33 +0000 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <13E719C4-26E1-11D9-8085-000A956B6386@FreeBSD.org> Content-Type: text/plain; charset=US-ASCII; format=flowed To: ports@FreeBSD.org From: Ade Lovett Date: Mon, 25 Oct 2004 16:53:32 -0700 X-Mailer: Apple Mail (2.619) Subject: [EXPERIMENTAL] New postgresql ports 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: Mon, 25 Oct 2004 23:53:33 -0000 As promised (threatened? :), I've been working on a fold-out of the existing postgresql ports into true -client/-server/-contrib/-docs ports, for both 7.4.x (currently 7.4.6) and the upcoming 8.0 (currently 8.0-beta4). Before reading any further, ask yourself the following questions: (1) do I know how ports work (in good detail)? (2) do I know how postgresql works (again, in good detail)? (3) do I care if my postgresql database gets shot into a million tiny little pieces by this (ie: a spare devel box). If you didn't answer YES to all three above, then this is not (yet) ready for you -- it's highly experimental and most likely WILL eat your database, set fire to your network, choke you with some multimode fiber, and run off with your first-born. That said, however, the 7.4.x ports are based off of internal ports that have been running in anger for some considerable time now -- I make no such warranties for 8.0 :) What's been done: * split of ports into -client, -server, -contrib and -docs for both 7.4.x and 8.0.x (note 7.2.x and 7.3.x will almost certainly never be modified into the new world order, please upgrade to 7.4 :) * use of OPTIONS and UNIQUENAME to ensure that all parts of the postgresql system get built with the same flags. To do: * incorporate kerberos hooks into the framework - I don't run kerberos here, so it's somewhat difficult to test. Should be relatively trivial to add in later. * incorporate CONFLICTS checking - currently, there isn't any. * once postgresql 8.0 has a newer shared-lib version that 7.4.x, implement USE_POSTGRESQL= * hack, slash, and otherwise maim other ports into USE_POSTGRESQL. The port infrastructure can be found here: http://people.FreeBSD.org/~ade/pgsql-split.tar.bz2 http://people.FreeBSD.org/~ade/pgsql-split.tar.bz2.md5 MD5 (pgsql-split.tar.bz2) = f8f9b601ca560166e14cc6deb0c028aa extract into ${PORTSDIR}/databases on your machine (these are new ports, so it won't overwrite anything - yet), and you'll end up with the following new ports: postgresql74-client postgresql74-contrib postgresql74-docs postgresql74-server postgresql80-client postgresql80-contrib postgresql80-docs postgresql80-server Feedback greatly appreciated. -aDe