[pve-devel] [RFC proxmox 5/7] cache: add debian packaging
Lukas Wagner
l.wagner at proxmox.com
Mon Aug 21 15:44:42 CEST 2023
Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
proxmox-cache/debian/changelog | 5 ++++
proxmox-cache/debian/control | 47 ++++++++++++++++++++++++++++++
proxmox-cache/debian/copyright | 18 ++++++++++++
proxmox-cache/debian/debcargo.toml | 7 +++++
4 files changed, 77 insertions(+)
create mode 100644 proxmox-cache/debian/changelog
create mode 100644 proxmox-cache/debian/control
create mode 100644 proxmox-cache/debian/copyright
create mode 100644 proxmox-cache/debian/debcargo.toml
diff --git a/proxmox-cache/debian/changelog b/proxmox-cache/debian/changelog
new file mode 100644
index 0000000..695750d
--- /dev/null
+++ b/proxmox-cache/debian/changelog
@@ -0,0 +1,5 @@
+rust-proxmox-cache (0.1.0-1) unstable; urgency=medium
+
+ * initial Debian package
+
+ -- Proxmox Support Team <support at proxmox.com> Thu, 04 May 2023 08:40:38 +0200
diff --git a/proxmox-cache/debian/control b/proxmox-cache/debian/control
new file mode 100644
index 0000000..b01dd4a
--- /dev/null
+++ b/proxmox-cache/debian/control
@@ -0,0 +1,47 @@
+Source: rust-proxmox-cache
+Section: rust
+Priority: optional
+Build-Depends: debhelper (>= 12),
+ dh-cargo (>= 25),
+ cargo:native <!nocheck>,
+ rustc:native <!nocheck>,
+ libstd-rust-dev <!nocheck>,
+ librust-anyhow-1+default-dev <!nocheck>,
+ librust-proxmox-schema-2+api-types-dev <!nocheck>,
+ librust-proxmox-schema-2+default-dev <!nocheck>,
+ librust-proxmox-sys-0.5+default-dev <!nocheck>,
+ librust-proxmox-time-1+default-dev (>= 1.1.4-~~) <!nocheck>,
+ librust-serde-1+default-dev <!nocheck>,
+ librust-serde-1+derive-dev <!nocheck>,
+ librust-serde-json-1+default-dev <!nocheck>
+Maintainer: Proxmox Support Team <support at proxmox.com>
+Standards-Version: 4.6.1
+Vcs-Git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/proxmox-cache]
+Vcs-Browser: https://salsa.debian.org/rust-team/debcargo-conf/tree/master/src/proxmox-cache
+X-Cargo-Crate: proxmox-cache
+Rules-Requires-Root: no
+
+Package: librust-proxmox-cache-dev
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ librust-anyhow-1+default-dev,
+ librust-proxmox-schema-2+api-types-dev,
+ librust-proxmox-schema-2+default-dev,
+ librust-proxmox-sys-0.5+default-dev,
+ librust-proxmox-time-1+default-dev (>= 1.1.4-~~),
+ librust-serde-1+default-dev,
+ librust-serde-1+derive-dev,
+ librust-serde-json-1+default-dev
+Provides:
+ librust-proxmox-cache+default-dev (= ${binary:Version}),
+ librust-proxmox-cache-0-dev (= ${binary:Version}),
+ librust-proxmox-cache-0+default-dev (= ${binary:Version}),
+ librust-proxmox-cache-0.1-dev (= ${binary:Version}),
+ librust-proxmox-cache-0.1+default-dev (= ${binary:Version}),
+ librust-proxmox-cache-0.1.0-dev (= ${binary:Version}),
+ librust-proxmox-cache-0.1.0+default-dev (= ${binary:Version})
+Description: Cache implementations - Rust source code
+ This package contains the source for the Rust proxmox-cache crate, packaged by
+ debcargo for use with cargo and dh-cargo.
diff --git a/proxmox-cache/debian/copyright b/proxmox-cache/debian/copyright
new file mode 100644
index 0000000..0d9eab3
--- /dev/null
+++ b/proxmox-cache/debian/copyright
@@ -0,0 +1,18 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files:
+ *
+Copyright: 2019 - 2023 Proxmox Server Solutions GmbH <support at proxmox.com>
+License: AGPL-3.0-or-later
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU Affero General Public License as published by the Free
+ Software Foundation, either version 3 of the License, or (at your option) any
+ later version.
+ .
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU Affero General Public License along
+ with this program. If not, see <https://www.gnu.org/licenses/>.
diff --git a/proxmox-cache/debian/debcargo.toml b/proxmox-cache/debian/debcargo.toml
new file mode 100644
index 0000000..14ad800
--- /dev/null
+++ b/proxmox-cache/debian/debcargo.toml
@@ -0,0 +1,7 @@
+overlay = "."
+crate_src_path = ".."
+maintainer = "Proxmox Support Team <support at proxmox.com>"
+
+[source]
+#vcs_git = "git://git.proxmox.com/git/proxmox.git"
+#vcs_browser = "https://git.proxmox.com/?p=proxmox.git"
--
2.39.2
More information about the pve-devel
mailing list