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 1861E773EF for ; Tue, 20 Jul 2021 13:52:11 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 16156848F for ; Tue, 20 Jul 2021 13:52:11 +0200 (CEST) Received: from elsa.proxmox.com (unknown [94.136.29.99]) by firstgate.proxmox.com (Proxmox) with ESMTP id 387528438 for ; Tue, 20 Jul 2021 13:52:09 +0200 (CEST) Received: by elsa.proxmox.com (Postfix, from userid 0) id EFCD2AE1D38; Tue, 20 Jul 2021 13:52:02 +0200 (CEST) From: Dietmar Maurer To: pbs-devel@lists.proxmox.com Date: Tue, 20 Jul 2021 13:51:52 +0200 Message-Id: <20210720115158.376164-2-dietmar@proxmox.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210720115158.376164-1-dietmar@proxmox.com> References: <20210720115158.376164-1-dietmar@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.215 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years RDNS_NONE 0.793 Delivered to internal network by a host with no rDNS SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pbs-devel] [PATCH proxmox-openid-rs] depend on proxmox 0.12.0, bump version to 0.6.1 X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2021 11:52:11 -0000 --- Cargo.toml | 4 ++-- debian/changelog | 6 ++++++ debian/control | 4 ++-- src/auth_state.rs | 3 ++- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b8edc53..fc839c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proxmox-openid" -version = "0.6.0" +version = "0.6.1" authors = ["Dietmar Maurer "] edition = "2018" license = "AGPL-3" @@ -21,6 +21,6 @@ serde_json = "1.0" url = "2.1" http = "0.2" curl = { version = "0.4.33" } -proxmox = { version = "0.11.5", default-features = false } +proxmox = { version = "0.12.0", default-features = false } nix = "0.19.1" openidconnect = { version = "2.0", default-features = false, features = ["curl"] } diff --git a/debian/changelog b/debian/changelog index 025cdf8..2e0baf4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +rust-proxmox-openid (0.6.1-1) unstable; urgency=medium + + * depend on proxmox 0.12.0 + + -- Proxmox Support Team Tue, 20 Jul 2021 13:19:23 +0200 + rust-proxmox-openid (0.6.0-2) unstable; urgency=medium * remove debug output diff --git a/debian/control b/debian/control index fb86702..da14fa2 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 12), librust-http-0.2+default-dev , librust-nix-0.19+default-dev (>= 0.19.1-~~) , librust-openidconnect-2+curl-dev , - librust-proxmox-0.11-dev (>= 0.11.5-~~) , + librust-proxmox-0.12-dev , librust-serde-1+default-dev , librust-serde-1+derive-dev , librust-serde-json-1+default-dev , @@ -32,7 +32,7 @@ Depends: librust-http-0.2+default-dev, librust-nix-0.19+default-dev (>= 0.19.1-~~), librust-openidconnect-2+curl-dev, - librust-proxmox-0.11-dev (>= 0.11.5-~~), + librust-proxmox-0.12-dev, librust-serde-1+default-dev, librust-serde-1+derive-dev, librust-serde-json-1+default-dev, diff --git a/src/auth_state.rs b/src/auth_state.rs index acadaf9..318931b 100644 --- a/src/auth_state.rs +++ b/src/auth_state.rs @@ -27,7 +27,8 @@ fn load_auth_state_locked( let lock = open_file_locked( lock_path, std::time::Duration::new(10, 0), - true + true, + CreateOptions::new() )?; let mut path = state_dir.to_owned(); -- 2.30.2