From 7ee416be07d75b30e44675c55af1fdcd0ea9ca8b Mon Sep 17 00:00:00 2001 From: ghen Date: Mon, 3 May 2010 19:19:00 +0000 Subject: load_rc_config prior to setting a default for dovecot_fdlimit in the rc.d script, so it can be overridden from rc.conf. From Edgar Fuß. Bump PKGREVISION. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mail/dovecot/Makefile | 4 ++-- mail/dovecot/files/dovecot.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'mail') diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile index 6759d0d7975..36b5219b7db 100644 --- a/mail/dovecot/Makefile +++ b/mail/dovecot/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.145 2010/04/30 10:43:26 ghen Exp $ +# $NetBSD: Makefile,v 1.146 2010/05/03 19:19:00 ghen Exp $ DOVECOT_VERSION= 1.2 DOVECOT_SUBVERSION= .11 -PKGREVISION= 1 +PKGREVISION= 2 SIEVE_VERSION= 0.1.16 MANAGESIEVE_VERSION= 0.11.11 DISTNAME= dovecot-${DOVECOT_VERSION}${DOVECOT_SUBVERSION} diff --git a/mail/dovecot/files/dovecot.sh b/mail/dovecot/files/dovecot.sh index 8c80b85a931..d7b046807c3 100755 --- a/mail/dovecot/files/dovecot.sh +++ b/mail/dovecot/files/dovecot.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: dovecot.sh,v 1.4 2008/07/10 00:54:30 jnemeth Exp $ +# $NetBSD: dovecot.sh,v 1.5 2010/05/03 19:19:01 ghen Exp $ # # PROVIDE: dovecot @@ -14,6 +14,7 @@ command="@PREFIX@/sbin/${name}" required_files="@PKG_SYSCONFDIR@/$name.conf" extra_commands="reload" +load_rc_config $name dovecot_fdlimit=${dovecot_fdlimit-"768"} # A default limit of 64 (at least on NetBSD) may be too low for many people @@ -28,5 +29,4 @@ if [ ${dovecot_fdlimit} -gt ${SOFT_FDLIMIT} ]; then fi fi -load_rc_config $name run_rc_command "$1" -- cgit v1.2.3