Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/utils In directory vz-cvs-3.sog:/tmp/cvs-serv6049
Modified Files: clamav.info Log Message: Latest upstream version. Index: clamav.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/utils/clamav.info,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- clamav.info 19 Mar 2012 15:54:02 -0000 1.31 +++ clamav.info 21 Sep 2012 08:29:26 -0000 1.32 @@ -1,6 +1,6 @@ Info3: << Package: clamav -Version: 0.97.4 +Version: 0.97.6 Revision: 11 Description: Clam Anti-Virus scanner @@ -49,7 +49,7 @@ Homepage: http://www.clamav.net/ License: GPL Source: mirror:sourceforge:%n/%n-%v.tar.gz -Source-MD5: dc1e5abc093b11f120e4eac94a7f78aa +Source-MD5: 1dbdd803b37c0d9d222e4316049f46a2 BuildConflicts: clamav2-dev, clamav3-dev, clamav4-dev, clamav5-dev, clamav6-dev BuildDepends: << @@ -69,6 +69,7 @@ PatchScript: << %{default_script} /usr/bin/sed -i'.bak' 's/LC_AGE=1/LC_AGE=0/g' configure* + /usr/bin/sed -i'.bak' 's/-print-multi-os-directory//g' configure* << SetCC: %p/bin/gcc-4 @@ -202,11 +203,13 @@ InfoTest: << TestSuiteSize: medium + TestSource: http://db.local.clamav.net/main.cvd + TestSource-MD5: eb12490fda87d602e476d4b163f8a34b TestScript: << #!/bin/sh -ev make check || exit 2 for clamfile in `/bin/ls -1 %b/test/clam*`; do - ( %b/clamscan/clamscan --database=%b/database $clamfile ) ; + ( %b/clamscan/clamscan --database=%b/.. $clamfile ) ; if [ $? -ne 1 ] ; then exit 2 ; fi done << @@ -215,6 +218,7 @@ PostInstScript: << # need to change permissions here as these files might already been # installed, in which case the permission are not adjusted + /bin/mkdir -p %p/var/db/clamav /usr/sbin/chown -R clamav:admin %p/var/db/clamav /bin/chmod g+w %p/var/db/clamav /bin/chmod g+w %p/etc/freshclam.conf @@ -231,7 +235,9 @@ printf "\nTo download the latest virus definitions in future, run 'freshclam'.\n" << PreRmScript: << - # Remove db files - /bin/rm -rf %p/var/db/clamav + if [ $1 != "upgrade" ]; then + # Remove db files + /bin/rm -rf %p/var/db/clamav + fi << << ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs