summaryrefslogtreecommitdiff
path: root/clamav
diff options
context:
space:
mode:
authorMatt Housh <jaeger@morpheus.net>2012-09-18 10:57:32 -0500
committerMatt Housh <jaeger@morpheus.net>2012-09-18 10:57:32 -0500
commit20682ac3df4afe42ceff895e9161f9a3fae21030 (patch)
treee45777f6fce975445e9b37124f4e4b38860b9b9e /clamav
parent80cbbb242644add23ab0cd71208eaa0c27581422 (diff)
downloadcontrib-20682ac3df4afe42ceff895e9161f9a3fae21030.tar.gz
contrib-20682ac3df4afe42ceff895e9161f9a3fae21030.tar.xz
clamav: updated to version 0.97.6
Diffstat (limited to 'clamav')
-rw-r--r--clamav/.footprint20
-rw-r--r--clamav/.md5sum4
-rw-r--r--clamav/Pkgfile3
-rw-r--r--clamav/clamd6
4 files changed, 19 insertions, 14 deletions
diff --git a/clamav/.footprint b/clamav/.footprint
index 34e366687..16970df3c 100644
--- a/clamav/.footprint
+++ b/clamav/.footprint
@@ -18,17 +18,17 @@ drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/clamav.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libclamav.la
-lrwxrwxrwx root/root usr/lib/libclamav.so -> libclamav.so.6.1.12
-lrwxrwxrwx root/root usr/lib/libclamav.so.6 -> libclamav.so.6.1.12
--rwxr-xr-x root/root usr/lib/libclamav.so.6.1.12
+lrwxrwxrwx root/root usr/lib/libclamav.so -> libclamav.so.6.1.15
+lrwxrwxrwx root/root usr/lib/libclamav.so.6 -> libclamav.so.6.1.15
+-rwxr-xr-x root/root usr/lib/libclamav.so.6.1.15
-rwxr-xr-x root/root usr/lib/libclamunrar.la
-lrwxrwxrwx root/root usr/lib/libclamunrar.so -> libclamunrar.so.6.1.12
-lrwxrwxrwx root/root usr/lib/libclamunrar.so.6 -> libclamunrar.so.6.1.12
--rwxr-xr-x root/root usr/lib/libclamunrar.so.6.1.12
+lrwxrwxrwx root/root usr/lib/libclamunrar.so -> libclamunrar.so.6.1.15
+lrwxrwxrwx root/root usr/lib/libclamunrar.so.6 -> libclamunrar.so.6.1.15
+-rwxr-xr-x root/root usr/lib/libclamunrar.so.6.1.15
-rwxr-xr-x root/root usr/lib/libclamunrar_iface.la
-lrwxrwxrwx root/root usr/lib/libclamunrar_iface.so -> libclamunrar_iface.so.6.1.12
-lrwxrwxrwx root/root usr/lib/libclamunrar_iface.so.6 -> libclamunrar_iface.so.6.1.12
--rwxr-xr-x root/root usr/lib/libclamunrar_iface.so.6.1.12
+lrwxrwxrwx root/root usr/lib/libclamunrar_iface.so -> libclamunrar_iface.so.6.1.15
+lrwxrwxrwx root/root usr/lib/libclamunrar_iface.so.6 -> libclamunrar_iface.so.6.1.15
+-rwxr-xr-x root/root usr/lib/libclamunrar_iface.so.6.1.15
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libclamav.pc
drwxr-xr-x root/root usr/man/
@@ -51,8 +51,6 @@ drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/clamd
drwxr-xr-x root/root usr/share/
drwxrwxr-x clamav/clamav usr/share/clamav/
--rw-rw-r-- clamav/clamav usr/share/clamav/daily.cvd
--rw-rw-r-- clamav/clamav usr/share/clamav/main.cvd
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/log/
drwxr-xr-x clamav/clamav var/log/clamav/
diff --git a/clamav/.md5sum b/clamav/.md5sum
index 557d64c02..e51906849 100644
--- a/clamav/.md5sum
+++ b/clamav/.md5sum
@@ -1,5 +1,5 @@
-5cf25ed7778fa0cb6b140ad8f009befb clamav-0.97.3.tar.gz
-5541cdc8ba10a90822cf5bc7f1f9c7a9 clamd
+1dbdd803b37c0d9d222e4316049f46a2 clamav-0.97.6.tar.gz
+aaac6d51260a03830f04d561ea8dda37 clamd
9d2a838b95ce45afbee5a17d5e61b5cd clamd.conf
c7d815c57b585a63815c1e1d626421fc freshclam
f372aa7d0ace79eb0909dc6aa816aad8 freshclam.conf
diff --git a/clamav/Pkgfile b/clamav/Pkgfile
index 26e48ba59..bb9e05945 100644
--- a/clamav/Pkgfile
+++ b/clamav/Pkgfile
@@ -4,7 +4,7 @@
# Depends on: zlib, bzip2, libgmp, curl
name=clamav
-version=0.97.3
+version=0.97.6
release=1
source=(http://download.sourceforge.net/$name/$name-$version.tar.gz \
clamd.conf freshclam.conf clamd freshclam)
@@ -26,4 +26,5 @@ build() {
install -d $PKG/etc/rc.d
install -o root -g root -m 0755 $SRC/{clamd,freshclam} \
$PKG/etc/rc.d/
+ install -o clamav -g clamav -m 0775 -d $PKG/usr/share/clamav
}
diff --git a/clamav/clamd b/clamav/clamd
index 8934f81b7..6d21c1a6a 100644
--- a/clamav/clamd
+++ b/clamav/clamd
@@ -3,8 +3,14 @@
# /etc/rc.d/clamd: start/stop clam antivirus daemon
#
+CLAMDIR=/usr/share/clamav
+
case $1 in
start)
+ if [ ! -f ${CLAMDIR}/main.cvf -o ! -f ${CLAMDIR}/daily.cvd -o ! -f ${CLAMDIR}/bytecode.cvd ]
+ then
+ /usr/bin/freshclam
+ fi
/usr/sbin/clamd
;;
stop)

Generated by cgit