From 1ce7294e0654cdb91274f39e1ac5f3c08c552c94 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 28 Jul 2023 11:06:03 +0200 Subject: [PATCH] http-error: add debian packaging and bump as 0.1.0-1 Signed-off-by: Wolfgang Bumiller --- proxmox-http-error/debian/changelog | 5 ++++ proxmox-http-error/debian/control | 37 +++++++++++++++++++++++++ proxmox-http-error/debian/copyright | 18 ++++++++++++ proxmox-http-error/debian/debcargo.toml | 7 +++++ 4 files changed, 67 insertions(+) create mode 100644 proxmox-http-error/debian/changelog create mode 100644 proxmox-http-error/debian/control create mode 100644 proxmox-http-error/debian/copyright create mode 100644 proxmox-http-error/debian/debcargo.toml diff --git a/proxmox-http-error/debian/changelog b/proxmox-http-error/debian/changelog new file mode 100644 index 00000000..694771c8 --- /dev/null +++ b/proxmox-http-error/debian/changelog @@ -0,0 +1,5 @@ +rust-proxmox-http-error (0.1.0-1) bookworm; urgency=medium + + * Initial release. + + -- Proxmox Support Team Fri, 28 Jul 2023 11:05:35 +0200 diff --git a/proxmox-http-error/debian/control b/proxmox-http-error/debian/control new file mode 100644 index 00000000..065a12e1 --- /dev/null +++ b/proxmox-http-error/debian/control @@ -0,0 +1,37 @@ +Source: rust-proxmox-http-error +Section: rust +Priority: optional +Build-Depends: debhelper (>= 12), + dh-cargo (>= 25), + cargo:native , + rustc:native , + libstd-rust-dev , + librust-anyhow-1+default-dev , + librust-http-0.2+default-dev , + librust-serde-1+default-dev +Maintainer: Proxmox Support Team +Standards-Version: 4.6.1 +Vcs-Git: git://git.proxmox.com/git/proxmox.git +Vcs-Browser: https://git.proxmox.com/?p=proxmox.git +X-Cargo-Crate: proxmox-http-error +Rules-Requires-Root: no + +Package: librust-proxmox-http-error-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-anyhow-1+default-dev, + librust-http-0.2+default-dev, + librust-serde-1+default-dev +Provides: + librust-proxmox-http-error+default-dev (= ${binary:Version}), + librust-proxmox-http-error-0-dev (= ${binary:Version}), + librust-proxmox-http-error-0+default-dev (= ${binary:Version}), + librust-proxmox-http-error-0.1-dev (= ${binary:Version}), + librust-proxmox-http-error-0.1+default-dev (= ${binary:Version}), + librust-proxmox-http-error-0.1.0-dev (= ${binary:Version}), + librust-proxmox-http-error-0.1.0+default-dev (= ${binary:Version}) +Description: Proxmox HTTP Error - Rust source code + This package contains the source for the Rust proxmox-http-error crate, + packaged by debcargo for use with cargo and dh-cargo. diff --git a/proxmox-http-error/debian/copyright b/proxmox-http-error/debian/copyright new file mode 100644 index 00000000..0d9eab3e --- /dev/null +++ b/proxmox-http-error/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 +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 . diff --git a/proxmox-http-error/debian/debcargo.toml b/proxmox-http-error/debian/debcargo.toml new file mode 100644 index 00000000..b7864cdb --- /dev/null +++ b/proxmox-http-error/debian/debcargo.toml @@ -0,0 +1,7 @@ +overlay = "." +crate_src_path = ".." +maintainer = "Proxmox Support Team " + +[source] +vcs_git = "git://git.proxmox.com/git/proxmox.git" +vcs_browser = "https://git.proxmox.com/?p=proxmox.git"