clamav-db-main 58
[git/cygwin-packages/clamav-db-main.git] / clamav-db-main.cygport
1 NAME="clamav-db-main"
2 VERSION=58
3 RELEASE=1
4 CATEGORY="Utils"
5 SUMMARY="ClamAV virus definitions (main database)"
6 DESCRIPTION="Clam AntiVirus is a GPL anti-virus toolkit for UNIX, featuring
7 command-line scanner, fast, multi-threaded daemon, database updater with
8 support for digital signatures, virus scanner C library, detection of over
9 20000 viruses, worms and trojans, built-in support for RAR (2.0), Zip, Gzip,
10 Bzip2, built-in support for Mbox, Maildir and raw mail files"
11 HOMEPAGE="http://clamav.net/"
12 SRC_URI="http://db.local.clamav.net/main.cvd#/main-${VERSION}.cvd"
13 SRC_DIR=.
14
15 ARCH=noarch
16
17 OBSOLETES="clamav-db"
18
19 CYGPORT_USE_UNSTABLE_API=1
20 src_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
29 src_compile() { :; }
30
31 src_install() {
32 cd ${S}
33 insinto /var/lib/clamav
34 newins main-${VERSION}.cvd main.cvd
35 }
This page took 0.03338 seconds and 5 git commands to generate.