From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 3DD4C1FF164 for ; Fri, 6 Jun 2025 12:37:55 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 1F996A28A; Fri, 6 Jun 2025 12:38:14 +0200 (CEST) From: Christoph Heiss To: pve-devel@lists.proxmox.com Date: Fri, 6 Jun 2025 12:36:35 +0200 Message-ID: <20250606103719.533030-2-c.heiss@proxmox.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.029 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com, contributing.md, crates.io] Subject: [pve-devel] [PATCH debcargo-config proxmox/trixie] oci-spec: initial packaging at 0.8.1-1 X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Needed for Filips OCI image support series [0]. [0] https://lore.proxmox.com/pve-devel/20250520124257.165949-1-f.schauer@proxmox.com/ Signed-off-by: Christoph Heiss --- Applies to the `proxmox/trixie` branch. Packaging for bookworm would involve bumping/backporting quite a few dependencies of this crate, for Trixie it's pretty straight-forward fortunately. src/oci-spec/debian/changelog | 5 +++ src/oci-spec/debian/copyright | 23 +++++++++++++ src/oci-spec/debian/copyright.debcargo.hint | 36 ++++++++++++++++++++ src/oci-spec/debian/debcargo.toml | 2 ++ src/oci-spec/debian/patches/relax-deps.patch | 26 ++++++++++++++ src/oci-spec/debian/patches/series | 1 + 6 files changed, 93 insertions(+) create mode 100644 src/oci-spec/debian/changelog create mode 100644 src/oci-spec/debian/copyright create mode 100644 src/oci-spec/debian/copyright.debcargo.hint create mode 100644 src/oci-spec/debian/debcargo.toml create mode 100644 src/oci-spec/debian/patches/relax-deps.patch create mode 100644 src/oci-spec/debian/patches/series diff --git a/src/oci-spec/debian/changelog b/src/oci-spec/debian/changelog new file mode 100644 index 0000000000..9244a46fc6 --- /dev/null +++ b/src/oci-spec/debian/changelog @@ -0,0 +1,5 @@ +rust-oci-spec (0.8.1-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium + + * Package oci-spec 0.8.1 from crates.io using debcargo 2.7.8 + + -- Christoph Heiss Mon, 2 Jun 2025 12:34:21 +0200 diff --git a/src/oci-spec/debian/copyright b/src/oci-spec/debian/copyright new file mode 100644 index 0000000000..899447e645 --- /dev/null +++ b/src/oci-spec/debian/copyright @@ -0,0 +1,23 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: oci-spec +Upstream-Contact: + Sascha Grunert + Toru Komatsu +Source: https://github.com/youki-dev/oci-spec-rs + +Files: * +Copyright: + 2021-2025 Furisto + 2021-2025 Sascha Grunert + 2021-2025 Toru Komatsu +License: Apache-2.0 + +Files: debian/* +Copyright: + 2025 Debian Rust Maintainers + 2025 Christoph Heiss +License: Apache-2.0 + +License: Apache-2.0 + Debian systems provide the Apache 2.0 license in + /usr/share/common-licenses/Apache-2.0 diff --git a/src/oci-spec/debian/copyright.debcargo.hint b/src/oci-spec/debian/copyright.debcargo.hint new file mode 100644 index 0000000000..6b6b35a18a --- /dev/null +++ b/src/oci-spec/debian/copyright.debcargo.hint @@ -0,0 +1,36 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: oci-spec +Upstream-Contact: + Furisto + Sascha Grunert + Toru Komatsu +Source: https://github.com/youki-dev/oci-spec-rs + +Files: * +Copyright: + FIXME (overlay) UNKNOWN-YEARS Furisto + FIXME (overlay) UNKNOWN-YEARS Sascha Grunert + FIXME (overlay) UNKNOWN-YEARS Toru Komatsu +License: Apache-2.0 +Comment: + FIXME (overlay): Since upstream copyright years are not available in + Cargo.toml, they were extracted from the upstream Git repository. This may not + be correct information so you should review and fix this before uploading to + the archive. + +Files: CONTRIBUTING.md +Copyright: 2004, 2006 The Linux Foundation and its contributors. +License: UNKNOWN-LICENSE; FIXME (overlay) +Comment: + FIXME (overlay): These notices are extracted from files. Please review them + before uploading to the archive. + +Files: debian/* +Copyright: + 2025 Debian Rust Maintainers + 2025 Christoph Heiss +License: Apache-2.0 + +License: Apache-2.0 + Debian systems provide the Apache 2.0 license in + /usr/share/common-licenses/Apache-2.0 diff --git a/src/oci-spec/debian/debcargo.toml b/src/oci-spec/debian/debcargo.toml new file mode 100644 index 0000000000..d38b2c8588 --- /dev/null +++ b/src/oci-spec/debian/debcargo.toml @@ -0,0 +1,2 @@ +overlay = "." +uploaders = ["Christoph Heiss "] diff --git a/src/oci-spec/debian/patches/relax-deps.patch b/src/oci-spec/debian/patches/relax-deps.patch new file mode 100644 index 0000000000..0c9e27a78c --- /dev/null +++ b/src/oci-spec/debian/patches/relax-deps.patch @@ -0,0 +1,26 @@ +Index: oci-spec/Cargo.toml +=================================================================== +--- oci-spec.orig/Cargo.toml ++++ oci-spec/Cargo.toml +@@ -61,7 +61,7 @@ version = "0.2" + version = "0.20.0" + + [dependencies.getset] +-version = "0.1.3" ++version = "0.1" + + [dependencies.quickcheck] + version = "1.0.3" +@@ -78,10 +78,10 @@ features = ["derive"] + version = "1.0.66" + + [dependencies.strum] +-version = "0.27.0" ++version = "0.26" + + [dependencies.strum_macros] +-version = "0.27.0" ++version = "0.26" + + [dependencies.thiserror] + version = "2.0.0" diff --git a/src/oci-spec/debian/patches/series b/src/oci-spec/debian/patches/series new file mode 100644 index 0000000000..bdddf05ae5 --- /dev/null +++ b/src/oci-spec/debian/patches/series @@ -0,0 +1 @@ +relax-deps.patch -- 2.49.0 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel