aboutsummaryrefslogtreecommitdiffstats
path: root/mail/getmail
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-01-29 01:58:53 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-01-29 01:58:53 +0800
commitaf1eff152af4dba9afbd1e9727fd56de51a5a424 (patch)
treea1dcef120c861d7da0f5a544cc5082a1ae10227d /mail/getmail
parentedbab88c468a2fe781807868136ee6e4451a64ed (diff)
downloadfreebsd-ports-gnome-af1eff152af4dba9afbd1e9727fd56de51a5a424.tar.gz
freebsd-ports-gnome-af1eff152af4dba9afbd1e9727fd56de51a5a424.tar.zst
freebsd-ports-gnome-af1eff152af4dba9afbd1e9727fd56de51a5a424.zip
- Add patch to reduce excess logging
PR: 131047 Submitted by: Matthias Andree <matthias dot andree at gmx dot de> Approved by: Linh Pham <question+fbsdports at closedsrc dot org> (maintainer)
Diffstat (limited to 'mail/getmail')
-rw-r--r--mail/getmail/Makefile1
-rw-r--r--mail/getmail/files/patch-excessive-logs17
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 >=