Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id E50F1B5DBCA for ; Sat, 18 Jun 2011 12:37:16 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 87458-01 for ; Sat, 18 Jun 2011 15:37:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from acidenitrix.villemain.org (acidenitrix.villemain.org [91.121.90.165]) by mail.postgresql.org (Postfix) with ESMTP id 89FD6B5DBBE for ; Sat, 18 Jun 2011 12:37:09 -0300 (ADT) Received: from [89.157.192.174] (helo=DimIMac.local) by acidenitrix.villemain.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1QXxa6-0004rb-8i; Sat, 18 Jun 2011 17:37:06 +0200 Received: by DimIMac.local (Postfix, from userid 501) id 4AF0921F5AC6; Sat, 18 Jun 2011 17:36:58 +0200 (CEST) From: Dimitri Fontaine To: Christoph Berg Cc: PostgreSQL in Debian Subject: Re: Updated pg_buildext Organization: 2ndQuadrant References: <20110617152500.GH4130@msgid.df7cb.de> User-Mail-Address: dimitri@2ndQuadrant.fr Date: Sat, 18 Jun 2011 17:36:57 +0200 In-Reply-To: <20110617152500.GH4130@msgid.df7cb.de> (Christoph Berg's message of "Fri, 17 Jun 2011 17:25:00 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201106/4 X-Sequence-Number: 4 Hi, Christoph Berg writes: > here's my updated pg_buildext script. Most notable changes are the > addtion of the "configure" and "install" actions and that it catches > more errors (set -e, die() calls). I like your changes! I recall that doing the build in the vtarget directory was important in my usage, but it could be that you new -f $makefile style allows to run the build from any directory=E2=80=A6 > Dimitri, do you think that should go into the next postgresql-common > version? Yes. > (Todo: think about a smart and policy-compliant way to update > debian/control. Also, try using with 9.1 modules.) As we rely on the extension's Makefile I think we're as good as can be for 9.1. For debian/control, we have the mechanism to automatically derive it from supported-versions, we need to reach on a conclusion about its use being safe. The other TODO would be what to do about VPATH unfriendly extensions. Some of them are using subdirectories where to stash regression tests, docs, etc. Then building from another place is a problem: maybe that's why you removed my forcing building in $vtarget? Regards, --=20 Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support