pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/milter-regex Change logging facility from LOG_DAE...
details: https://anonhg.NetBSD.org/pkgsrc/rev/075081f9851c
branches: trunk
changeset: 514592:075081f9851c
user: tron <tron%pkgsrc.org@localhost>
date: Wed Jun 14 19:13:00 2006 +0000
description:
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:
mail/milter-regex/Makefile | 3 ++-
mail/milter-regex/patches/patch-aa | 17 +++++++++++++----
2 files changed, 15 insertions(+), 5 deletions(-)
diffs (37 lines):
diff -r 5b5fb0b9d0d0 -r 075081f9851c mail/milter-regex/Makefile
--- a/mail/milter-regex/Makefile Wed Jun 14 19:00:23 2006 +0000
+++ b/mail/milter-regex/Makefile Wed Jun 14 19:13:00 2006 +0000
@@ -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 -r 5b5fb0b9d0d0 -r 075081f9851c mail/milter-regex/patches/patch-aa
--- a/mail/milter-regex/patches/patch-aa Wed Jun 14 19:00:23 2006 +0000
+++ b/mail/milter-regex/patches/patch-aa Wed Jun 14 19:13:00 2006 +0000
@@ -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 (
Home |
Main Index |
Thread Index |
Old Index