[pve-devel] [PATCH debcargo-config proxmox/trixie] oci-spec: initial packaging at 0.8.1-1

Christoph Heiss c.heiss at proxmox.com
Fri Jun 6 12:36:35 CEST 2025


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 <c.heiss at proxmox.com>
---
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 <c.heiss at proxmox.com>  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 <sgrunert at redhat.com>
+ Toru Komatsu <k0ma at utam0k.jp>
+Source: https://github.com/youki-dev/oci-spec-rs
+
+Files: *
+Copyright:
+ 2021-2025 Furisto
+ 2021-2025 Sascha Grunert <sgrunert at redhat.com>
+ 2021-2025 Toru Komatsu <k0ma at utam0k.jp>
+License: Apache-2.0
+
+Files: debian/*
+Copyright:
+ 2025 Debian Rust Maintainers <pkg-rust-maintainers at alioth-lists.debian.net>
+ 2025 Christoph Heiss <c.heiss at proxmox.com>
+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 <sgrunert at redhat.com>
+ Toru Komatsu <k0ma at utam0k.jp>
+Source: https://github.com/youki-dev/oci-spec-rs
+
+Files: *
+Copyright:
+ FIXME (overlay) UNKNOWN-YEARS Furisto
+ FIXME (overlay) UNKNOWN-YEARS Sascha Grunert <sgrunert at redhat.com>
+ FIXME (overlay) UNKNOWN-YEARS Toru Komatsu <k0ma at utam0k.jp>
+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 <pkg-rust-maintainers at alioth-lists.debian.net>
+ 2025 Christoph Heiss <c.heiss at proxmox.com>
+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 <c.heiss at proxmox.com>"]
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





More information about the pve-devel mailing list