clamav-db-main 58
[git/cygwin-packages/clamav-db-main.git] / clamav-db-main.cygport
CommitLineData
823e67e1 1NAME="clamav-db-main"
4bbd68cf 2VERSION=58
823e67e1
YS
3RELEASE=1
4CATEGORY="Utils"
5SUMMARY="ClamAV virus definitions (main database)"
6DESCRIPTION="Clam AntiVirus is a GPL anti-virus toolkit for UNIX, featuring
7command-line scanner, fast, multi-threaded daemon, database updater with
8support for digital signatures, virus scanner C library, detection of over
920000 viruses, worms and trojans, built-in support for RAR (2.0), Zip, Gzip,
10Bzip2, built-in support for Mbox, Maildir and raw mail files"
11HOMEPAGE="http://clamav.net/"
12SRC_URI="http://db.local.clamav.net/main.cvd#/main-${VERSION}.cvd"
13SRC_DIR=.
14
15ARCH=noarch
16
17OBSOLETES="clamav-db"
18
4bbd68cf
YS
19CYGPORT_USE_UNSTABLE_API=1
20src_unpack_hook() {
21 local mainv=$(sigtool --info main-*.cvd 2>/dev/null | grep Version: | cut -d' ' -f2)
22
23 if [ ${mainv} != ${VERSION} ]
24 then
25 error "Database version mismatch: ${mainv} != ${VERSION}"
26 fi
27}
28
823e67e1
YS
29src_compile() { :; }
30
31src_install() {
32 cd ${S}
33 insinto /var/lib/clamav
34 newins main-${VERSION}.cvd main.cvd
35}
This page took 0.020368 seconds and 5 git commands to generate.