From af1eff152af4dba9afbd1e9727fd56de51a5a424 Mon Sep 17 00:00:00 2001 From: amdmi3 Date: Wed, 28 Jan 2009 17:58:53 +0000 Subject: - Add patch to reduce excess logging PR: 131047 Submitted by: Matthias Andree Approved by: Linh Pham (maintainer) --- mail/getmail/Makefile | 1 + mail/getmail/files/patch-excessive-logs | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 mail/getmail/files/patch-excessive-logs (limited to 'mail/getmail') diff --git a/mail/getmail/Makefile b/mail/getmail/Makefile index adfff8392ce9..5cf9a11ef3ac 100644 --- a/mail/getmail/Makefile +++ b/mail/getmail/Makefile @@ -7,6 +7,7 @@ PORTNAME= getmail PORTVERSION= 4.8.4 +PORTREVISION= 1 CATEGORIES= mail python MASTER_SITES= http://pyropus.ca/software/getmail/%SUBDIR%/ \ http://mirrors.closedsrc.org/getmail/ diff --git a/mail/getmail/files/patch-excessive-logs b/mail/getmail/files/patch-excessive-logs new file mode 100644 index 000000000000..aa4b7be1962d --- /dev/null +++ b/mail/getmail/files/patch-excessive-logs @@ -0,0 +1,17 @@ +--- getmail ++++ getmail +@@ -210,10 +210,10 @@ def go(configs): + + if (retrieve or delete or oplevel > 1): + log.info(' %s\n' % info) +- if options['logfile']: +- options['logfile'].write(logline) +- if options['message_log_syslog']: +- syslog.syslog(syslog.LOG_INFO, logline) ++ if options['logfile']: ++ options['logfile'].write(logline) ++ if options['message_log_syslog']: ++ syslog.syslog(syslog.LOG_INFO, logline) + + if (options['max_messages_per_session'] + and msgs_retrieved >= -- cgit