packages: mailgraph/mailgraph.spec, mailgraph/clamd-enable.patch (NEW) - so...
glen
glen at pld-linux.org
Tue Jul 13 09:39:17 CEST 2010
Author: glen Date: Tue Jul 13 07:39:17 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- somewhy clamd was disabled, enable (thx algiss)
---- Files affected:
packages/mailgraph:
mailgraph.spec (1.51 -> 1.52) , clamd-enable.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/mailgraph/mailgraph.spec
diff -u packages/mailgraph/mailgraph.spec:1.51 packages/mailgraph/mailgraph.spec:1.52
--- packages/mailgraph/mailgraph.spec:1.51 Mon Jul 12 13:34:12 2010
+++ packages/mailgraph/mailgraph.spec Tue Jul 13 09:39:11 2010
@@ -16,6 +16,7 @@
Source3: %{name}.conf
Patch0: %{name}-paths.patch
Patch1: %{name}-postfix_rbl.patch
+Patch2: clamd-enable.patch
URL: http://mailgraph.schweikert.ch/
BuildRequires: perl-tools-pod
BuildRequires: rpm-perlprov
@@ -51,6 +52,7 @@
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
pod2man mailgraph.pl > mailgraph.1
@@ -161,6 +163,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.52 2010/07/13 07:39:11 glen
+- somewhy clamd was disabled, enable (thx algiss)
+
Revision 1.51 2010/07/12 11:34:12 glen
- build and package manual
================================================================
Index: packages/mailgraph/clamd-enable.patch
diff -u /dev/null packages/mailgraph/clamd-enable.patch:1.1
--- /dev/null Tue Jul 13 09:39:17 2010
+++ packages/mailgraph/clamd-enable.patch Tue Jul 13 09:39:11 2010
@@ -0,0 +1,20 @@
+--- mailgraph-1.14/mailgraph.pl~ 2010-07-13 10:37:45.000000000 +0300
++++ mailgraph-1.14/mailgraph.pl 2010-07-13 10:38:21.711839978 +0300
+@@ -821,12 +821,11 @@
+ event($time, 'virus');
+ }
+ }
+- # uncommment for clamassassin:
+- #elsif($prog eq 'clamd') {
+- # if($text =~ /^stream: .* FOUND$/) {
+- # event($time, 'virus');
+- # }
+- #}
++ elsif($prog eq 'clamd') {
++ if($text =~ /^stream: .* FOUND$/) {
++ event($time, 'virus');
++ }
++ }
+ elsif ($prog eq 'smtp-vilter') {
+ if ($text =~ /clamd: found/) {
+ event($time, 'virus');
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mailgraph/mailgraph.spec?r1=1.51&r2=1.52&f=u
More information about the pld-cvs-commit
mailing list