Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1fb46f5754 | ||
|
|
997040fb1e | ||
|
|
174d267d5a |
3 changed files with 35 additions and 30 deletions
|
|
@ -1,22 +0,0 @@
|
|||
From 24d1341e8e34aa325ac03718121e33a3b4e5b75e Mon Sep 17 00:00:00 2001
|
||||
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
|
||||
Date: Sun, 15 Sep 2024 12:50:07 -0400
|
||||
Subject: [PATCH] In libclamav_rust, use the current version of the image crate
|
||||
|
||||
---
|
||||
libclamav_rust/Cargo.toml | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libclamav_rust/Cargo.toml b/libclamav_rust/Cargo.toml
|
||||
index 526951c519..eb95ca8011 100644
|
||||
--- a/libclamav_rust/Cargo.toml
|
||||
+++ b/libclamav_rust/Cargo.toml
|
||||
@@ -12,7 +12,7 @@ log = { version = "0.4", features = ["std"] }
|
||||
sha2 = "0.10"
|
||||
tempfile = "3"
|
||||
thiserror = "1"
|
||||
-image = "0.24"
|
||||
+image = "0.25"
|
||||
rustdct = "0.7"
|
||||
transpose = "0.2"
|
||||
num-traits = "0.2"
|
||||
21
clamav-rust-dependency-versions.patch
Normal file
21
clamav-rust-dependency-versions.patch
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
diff -Naur clamav-1.4.3-original/libclamav_rust/Cargo.toml clamav-1.4.3/libclamav_rust/Cargo.toml
|
||||
--- clamav-1.4.3-original/libclamav_rust/Cargo.toml 2025-12-04 10:01:33.233889863 +0000
|
||||
+++ clamav-1.4.3/libclamav_rust/Cargo.toml 2025-12-04 10:02:29.088468217 +0000
|
||||
@@ -12,7 +12,7 @@
|
||||
sha2 = "0.10"
|
||||
tempfile = "3"
|
||||
thiserror = "1"
|
||||
-image = "0.24"
|
||||
+image = ">=0.24, <0.26"
|
||||
rustdct = "0.7"
|
||||
transpose = "0.2"
|
||||
num-traits = "0.2"
|
||||
@@ -21,7 +21,7 @@
|
||||
unicode-segmentation = "1.10"
|
||||
bindgen = "0.69"
|
||||
onenote_parser = "0.3.1"
|
||||
-hex-literal = "0.4"
|
||||
+hex-literal = ">=0.4, <2.0"
|
||||
inflate = "0.4"
|
||||
bzip2-rs = "0.1"
|
||||
byteorder = "1.5"
|
||||
22
clamav.spec
22
clamav.spec
|
|
@ -26,7 +26,7 @@
|
|||
Summary: End-user tools for the Clam Antivirus scanner
|
||||
Name: clamav
|
||||
Version: 1.4.3
|
||||
Release: 1%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: %{?with_unrar:proprietary}%{!?with_unrar:GPL-2.0-only}
|
||||
URL: https://www.clamav.net/
|
||||
%if %{with unrar}
|
||||
|
|
@ -75,8 +75,12 @@ Patch5: clamav-clamonacc-service.patch
|
|||
Patch6: clamav-freshclam.service.patch
|
||||
# Debian patch to fix big-endian
|
||||
Patch7: https://salsa.debian.org/clamav-team/clamav/-/raw/unstable/debian/patches/libclamav-pe-Use-endian-wrapper-in-more-places.patch
|
||||
# Update the image crate dependency to 0.25, the current release
|
||||
Patch8: https://github.com/Cisco-Talos/clamav/pull/1366/commits/24d1341e8e34aa325ac03718121e33a3b4e5b75e.patch
|
||||
# - Update the image crate dependency to 0.25, the current release,
|
||||
# https://github.com/Cisco-Talos/clamav/pull/1366/commits/24d1341e8e34aa325ac03718121e33a3b4e5b75e,
|
||||
# allowing 0.24 for backwards-compatibility with vendored dependencies in EPEL8
|
||||
# - Allow version 1.0 of the hex-literal crate dependency; not suitable for
|
||||
# upstream yet due to MSRV
|
||||
Patch8: clamav-rust-dependency-versions.patch
|
||||
|
||||
BuildRequires: cmake3
|
||||
BuildRequires: gettext-devel
|
||||
|
|
@ -343,11 +347,7 @@ cd ..
|
|||
%patch -P5 -p1 -b .clamonacc-service
|
||||
%patch -P6 -p1 -b .freshclam-service
|
||||
%patch -P7 -p1 -b .big-endian
|
||||
# This patch is not made to be backwards-compatible (even though it could have
|
||||
# been), and the vendored dependencies in EPEL8 include image 0.24, not 0.25.
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 9
|
||||
%patch -P8 -p1 -b .image-0.25
|
||||
%endif
|
||||
%patch -P8 -p1 -b .rust-dependencies
|
||||
|
||||
install -p -m0644 %{SOURCE300} clamav-milter/
|
||||
|
||||
|
|
@ -665,6 +665,12 @@ done
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Dec 04 2025 Gwyn Ciesla <gwync@protonmail.com> - 1.4.3-3
|
||||
- Bump EVR, hex-literal patches.
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Wed Jun 18 2025 Gwyn Ciesla <gwync@protonmail.com> - 1.4.3-1
|
||||
- 1.4.3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue