aboutsummaryrefslogtreecommitdiff
path: root/mail/fetchmail
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2006-08-30 11:56:13 +0000
committerSimon Barner <barner@FreeBSD.org>2006-08-30 11:56:13 +0000
commit14e22ed87eb7c18049369bb8d07d35b06498b803 (patch)
tree57357212dfd820ce6c4331c4aabfb8c0d3407cae /mail/fetchmail
parent7390aaa2d3abfda0a7bdc8e986454b8c6d787657 (diff)
downloadports-14e22ed87eb7c18049369bb8d07d35b06498b803.tar.gz
ports-14e22ed87eb7c18049369bb8d07d35b06498b803.zip
Notes
Diffstat (limited to 'mail/fetchmail')
-rw-r--r--mail/fetchmail/Makefile2
-rw-r--r--mail/fetchmail/files/fetchmail.in3
-rw-r--r--mail/fetchmail/pkg-plist6
3 files changed, 9 insertions, 2 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 84497e5a6de7..8c489095e228 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -115,7 +115,7 @@ post-install:
${INSTALL} -m 644 -o fetchmail -g fetchmail ${FILESDIR}/fetchmailrc.sample ${PREFIX}/etc/fetchmailrc.sample
if [ ! -f ${PREFIX}/etc/fetchmailrc ]; then \
- cp -p ${PREFIX}/etc/fetchmailrc.sample ${PREFIX}/etc/fetchmailrc ; \
+ ${CP} -p ${PREFIX}/etc/fetchmailrc.sample ${PREFIX}/etc/fetchmailrc ; \
fi
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
diff --git a/mail/fetchmail/pkg-plist b/mail/fetchmail/pkg-plist
index c0569f1596e5..1aee5820a164 100644
--- a/mail/fetchmail/pkg-plist
+++ b/mail/fetchmail/pkg-plist
@@ -24,6 +24,12 @@ libexec/fetchmailconf.py
%%NLS%%share/locale/ru/LC_MESSAGES/fetchmail.mo
%%NLS%%share/locale/sq/LC_MESSAGES/fetchmail.mo
%%NLS%%share/locale/vi/LC_MESSAGES/fetchmail.mo
+%%NLS%%@dirrmtry share/locale/ca/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/ca
+%%NLS%%@dirrmtry share/locale/cs/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/cs
+%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/pl
@unexec if cmp -s %D/etc/fetchmailrc.sample %D/etc/fetchmailrc; then rm -f %D/etc/fetchmailrc; fi
etc/fetchmailrc.sample
@exec if [ ! -f %D/etc/fetchmailrc ] ; then cp -p %D/%F %B/fetchmailrc; fi