summaryrefslogtreecommitdiff
path: root/security/drweb-sendmail
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-10-03 19:11:53 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-10-03 19:11:53 +0000
commit721417c37e8f035e93ada07723f0b6f9cc292f88 (patch)
treef3f5f25050138a97d19aaf19576c423f7a1f0dcf /security/drweb-sendmail
parentFix socket permissions and startup race condition (diff)
Wrap long line in virus detection mail message
Notes
Notes: svn path=/head/; revision=48412
Diffstat (limited to 'security/drweb-sendmail')
-rw-r--r--security/drweb-sendmail/Makefile2
-rw-r--r--security/drweb-sendmail/files/patch-ab24
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
{