From 42fb9ed26bc021525889afa491184219edf146b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 14 Mar 2024 11:26:53 +0100 Subject: [PATCH] fix #5249: apt: allow parsing Packages without Priority field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit it seems there are repositories out there that don't (always) include it, and while it is required for the .deb packages themselves in Debian, the repository "spec" doesn't make it mandatory. Signed-off-by: Fabian Grünbichler --- proxmox-apt/Cargo.toml | 2 +- proxmox-apt/debian/changelog | 6 ++++++ proxmox-apt/debian/control | 12 ++++++------ 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/proxmox-apt/Cargo.toml b/proxmox-apt/Cargo.toml index af602480..bdd17d28 100644 --- a/proxmox-apt/Cargo.toml +++ b/proxmox-apt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proxmox-apt" -version = "0.10.8" +version = "0.10.9" description = "Proxmox library for APT" authors.workspace = true edition.workspace = true diff --git a/proxmox-apt/debian/changelog b/proxmox-apt/debian/changelog index 066f99c5..fb546526 100644 --- a/proxmox-apt/debian/changelog +++ b/proxmox-apt/debian/changelog @@ -1,3 +1,9 @@ +rust-proxmox-apt (0.10.9-1) bookworm; urgency=medium + + * fix #5249: apt: allow parsing Packages without Priority field + + -- Proxmox Support Team Fri, 19 Apr 2024 08:45:15 +0200 + rust-proxmox-apt (0.10.8-1) bookworm; urgency=medium * document status property for standard repositories diff --git a/proxmox-apt/debian/control b/proxmox-apt/debian/control index 1523c562..a00bf001 100644 --- a/proxmox-apt/debian/control +++ b/proxmox-apt/debian/control @@ -10,8 +10,8 @@ Build-Depends: debhelper (>= 12), librust-hex-0.4+default-dev , librust-once-cell-1+default-dev (>= 1.3.1-~~) , librust-openssl-0.10+default-dev , - librust-proxmox-schema-3+api-macro-dev , - librust-proxmox-schema-3+default-dev , + librust-proxmox-schema-3+api-macro-dev (>= 3.1.0-~~) , + librust-proxmox-schema-3+default-dev (>= 3.1.0-~~) , librust-rfc822-like-0.2+default-dev (>= 0.2.1-~~) , librust-serde-1+default-dev , librust-serde-1+derive-dev , @@ -33,8 +33,8 @@ Depends: librust-hex-0.4+default-dev, librust-once-cell-1+default-dev (>= 1.3.1-~~), librust-openssl-0.10+default-dev, - librust-proxmox-schema-3+api-macro-dev, - librust-proxmox-schema-3+default-dev, + librust-proxmox-schema-3+api-macro-dev (>= 3.1.0-~~), + librust-proxmox-schema-3+default-dev (>= 3.1.0-~~), librust-rfc822-like-0.2+default-dev (>= 0.2.1-~~), librust-serde-1+default-dev, librust-serde-1+derive-dev, @@ -45,7 +45,7 @@ Provides: librust-proxmox-apt-0+default-dev (= ${binary:Version}), librust-proxmox-apt-0.10-dev (= ${binary:Version}), librust-proxmox-apt-0.10+default-dev (= ${binary:Version}), - librust-proxmox-apt-0.10.8-dev (= ${binary:Version}), - librust-proxmox-apt-0.10.8+default-dev (= ${binary:Version}) + librust-proxmox-apt-0.10.9-dev (= ${binary:Version}), + librust-proxmox-apt-0.10.9+default-dev (= ${binary:Version}) Description: Proxmox library for APT - Rust source code Source code for Debianized Rust crate "proxmox-apt"