summaryrefslogtreecommitdiff
path: root/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
diff options
context:
space:
mode:
authorccsmart <ccsmart@smartpal.de>2005-08-02 20:07:24 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-02 20:07:24 +0000
commitd1ac05b7fc66dd6daf77043cc209fbd880972d24 (patch)
tree7d859396db44a08ca488f7a6e2077a28c68a4d6c /packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
parent42cdabf8dc7696f5c206abd3cd7f1fcaa53f563a (diff)
User update-rc bbclass instead of issuing commands in post_xx scripts.
Diffstat (limited to 'packages/cyrus-imapd/cyrus-imapd_2.2.12.bb')
-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
}