Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tcncZ-002lN9-Hl for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 28 Jan 2025 15:35:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tcncY-001nsC-NF for pgsql-pkg-debian@arkaria.postgresql.org; Tue, 28 Jan 2025 15:35:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tcncY-001nrr-Ha for pgsql-pkg-debian@lists.postgresql.org; Tue, 28 Jan 2025 15:35:22 +0000 Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tcncV-001xhG-2p for pgsql-pkg-debian@lists.postgresql.org; Tue, 28 Jan 2025 15:35:21 +0000 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4Yj8Vn2gKPz9sWt; Tue, 28 Jan 2025 16:35:13 +0100 (CET) Date: Tue, 28 Jan 2025 16:35:12 +0100 From: Christoph Berg To: pgsqlitegis@tutamail.com Cc: PostgreSQL in Debian Subject: Re: Redis & SQLite FDW packages Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: pgsqlitegis@tutamail.com > I have absolutely no deb package expirience. I am confused about better way of packege creating. For example SQLite FDW supports PostgreSQL 11..17, x86 and arm architectures at least and 2 modes - with GIS support and without GIS support. > For example there are possible > pg 17 + GIS + x86 > pg 17 + GIS + arm > pg 17 + GIS + ... > pg 17 + noGIS + x86 > pg 17 + noGIS + arm > pg 17 + noGIS + ... > > pg 16 + GIS + x86 Is there any value in creating a separate "no GIS" variant? We usually just enable all features. Looping over the PG versions will be handled by pg_buildext in the packaging toolchain. Looping over architectures is handled by invoking that build separate on each architecture. > MySQL FDW system of packages seems me ununderstandable and very hard. Check any other extension then? > By https://salsa.debian.org/postgresql/postgresql-common/-/blob/master/doc/postgresql-debian-packaging.md I think better 1st step is source code package, isn't it? You create a source package (well, you create debian/ and then the source package is built from that). From that, the binary packages are built. > I can prepare debian/control and something other debian/ files, but don't know anythink about PGDG apt package building infrastructure and metadata. debian/ is all that is required. Christoph