From: Christoph Heiss <c.heiss@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH debcargo-config proxmox/trixie] oci-spec: initial packaging at 0.8.1-1
Date: Fri, 6 Jun 2025 12:36:35 +0200 [thread overview]
Message-ID: <20250606103719.533030-2-c.heiss@proxmox.com> (raw)
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@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@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@redhat.com>
+ Toru Komatsu <k0ma@utam0k.jp>
+Source: https://github.com/youki-dev/oci-spec-rs
+
+Files: *
+Copyright:
+ 2021-2025 Furisto
+ 2021-2025 Sascha Grunert <sgrunert@redhat.com>
+ 2021-2025 Toru Komatsu <k0ma@utam0k.jp>
+License: Apache-2.0
+
+Files: debian/*
+Copyright:
+ 2025 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
+ 2025 Christoph Heiss <c.heiss@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@redhat.com>
+ Toru Komatsu <k0ma@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@redhat.com>
+ FIXME (overlay) UNKNOWN-YEARS Toru Komatsu <k0ma@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@alioth-lists.debian.net>
+ 2025 Christoph Heiss <c.heiss@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@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
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
reply other threads:[~2025-06-06 10:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250606103719.533030-2-c.heiss@proxmox.com \
--to=c.heiss@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.