diff options
author | Simon Barner <barner@FreeBSD.org> | 2007-07-22 11:20:19 +0000 |
---|---|---|
committer | Simon Barner <barner@FreeBSD.org> | 2007-07-22 11:20:19 +0000 |
commit | ccb2a8b3403682f8e8095a99fe39e471b5baca1f (patch) | |
tree | 294e534227c862df253cb5d5d6503ca1f4fbe1cf /mail/fetchmail | |
parent | 5531dccf33763324bba1e41c90343ffa8703ea2c (diff) | |
download | ports-ccb2a8b3403682f8e8095a99fe39e471b5baca1f.tar.gz ports-ccb2a8b3403682f8e8095a99fe39e471b5baca1f.zip |
Notes
Diffstat (limited to 'mail/fetchmail')
-rw-r--r-- | mail/fetchmail/Makefile | 2 | ||||
-rw-r--r-- | mail/fetchmail/files/fetchmail.in | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile index f3ac91c2091e..c17b42a2b746 100644 --- a/mail/fetchmail/Makefile +++ b/mail/fetchmail/Makefile @@ -11,7 +11,7 @@ PORTNAME= fetchmail PORTVERSION= 6.3.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail ipv6 MASTER_SITES= ${MASTER_SITE_BERLIOS} \ ${MASTER_SITE_SUNSITE:S/$/:sunsite/}\ diff --git a/mail/fetchmail/files/fetchmail.in b/mail/fetchmail/files/fetchmail.in index 3c9b3a247a49..61597d42e7a7 100644 --- a/mail/fetchmail/files/fetchmail.in +++ b/mail/fetchmail/files/fetchmail.in @@ -17,6 +17,8 @@ # # * Single system-wide fetchmail daemon: # - It is run as user `fetchmail_user' (default: fetchmail) +# Note: The directory /var/run/fetchmail must be writable for +# `fetchmail_user'. # - All configuration is contained in one global file # `fetchmail_config' (default: %%PREFIX%%/etc/fetchmailrc), # that must be owned by `fetchmail_user' (mode 700) @@ -26,6 +28,8 @@ # * Per-user daemon # - Users for which a fetchmail daemon is to be started must be # listed in `fetchmail_users', e.g. fetchmail_users="user1 user2" +# The `fetchmail_user' (sic!) variable is ignored in this +# configuration variant. # - The config files for the individual users must be located at # ${fetchmail_home_prefix}/${user}/${fetchmail_config_name}. The # default for `fetchmail_home_prefix' is "/home", and that for @@ -71,6 +75,7 @@ fi # read settings, set default values load_rc_config "$name" : ${fetchmail_enable="NO"} +: ${fetchmail_user="fetchmail"} : ${fetchmail_config="%%PREFIX%%/etc/fetchmailrc"} : ${fetchmail_polling_interval="900"} : ${fetchmail_logging_facility="--syslog"} @@ -100,7 +105,6 @@ if [ -n "$2" ]; then eval pidfile="${fetchmail_home_prefix}/${user}/.fetchmail.pid" eval fetchmail_user=$user else - eval fetchmail_user=fetchmail eval pidfile=/var/run/fetchmail/fetchmail.pid fi required_files=${fetchmail_config} |