summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/cyrus-imapd/cyrus-imapd_2.2.12.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb b/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
index 66c1c19079..f8f8202d10 100644
--- a/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
+++ b/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
@@ -1,7 +1,7 @@
SECTION = "console/network"
DEPENDS = "cyrus-sasl db3"
LICENSE = "BSD"
-PR = "r3"
+PR = "r4"
DEPENDS += "install-native"
SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${PV}.tar.gz \
@@ -13,7 +13,10 @@ SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${PV}.tar.gz \
file://volatiles \
"
-inherit autotools
+inherit autotools update-rc.d
+
+INITSCRIPT_NAME = "cyrus"
+INITSCRIPT_PARAMS = "start 56 3 4 5 . stop 15 0 1 6 ."
EXTRA_OECONF = "--with-auth=unix \
--without-perl \
@@ -38,7 +41,6 @@ do_install_append () {
pkg_postinst () {
/etc/init.d/populate-volatile.sh
- update-rc.d cyrus start 56 3 4 5 . stop 15 0 1 6 .
/etc/init.d/cyrus start
}