GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

4 versions of Clamav.

ProgramAgeSizeByWWWSummary
Clamav 0.99.2-r1 85  3233 Luca...
Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX.
view entry at GitHub | download recipe.bz2 file
01-gcc-6.patch
Recipe
Resources/BuildInformation
Resources/Dependencies
Resources/Description
# Recipe for version 0.99.2 by Lucas C. Villa Real <lucasvr@gobolinux.org>, on Sun \
Jun 25 14:07:16 BRT 2017
# Recipe (MakeRecipe) for Clamav by roko, <ro.ko@mcnon.com>, on Sun Dec 5 22:30:18 \
BRST 2004
compile_version=1.8.0
url="https://www.clamav.net/downloads/production/clamav-0.99.2.tar.gz"
file_size=16067497
file_md5=61b51a04619aeafd965892a53f86d192
recipe_type=configure
configure_options=(
    #--enable-milter
    --datadir=$goboVariable/clamav
    --disable-zlib-vcheck
)

unmanaged_files=(
    $goboVariable/clamav
)

pre_build() {
    Log_Normal "Check if user and group clamav exist, add if necessary !!"
    grep -q clamav $goboSettings/group  || groupadd clamav
    grep -q clamav $goboSettings/passwd || useradd clamav -s /bin/false -d $target \
-g clamav
}

pre_link() {
    mkdir -p $goboVariable/clamav
    cp $target/Shared/clamav/*.cvd $goboVariable/clamav/
    chown -R clamav $goboVariable/clamav
 
    GrepReplace "Example" "#Example" $settings_target/clamd.conf
    GrepReplace "#User clamav" "User clamav" $settings_target/clamd.conf
    GrepReplace "LocalSocket /tmp/clamd" "LocalSocket $goboVariable/tmp/clamd" $settings_target/clamd.conf
    GrepReplace "#LogFile /tmp/clamd.log" "LogFile $goboVariable/clamav/clamd.log" \
$settings_target/clamd.conf
    GrepReplace "#DatabaseDirectory /var/lib/clamav" "DatabaseDirectory $goboVariable/clamav" \
$settings_target/clamd.conf
    GrepReplace "Example" "#Example" $settings_target/freshclam.conf
    GrepReplace "#DatabaseDirectory /var/lib/clamav" "DatabaseDirectory $goboVariable/clamav" \
$settings_target/freshclam.conf
    GrepReplace "#UpdateLogFile /var/log/freshclam.log" "UpdateLogFile $goboVariable/clamav/freshclam.logs" \
$settings_target/freshclam.conf
}
#for databasemirrors look here: http://www.clamav.net/mirrors.html
Clamav 0.93.3-r1 3124  1398 Fabi...
Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX.
Clamav 0.83-r3 3124  1301 roko
Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX.
Clamav 0.80-r1 3124  1075 roko (none)