summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-11-24 00:29:54 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-11-24 00:29:54 +0000
commit4883b94c9f2fb4f5817577e61901dc14b08427c8 (patch)
treeb04222cc0fc3cf6e5bdf8f25ec34751cf92513c2
parent0adbc29bc37190539bfcdd93b6a556df6401e4af (diff)
cyrus-imapd: fix 2.2.12
- not all versions of install create intermediate directories on a - regular install, the Debian one doesn't so install -d is required - to create the directory
-rw-r--r--packages/cyrus-imapd/cyrus-imapd_2.2.12.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb b/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
index 72dc846e24..e18f21bf6f 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 virtual/db"
LICENSE = "BSD"
-PR = "r7"
+PR = "r8"
DEPENDS += "install-native"
SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${PV}.tar.gz \
@@ -33,9 +33,11 @@ FILES_${PN} += "${prefix}/cyrus/bin"
BUILD_CPPFLAGS += " -I${S} -I${S}/et"
do_install_append () {
+ install -d ${D}${sysconfdir}/init.d
install -m 755 ${WORKDIR}/cyrus ${D}${sysconfdir}/init.d/cyrus
install -m 644 ${WORKDIR}/cyrus.conf_2.2 ${D}${sysconfdir}/cyrus.conf
install -m 644 ${WORKDIR}/imapd.conf_2.2 ${D}${sysconfdir}/imapd.conf
+ install -d ${D}${sysconfdir}/default/volatiles
install -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/01_cyrus-imapd
}