###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2011 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2015 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
+SUP_ARCH = armv5tel i586
PROG = cyrus-imapd
-PAK_VER = 3
+PAK_VER = 5
DEPS = ""
+CFLAGS += -I/usr/include/et
+
###############################################################################
# Top-level Rules
###############################################################################
cp -f $(DIR_APP)/tools/mkimap /usr/bin
sudo -u cyrus /usr/bin/mkimap /var/ipfire/cyrusimap/imapd.conf
chown cyrus.mail /var/imap/socket
+ install -v -m 644 $(DIR_SRC)/config/backup/includes/cyrus-imapd \
+ /var/ipfire/backup/addons/includes/cyrus-imapd
+
+ #install initscripts
+ $(call INSTALL_INITSCRIPT,cyrus-imapd)
+
@rm -rf $(DIR_APP) /usr/include/com_err.h
@$(POSTBUILD)