summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/clamav/README3
-rw-r--r--system/clamav/clamav.SlackBuild12
-rw-r--r--system/clamav/clamav.info6
3 files changed, 17 insertions, 4 deletions
diff --git a/system/clamav/README b/system/clamav/README
index 13e6dd0bc3..6a31809c6a 100644
--- a/system/clamav/README
+++ b/system/clamav/README
@@ -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.
diff --git a/system/clamav/clamav.SlackBuild b/system/clamav/clamav.SlackBuild
index 7595c25eed..db6dda3036 100644
--- a/system/clamav/clamav.SlackBuild
+++ b/system/clamav/clamav.SlackBuild
@@ -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
diff --git a/system/clamav/clamav.info b/system/clamav/clamav.info
index b13dae1cb9..51ac1dca24 100644
--- a/system/clamav/clamav.info
+++ b/system/clamav/clamav.info
@@ -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=""