Clamav (neko mips4)

From Nekoware

Jump to: navigation, search
neko_clamav
Packaged by: Joerg Behrens
Internal Version: 5
Download: neko_clamav-0.92.1.tardist
Current release: 0.92.1 / March 21 2008
Use: Unknown
Licence: Unknown
Website: www.clamav.net/


Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of this software is the integration with mail servers (attachment scanning). The package provides a flexible and scalable multi-threaded daemon, a command line scanner, and a tool for automatic updating via Internet. The programs are based on a shared library distributed with the Clam AntiVirus package, which you can use with your own software. Most importantly, the virus database is kept up to date.

For more information visit http://www.clamav.net/ .

Contents

[edit] Installing the package

Download and install the neko_clamav-0.92.1 (version 5) tardist package from the Nekoware repository.

Installation of the precompiled binary package can be achieved using either Software Manager or inst: In the case of inst, all that's required is the command:

~ $ inst -f /path/to/neko_clamav-0.92.1.tardist
install all
keep *.opt.src
go
quit

You will need "root" privileges to install the software.

A list of all files is installed by this package is available.

[edit] Package Dependencies

The following additional packages are required to run this software correctly:


[edit] Package Incompatibilities

The following packages are marked as incompatible.

  • No incompatibilities.

[edit] Package Layout

Default indicates whether the subsystem will be installed if "install standard" (or similar) is used. Order is used if any given subsystem must be installed before others.

Name Size [Kbytes] Default Order Description
neko_clamav.sw.eoe 519 Yes 9999 execution only env
neko_clamav.sw.hdr 7 Yes 9999 header
neko_clamav.sw.lib 2,681 Yes 9999 shared libraries
neko_clamav.opt.relnotes 2 No 9999 release notes
neko_clamav.opt.src 14,521 No 9999 original source code
neko_clamav.opt.dist 10 No 9999 distribution files
neko_clamav.man.manpages 46 Yes 9999 man pages


[edit] Compiling

As for the majority of Nekoware packages, the 7.4.x release of SGI's MIPSpro Compiler suite has been used to build this package.


[edit] Environment

export CC=c99
export CFLAGS='-O3 -mips4 -I/usr/nekoware/include -I/usr/nekoware/kde/include  -OPT:Olimit=0:roundoff=3  -TARG:platform=IP35:proc=r14000'
export CXXFLAGS=$CFLAGS
export CPPFLAGS='-I/usr/nekoware/include'
export CXX=CC
export F77=f77
export LDFLAGS='-L/usr/nekoware/lib -L/usr/nekoware/kde/lib -Wl,-rpath -Wl,/usr/nekoware/lib'
export PKG_CONFIG=/usr/nekoware/bin/pkg-config
export PKG_CONFIG_PATH='/usr/nekoware/lib/pkgconfig'
export PKG_CONFIG_LIBDIR='/usr/nekoware/lib'
export LD_LIBRARY_PATH='/usr/nekoware/lib'
export LD_LIBRARYN32_PATH='/usr/nekoware/lib'
export LD_LIBRARY64_PATH='/usr/nekoware/lib64'
export GNOME2_DIR='/usr/nekoware'
export GNUMAKE='/usr/nekoware/bin/make'
export PATH=/usr/nekoware/bin:$PATH
export PYTHONHOME=/usr/nekoware
export PYTHONPATH=/usr/nekoware/lib/python2.4
export PERL=/usr/nekoware/bin/perl      
export QTDIR=/usr/nekoware/qt4



[edit] Configure

./configure --with-zlib=/usr/nekoware --disable-clamuko --disable-clamav --prefix=/usr/nekoware
gmake && gmake install


[edit] Release Notes

Click on the "show" link to expand the contents of the package's 'relnotes' file.


[edit] Errors/Miscellaneous

Compiling of the sha256.o objects doesnt work when using -03. Stop the task during the optimization phase and edit the change the compile to use -02.

Move the man pages from /share/man/ to /man/.

INSTALLATION:

This package comes with a exit-op script which creates the clamav user and group if they dont already exists.

The config files are pre-configured so the package should work after installation but please take a closer look into both files! To update the virus definitions run the freshclam programm from a cronjob once a day.

Open the config files an outcomment or remove the "Example" line. Otherwise the programs doesnt start!


[edit] Older Versions


[edit] External Links

Personal tools