Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv4932
Modified Files: clamav.info Added Files: clamav-0.88.7.info Log Message: Major new upstream version, changed compatibility version of shlibs --- NEW FILE: clamav-0.88.7.info --- Info3: << Package: clamav Version: 0.88.7 Revision: 53 Description: Clam Anti-Virus scanner DescDetail: << Clam AntiVirus is an anti-virus scanner written from scratch. It is licensed under GNU GPL2 and uses the virus database from OpenAntiVirus, which is an another free anti-virus project. In contrast to the OpenAntiVirus which is written in Java, Clam AntiVirus is written entirely in C and is POSIX compliant. << DescUsage: << 'clamscan' scans the current working directory for known viruses. See 'man clamscan' for details. For virus updates, run 'freshclam' from a shell prompt or in a cron script. << SplitOff: << Description: Shared libraries for ClamAV Package: %N-shlibs Depends: bzip2-shlibs, gmp-shlibs (>= 4.1.4-1) InstallScript: << /usr/bin/install -d -m 755 %i/lib /bin/mv %I/lib/libclamav.1*.dylib %i/lib << Shlibs: << %p/lib/libclamav.1.dylib 2.0.0 %n (>= 0.80-1) << << SplitOff2: << Description: ClamAV daemon DescDetail: << Installs and runs the ClamAV daemon using the daemonic package. << DescUsage: << In order to use the clamd daemon, you need to call 'clamdscan' (note the d in contrast to the standard 'clamscan' command). You might want to edit %p/etc/clamd.conf to suit your needs. Additionally, enable 'NotifyClamd' in %p/etc/freshclam.conf such that the ClamAV daemon gets notified about virus definition updates. << Package: %N-daemon Depends: %N, daemonic, fink-obsolete-packages Files: << etc/clamd.conf bin/clamdscan sbin/clamd << ConfFiles: %p/etc/clamd.conf DaemonicName: clamav DaemonicFile: << <service> <description>ClamAV</description> <message>ClamAV anti-virus daemon</message> <daemon name="clamd"> <executable background="yes">%p/sbin/clamd</executable> <configfile>%p/etc/clamd.conf</configfile> <pidfile>%p/var/run/clamd.pid</pidfile> </daemon> </service> << PostInstScript: << daemonic enable clamav /Library/StartupItems/daemonic-clamav/daemonic-clamav start << PreRmScript: << if [ $1 != "upgrade" ]; then daemonic remove clamav fi << << SplitOff3: << Description: Developer files for ClamAV Package: %N-dev Depends: %N (=%v-%r), pkgconfig, fink-obsolete-packages BuildDependsOnly: true InstallScript: << /bin/mv %I/include %I/lib %i << Files: bin/clamav-config << Source: mirror:sourceforge:%n/%n-%v.tar.gz Source-MD5: 34a9d58cf5bcb04dbe3eb32b5367a3f8 BuildDepends: gmp (>= 4.1.4-1), bzip2, bzip2-dev, fink-obsolete-packages Depends: %N-shlibs (=%v-%r), unrar ConfigureParams: --mandir=%p/share/man --with-dbdir=%p/var/db/%n --sysconfdir=%p/etc --disable-dependency-tracking InstallScript: << #!/bin/sh -ev /usr/bin/make install DESTDIR=%d for configfile in clamd.conf freshclam.conf ; do /usr/bin/sed 's/^Example/#Example/' etc/$configfile > %i/etc/$configfile done /usr/sbin/chown -R clamav:admin %i/var/db/%n /bin/chmod g+w %i/var/db/%n /usr/bin/install -d -m 755 %i/share/doc/%n /bin/mv docs/* %i/share/doc/%n (cd %i/share/doc/%n; /bin/rm -R Makefile Makefile.am Makefile.in man) || exit 1 /usr/bin/install -d -m 755 %i/share/doc/%n/test/ /bin/cp -r test/* %i/share/doc/%n/test/ #Remove CVS directories /usr/bin/find %i -name "CVS" -type d -depth -exec rm -rf \{\} \; << InfoTest: << TestSuiteSize: small TestScript: << #!/bin/sh -ev ( %b/clamscan/clamscan --unrar --database=%b/database %b/test/clam-error.rar ) ; if [ $? -ne 1 ] ; then exit 2 ; fi ( %b/clamscan/clamscan --database=%b/database %b/test/clam.rar ) ; if [ $? -ne 1 ] ; then exit 2 ; fi ( %b/clamscan/clamscan --database=%b/database %b/test/clam.exe ) ; if [ $? -ne 1 ] ; then exit 2 ; fi ( %b/clamscan/clamscan --database=%b/database %b/test/clam.exe.bz2 ) ; if [ $? -ne 1 ] ; then exit 2 ; fi ( %b/clamscan/clamscan --database=%b/database %b/test/clam.zip ) ; if [ $? -ne 1 ] ; then exit 2 ; fi ( %b/clamscan/clamscan --database=%b/database %b/test/clam.cab ) ; if [ $? -ne 1 ] ; then exit 2 ; fi << << PreInstScript: << # Remove old virus databases which are not removed by previous clamav packages if [ -f %p/var/db/%n/viruses.db ]; then echo "Removing old virus definitions %p/var/db/clamav/viruses.db" rm -f %p/var/db/%n/viruses.db fi if [ -f %p/var/db/%n/viruses.db2 ]; then echo "Removing old virus definitions %p/var/db/clamav/viruses.db2" rm -f %p/var/db/%n/viruses.db2 fi if [ -d %p/share/%n ]; then echo "Removing old virus definitions directory %p/share/%n" rm -r %p/share/%n fi << PostInstScript: << # need to change permissions here as these files might already been # installed, in which case the permission are not adjusted /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 printf "\nDo you want to download the latest virus definitions now? [Yn] " YN=yes if ! read -t 20 YN; then echo "Yes" fi case $YN in [nN]|[nN][oO]) echo "Your virus definitions might be out-dated." ;; *) set +e ; %p/bin/freshclam ;; esac printf "\nTo download the latest virus definitions in future, run 'freshclam'.\n" << ConfFiles: %p/etc/freshclam.conf DocFiles: AUTHORS BUGS COPYING ChangeLog FAQ NEWS README TODO Maintainer: Remi Mommsen <[EMAIL PROTECTED]> Homepage: http://www.clamav.net/ License: GPL DescPackaging: << clamscan requires a user named 'clamav' to run in superuser mode regardless of how it was built. (Important when running the post-build tests because fink runs as root). During the test the virus database isn't actually installed yet so the one in the build directory is specified. The database directory %i/var/db/%n must be owned by the 'clamav' user. This requires a change of the owner during the build. Therefore, we cannot build as 'nobody'. Original package maintainer was Carsten Klapp <[EMAIL PROTECTED]>. << DescPort: << Install virus databases into %p/var/db/clamav instead of default %p/share/clamav; %p/share is for static data. << << Index: clamav.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/utils/clamav.info,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- clamav.info 26 Jan 2007 03:28:37 -0000 1.11 +++ clamav.info 7 Mar 2007 03:46:59 -0000 1.12 @@ -1,14 +1,16 @@ Info3: << Package: clamav -Version: 0.88.7 -Revision: 52 +Version: 0.90.1 +Revision: 51 + Description: Clam Anti-Virus scanner DescDetail: << - Clam AntiVirus is an anti-virus scanner written from scratch. It is - licensed under GNU GPL2 and uses the virus database from - OpenAntiVirus, which is an another free anti-virus project. In - contrast to the OpenAntiVirus which is written in Java, Clam - AntiVirus is written entirely in C and is POSIX compliant. + Clam AntiVirus is a GPL anti-virus toolkit for UNIX, designed + especially for e-mail scanning on mail gateways. It provides + a number of utilities including a flexible and scalable multi- + threaded daemon, a command line scanner and advanced tool for + automatic database updates. The core of the package is an + anti-virus engine available in a form of shared library. << DescUsage: << 'clamscan' scans the current working directory for known @@ -17,16 +19,75 @@ For virus updates, run 'freshclam' from a shell prompt or in a cron script. << +DescPackaging: << + clamscan requires a user named 'clamav' to run in + superuser mode regardless of how it was built. (Important when + running the post-build tests because fink runs as root). + + During the test the virus database isn't actually installed yet so + the one in the build directory is specified. + + The database directory %i/var/db/%n must be owned by the 'clamav' + user. This requires a change of the owner during the build. + Therefore, we cannot build as 'nobody'. + + Original package maintainer was Carsten Klapp + <[EMAIL PROTECTED]>. +<< +DescPort: << + Install virus databases into %p/var/db/clamav instead of default + %p/share/clamav; %p/share is for static data. +<< + +Maintainer: Remi Mommsen <[EMAIL PROTECTED]> +Homepage: http://www.clamav.net/ +License: GPL +Source: mirror:sourceforge:%n/%n-%v.tar.gz +Source-MD5: cd11c05b5476262eaea4fa3bd7dc25bf + +BuildDepends: gmp (>= 4.1.4-1), bzip2, bzip2-dev, system-openssl-dev +Depends: clamav2-shlibs (=%v-%r), unrar + +CompileScript: << + #!/bin/sh -ev + export PKG_CONFIG_PATH=%p/lib/system-openssl/lib/pkgconfig + ./configure --prefix=%p --mandir=%p/share/man --with-dbdir=%p/var/db/%n \ + --sysconfdir=%p/etc --disable-dependency-tracking + make +<< +InstallScript: << + #!/bin/sh -ev + /usr/bin/make install DESTDIR=%d + + for configfile in clamd.conf freshclam.conf ; do + /usr/bin/sed 's/^Example/#Example/' etc/$configfile > %i/etc/$configfile + done + + /usr/sbin/chown -R clamav:admin %i/var/db/%n + /bin/chmod g+w %i/var/db/%n + + /usr/bin/install -d -m 755 %i/share/doc/%n + /bin/mv docs/* %i/share/doc/%n + (cd %i/share/doc/%n; /bin/rm -R Makefile Makefile.am Makefile.in man) || exit 1 + /usr/bin/install -d -m 755 %i/share/doc/%n/test/ + /bin/cp -r test/* %i/share/doc/%n/test/ + + #Remove CVS directories + /usr/bin/find %i -name "CVS" -type d -depth -exec rm -rf \{\} \; +<< +ConfFiles: %p/etc/freshclam.conf +DocFiles: AUTHORS BUGS COPYING ChangeLog FAQ NEWS README UPGRADE + SplitOff: << Description: Shared libraries for ClamAV - Package: %N-shlibs + Package: clamav2-shlibs Depends: bzip2-shlibs, gmp-shlibs (>= 4.1.4-1) InstallScript: << /usr/bin/install -d -m 755 %i/lib - /bin/mv %I/lib/libclamav.1*.dylib %i/lib + /bin/mv %I/lib/libclamav.2*.dylib %i/lib << Shlibs: << - %p/lib/libclamav.1.dylib 2.0.0 %n (>= 0.80-1) + %p/lib/libclamav.2.dylib 3.0.0 %n (>= 0.90.0-1) << << SplitOff2: << @@ -44,8 +105,8 @@ %p/etc/freshclam.conf such that the ClamAV daemon gets notified about virus definition updates. << - Package: %N-daemon - Depends: %N, daemonic + Package: clamav-daemon + Depends: clamav, daemonic Files: << etc/clamd.conf bin/clamdscan @@ -76,49 +137,25 @@ << SplitOff3: << Description: Developer files for ClamAV - Package: %N-dev - Depends: %N (=%v-%r), pkgconfig + Package: clamav2-dev + Depends: clamav (=%v-%r), pkgconfig + Conflicts: clamav-dev + Replaces: clamav-dev + Provides: clamav-dev BuildDependsOnly: true InstallScript: << /bin/mv %I/include %I/lib %i << Files: bin/clamav-config << -Source: mirror:sourceforge:%n/%n-%v.tar.gz -Source-MD5: 34a9d58cf5bcb04dbe3eb32b5367a3f8 -BuildDepends: gmp (>= 4.1.4-1), bzip2, bzip2-dev -Depends: %N-shlibs (=%v-%r), unrar -SetCFLAGS: -DTARGET_OS_FREEBSD -NoSetLDFLAGS: true -SetLIBS: -L%p/lib -ConfigureParams: --mandir=%p/share/man --with-dbdir=%p/var/db/%n --sysconfdir=%p/etc --disable-dependency-tracking -InstallScript: << - #!/bin/sh -ev - /usr/bin/make install DESTDIR=%d - for configfile in clamd.conf freshclam.conf ; do - /usr/bin/sed 's/^Example/#Example/' etc/$configfile > %i/etc/$configfile - done - - /usr/sbin/chown -R clamav:admin %i/var/db/%n - /bin/chmod g+w %i/var/db/%n - - /usr/bin/install -d -m 755 %i/share/doc/%n - /bin/mv docs/* %i/share/doc/%n - (cd %i/share/doc/%n; /bin/rm -R Makefile Makefile.am Makefile.in man) || exit 1 - /usr/bin/install -d -m 755 %i/share/doc/%n/test/ - /bin/cp -r test/* %i/share/doc/%n/test/ - - #Remove CVS directories - /usr/bin/find %i -name "CVS" -type d -depth -exec rm -rf \{\} \; -<< InfoTest: << TestSuiteSize: small TestScript: << #!/bin/sh -ev - ( %b/clamscan/clamscan --unrar --database=%b/database %b/test/clam-error.rar ) ; + ( %b/clamscan/clamscan --database=%b/database %b/test/clam-v2.rar ) ; if [ $? -ne 1 ] ; then exit 2 ; fi - ( %b/clamscan/clamscan --database=%b/database %b/test/clam.rar ) ; + ( %b/clamscan/clamscan --database=%b/database %b/test/clam-v3.rar ) ; if [ $? -ne 1 ] ; then exit 2 ; fi ( %b/clamscan/clamscan --database=%b/database %b/test/clam.exe ) ; if [ $? -ne 1 ] ; then exit 2 ; fi @@ -130,21 +167,7 @@ if [ $? -ne 1 ] ; then exit 2 ; fi << << -PreInstScript: << - # Remove old virus databases which are not removed by previous clamav packages - if [ -f %p/var/db/%n/viruses.db ]; then - echo "Removing old virus definitions %p/var/db/clamav/viruses.db" - rm -f %p/var/db/%n/viruses.db - fi - if [ -f %p/var/db/%n/viruses.db2 ]; then - echo "Removing old virus definitions %p/var/db/clamav/viruses.db2" - rm -f %p/var/db/%n/viruses.db2 - fi - if [ -d %p/share/%n ]; then - echo "Removing old virus definitions directory %p/share/%n" - rm -r %p/share/%n - fi -<< + PostInstScript: << # need to change permissions here as these files might already been # installed, in which case the permission are not adjusted @@ -163,28 +186,4 @@ esac printf "\nTo download the latest virus definitions in future, run 'freshclam'.\n" << -ConfFiles: %p/etc/freshclam.conf -DocFiles: AUTHORS BUGS COPYING ChangeLog FAQ NEWS README TODO -Maintainer: Remi Mommsen <[EMAIL PROTECTED]> -Homepage: http://www.clamav.net/ -License: GPL -DescPackaging: << - clamscan requires a user named 'clamav' to run in - superuser mode regardless of how it was built. (Important when - running the post-build tests because fink runs as root). - - During the test the virus database isn't actually installed yet so - the one in the build directory is specified. - - The database directory %i/var/db/%n must be owned by the 'clamav' - user. This requires a change of the owner during the build. - Therefore, we cannot build as 'nobody'. - - Original package maintainer was Carsten Klapp - <[EMAIL PROTECTED]>. -<< -DescPort: << - Install virus databases into %p/var/db/clamav instead of default - %p/share/clamav; %p/share is for static data. -<< << ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits