diff options
author | Simon Barner <barner@FreeBSD.org> | 2006-08-30 11:56:13 +0000 |
---|---|---|
committer | Simon Barner <barner@FreeBSD.org> | 2006-08-30 11:56:13 +0000 |
commit | 14e22ed87eb7c18049369bb8d07d35b06498b803 (patch) | |
tree | 57357212dfd820ce6c4331c4aabfb8c0d3407cae /mail/fetchmail | |
parent | Fix PLIST: It was not removing some locale dirs that are not listed on (diff) |
- 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
Notes
Notes:
svn path=/head/; revision=171661
Diffstat (limited to 'mail/fetchmail')
-rw-r--r-- | mail/fetchmail/Makefile | 2 | ||||
-rw-r--r-- | mail/fetchmail/files/fetchmail.in | 3 | ||||
-rw-r--r-- | mail/fetchmail/pkg-plist | 6 |
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 |