aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-10-04 03:11:53 +0800
committerache <ache@FreeBSD.org>2001-10-04 03:11:53 +0800
commitee3da2e5dba3a7acdeefefdd5c3e1dcd054510c1 (patch)
treefae6c3db17ce1b227b5b94556d45624937086f59 /security
parent59cde9d931084ae04876f168f621d939c75de822 (diff)
downloadfreebsd-ports-gnome-ee3da2e5dba3a7acdeefefdd5c3e1dcd054510c1.tar.gz
freebsd-ports-gnome-ee3da2e5dba3a7acdeefefdd5c3e1dcd054510c1.tar.zst
freebsd-ports-gnome-ee3da2e5dba3a7acdeefefdd5c3e1dcd054510c1.zip
Wrap long line in virus detection mail message
Diffstat (limited to 'security')
-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
{