summaryrefslogtreecommitdiff
path: root/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
diff options
context:
space:
mode:
authorccsmart <ccsmart@smartpal.de>2005-08-01 09:05:02 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-01 09:05:02 +0000
commit3959df9cd8b3e894f8fe3e026a480f2e6f8a6ae4 (patch)
tree645692ba31bf656cda0506a092ad939b4cb1386f /packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
parent90ad4c6975400184f3bcafda69f18e54facdb7a8 (diff)
Adding configfiles and ready to use changes.
Diffstat (limited to 'packages/cyrus-imapd/cyrus-imapd_2.2.12.bb')
-rw-r--r--packages/cyrus-imapd/cyrus-imapd_2.2.12.bb28
1 files changed, 25 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 09d267a9c8..66c1c19079 100644
--- a/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
+++ b/packages/cyrus-imapd/cyrus-imapd_2.2.12.bb
@@ -1,12 +1,17 @@
SECTION = "console/network"
-DEPENDS = "cyrus-sasl db"
+DEPENDS = "cyrus-sasl db3"
LICENSE = "BSD"
-PR = "r2"
+PR = "r3"
DEPENDS += "install-native"
SRC_URI = "ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-${PV}.tar.gz \
file://autotools.patch;patch=1 \
- file://tail.patch;patch=1"
+ file://tail.patch;patch=1 \
+ file://cyrus \
+ file://cyrus.conf_2.2 \
+ file://imapd.conf_2.2 \
+ file://volatiles \
+ "
inherit autotools
@@ -23,3 +28,20 @@ TARGET_CPPFLAGS =+ "-I${STAGING_DIR}/${TARGET_SYS}/include/db4"
# All, lib/foo.c includes <config.h> from the top level directory and
# is natively compiled
BUILD_CPPFLAGS += " -I${S} -I${S}/et"
+
+do_install_append () {
+ 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 -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/01_cyrus-imapd
+}
+
+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
+}
+
+pkg_postrm () {
+}
+