mirror of
https://git.yoctoproject.org/meta-security
synced 2026-06-01 13:10:33 +00:00
clamav: update package to 0.99.2
remove unused patches. remove merged patches move files to /file for easier maintenance Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
Index: libclamav/readdb.c
|
||||
===================================================================
|
||||
--- a/libclamav/readdb.c
|
||||
+++ b/libclamav/readdb.c
|
||||
@@ -4163,7 +4163,9 @@ static int cli_loadpwdb(FILE *fs, struct
|
||||
|
||||
/* use the tdb to track filetypes and check flevels */
|
||||
memset(&tdb, 0, sizeof(tdb));
|
||||
+#ifdef USE_MPOOL
|
||||
tdb.mempool = engine->mempool;
|
||||
+#endif
|
||||
ret = init_tdb(&tdb, engine, attribs, passname);
|
||||
free(attribs);
|
||||
if(ret != CL_SUCCESS) {
|
||||
@@ -1,16 +0,0 @@
|
||||
Index: clamav-0.99/configure
|
||||
===================================================================
|
||||
--- clamav-0.99.orig/configure
|
||||
+++ clamav-0.99/configure
|
||||
@@ -16192,11 +16192,6 @@ $as_echo_n "checking for shared library
|
||||
if ${acl_cv_rpath+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
-
|
||||
- CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
|
||||
- ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
|
||||
- . ./conftest.sh
|
||||
- rm -f ./conftest.sh
|
||||
acl_cv_rpath=done
|
||||
|
||||
fi
|
||||
@@ -1,44 +0,0 @@
|
||||
Index: clamav-0.99/configure
|
||||
===================================================================
|
||||
--- clamav-0.99.orig/configure
|
||||
+++ clamav-0.99/configure
|
||||
@@ -9266,7 +9266,7 @@ $as_echo_n "checking whether the $compil
|
||||
# are reset later if shared libraries are not supported. Putting them
|
||||
# here allows them to be overridden if necessary.
|
||||
runpath_var=LD_RUN_PATH
|
||||
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
+ hardcode_libdir_flag_spec='${wl}-rpath $libdir'
|
||||
export_dynamic_flag_spec='${wl}--export-dynamic'
|
||||
# ancient GNU ld didn't support --whole-archive et. al.
|
||||
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
|
||||
@@ -9502,7 +9502,7 @@ _LT_EOF
|
||||
# DT_RUNPATH tag from executables and libraries. But doing so
|
||||
# requires that you compile everything twice, which is a pain.
|
||||
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
|
||||
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
+ hardcode_libdir_flag_spec='${wl}-rpath $libdir'
|
||||
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
|
||||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
|
||||
else
|
||||
@@ -10074,7 +10074,7 @@ $as_echo "$lt_cv_irix_exported_symbol" >
|
||||
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
|
||||
fi
|
||||
archive_cmds_need_lc='no'
|
||||
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
+ hardcode_libdir_flag_spec='${wl}-rpath $libdir'
|
||||
hardcode_libdir_separator=:
|
||||
inherit_rpath=yes
|
||||
link_all_deplibs=yes
|
||||
Index: clamav-0.99/config/config.rpath
|
||||
===================================================================
|
||||
--- clamav-0.99.orig/config/config.rpath
|
||||
+++ clamav-0.99/config/config.rpath
|
||||
@@ -156,7 +156,7 @@ if test "$with_gnu_ld" = yes; then
|
||||
# here allows them to be overridden if necessary.
|
||||
# Unlike libtool, we use -rpath here, not --rpath, since the documented
|
||||
# option of GNU ld is called -rpath, not --rpath.
|
||||
- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
+ hardcode_libdir_flag_spec=
|
||||
case "$host_os" in
|
||||
aix3* | aix4* | aix5*)
|
||||
# On AIX/PPC, the GNU linker is very broken
|
||||
@@ -12,11 +12,10 @@ SRC_URI = "http://www.clamav.net/downloads/production/${BPN}-${PV}.tar.gz \
|
||||
file://clamd.conf \
|
||||
file://freshclam.conf \
|
||||
file://volatiles.03_clamav \
|
||||
file://mempool_build_fix.patch \
|
||||
file://remove_rpath_chk.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "cf1f3cbe62a08c9165801f79239166ff"
|
||||
SRC_URI[sha256sum] = "e144689122d3f91293808c82cbb06b7d3ac9eca7ae29564c5d148ffe7b25d58a"
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "61b51a04619aeafd965892a53f86d192"
|
||||
SRC_URI[sha256sum] = "167bd6a13e05ece326b968fdb539b05c2ffcfef6018a274a10aeda85c2c0027a"
|
||||
|
||||
LEAD_SONAME = "libclamav.so"
|
||||
SO_VER = "7.1.1"
|
||||
Reference in New Issue
Block a user