~ubuntu-branches/ubuntu/raring/clamav/raring

« back to all changes in this revision

Viewing changes to debian/patches/02_milter_sendmail_version_patch

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran
  • Date: 2008-09-05 17:25:34 UTC
  • mfrom: (0.35.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080905172534-yi3f8fkye1o7u1r3
* New upstream version (closes: #497662, #497773)
  - lots of new options for clamd.conf
  - fixes CVEs CVE-2008-3912, CVE-2008-3913, CVE-2008-3914, and
    CVE-2008-1389
* No longer supports --unzip option, so typo is gone (closes: #496276)
* Translations:
  - sv (thanks Martin Bagge <brother@bsnet.se>) (closes: #491760)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh /usr/share/dpatch/dpatch-run
2
 
## 02_milter_sendmail_version_patch.dpatch by  <sgran@debian.org>
3
 
##
4
 
## All lines beginning with `## DP:' are a description of the patch.
5
 
## DP: Patch to set sendmail version on buildds
6
 
 
7
 
@DPATCH@
8
 
Index: clamav-milter/clamav-milter.c
9
 
===================================================================
10
 
--- a/clamav-milter/clamav-milter.c     (revision 590)
11
 
+++ b/clamav-milter/clamav-milter.c     (working copy)
12
 
@@ -144,6 +144,14 @@
13
 
 #define _GNU_SOURCE
14
 
 #include <getopt.h>
15
 
 
16
 
+#ifndef SENDMAIL_VERSION_A
17
 
+#define SENDMAIL_VERSION_A 8
18
 
+#endif
19
 
+
20
 
+#ifndef SENDMAIL_VERSION_B
21
 
+#define SENDMAIL_VERSION_B 13
22
 
+#endif
23
 
+
24
 
 #ifndef        SENDMAIL_BIN
25
 
 #define        SENDMAIL_BIN    "/usr/lib/sendmail"
26
 
 #endif