From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 8B44AE098 for ; Mon, 17 Jul 2023 17:10:01 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 78AD510D17 for ; Mon, 17 Jul 2023 17:09:29 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Mon, 17 Jul 2023 17:09:24 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 2B27342BD8 for ; Mon, 17 Jul 2023 17:01:21 +0200 (CEST) From: Lukas Wagner To: pve-devel@lists.proxmox.com Date: Mon, 17 Jul 2023 17:00:08 +0200 Message-Id: <20230717150051.710464-24-l.wagner@proxmox.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230717150051.710464-1-l.wagner@proxmox.com> References: <20230717150051.710464-1-l.wagner@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.106 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 SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pve-devel] [PATCH v3 proxmox 23/66] notify: add debian packaging 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: , X-List-Received-Date: Mon, 17 Jul 2023 15:10:04 -0000 Signed-off-by: Lukas Wagner --- proxmox-notify/debian/changelog | 5 ++ proxmox-notify/debian/control | 108 ++++++++++++++++++++++++++++ proxmox-notify/debian/copyright | 16 +++++ proxmox-notify/debian/debcargo.toml | 7 ++ 4 files changed, 136 insertions(+) create mode 100644 proxmox-notify/debian/changelog create mode 100644 proxmox-notify/debian/control create mode 100644 proxmox-notify/debian/copyright create mode 100644 proxmox-notify/debian/debcargo.toml diff --git a/proxmox-notify/debian/changelog b/proxmox-notify/debian/changelog new file mode 100644 index 00000000..9d0a4d03 --- /dev/null +++ b/proxmox-notify/debian/changelog @@ -0,0 +1,5 @@ +rust-proxmox-notify (0.1.0-1) stable; urgency=medium + + * Initial release. + + -- Proxmox Support Team Thu, 12 Jan 2023 11:42:11 +0200 diff --git a/proxmox-notify/debian/control b/proxmox-notify/debian/control new file mode 100644 index 00000000..20465c07 --- /dev/null +++ b/proxmox-notify/debian/control @@ -0,0 +1,108 @@ +Source: rust-proxmox-notify +Section: rust +Priority: optional +Build-Depends: debhelper (>= 12), + dh-cargo (>= 25), + cargo:native , + rustc:native , + libstd-rust-dev , + librust-handlebars-3+default-dev , + librust-lazy-static-1+default-dev (>= 1.4-~~) , + librust-log-0.4+default-dev (>= 0.4.17-~~) , + librust-openssl-0.10+default-dev , + librust-proxmox-http-0.9+client-sync-dev , + librust-proxmox-http-0.9+default-dev , + librust-proxmox-human-byte-0.1+default-dev , + librust-proxmox-schema-1+api-macro-dev (>= 1.3.7-~~) , + librust-proxmox-schema-1+default-dev (>= 1.3.7-~~) , + librust-proxmox-section-config-1+default-dev (>= 1.0.2-~~) , + librust-proxmox-sys-0.5+default-dev , + librust-proxmox-time-1+default-dev (>= 1.1.4-~~) , + librust-regex-1+default-dev (>= 1.5-~~) , + librust-serde-1+default-dev , + librust-serde-1+derive-dev , + librust-serde-json-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-notify +Rules-Requires-Root: no + +Package: librust-proxmox-notify-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-handlebars-3+default-dev, + librust-lazy-static-1+default-dev (>= 1.4-~~), + librust-log-0.4+default-dev (>= 0.4.17-~~), + librust-openssl-0.10+default-dev, + librust-proxmox-human-byte-0.1+default-dev, + librust-proxmox-schema-1+api-macro-dev (>= 1.3.7-~~), + librust-proxmox-schema-1+default-dev (>= 1.3.7-~~), + librust-proxmox-section-config-1+default-dev (>= 1.0.2-~~), + librust-proxmox-time-1+default-dev (>= 1.1.4-~~), + librust-regex-1+default-dev (>= 1.5-~~), + librust-serde-1+default-dev, + librust-serde-1+derive-dev, + librust-serde-json-1+default-dev +Recommends: + librust-proxmox-notify+default-dev (= ${binary:Version}) +Suggests: + librust-proxmox-notify+gotify-dev (= ${binary:Version}), + librust-proxmox-notify+sendmail-dev (= ${binary:Version}) +Provides: + librust-proxmox-notify-0-dev (= ${binary:Version}), + librust-proxmox-notify-0.1-dev (= ${binary:Version}), + librust-proxmox-notify-0.1.0-dev (= ${binary:Version}) +Description: Rust crate "proxmox-notify" - Rust source code + This package contains the source for the Rust proxmox-notify crate, packaged by + debcargo for use with cargo and dh-cargo. + +Package: librust-proxmox-notify+default-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-proxmox-notify-dev (= ${binary:Version}), + librust-proxmox-notify+sendmail-dev (= ${binary:Version}), + librust-proxmox-notify+gotify-dev (= ${binary:Version}) +Provides: + librust-proxmox-notify-0+default-dev (= ${binary:Version}), + librust-proxmox-notify-0.1+default-dev (= ${binary:Version}), + librust-proxmox-notify-0.1.0+default-dev (= ${binary:Version}) +Description: Rust crate "proxmox-notify" - feature "default" + This metapackage enables feature "default" for the Rust proxmox-notify crate, + by pulling in any additional dependencies needed by that feature. + +Package: librust-proxmox-notify+gotify-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-proxmox-notify-dev (= ${binary:Version}), + librust-proxmox-http-0.9+client-sync-dev, + librust-proxmox-http-0.9+default-dev +Provides: + librust-proxmox-notify-0+gotify-dev (= ${binary:Version}), + librust-proxmox-notify-0.1+gotify-dev (= ${binary:Version}), + librust-proxmox-notify-0.1.0+gotify-dev (= ${binary:Version}) +Description: Rust crate "proxmox-notify" - feature "gotify" + This metapackage enables feature "gotify" for the Rust proxmox-notify crate, by + pulling in any additional dependencies needed by that feature. + +Package: librust-proxmox-notify+sendmail-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-proxmox-notify-dev (= ${binary:Version}), + librust-proxmox-sys-0.5+default-dev +Provides: + librust-proxmox-notify-0+sendmail-dev (= ${binary:Version}), + librust-proxmox-notify-0.1+sendmail-dev (= ${binary:Version}), + librust-proxmox-notify-0.1.0+sendmail-dev (= ${binary:Version}) +Description: Rust crate "proxmox-notify" - feature "sendmail" + This metapackage enables feature "sendmail" for the Rust proxmox-notify crate, + by pulling in any additional dependencies needed by that feature. diff --git a/proxmox-notify/debian/copyright b/proxmox-notify/debian/copyright new file mode 100644 index 00000000..4fce23a5 --- /dev/null +++ b/proxmox-notify/debian/copyright @@ -0,0 +1,16 @@ +Copyright (C) 2023 Proxmox Server Solutions GmbH + +This software is written by Proxmox Server Solutions GmbH + +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-notify/debian/debcargo.toml b/proxmox-notify/debian/debcargo.toml new file mode 100644 index 00000000..b7864cdb --- /dev/null +++ b/proxmox-notify/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" -- 2.39.2