diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-01-28 17:58:53 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-01-28 17:58:53 +0000 |
commit | 9e3d17d5e392835182ce5fbd89bc992bdda3d6a8 (patch) | |
tree | 92977ad6385cb4463e1160fdd7dd11c41d7f688d /mail/getmail | |
parent | 03c968347f5481c2bc6d6e4bdd19bd0760eb5dbf (diff) | |
download | ports-9e3d17d5e392835182ce5fbd89bc992bdda3d6a8.tar.gz ports-9e3d17d5e392835182ce5fbd89bc992bdda3d6a8.zip |
Notes
Diffstat (limited to 'mail/getmail')
-rw-r--r-- | mail/getmail/Makefile | 1 | ||||
-rw-r--r-- | mail/getmail/files/patch-excessive-logs | 17 |
2 files changed, 18 insertions, 0 deletions
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 >= |