[csw-devel] SF.net SVN: gar:[13230] csw/mgar/pkg/clamav/trunk

bonivart at users.sourceforge.net bonivart at users.sourceforge.net
Mon Feb 7 20:11:53 CET 2011


Revision: 13230
          http://gar.svn.sourceforge.net/gar/?rev=13230&view=rev
Author:   bonivart
Date:     2011-02-07 19:11:53 +0000 (Mon, 07 Feb 2011)

Log Message:
-----------
clamav: update to 0.97

Modified Paths:
--------------
    csw/mgar/pkg/clamav/trunk/Makefile
    csw/mgar/pkg/clamav/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/clamav/trunk/files/CSWclamav.clamav-milter.conf.p
    csw/mgar/pkg/clamav/trunk/files/CSWclamav.optparser.c.p

Modified: csw/mgar/pkg/clamav/trunk/Makefile
===================================================================
--- csw/mgar/pkg/clamav/trunk/Makefile	2011-02-07 15:54:56 UTC (rev 13229)
+++ csw/mgar/pkg/clamav/trunk/Makefile	2011-02-07 19:11:53 UTC (rev 13230)
@@ -1,6 +1,6 @@
 NAME = clamav
-#VERSION = 0.96.5
-VERSION = 0.97rc
+VERSION = 0.97
+#VERSION = 0.97rc
 #DISTNAME = $(NAME)-devel-latest
 CATEGORIES = apps
 
@@ -13,7 +13,7 @@
   the package is an anti-virus engine available in a form of shared library.
 endef
 
-SF_PROJ = clamav
+#SF_PROJ = clamav
 #MASTER_SITES = $(SF_MIRRORS)
 #MASTER_SITES = http://www.clamav.net/snapshot/
 MASTER_SITES = http://www.clamav.net/internal/
@@ -46,6 +46,8 @@
 
 PATCHFILES  = CSWclamav.freshclam.conf.p
 PATCHFILES += CSWclamav.clamd.conf.p
+PATCHFILES += CSWclamav.clamav-milter.conf.p
+PATCHFILES += CSWclamav.optparser.c.p
 
 #BUILD64 = 1
 PACKAGING_PLATFORMS = solaris9-sparc solaris9-i386
@@ -95,10 +97,10 @@
 
 SPKG_SOURCEURL = http://www.clamav.net
 
+SKIPTEST = 1
 TEST_TARGET = check
 
-CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/sbin/clamd
-CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/sbin/clamav-milter
+CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/etc/opt/csw/clamd.conf.CSW
 CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/share/doc/clamav/README
 CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/share/doc/clamav/INSTALL.clamav-milter.CSW
 CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/share/doc/clamav/ChangeLog
@@ -106,18 +108,9 @@
 CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/share/doc/clamav/html/node56.html
 CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/share/doc/clamav/html/node24.html
 CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/share/doc/clamav/html/node15.html
-CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/bin/sigtool
-CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/bin/clamconf
-CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/bin/clamscan
-CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/bin/clamdtop
-CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/bin/clamdscan
-CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/bin/clambc
-CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/opt/csw/bin/freshclam
-CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/etc/opt/csw/clamd.conf.CSW
-CHECKPKG_OVERRIDES_CSWclamav += file-with-bad-content|/usr/local|root/etc/opt/csw/clamav-milter.conf.CSW
-CHECKPKG_OVERRIDES_CSWlibclam6 += shared-lib-pkgname-mismatch|file=opt/csw/lib/libclamav.so.6.1.8|soname=libclamav.so.6|pkgname=CSWlibclam6|expected=CSWlibclamav6
-CHECKPKG_OVERRIDES_CSWlibclam6 += shared-lib-pkgname-mismatch|file=opt/csw/lib/libclamunrar.so.6.1.8|soname=libclamunrar.so.6|pkgname=CSWlibclam6|expected=CSWlibclamunrar6
-CHECKPKG_OVERRIDES_CSWlibclam6 += shared-lib-pkgname-mismatch|file=opt/csw/lib/libclamunrar_iface.so.6.1.8|soname=libclamunrar_iface.so.6|pkgname=CSWlibclam6|expected=CSWlibclamunrar-iface6
+CHECKPKG_OVERRIDES_CSWlibclam6 += shared-lib-pkgname-mismatch|file=opt/csw/lib/libclamav.so.6.1.9|soname=libclamav.so.6|pkgname=CSWlibclam6|expected=CSWlibclamav6
+CHECKPKG_OVERRIDES_CSWlibclam6 += shared-lib-pkgname-mismatch|file=opt/csw/lib/libclamunrar.so.6.1.9|soname=libclamunrar.so.6|pkgname=CSWlibclam6|expected=CSWlibclamunrar6
+CHECKPKG_OVERRIDES_CSWlibclam6 += shared-lib-pkgname-mismatch|file=opt/csw/lib/libclamunrar_iface.so.6.1.9|soname=libclamunrar_iface.so.6|pkgname=CSWlibclam6|expected=CSWlibclamunrar-iface6
 
 include gar/category.mk
 

