aboutsummaryrefslogtreecommitdiffstats
path: root/security/drweb-postfix
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2005-11-22 19:27:49 +0800
committeredwin <edwin@FreeBSD.org>2005-11-22 19:27:49 +0800
commit517a938709e80e71636bb3a389e1fb55425a9cc1 (patch)
tree6119a90100e17ac126932a907ca2da6d3812782c /security/drweb-postfix
parentab36c829cc2d614c1b34eb31e0c683a22e27d23a (diff)
downloadfreebsd-ports-gnome-517a938709e80e71636bb3a389e1fb55425a9cc1.tar.gz
freebsd-ports-gnome-517a938709e80e71636bb3a389e1fb55425a9cc1.tar.zst
freebsd-ports-gnome-517a938709e80e71636bb3a389e1fb55425a9cc1.zip
[patch] security/drweb-postfix have invalid default config
Port security/drweb-postfix have invalid drweb_postfix.conf: Template files incorrecly named PR: ports/88928 Submitted by: Dmitry A Grigorovich <odip@bionet.nsc.ru> Approved by: Alexander Demin <support@spectrum.ru>
Diffstat (limited to 'security/drweb-postfix')
-rw-r--r--security/drweb-postfix/Makefile1
-rw-r--r--security/drweb-postfix/files/patch-drweb_postfix.conf79
2 files changed, 80 insertions, 0 deletions
diff --git a/security/drweb-postfix/Makefile b/security/drweb-postfix/Makefile
index 566a103d7b22..dcd091c4bd4c 100644
--- a/security/drweb-postfix/Makefile
+++ b/security/drweb-postfix/Makefile
@@ -7,6 +7,7 @@
PORTNAME= drweb-postfix
PORTVERSION= 4.33
+PORTREVISION= 1
CATEGORIES= security mail
MASTER_SITES= ftp://ftp.drweb.ru/pub/drweb/unix/FreeBSD/411/:f411 \
ftp://ftp.drweb.ru/pub/drweb/unix/FreeBSD/54/:f54 \
diff --git a/security/drweb-postfix/files/patch-drweb_postfix.conf b/security/drweb-postfix/files/patch-drweb_postfix.conf
new file mode 100644
index 000000000000..d88a4df68bcf
--- /dev/null
+++ b/security/drweb-postfix/files/patch-drweb_postfix.conf
@@ -0,0 +1,79 @@
+--- usr/local/etc/drweb/drweb_postfix.conf.orig Mon Sep 26 21:51:24 2005
++++ usr/local/etc/drweb/drweb_postfix.conf Sun Nov 13 19:48:06 2005
+@@ -355,9 +355,9 @@
+ RcptsNotify = yes
+
+ # Files with notification templates
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/virus-sender.msg
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/virus-admin.msg
+-RcptsTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/virus-rcpts.msg
++SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/sender_virus.msg
++AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/admin_virus.msg
++RcptsTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/rcpts_virus.msg
+
+ [MalwareNotifications]
+ # Enable or disable sending notifications to persons (yes/no)
+@@ -366,21 +366,21 @@
+ RcptsNotify = yes
+
+ # Files with notification templates
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/malware-sender.msg
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/malware-admin.msg
+-RcptsTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/malware-rcpts.msg
++SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/sender_malware.msg
++AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/admin_malware.msg
++RcptsTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/rcpts_malware.msg
+
+ [CuredNotifications]
+ SenderNotify = yes
+ AdminNotify = yes
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/cured-sender.msg
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/cured-admin.msg
++SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/sender_cured.msg
++AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/admin_cured.msg
+
+ [SkipNotifications]
+ SenderNotify = yes
+ AdminNotify = no
+ RcptsNotify = no
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/skip-sender.msg
++SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/sender_skip.msg
+ AdminTemplate =
+ RcptsTemplate =
+
+@@ -388,16 +388,16 @@
+ SenderNotify = yes
+ AdminNotify = yes
+ RcptsNotify = no
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/archive-sender.msg
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/archive-admin.msg
++SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/sender_archive.msg
++AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/admin_archive.msg
+ RcptsTemplate =
+
+ [ErrorNotifications]
+ SenderNotify = yes
+ AdminNotify = yes
+ RcptsNotify = no
+-SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/error-sender.msg
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/error-admin.msg
++SenderTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/sender_error.msg
++AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/admin_error.msg
+ RcptsTemplate =
+
+ [RuleFilterNotifications]
+@@ -405,12 +405,12 @@
+ AdminNotify = yes
+ RcptsNotify = no
+ SenderTemplate =
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/rule-admin.msg
++AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/admin_rule.msg
+ RcptsTemplate =
+
+ [LicenseLimitNotifications]
+ AdminNotify = yes
+-AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/license-admin.msg
++AdminTemplate = /usr/local/etc/drweb/templates/en-ru/postfix/admin_license.msg
+
+ ###################
+ # Logging section #