Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gpucS-0008Ow-HY for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 02 Feb 2019 12:42:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gpucP-0002Jr-8N for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 02 Feb 2019 12:41:57 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gpucO-0002Jk-Vx for pgsql-pkg-debian@lists.postgresql.org; Sat, 02 Feb 2019 12:41:57 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gpucL-0002Kz-Bk for pgsql-pkg-debian@lists.postgresql.org; Sat, 02 Feb 2019 12:41:55 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1471:b720:76e5:bff:fef3:7e00]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 43sDB62N1gz3F0j; Sat, 2 Feb 2019 13:41:50 +0100 (CET) Date: Sat, 2 Feb 2019 13:41:49 +0100 From: Christoph Berg To: Sasa Vilic Cc: pgsql-pkg-debian@lists.postgresql.org Subject: Re: Debian package source Message-ID: <20190202124149.GA14677@msg.df7cb.de> References: <20190128140151.GE4211@msg.df7cb.de> <20190129082935.GA9860@msg.df7cb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Re: Sasa Vilic 2019-02-01 > but I believe I can manage from here. I was looking for where you keep > source of debian packages for postgres repository, but if it all comes from > debian, then I know what I need to do. Right. apt.pg.o packages are using the same source as Debian, just recompiled with a version number with a suffix. In some cases, additional tweaks are applied to get packages built for older distributions. In postgis' case, that is only the case on trusty: https://git.postgresql.org/gitweb/?p=pgapt.git;a=blob;f=jenkins/generate-pgdg-source#l296 > If you look at change log ( > https://salsa.debian.org/debian-gis-team/postgis/blob/master/debian/changelog > ) > you can see that Debian went from 2.3.3 to 2.4.0. I have a legacy system > with postgres 9.6 and I need to update postgis to 2.3.5 due to important > bugfix that came along with 2.3.5 (and I can't used 2.4.0 or newer). I want > to do this nicely, by creating Debian package and installing it (instead of > manually compiling and installing). You can take that git, check out the debian/2.3.3+dfsg-1 tag and start from there. Chances are that this will Just Work. Christoph