Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UCo6d-0000cB-GO for pgsql-www@arkaria.postgresql.org; Tue, 05 Mar 2013 09:24:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UCo6c-0005Gx-W4 for pgsql-www@arkaria.postgresql.org; Tue, 05 Mar 2013 09:24:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UCo6c-0005Gp-Dp; Tue, 05 Mar 2013 09:24:18 +0000 Received: from cl-2390.ham-01.de.sixxs.net ([2001:6f8:900:955::2] helo=feynman.df7cb.de) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UCo6Z-0002k9-K5; Tue, 05 Mar 2013 09:24:18 +0000 Received: from msgid.df7cb.de (benz.df7cb.de [IPv6:2001:6f8:10ee:e:134::2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3D8EF69777; Tue, 5 Mar 2013 10:24:13 +0100 (CET) Date: Tue, 5 Mar 2013 10:23:56 +0100 From: Christoph Berg To: Magnus Hagander Cc: Christophe Pettus , Josh Berkus , mpitt , Joshua Drake , PostgreSQL in Debian , PostgreSQL WWW Subject: Re: [pgsql-pkg-debian] We should not transition to apt.postgresql.org until we have a PPA Message-ID: <20130305092356.GA11586@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , Magnus Hagander , Christophe Pettus , Josh Berkus , mpitt , Joshua Drake , PostgreSQL in Debian , PostgreSQL WWW References: <20130220063653.GA2974@piware.de> <51250C62.6040009@agliodbs.com> <512D254A.6060101@agliodbs.com> <20130227054733.GA2945@piware.de> <512E5909.6070605@agliodbs.com> <512E5C0C.6010109@commandprompt.com> <5130F5B3.1040607@agliodbs.com> <125EC660-61CA-4054-949B-1738731F6687@thebuild.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="xesSdrSSBC0PokLI" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-www Precedence: bulk Sender: pgsql-www-owner@postgresql.org --xesSdrSSBC0PokLI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Re: Magnus Hagander 2013-03-04 > On Fri, Mar 1, 2013 at 7:44 PM, Christophe Pettus wrot= e: > > > > On Mar 1, 2013, at 10:43 AM, Magnus Hagander wrote: > > > >> Is fairly close to the stuff we were discussing to do. For one, it sho= uld use https and not http, but that requires server side changes so it mak= es sense Jeff couldn't do that. The complete lack of error checking if obvi= ously not very good. But the basic principle is certainly right. > > > > Then it is worth Jeff continuing development of it? >=20 > As a matter of principle, I don't see why not - though I'm not sure > how much of this stuff Christoph has already done? If we are providing a shell script, it should contain the key. The script we have in postgresql-common now is attached, if the bzr frontend on bzr.debian.org were not dead at the moment, the URL would be: http://anonscm.debian.org/loggerhead/pkg-postgresql/postgresql-common/trunk= /annotate/1296/pgdg/apt.postgresql.org.sh Christoph --=20 cb@df7cb.de | http://www.df7cb.de/ --xesSdrSSBC0PokLI Content-Type: application/x-sh Content-Disposition: attachment; filename="apt.postgresql.org.sh" Content-Transfer-Encoding: quoted-printable #!/bin/sh=0A= =0A= # script to add apt.postgresql.org to sources.list=0A= =0A= CODENAME=3D"$1"=0A= if [ -z "$CODENAME" ]; then=0A= CODENAME=3D$(lsb_release -cs 2>/dev/null)=0A= fi=0A= if [ -z "$CODENAME" -a -f /etc/os-release ]; then=0A= . /etc/os-release=0A= # extract from VERSION=3D"7.0 (wheezy)"=0A= CODENAME=3D$(echo $VERSION | sed -ne 's/.*(\(.*\)).*/\1/')=0A= fi=0A= if [ -z "$CODENAME" ]; then=0A= # guess from sources.list=0A= CODENAME=3D$(grep '^deb ' /etc/apt/sources.list | head -n1 | awk '{ pri= nt $3 }')=0A= fi=0A= =0A= cat < /etc/apt/sources.list.d/pgdg.list <