mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/clamav: Updated for version 0.98.6.
Noted the new optional dependency json-c Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
78b73391e8
commit
ebc1908f01
3 changed files with 17 additions and 4 deletions
|
@ -13,3 +13,6 @@ default to "us" if nothing is specified). For example:
|
|||
You need a "clamav" user and group - we suggest uid=210 and gid=210.
|
||||
|
||||
See README.SLACKWARE for configuration help.
|
||||
|
||||
json-c is an optional dependency to enable the file properties collection
|
||||
and analysis feature.
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
# No additional license terms added
|
||||
|
||||
PRGNAM=clamav
|
||||
VERSION=${VERSION:-0.98.5}
|
||||
VERSION=${VERSION:-0.98.6}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -77,6 +77,15 @@ elif ! getent passwd clamav 2>&1 > /dev/null; then
|
|||
bailout ;
|
||||
fi
|
||||
|
||||
# check if json-c is there: if it is, build over it to enable
|
||||
# the file properties collection and analysis feature
|
||||
# http://blog.clamav.net/2014/11/intro-to-collection-and-analysis-of.html
|
||||
if pkg-config --exists json-c ; then
|
||||
with_jsonc="--with-libjson"
|
||||
else
|
||||
with_jsonc=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
|
@ -138,6 +147,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--enable-clamdtop \
|
||||
--disable-static \
|
||||
--disable-experimental \
|
||||
$with_jsonc \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make V=1
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="clamav"
|
||||
VERSION="0.98.5"
|
||||
VERSION="0.98.6"
|
||||
HOMEPAGE="http://www.clamav.net/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/clamav/clamav-0.98.5.tar.gz"
|
||||
MD5SUM="abb5c7efaff3394c0a49ff970841a2ac"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/clamav/clamav-0.98.6.tar.gz"
|
||||
MD5SUM="7f4f7e82a09e42c4ebf153d6d452d9d8"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue