ports/88006: dovecot-1.0.a4 puts config in /etc

Robin Breathe robin at isometry.net
Wed Oct 26 00:50:17 UTC 2005


The following reply was made to PR ports/88006; it has been noted by GNATS.

From: Robin Breathe <robin at isometry.net>
To: bug-followup at FreeBSD.org,  fbsdbug at seismic.de
Cc: Edwin Groothuis <edwin at FreeBSD.org>
Subject: Re: ports/88006: dovecot-1.0.a4 puts config in /etc
Date: Wed, 26 Oct 2005 01:47:26 +0100

 This is a multi-part message in MIME format.
 --------------020105070108030705080105
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 This is intended behaviour.
 
 It is the result of using the newer USE_RCORDER macro on systems which
 support it, in place of USE_RC_SUBR (the change was noted in the
 original PR). It allows finer control over dovecot during system boot.
 
 However, I have received a few queries regarding this change, indicating
 that the POLA has been violated.
 
 Attached is a patch to restore the old behaviour, with the new behaviour
 as an option (disabled by default).
 
 Edwin: could you please commit the patch, along with the following notes:
  - Revert to USE_RC_SUBR by default, introduce WITH_RCORDER option to
 enable USE_RCORDER (and so install rc script to /etc/rc.d).
  - The "userdb passdb { }" configuration option has been renamed to
 "userdb prefetch { }".
 
 Best regards,
 Robin
 
 --------------020105070108030705080105
 Content-Type: text/plain;
  name="dovecot-1.0.a4_1.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="dovecot-1.0.a4_1.diff"
 
 diff -ruN dovecot-1.0.a4/Makefile dovecot/Makefile
 --- dovecot-1.0.a4/Makefile	Thu Oct 20 20:55:00 2005
 +++ dovecot/Makefile	Wed Oct 26 00:31:48 2005
 @@ -8,6 +8,7 @@
  
  PORTNAME=	dovecot
  DISTVERSION=	1.0.alpha4
 +PORTREVISION=	1
  CATEGORIES=	mail ipv6
  MASTER_SITES=	http://www.dovecot.org/releases/
  
 @@ -35,11 +36,12 @@
  		VPOPMAIL	"VPopMail support"	off \
  		LDAP		"OpenLDAP support"	off \
  		PGSQL		"PostgreSQL support"	off \
 -		MYSQL		"MySQL support"		off
 +		MYSQL		"MySQL support"		off \
 +		RCORDER		"RC Order support"	off
  
  .include <bsd.port.pre.mk>
  
 -.if ${OSVERSION} < 500038
 +.if ${OSVERSION} < 500038 || !defined(WITH_RCORDER)
  USE_RC_SUBR=	dovecot.sh
  .else
  USE_RCORDER=	dovecot.sh
 
 --------------020105070108030705080105--
 



More information about the freebsd-ports-bugs mailing list