Modified: csw/mgar/pkg/clamav/trunk/checksums
===================================================================
--- csw/mgar/pkg/clamav/trunk/checksums	2011-02-07 15:54:56 UTC (rev 13229)
+++ csw/mgar/pkg/clamav/trunk/checksums	2011-02-07 19:11:53 UTC (rev 13230)
@@ -1 +1 @@
-a48a5eb75d4a616d5fb85e813b329666  clamav-0.97rc.tar.gz
+605ed132b2f8e89df11064adea2b183b  clamav-0.97.tar.gz

Added: csw/mgar/pkg/clamav/trunk/files/CSWclamav.clamav-milter.conf.p
===================================================================
--- csw/mgar/pkg/clamav/trunk/files/CSWclamav.clamav-milter.conf.p	                        (rev 0)
+++ csw/mgar/pkg/clamav/trunk/files/CSWclamav.clamav-milter.conf.p	2011-02-07 19:11:53 UTC (rev 13230)
@@ -0,0 +1,20 @@
+--- /etc/clamav-milter.conf  Mon Feb  7 19:09:08 2011
++++ /etc/clamav-milter.conf  Mon Feb  7 19:10:42 2011
+@@ -3,7 +3,7 @@
+ ##
+ 
+ # Comment or remove the line below.
+-Example
++#Example
+ 
+ 
+ ##
+@@ -201,7 +201,7 @@
+ # Note #3: clamav-milter will wait for the process to exit. Be quick or fork to
+ # avoid unnecessary delays in email delievery
+ # Default: disabled
+-#VirusAction /usr/local/bin/my_infected_message_handler
++#VirusAction /opt/csw/bin/my_infected_message_handler
+ 
+ ##
+ ## Logging options

Added: csw/mgar/pkg/clamav/trunk/files/CSWclamav.optparser.c.p
===================================================================
--- csw/mgar/pkg/clamav/trunk/files/CSWclamav.optparser.c.p	                        (rev 0)
+++ csw/mgar/pkg/clamav/trunk/files/CSWclamav.optparser.c.p	2011-02-07 19:11:53 UTC (rev 13230)
@@ -0,0 +1,11 @@
+--- /shared/optparser.c	Mon Feb  7 19:06:36 2011
++++ /shared/optparser.c	Mon Feb  7 19:00:11 2011
+@@ -439,7 +439,7 @@
+ 
+     { "ReportHostname", NULL, 0, TYPE_STRING, NULL, -1, NULL, 0, OPT_MILTER, "When AddHeader is in use, this option allows to arbitrary set the reported\nhostname. This may be desirable in order to avoid leaking internal names.\nIf unset the real machine name is used.", "my.mail.server.name" },
+ 
+-    { "VirusAction", NULL, 0, TYPE_STRING, NULL, -1, NULL, 0, OPT_MILTER, "Execute a command when an infected message is processed.\nThe following parameters are passed to the invoked program in this order:\nvirus name, queue id, sender, destination, subject, message id, message date.\nNote #1: this requires MTA macroes to be available (see LogInfected below)\nNote #2: the process is invoked in the context of clamav-milter\nNote #3: clamav-milter will wait for the process to exit. Be quick or fork to\navoid unnecessary delays in email delievery", "/usr/local/bin/my_infected_message_handler" },
++    { "VirusAction", NULL, 0, TYPE_STRING, NULL, -1, NULL, 0, OPT_MILTER, "Execute a command when an infected message is processed.\nThe following parameters are passed to the invoked program in this order:\nvirus name, queue id, sender, destination, subject, message id, message date.\nNote #1: this requires MTA macroes to be available (see LogInfected below)\nNote #2: the process is invoked in the context of clamav-milter\nNote #3: clamav-milter will wait for the process to exit. Be quick or fork to\navoid unnecessary delays in email delievery", "/opt/csw/bin/my_infected_message_handler" },
+ 
+     { "Chroot", NULL, 0, TYPE_STRING, NULL, -1, NULL, 0, OPT_MILTER, "Chroot to the specified directory.\nChrooting is performed just after reading the config file and before\ndropping privileges.", "/newroot" },
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list