aboutsummaryrefslogtreecommitdiff
path: root/mail/dovecot2
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-10-27 15:45:19 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-10-27 15:45:19 +0000
commit70f3ad60ae45a9b5ad2c97871536ac8167cd6dc3 (patch)
treef9c6bc21bb496fff249d648ffcc681e1e2336a8a /mail/dovecot2
parent77cba41a625ee21c7d556cf83d6b95bee86b0288 (diff)
downloadports-70f3ad60ae45a9b5ad2c97871536ac8167cd6dc3.tar.gz
ports-70f3ad60ae45a9b5ad2c97871536ac8167cd6dc3.zip
Notes
Diffstat (limited to 'mail/dovecot2')
-rw-r--r--mail/dovecot2/Makefile1
-rw-r--r--mail/dovecot2/files/dovecot.in16
2 files changed, 8 insertions, 9 deletions
diff --git a/mail/dovecot2/Makefile b/mail/dovecot2/Makefile
index 3ce44376ef3a..e3fad2a2314a 100644
--- a/mail/dovecot2/Makefile
+++ b/mail/dovecot2/Makefile
@@ -3,6 +3,7 @@
PORTNAME= dovecot
PORTVERSION= 2.2.15
+PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= http://www.dovecot.org/releases/${PORTVERSION:R}/
PKGNAMESUFFIX= 2
diff --git a/mail/dovecot2/files/dovecot.in b/mail/dovecot2/files/dovecot.in
index 8c7a91dbe14a..cc5c6f98aa9a 100644
--- a/mail/dovecot2/files/dovecot.in
+++ b/mail/dovecot2/files/dovecot.in
@@ -48,12 +48,10 @@ restart_cmd()
# To start multiple instances of dovecot set dovecot_config to
# a space seperated list of configuration files.
-if checkyesno ${name}_enable; then
- for config in ${dovecot_config}; do
- required_files="${config}"
- command_args="-c ${config}"
- base_dir=$(${command} ${command_args} -a | /usr/bin/awk -F '= ' '/^base_dir =/ { print $2 }')
- pidfile="${base_dir}/master.pid"
- run_rc_command "$1"
- done
-fi
+for config in ${dovecot_config}; do
+ required_files="${config}"
+ command_args="-c ${config}"
+ base_dir=$(${command} ${command_args} -a | /usr/bin/awk -F '= ' '/^base_dir =/ { print $2 }')
+ pidfile="${base_dir}/master.pid"
+ run_rc_command "$1"
+done