diff options
author | Armin Kuster <akuster808@gmail.com> | 2021-07-27 09:11:02 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-07-28 18:21:25 -0700 |
commit | d3a484abf81fc196389480df89cf5c82d13e6381 (patch) | |
tree | 17c3877167a1ab7d90a98f42c7f88f5c30a1cd86 | |
parent | 8db7c65832cf29786d20261318e3230f0919e789 (diff) | |
download | meta-security-d3a484abf81fc196389480df89cf5c82d13e6381.tar.gz |
clamav: fix branch name and update
They dropped the dev branch for rel. Update to tip.
Refresh patches
Signed-off-by: Armin Kuster <akuster808@gmail.com>
4 files changed, 10 insertions, 10 deletions
diff --git a/recipes-scanners/clamav/clamav_0.104.0.bb b/recipes-scanners/clamav/clamav_0.104.0.bb index 4f20309..5759ddd 100644 --- a/recipes-scanners/clamav/clamav_0.104.0.bb +++ b/recipes-scanners/clamav/clamav_0.104.0.bb | |||
@@ -8,10 +8,10 @@ DEPENDS = "glibc llvm libtool db openssl zlib curl libxml2 bison pcre2 json-c li | |||
8 | 8 | ||
9 | LIC_FILES_CHKSUM = "file://COPYING.txt;beginline=2;endline=3;md5=f7029fbbc5898b273d5902896f7bbe17" | 9 | LIC_FILES_CHKSUM = "file://COPYING.txt;beginline=2;endline=3;md5=f7029fbbc5898b273d5902896f7bbe17" |
10 | 10 | ||
11 | # May 15th | 11 | # July 27th |
12 | SRCREV = "fe96de86bb90c489aa509ee9135f776b7a2a7eb4" | 12 | SRCREV = "c389dfa4c3af92b006ada4f7595bbc3e6df3f356" |
13 | 13 | ||
14 | SRC_URI = "git://github.com/vrtadmin/clamav-devel;branch=dev/0.104 \ | 14 | SRC_URI = "git://github.com/vrtadmin/clamav-devel;branch=rel/0.104 \ |
15 | file://clamd.conf \ | 15 | file://clamd.conf \ |
16 | file://freshclam.conf \ | 16 | file://freshclam.conf \ |
17 | file://volatiles.03_clamav \ | 17 | file://volatiles.03_clamav \ |
diff --git a/recipes-scanners/clamav/files/fix_systemd_socket.patch b/recipes-scanners/clamav/files/fix_systemd_socket.patch index 3e9abe2..3347770 100644 --- a/recipes-scanners/clamav/files/fix_systemd_socket.patch +++ b/recipes-scanners/clamav/files/fix_systemd_socket.patch | |||
@@ -12,9 +12,9 @@ Index: git/clamd/CMakeLists.txt | |||
12 | =================================================================== | 12 | =================================================================== |
13 | --- git.orig/clamd/CMakeLists.txt | 13 | --- git.orig/clamd/CMakeLists.txt |
14 | +++ git/clamd/CMakeLists.txt | 14 | +++ git/clamd/CMakeLists.txt |
15 | @@ -54,4 +54,10 @@ if(SYSTEMD_FOUND) | 15 | @@ -60,4 +60,10 @@ if(SYSTEMD_FOUND) |
16 | install( | 16 | install( |
17 | FILES ${CMAKE_CURRENT_BINARY_DIR}/clamav-daemon.service | 17 | FILES ${CMAKE_CURRENT_BINARY_DIR}/clamav-daemon.socket |
18 | DESTINATION ${SYSTEMD_UNIT_DIR}) | 18 | DESTINATION ${SYSTEMD_UNIT_DIR}) |
19 | + configure_file( | 19 | + configure_file( |
20 | + ${CMAKE_CURRENT_SOURCE_DIR}/clamav-daemon.socket.in | 20 | + ${CMAKE_CURRENT_SOURCE_DIR}/clamav-daemon.socket.in |
diff --git a/recipes-scanners/clamav/files/headers_fixup.patch b/recipes-scanners/clamav/files/headers_fixup.patch index 9de0a26..369aa58 100644 --- a/recipes-scanners/clamav/files/headers_fixup.patch +++ b/recipes-scanners/clamav/files/headers_fixup.patch | |||
@@ -7,7 +7,7 @@ Index: git/CMakeLists.txt | |||
7 | =================================================================== | 7 | =================================================================== |
8 | --- git.orig/CMakeLists.txt | 8 | --- git.orig/CMakeLists.txt |
9 | +++ git/CMakeLists.txt | 9 | +++ git/CMakeLists.txt |
10 | @@ -374,8 +373,6 @@ check_include_file("stdlib.h" | 10 | @@ -443,8 +443,6 @@ check_include_file("stdlib.h" |
11 | check_include_file("string.h" HAVE_STRING_H) | 11 | check_include_file("string.h" HAVE_STRING_H) |
12 | check_include_file("strings.h" HAVE_STRINGS_H) | 12 | check_include_file("strings.h" HAVE_STRINGS_H) |
13 | check_include_file("sys/cdefs.h" HAVE_SYS_CDEFS_H) | 13 | check_include_file("sys/cdefs.h" HAVE_SYS_CDEFS_H) |
@@ -16,7 +16,7 @@ Index: git/CMakeLists.txt | |||
16 | check_include_file("sys/mman.h" HAVE_SYS_MMAN_H) | 16 | check_include_file("sys/mman.h" HAVE_SYS_MMAN_H) |
17 | check_include_file("sys/param.h" HAVE_SYS_PARAM_H) | 17 | check_include_file("sys/param.h" HAVE_SYS_PARAM_H) |
18 | check_include_file("sys/queue.h" HAVE_SYS_QUEUE_H) | 18 | check_include_file("sys/queue.h" HAVE_SYS_QUEUE_H) |
19 | @@ -410,8 +407,6 @@ endif() | 19 | @@ -479,8 +477,6 @@ endif() |
20 | 20 | ||
21 | # int-types variants | 21 | # int-types variants |
22 | check_include_file("inttypes.h" HAVE_INTTYPES_H) | 22 | check_include_file("inttypes.h" HAVE_INTTYPES_H) |
@@ -25,7 +25,7 @@ Index: git/CMakeLists.txt | |||
25 | check_include_file("stdint.h" HAVE_STDINT_H) | 25 | check_include_file("stdint.h" HAVE_STDINT_H) |
26 | 26 | ||
27 | # this hack required to silence warnings on systems with inttypes.h | 27 | # this hack required to silence warnings on systems with inttypes.h |
28 | @@ -539,17 +528,11 @@ check_type_size("time_t" SIZEOF_TIME_T) | 28 | @@ -608,17 +604,11 @@ check_type_size("time_t" SIZEOF_TIME_T) |
29 | # Checks for library functions. | 29 | # Checks for library functions. |
30 | include(CheckSymbolExists) | 30 | include(CheckSymbolExists) |
31 | check_symbol_exists(_Exit "stdlib.h" HAVE__EXIT) | 31 | check_symbol_exists(_Exit "stdlib.h" HAVE__EXIT) |
@@ -44,7 +44,7 @@ Index: git/CMakeLists.txt | |||
44 | check_symbol_exists(timegm "time.h" HAVE_TIMEGM) | 44 | check_symbol_exists(timegm "time.h" HAVE_TIMEGM) |
45 | check_symbol_exists(vsnprintf "stdio.h" HAVE_VSNPRINTF) | 45 | check_symbol_exists(vsnprintf "stdio.h" HAVE_VSNPRINTF) |
46 | 46 | ||
47 | @@ -563,10 +546,9 @@ else() | 47 | @@ -632,10 +622,9 @@ else() |
48 | check_symbol_exists(fseeko "stdio.h" HAVE_FSEEKO) | 48 | check_symbol_exists(fseeko "stdio.h" HAVE_FSEEKO) |
49 | check_symbol_exists(getaddrinfo "netdb.h" HAVE_GETADDRINFO) | 49 | check_symbol_exists(getaddrinfo "netdb.h" HAVE_GETADDRINFO) |
50 | check_symbol_exists(getpagesize "unistd.h" HAVE_GETPAGESIZE) | 50 | check_symbol_exists(getpagesize "unistd.h" HAVE_GETPAGESIZE) |
diff --git a/recipes-scanners/clamav/files/oe_cmake_fixup.patch b/recipes-scanners/clamav/files/oe_cmake_fixup.patch index b284915..c9c88b9 100644 --- a/recipes-scanners/clamav/files/oe_cmake_fixup.patch +++ b/recipes-scanners/clamav/files/oe_cmake_fixup.patch | |||
@@ -22,7 +22,7 @@ Index: git/CMakeLists.txt | |||
22 | if(C_LINUX) | 22 | if(C_LINUX) |
23 | if(CMAKE_COMPILER_IS_GNUCXX) | 23 | if(CMAKE_COMPILER_IS_GNUCXX) |
24 | # Set _GNU_SOURCE for O_LARGEFILE, O_CLOEXEC, O_DIRECTORY, O_NOFOLLOW, etc flags on older systems | 24 | # Set _GNU_SOURCE for O_LARGEFILE, O_CLOEXEC, O_DIRECTORY, O_NOFOLLOW, etc flags on older systems |
25 | @@ -512,14 +506,8 @@ include(TestInline) | 25 | @@ -581,14 +575,8 @@ include(TestInline) |
26 | include(CheckFileOffsetBits) | 26 | include(CheckFileOffsetBits) |
27 | # Determine how to pack structs on this platform. | 27 | # Determine how to pack structs on this platform. |
28 | include(CheckStructPacking) | 28 | include(CheckStructPacking) |