Package: clamav / 1.0.9+dfsg-1~deb12u1

Metadata

Package Version Patches format
clamav 1.0.9+dfsg-1~deb12u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Change paths in sample conf file to match Debian.patch | (download)

etc/clamav-milter.conf.sample | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 change paths in sample conf file to match debian

Patch-Name: Change-paths-in-sample-conf-file-to-match-Debian.patch

cargo Remove windows referenfes.patch | (download)

libclamav_rust/.cargo/vendor/libloading/.cargo-checksum.json | 2 1 + 1 - 0 !
libclamav_rust/.cargo/vendor/libloading/Cargo.toml | 12 6 + 6 - 0 !
libclamav_rust/.cargo/vendor/tempfile/.cargo-checksum.json | 2 1 + 1 - 0 !
libclamav_rust/.cargo/vendor/tempfile/Cargo.toml | 12 6 + 6 - 0 !
libclamav_rust/.cargo/vendor/which/.cargo-checksum.json | 2 1 + 1 - 0 !
libclamav_rust/.cargo/vendor/which/Cargo.toml | 4 2 + 2 - 0 !
6 files changed, 17 insertions(+), 17 deletions(-)

 cargo: remove windows referenfes.

The winapi code among other windows related rust code has been removed
from the tar archive while repacking the tar ball. The build system
still references it it needs to be removed because otherwise cargo will
complain about it.

Patch-Name: cargo-Remove-windows-referenfes.patch

libclamav Add missing symbols.patch | (download)

libclamav/libclamav.map | 17 17 + 0 - 0 !
1 file changed, 17 insertions(+)

 libclamav: add missing symbols.

These symbols are used by project files within clamav and not publicly
exported. Add them to the private section.

Patch-Name: libclamav-Add-missing-symbols.patch
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

Add a version script for libclamav and libfreshclam.patch | (download)

libclamav/CMakeLists.txt | 5 4 + 1 - 0 !
libfreshclam/CMakeLists.txt | 7 6 + 1 - 0 !
2 files changed, 10 insertions(+), 2 deletions(-)

 add a version script for libclamav and libfreshclam

Without a version script all symbols will be exported which are public
within the libclamav library. This is true for the officially exported
symbols as well as all the public symbols which are used within
libclamav such as the rust symbols or the included libs like 7z and its
XZ_SIG symbol.

There is already a .map preset to limit the exported symbols of
libclamav and libfreshclam. Use it.

Patch-Name: Add-a-version-script-for-libclamav-and-libfreshclam.patch
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

libclamav pe Use endian wrapper in more places.patch | (download)

libclamav/pe.c | 18 9 + 9 - 0 !
1 file changed, 9 insertions(+), 9 deletions(-)

 libclamav/pe: use endian wrapper in more places.

A few user of VirtualAddress and Size in cli_exe_info::pe_image_data_dir
don't use the endian wrapper while other places do. This leads to
testsuite failures on big endian machines.

Use the endian wrapper in all places across pe.c for the two members.

Patch-Name: libclamav-pe-Use-endian-wrapper-in-more-places.patch
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

Add an option to avoid setting RPATH on unix systems.patch | (download)

CMakeLists.txt | 4 2 + 2 - 0 !
CMakeOptions.cmake | 3 3 + 0 - 0 !
2 files changed, 5 insertions(+), 2 deletions(-)

 add an option to avoid setting rpath on unix systems.

RPATH overrides the normal library search path, possibly interfering
with local policy and causing problems for multilib, among other issues.

Add an option to avoid setting it with letting it enabled by default.

Patch-Name: Add-an-option-to-avoid-setting-RPATH-on-unix-systems.patch
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

libclamav Use OpenSSL BN instead tomfastmath.patch | (download)

libclamav/CMakeLists.txt | 3 1 + 2 - 0 !
libclamav/asn1.c | 33 23 + 10 - 0 !
libclamav/bignum.h | 14 0 + 14 - 0 !
libclamav/crtmgr.c | 405 271 + 134 - 0 !
libclamav/crtmgr.h | 14 7 + 7 - 0 !
libclamav/dsig.c | 175 129 + 46 - 0 !
libclamav/dsig.h | 2 1 + 1 - 0 !
libclamav/readdb.c | 24 11 + 13 - 0 !
libclamav/textnorm.c | 1 0 + 1 - 0 !
libclamav/xdp.c | 1 0 + 1 - 0 !
10 files changed, 443 insertions(+), 229 deletions(-)

 libclamav: use openssl' bn instead tomfastmath.

Use OpenSSL's big number/ multiprecision integer arithmetics
functionality to replace tomfastmath.

This is a first shot at doing just this. Further improvement could be
use more RSA-signature verification from OpenSSL in crtmgr_rsa_verify()
and less self parsing.
_padding_check_PKCS1_type_1() has been borrowed from OpenSSL to make
further replacments easier.

Patch-Name: libclamav-Use-OpenSSL-BN-instead-tomfastmath.patch
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>

Remove bundled tomfastmath library.patch | (download)

.github/workflows/clang-format.yml | 2 1 + 1 - 0 !
README.md | 1 0 + 1 - 0 !
clamav-config.h.cmake.in | 3 0 + 3 - 0 !
libclamav/CMakeLists.txt | 104 0 + 104 - 0 !
libclamav/Doxyfile | 13 1 + 12 - 0 !
unit_tests/CMakeLists.txt | 3 0 + 3 - 0 !
6 files changed, 2 insertions(+), 124 deletions(-)

 remove bundled tomfastmath library.

Now that the tomfastmath library is no longer used, remove it from the
tree.

Patch-Name: Remove-bundled-tomfastmath-library.patch
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>