[pbs-devel] [PATCH proxmox-openid-rs] depend on proxmox 0.12.0, bump version to 0.6.1

Dietmar Maurer dietmar at proxmox.com
Tue Jul 20 13:51:52 CEST 2021


---
 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 <dietmar at proxmox.com>"]
 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 <support at proxmox.com>  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 <!nocheck>,
  librust-nix-0.19+default-dev (>= 0.19.1-~~) <!nocheck>,
  librust-openidconnect-2+curl-dev <!nocheck>,
- librust-proxmox-0.11-dev (>= 0.11.5-~~) <!nocheck>,
+ librust-proxmox-0.12-dev <!nocheck>,
  librust-serde-1+default-dev <!nocheck>,
  librust-serde-1+derive-dev <!nocheck>,
  librust-serde-json-1+default-dev <!nocheck>,
@@ -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





More information about the pbs-devel mailing list