From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] update ClamAV to 0.100.0
Date: Mon, 23 Apr 2018 11:34:46 +0100 [thread overview]
Message-ID: <1524479686.1637848.228.camel@ipfire.org> (raw)
In-Reply-To: <8a2a2da2-bb60-2944-fdd8-c00b517a3559@link38.eu>
[-- Attachment #1: Type: text/plain, Size: 3041 bytes --]
Thanks. Merged.
On Sat, 2018-04-21 at 18:44 +0200, Peter Müller wrote:
> Update ClamAV to 0.100.0, which brings some new features and bugfixes
> (release notes are available here: https://blog.clamav.net/2018/04/clamav-0100
> 0-has-been-released.html).
>
> Since the internal LLVM code is now deprecated and disabled by default,
> patching clamav/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
> does not seem to be necessary anymore.
>
> Further, the --disable-zlib-vcheck option has been removed since it
> produces warnings during compilation.
>
> Signed-off-by: Peter Müller <peter.mueller(a)link38.eu>
> ---
> lfs/clamav | 8 +++-----
> src/patches/clamav/llvm-glibc.patch | 12 ------------
> 2 files changed, 3 insertions(+), 17 deletions(-)
> delete mode 100644 src/patches/clamav/llvm-glibc.patch
>
> diff --git a/lfs/clamav b/lfs/clamav
> index 748c2c371..7623801fb 100644
> --- a/lfs/clamav
> +++ b/lfs/clamav
> @@ -24,7 +24,7 @@
>
> include Config
>
> -VER = 0.99.4
> +VER = 0.100.0
>
> THISAPP = clamav-$(VER)
> DL_FILE = $(THISAPP).tar.gz
> @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
> DIR_APP = $(DIR_SRC)/$(THISAPP)
> TARGET = $(DIR_INFO)/$(THISAPP)
> PROG = clamav
> -PAK_VER = 37
> +PAK_VER = 38
>
> DEPS = ""
>
> @@ -48,7 +48,7 @@ objects = $(DL_FILE)
>
> $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>
> -$(DL_FILE)_MD5 = b9359b90086948b3c4eb97c84cf4b400
> +$(DL_FILE)_MD5 = 93e8efb489c2afdfca73703b76c24e01
>
> install : $(TARGET)
>
> @@ -81,10 +81,8 @@ $(subst %,%_MD5,$(objects)) :
> $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
> @$(PREBUILD)
> @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
> - cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/clamav/llvm-
> glibc.patch
> cd $(DIR_APP) && ./configure \
> --prefix=/usr \
> - --disable-zlib-vcheck \
> --sysconfdir=/var/ipfire/clamav \
> $(CONFIGURE_FLAGS)
> cd $(DIR_APP) && make $(MAKETUNING)
> diff --git a/src/patches/clamav/llvm-glibc.patch b/src/patches/clamav/llvm-
> glibc.patch
> deleted file mode 100644
> index 78845fcfc..000000000
> --- a/src/patches/clamav/llvm-glibc.patch
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -Index: clamav-0.97.3/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
> -===================================================================
> ---- clamav-
> 0.97.3.orig/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
> -+++ clamav-0.97.3/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
> -@@ -55,6 +55,7 @@ static void runAtExitHandlers() {
> - #include <sys/stat.h>
> - #endif
> - #include <fcntl.h>
> -+#include <unistd.h>
> - /* stat functions are redirecting to __xstat with a version number. On x86-
> 64
> - * linking with libc_nonshared.a and -Wl,--export-dynamic doesn't make
> 'stat'
> - * available as an exported symbol, so we have to add it explicitly.
prev parent reply other threads:[~2018-04-23 10:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-21 16:44 Peter Müller
2018-04-23 10:34 ` Michael Tremer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1524479686.1637848.228.camel@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox