diff options
Diffstat (limited to 'system/clamav/clamav.SlackBuild')
-rw-r--r-- | system/clamav/clamav.SlackBuild | 12 |
1 files changed, 11 insertions, 1 deletions
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 |