[packages/clamav] Up to 1.1.0.

arekm arekm at pld-linux.org
Tue May 2 22:41:54 CEST 2023


commit 891242df48dd186156418e767c3820079b5cbbd8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue May 2 22:41:13 2023 +0200

    Up to 1.1.0.

 clamav.spec | 15 ++++++---------
 x32.patch   | 46 ----------------------------------------------
 2 files changed, 6 insertions(+), 55 deletions(-)
---
diff --git a/clamav.spec b/clamav.spec
index 85f0916..fb8ac53 100644
--- a/clamav.spec
+++ b/clamav.spec
@@ -23,13 +23,13 @@
 Summary:	An anti-virus utility for Unix
 Summary(pl.UTF-8):	Narzędzie antywirusowe dla Uniksów
 Name:		clamav
-Version:	1.0.1
+Version:	1.1.0
 Release:	1
 License:	GPL v2+
 Group:		Daemons
 #Source0Download: http://www.clamav.net/download
 Source0:	http://www.clamav.net/downloads/production/%{name}-%{version}.tar.gz
-# Source0-md5:	a04c129b15af305c2af7d3573f134a73
+# Source0-md5:	a04158b89b2142b9f5527500988a79bd
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
 Source3:	%{name}-milter.init
@@ -42,7 +42,6 @@ Source11:	clamd.service
 Source12:	cronjob-clamav.timer
 Source13:	cronjob-clamav.service.in
 Patch0:		%{name}-pld_config.patch
-Patch4:		x32.patch
 URL:		http://www.clamav.net/
 BuildRequires:	bzip2-devel >= 1.0.5
 BuildRequires:	cargo
@@ -222,8 +221,6 @@ Dokumentacja do ClamAVa.
 %setup -q
 %patch0 -p1
 
-%patch4 -p1
-
 %build
 install -d build
 cd build
@@ -437,17 +434,17 @@ fi
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libclamav.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libclamav.so.11
+%attr(755,root,root) %ghost %{_libdir}/libclamav.so.12
 %if %{without system_libmspack}
 %attr(755,root,root) %{_libdir}/libclammspack.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libclammspack.so.0
 %endif
 %attr(755,root,root) %{_libdir}/libclamunrar.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libclamunrar.so.11
+%attr(755,root,root) %ghost %{_libdir}/libclamunrar.so.12
 %attr(755,root,root) %{_libdir}/libclamunrar_iface.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libclamunrar_iface.so.11
+%attr(755,root,root) %ghost %{_libdir}/libclamunrar_iface.so.12
 %attr(755,root,root) %{_libdir}/libfreshclam.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libfreshclam.so.2
+%attr(755,root,root) %ghost %{_libdir}/libfreshclam.so.3
 
 %files devel
 %defattr(644,root,root,755)
diff --git a/x32.patch b/x32.patch
deleted file mode 100644
index 78df1ad..0000000
--- a/x32.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- clamav-0.100.1/libclamav/bytecode_vm.c~	2018-06-27 21:12:10.000000000 +0200
-+++ clamav-0.100.1/libclamav/bytecode_vm.c	2018-07-26 10:48:10.316153596 +0200
-@@ -1248,7 +1248,11 @@ int cli_vm_execute(const struct cli_bc *
-         gettimeofday(&tv1, NULL);
-         tv1.tv_sec -= tv0.tv_sec;
-         tv1.tv_usec -= tv0.tv_usec;
-+#ifdef __ILP32__
-+        cli_dbgmsg("intepreter bytecode run finished in %lluus, after executing %u opcodes\n",
-+#else
-         cli_dbgmsg("interpreter bytecode run finished in %luus, after executing %u opcodes\n",
-+#endif
-                    tv1.tv_sec * 1000000 + tv1.tv_usec, pc);
-     }
-     if (stop == CL_EBYTECODE) {
---- clamav-0.104.1/libclamav/tomsfastmath/headers/tfm.h.orig	2021-11-02 20:09:25.000000000 +0100
-+++ clamav-0.104.1/libclamav/tomsfastmath/headers/tfm.h	2021-12-11 10:43:55.832213985 +0100
-@@ -118,7 +118,7 @@
- #endif
- 
- /* autodetect x86-64 and make sure we are using 64-bit digits with x86-64 asm */
--#if defined(__x86_64__)
-+#if defined(__x86_64__) && !defined(__ILP32__)
-    #if defined(TFM_X86) || defined(TFM_SSE2) || defined(TFM_ARM)
-        #error x86-64 detected, x86-32/SSE2/ARM optimizations are not valid!
-    #endif
-@@ -133,7 +133,7 @@
- #endif
- 
- /* try to detect x86-32 */
--#if defined(__i386__) && !defined(TFM_SSE2)
-+#if (defined(__i386__) || defined(__ILP32__)) && !defined(TFM_SSE2)
-    #if defined(TFM_X86_64) || defined(TFM_ARM)
-        #error x86-32 detected, x86-64/ARM optimizations are not valid!
-    #endif
---- clamav-0.104.1/libclamav/tomsfastmath/mont/fp_montgomery_reduce.c.orig	2021-12-11 10:41:02.011008906 +0100
-+++ clamav-0.104.1/libclamav/tomsfastmath/mont/fp_montgomery_reduce.c	2021-12-11 10:41:23.713556450 +0100
-@@ -42,7 +42,7 @@ asm(
- : "%eax", "cc")
- 
- /******************************************************************/
--#elif defined(TFM_X86_64)
-+#elif defined(TFM_X86_64) && !defined(__ILP32__)
- /* x86-64 code */
- 
- #define MONT_START
-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/clamav.git/commitdiff/891242df48dd186156418e767c3820079b5cbbd8



More information about the pld-cvs-commit mailing list