pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/clamav apply patch from Koji Mori in PR pkg/27337...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c1c81c10891
branches:  trunk
changeset: 482608:8c1c81c10891
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Oct 30 12:34:51 2004 +0000

description:
apply patch from Koji Mori in PR pkg/27337 to fix bad fprintf()
format string.

diffstat:

 mail/clamav/distinfo         |   3 ++-
 mail/clamav/patches/patch-ah |  31 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r 6d0c15de05d2 -r 8c1c81c10891 mail/clamav/distinfo
--- a/mail/clamav/distinfo      Sat Oct 30 12:30:22 2004 +0000
+++ b/mail/clamav/distinfo      Sat Oct 30 12:34:51 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2004/10/30 09:50:33 xtraeme Exp $
+$NetBSD: distinfo,v 1.20 2004/10/30 12:34:51 grant Exp $
 
 SHA1 (clamav-0.80.tar.gz) = 0f050a19c514d2bab6063c983f155fb891c7155f
 Size (clamav-0.80.tar.gz) = 2679434 bytes
@@ -6,3 +6,4 @@
 SHA1 (patch-ad) = 39ce91421e9baf128817830b34e196a5275e208e
 SHA1 (patch-af) = 605728b133ddb95827285d06bfeec9400222f874
 SHA1 (patch-ag) = 3f3154077961527ad6afa9574091fb743f2c50ab
+SHA1 (patch-ah) = f033a0fc7ce1a81fc7983954397e942724f174cc
diff -r 6d0c15de05d2 -r 8c1c81c10891 mail/clamav/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/clamav/patches/patch-ah      Sat Oct 30 12:34:51 2004 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-ah,v 1.1 2004/10/30 12:34:51 grant Exp $
+
+--- clamav-milter/clamav-milter.c.orig 2004-10-11 10:59:12.000000000 +1000
++++ clamav-milter/clamav-milter.c
+@@ -2691,7 +2691,7 @@ clamfi_eom(SMFICTX *ctx)
+                                                * the postmaster, so include
+                                                * some useful information
+                                                */
+-                                              fprintf(sendmail, _("The message %1$s sent from %2$s to\n"),
++                                              fprintf(sendmail, _("The message %s sent from %s to\n"),
+                                                       sendmailId, sender);
+                                       else
+                                               fprintf(sendmail, _("A message sent from %s to\n"),
+@@ -2706,7 +2706,7 @@ clamfi_eom(SMFICTX *ctx)
+                                                       fprintf(sendmail, _("\nThe message in question has been quarantined as %s\n"), privdata->filename);
+ 
+                                       if(hflag) {
+-                                              fprintf(sendmail, _("\nThe message was received by %1$s from %2$s via %3$s\n\n"),
++                                              fprintf(sendmail, _("\nThe message was received by %s from %s via %s\n\n"),
+                                                       smfi_getsymval(ctx, "j"), sender,
+                                                       smfi_getsymval(ctx, "_"));
+                                               fputs(_("For your information, the original message headers were:\n\n"), sendmail);
+@@ -3697,7 +3697,7 @@ qfile(struct privdata *privdata, const c
+       if(link(privdata->filename, newname) < 0) {
+               perror(newname);
+               if(use_syslog)
+-                      syslog(LOG_WARNING, _("Can't rename %1$s to %2$s"),
++                      syslog(LOG_WARNING, _("Can't rename %s to %s"),
+                               privdata->filename, newname);
+               free(newname);
+               return -1;



Home | Main Index | Thread Index | Old Index