From fcab568dea5bbf0fb8bb322fb3d27b455ea804d3 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 24 Feb 2019 16:34:46 +0100 Subject: gnu: clamav: Update to 0.101.1. * gnu/packages/antivirus.scm (clamav): Update to 0.101.1. [source]: Delete bundled tomsfastmath outright. [native-inputs]: Remove bison and flex. [inputs]: Switch to pcre2. * gnu/packages/patches/clamav-system-tomsfastmath.patch: Update. --- gnu/packages/antivirus.scm | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'gnu/packages/antivirus.scm') diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm index c3f11865e2..840b5410a6 100644 --- a/gnu/packages/antivirus.scm +++ b/gnu/packages/antivirus.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016, 2017, 2018 Eric Bavier ;;; Copyright © 2018 Christopher Baines +;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -43,45 +44,43 @@ (define-module (gnu packages antivirus) (define-public clamav (package (name "clamav") - (version "0.100.2") + (version "0.101.1") (source (origin (method url-fetch) (uri (string-append "https://www.clamav.net/downloads/production/" "clamav-" version ".tar.gz")) (sha256 (base32 - "1mkd41sxbjkfjinpx5b9kb85q529gj2s3d0klysssqhysh64ybja")) + "01mq3z04fjbq5iq8wfwfim72iv3dn04d3ishc5lkhxpmnalqydps")) (modules '((guix build utils))) (snippet '(begin (for-each delete-file-recursively - '("win32" ;unnecessary - "libclamav/c++/llvm" ;use system llvm - "libclamunrar")))) ;non-free license + '("win32" ; unnecessary + "libclamav/c++/llvm" ; use system llvm + "libclamav/tomsfastmath" ; use system tomsfastmath + "libclamunrar")))) ; non-free license (patches (search-patches "clamav-system-tomsfastmath.patch" "clamav-config-llvm-libs.patch")))) (build-system gnu-build-system) (native-inputs - `(("bison" ,bison) - ("check" ,check) ;for tests - ("flex" ,flex) - ("pkg-config" ,pkg-config) - ;; The tomsfastmath patch touches configure.ac and Makefile.am - ("autoconf" ,autoconf) + `(("autoconf" ,autoconf) ("automake" ,automake) - ("libtool" ,libtool))) + ("check" ,check) ; for tests + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) (inputs `(("bzip2" ,bzip2) ("libcurl" ,curl) ("libjson" ,json-c) ("libltdl" ,libltdl) ("libmspack" ,libmspack) - ("llvm" ,llvm-3.6) ;requires <3.7, for JIT/verifier + ("llvm" ,llvm-3.6) ; requires <3.7, for JIT/verifier ("ncurses" ,ncurses) ("openssl" ,libressl) - ("pcre" ,pcre "bin") ;for pcre-config - ("sasl" ,cyrus-sasl) ;for linking curl with libtool + ("pcre2" ,pcre2) + ("sasl" ,cyrus-sasl) ; for linking curl with libtool ("tomsfastmath" ,tomsfastmath) ("xml" ,libxml2) ("zlib" ,zlib))) @@ -99,7 +98,7 @@ (define-public clamav (with "xml") (with "openssl") (with "libjson") - (with "pcre") + (with "pcre2") (with "zlib") (with "libcurl") ;; For sanity, specifying --enable-* flags turns -- cgit v1.2.3