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 1ttINg-00AjtP-D8 for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 15 Mar 2025 03:40:12 +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 1ttIMf-004qVA-J3 for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 15 Mar 2025 03:39:09 +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 1ttIMf-004qRH-C2 for pgsql-pkg-debian@lists.postgresql.org; Sat, 15 Mar 2025 03:39:09 +0000 Received: from mail-oo1-xc35.google.com ([2607:f8b0:4864:20::c35]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1ttIMd-002ug1-1U for pgsql-pkg-debian@postgresql.org; Sat, 15 Mar 2025 03:39:08 +0000 Received: by mail-oo1-xc35.google.com with SMTP id 006d021491bc7-601ebdf02daso477360eaf.0 for ; Fri, 14 Mar 2025 20:39:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742009947; x=1742614747; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=yIr4SZkTY5QEDB3X4tLtyRb6L1soWbsh5mzWezw57qI=; b=cmJLalFFKwzIMziprTpMlQdipm0misE8pkhcFBEM5sJLaiE/oXyM8Nnn7tkF08QGe6 NIX7sbM+KoLarGXsSuRt8qKdb21hROJY7ayHqYP3cXKFcRZaUvV2H9ajB2iN33eLTvpX 59c8rRpx/qNn/9blrK+pnTp2Gv3q1AuAxFQcynEkeLdDJOV02q7emzisWE9yvev72Q0z QUu0GQVcQoEkvsHNvqCnAYZ8Ds1I+w+uEVzxu65r3rk1eGoyyx2sFq8Nqnmp/i5m98TS e6kVqoJB4iFzAQnXcROX15lMTqH5P6mnmg1aF5cgb7L1ML97ltq2PcTvC3qEGOsQliQo AD1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742009947; x=1742614747; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yIr4SZkTY5QEDB3X4tLtyRb6L1soWbsh5mzWezw57qI=; b=uQlFtpvBIoCNR2qxVApW3ECBcYUqILdyvNwAwYvnG8lnEiYLfec6uni9Nl7TvZrAXN SQhYN2+d1j4nChjfwf1bDElpZ/das7RIn5I/8A3I6mXX8G87ohzr+Qa9YKF8+KO6tvMZ WPf0fUfJzpWx7VtGuo1hhxrRQlCPlnEJozOJwJPhXJzcCNYhG6v9uwoHg7CLyWVM4pTc Q//1rMMF7VX7GqbO6g7PsYvpAlE1LAUCA50GeXVwXug/tUEQGG3M56SKYUWEAffXgAUN TJVGXdEF9044jRK0es8wkuxASbu3lyS3Fw+gQ+sxNYYcwjQu4eB0Cp3hA1UOfe4VmLcC 0Frg== X-Forwarded-Encrypted: i=1; AJvYcCVOVcBCYgSTHrNHMi9b/G0xZaPBCBawJc58pR8mhsJuvVA64sToj4I2QbG7FMGaOh4oGCgHOb8kvaGoC2Yqs4dH@postgresql.org X-Gm-Message-State: AOJu0Yx8hxBa0+KxEvLjXTodvFgN/YaeQULCtpkVXHP4FLdbWLxGctMt APyaBWpxrdg2au2FAf7zblOnNNQqpqa2MqnP2jy1AGxCLJKkPQ1VZBQnF4RJPT0LJVvI31Ojuzj RZZEMZrW/tYGye9iRWvy2co62aO0= X-Gm-Gg: ASbGnctYZLMmpz737qubTfezONx0uRri1KFnian8K3ClukYLR4gKtIb8eEgT2ilyXjN ra4w2dzFfSVWArrTrhl2PvYRtMrS7hjzLhFJKl0mQ8YO0jMcJtKVSUwPFMkI54bs7usBWS4N336 cWh+poFGSaEjQ6kwlLAzYt7POInA== X-Google-Smtp-Source: AGHT+IE+lrAYH7GUvNahPdxivXb0dNoy3C951M+bnwyVYbgCxOdZIXDbdoTfqr69K3eNLRlm4meu1aX8vy786yX/NfE= X-Received: by 2002:a4a:ea8e:0:b0:5fc:fa1b:a5c9 with SMTP id 006d021491bc7-601dab9392dmr5229747eaf.1.1742009946995; Fri, 14 Mar 2025 20:39:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bradford Boyle Date: Fri, 14 Mar 2025 20:38:56 -0700 X-Gm-Features: AQ5f1Jr3qxOHU1KVsgEHJz4DW0SJK_h-taFHKjCqfzs3ABWQS05pSA1NhhXQNAg Message-ID: Subject: Re: Packages for pg_doorman To: Smolkin Grigory Cc: Christoph Berg , pgsql-pkg-debian@postgresql.org Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > >> Build Process: > >> Would it be acceptable to install the compiler from https://rustup.rs/ > >> during package building? My understanding is that Debian policy does not permit downloading during the build [0]. > > Can we use cargo vendor? > https://doc.rust-lang.org/cargo/commands/cargo-vendor.html > > > We can pack all rust-dependencies in separate tarball. > That way it will be possible to build packages with single unified behavior for all systems using the same sources. According to this post [1] on the debian-rust mailing list, "vendoring should be avoided unless there is a very good reason not to". The Debian Rust packaging team has a pretty comprehensive guide [2] and it looks like they have tooling to help assist with the packaging process. -- Bradford [0]: https://lists.debian.org/debian-devel/2020/12/msg00215.html [1]: https://lists.debian.org/debian-rust/2024/11/msg00029.html [2]: https://salsa.debian.org/rust-team/debcargo-conf/blob/master/README.rst