summaryrefslogtreecommitdiff
path: root/mail/milter-regex
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-06-14 19:13:00 +0000
committertron <tron@pkgsrc.org>2006-06-14 19:13:00 +0000
commit140982c96a29c278b2cb807efa498641248162e6 (patch)
treef3c4c9c437dc3433afc74ebdc26a38eaa7286363 /mail/milter-regex
parent267ce90b8dc0924a04408f847d39a4a4b1329c47 (diff)
downloadpkgsrc-140982c96a29c278b2cb807efa498641248162e6.tar.gz
Change logging facility from LOG_DAEMON to LOG_MAIL. This program is
mail related after all. The logging message also contains confidential information like sender, recipient and subject which shouldn't go to a public readable logfile. Bump package revision because of this fix.
Diffstat (limited to 'mail/milter-regex')
-rw-r--r--mail/milter-regex/Makefile3
-rw-r--r--mail/milter-regex/patches/patch-aa17
2 files changed, 15 insertions, 5 deletions
diff --git a/mail/milter-regex/Makefile b/mail/milter-regex/Makefile
index ee0c71c1e4c..13d6a006782 100644
--- a/mail/milter-regex/Makefile
+++ b/mail/milter-regex/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2006/04/23 00:12:38 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2006/06/14 19:13:00 tron Exp $
DISTNAME= milter-regex-1.6
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.benzedrine.cx/
diff --git a/mail/milter-regex/patches/patch-aa b/mail/milter-regex/patches/patch-aa
index 3651c5091d2..9967a38be21 100644
--- a/mail/milter-regex/patches/patch-aa
+++ b/mail/milter-regex/patches/patch-aa
@@ -1,8 +1,17 @@
-$NetBSD: patch-aa,v 1.2 2006/04/30 17:11:25 joerg Exp $
+$NetBSD: patch-aa,v 1.3 2006/06/14 19:13:00 tron Exp $
---- milter-regex.c.orig Fri Mar 19 13:21:40 2004
-+++ milter-regex.c Mon Jun 7 16:35:18 2004
-@@ -596,7 +596,7 @@
+--- milter-regex.c.orig 2005-03-06 11:42:53.000000000 +0000
++++ milter-regex.c 2006-06-14 20:03:06.000000000 +0100
+@@ -561,7 +561,7 @@
+ const char *ofile = NULL;
+
+ tzset();
+- openlog("milter-regex", LOG_PID | LOG_NDELAY, LOG_DAEMON);
++ openlog("milter-regex", LOG_PID | LOG_NDELAY, LOG_MAIL);
+
+ while ((ch = getopt(argc, argv, "c:dp:u:")) != -1) {
+ switch (ch) {
+@@ -609,7 +609,7 @@
return (1);
}
if (