diff options
author | barner <barner@FreeBSD.org> | 2007-07-22 19:20:19 +0800 |
---|---|---|
committer | barner <barner@FreeBSD.org> | 2007-07-22 19:20:19 +0800 |
commit | 8af39ef81ba37c29eeb2290aaad2c3f19455b17b (patch) | |
tree | 2ae22a7249b0cab61b2f7409869f9895fcbc6ecc /mail/fetchmail | |
parent | 7dd3b00ad05f349a6f47725b2827dc4e97ea454f (diff) | |
download | freebsd-ports-gnome-8af39ef81ba37c29eeb2290aaad2c3f19455b17b.tar.gz freebsd-ports-gnome-8af39ef81ba37c29eeb2290aaad2c3f19455b17b.tar.zst freebsd-ports-gnome-8af39ef81ba37c29eeb2290aaad2c3f19455b17b.zip |
- Actually respect the `fetchmail_user' variable in single daemon
mode
- Document that above variable is ignored in the per-user daemon mode
- Bump port revision
Requested by: Graham Menhennitt <graham@menhennitt.com.au>
PR: ports/114701
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} |