aboutsummaryrefslogtreecommitdiffstats
path: root/mail/fetchmail/files
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2006-08-30 19:56:13 +0800
committerbarner <barner@FreeBSD.org>2006-08-30 19:56:13 +0800
commit79edd55cb9924cd11a17f4c767dc4f9b0ab482e3 (patch)
tree20b3322b866c06aa8683b07199959a8bbd8f4680 /mail/fetchmail/files
parentaf7a3abe1593e4644a4b548b182062119f020b92 (diff)
downloadfreebsd-ports-gnome-79edd55cb9924cd11a17f4c767dc4f9b0ab482e3.tar.gz
freebsd-ports-gnome-79edd55cb9924cd11a17f4c767dc4f9b0ab482e3.tar.zst
freebsd-ports-gnome-79edd55cb9924cd11a17f4c767dc4f9b0ab482e3.zip
- Add new rc.conf option "fetchmail_logging_facility" which can be used
to specify where fetchmail logs to. Default: --syslog (as hardcoded before). [1] - Use marco for cp [2] - Try to remove directories not listed in mtree [2] - No portrevision bump since the default behaviour remains the same, and a new fetchmail version is to be exspected soon anyway. Requested by: Gerard Seibert <gerard@seibercom.net> [1] Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru> [2] PR: ports/101517
Diffstat (limited to 'mail/fetchmail/files')
-rw-r--r--mail/fetchmail/files/fetchmail.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/fetchmail/files/fetchmail.in b/mail/fetchmail/files/fetchmail.in
index 7febd81edea7..565af06ded51 100644
--- a/mail/fetchmail/files/fetchmail.in
+++ b/mail/fetchmail/files/fetchmail.in
@@ -67,6 +67,7 @@ load_rc_config "$name"
: ${fetchmail_enable="NO"}
: ${fetchmail_config="%%PREFIX%%/etc/fetchmailrc"}
: ${fetchmail_polling_interval="900"}
+: ${fetchmail_logging_facility="--syslog"}
: ${fetchmail_home_prefix="/home"}
: ${fetchmail_config_name=".fetchmailrc"}
@@ -101,7 +102,7 @@ if [ -n "$2" ]; then
fetchmail_flags="-f ${fetchmail_config} \
--pidfile ${pidfile} \
-d ${fetchmail_polling_interval} \
- --syslog"
+ ${fetchmail_logging_facility}"
else
echo "$0: extra argument ignored"
fi