From a2d84b38118a1c5a73fc4f676328f1e3f1a44f95 Mon Sep 17 00:00:00 2001 From: Sergei Kolobov Date: Mon, 8 Dec 2003 16:08:14 +0000 Subject: - Update to 0.99.10.4 - Improve pkg-install script (create /var/dovecot tree) - Add pkg-deinstall to cleanup dovecot directories and remove created uids at de-install; ask to stop dovecot if it's still running - Make pkg-message obey PREFIX/DOCSDIR - Make use of USE_OPENLDAP, rename WITH_LDAP2 to more standard WITH_LDAP - Remove 'Feature Autodetection'. If you want the port built with extra dependencies, tell it: avoid bloat - Update the rc.d script to work with relative addressing (e.g. './dovecot.sh start' works.) - Assign maintainership to the submitter PR: 59762 Submitted by: Robin Breathe --- mail/dovecot-devel/files/dovecot.sh.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/dovecot-devel/files') diff --git a/mail/dovecot-devel/files/dovecot.sh.sample b/mail/dovecot-devel/files/dovecot.sh.sample index 625021fa6def..e7c235c8d43a 100644 --- a/mail/dovecot-devel/files/dovecot.sh.sample +++ b/mail/dovecot-devel/files/dovecot.sh.sample @@ -1,6 +1,6 @@ #!/bin/sh -if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then +if ! PREFIX=$(expr $(realpath $(dirname $0)) : "\(.*\)/etc/rc\.d\$"); then echo "$0: Cannot determine the PREFIX" >&2 exit 1 fi -- cgit v1.2.3