Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2014 15:45:20 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371588 - in head/mail/dovecot2: . files
Message-ID:  <201410271545.s9RFjKCI036263@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Mon Oct 27 15:45:19 2014
New Revision: 371588
URL: https://svnweb.freebsd.org/changeset/ports/371588
QAT: https://qat.redports.org/buildarchive/r371588/

Log:
  Remove the checkyesno dovecot_enable section, as it prevents onestart/onestop
  from working (as well as other things).
  
  I suspect this behaviour is present in other rc-files... a general cleanup on
  this might be in order.
  
  PR:		194629
  Submitted by:	Reinier Schoof

Modified:
  head/mail/dovecot2/Makefile
  head/mail/dovecot2/files/dovecot.in

Modified: head/mail/dovecot2/Makefile
==============================================================================
--- head/mail/dovecot2/Makefile	Mon Oct 27 15:23:30 2014	(r371587)
+++ head/mail/dovecot2/Makefile	Mon Oct 27 15:45:19 2014	(r371588)
@@ -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

Modified: head/mail/dovecot2/files/dovecot.in
==============================================================================
--- head/mail/dovecot2/files/dovecot.in	Mon Oct 27 15:23:30 2014	(r371587)
+++ head/mail/dovecot2/files/dovecot.in	Mon Oct 27 15:45:19 2014	(r371588)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410271545.s9RFjKCI036263>