From 02b58fae37091fc43ee9c3e7747d8e8c29201adf Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Fri, 26 Jan 2018 09:15:37 +0100 Subject: system/clamav: Updated for version 0.99.3. Signed-off-by: Matteo Bernardini --- system/clamav/clamav.SlackBuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'system/clamav/clamav.SlackBuild') diff --git a/system/clamav/clamav.SlackBuild b/system/clamav/clamav.SlackBuild index b783811bf21f0..4a7b190e7ded8 100644 --- a/system/clamav/clamav.SlackBuild +++ b/system/clamav/clamav.SlackBuild @@ -1,6 +1,7 @@ #!/bin/sh # Copyright (c) 2006,2007 Eric Hameleers +# Copyright (c) 2011-2018 Matteo Bernardini # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,13 +28,13 @@ # No additional license terms added PRGNAM=clamav -VERSION=${VERSION:-0.99.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.99.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -48,8 +49,8 @@ OUTPUT=${OUTPUT:-/tmp} # See http://www.iana.org/cctld/cctld-whois.htm for options COUNTRY=${COUNTRY:-us} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -112,9 +113,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Patch from upstream -patch -p1 < $CWD/bb111711-fix-zlib-version-check.patch - # Specify the desired mirror in the update config file # http://www.iana.org/cctld/cctld-whois.htm sed -i "s/^\#DatabaseMirror.*/DatabaseMirror db.${COUNTRY}.clamav.net/" \ -- cgit v1.2.3