From 721417c37e8f035e93ada07723f0b6f9cc292f88 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 3 Oct 2001 19:11:53 +0000 Subject: [PATCH] Wrap long line in virus detection mail message --- security/drweb-sendmail/Makefile | 2 +- security/drweb-sendmail/files/patch-ab | 24 ++++++++++++++++++++++-- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/security/drweb-sendmail/Makefile b/security/drweb-sendmail/Makefile index 3537fa6a54dd..9a401addbe15 100644 --- a/security/drweb-sendmail/Makefile +++ b/security/drweb-sendmail/Makefile @@ -7,7 +7,7 @@ PORTNAME= drweb_sendmail PORTVERSION= 4.26 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= security mail MASTER_SITES= http://www.drweb.ru/ftp/web_pub/ DISTNAME= drwebd-${PORTVERSION}-freebsd4 diff --git a/security/drweb-sendmail/files/patch-ab b/security/drweb-sendmail/files/patch-ab index 68ac41f64dcd..eee234e4f2d1 100644 --- a/security/drweb-sendmail/files/patch-ab +++ b/security/drweb-sendmail/files/patch-ab @@ -1,5 +1,5 @@ --- dw_filter.c.orig Thu Sep 27 01:00:46 2001 -+++ dw_filter.c Wed Oct 3 11:56:41 2001 ++++ dw_filter.c Wed Oct 3 23:05:43 2001 @@ -606,7 +606,7 @@ } else @@ -18,7 +18,27 @@ priv->fname_tmp = strdup( ShareTemplate ); if( !priv->fname_tmp ) { -@@ -983,7 +983,7 @@ +@@ -906,7 +906,8 @@ + if( plog ) + { + len = snprintf( NotifyMsg, sizeof(NotifyMsg), +- "Message sent from %s infected by virus and has not been delivered.\r\n" ++ "Message sent from %s\r\n" ++ "infected by virus and has not been delivered.\r\n" + "Diagnostic:\r\n%s\r\n" + "Original message was stored in the archive.\r\n" + "Archive record: %s\r\n" +@@ -917,7 +918,8 @@ + else + { + len = snprintf( NotifyMsg, sizeof(NotifyMsg), +- "Message sent from %s infected by virus and has not been delivered.\r\n" ++ "Message sent from %s\r\n" ++ "infected by virus and has not been delivered.\r\n" + "Original message was stored in the archive.\r\n" + "Archive record: %s\r\n" + "To receive original message please contact postmaster:\r\n%s\r\n\r\n" +@@ -983,7 +985,7 @@ } else {