From 4883b94c9f2fb4f5817577e61901dc14b08427c8 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Thu, 24 Nov 2005 00:29:54 +0000 Subject: 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 --- packages/cyrus-imapd/cyrus-imapd_2.2.12.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.3