diff options
| -rw-r--r-- | meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb b/meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb index 5894c76bac..40cf991ae1 100644 --- a/meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb +++ b/meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb | |||
| @@ -54,8 +54,11 @@ SYSTEMD_AUTO_ENABLE = "disable" | |||
| 54 | do_install:append () { | 54 | do_install:append () { |
| 55 | rm -rf ${D}${libdir}/dovecot/dovecot-config | 55 | rm -rf ${D}${libdir}/dovecot/dovecot-config |
| 56 | install -d 755 ${D}/etc/dovecot | 56 | install -d 755 ${D}/etc/dovecot |
| 57 | touch ${D}/etc/dovecot/dovecot.conf | ||
| 58 | chmod 644 ${D}/etc/dovecot/dovecot.conf | 57 | chmod 644 ${D}/etc/dovecot/dovecot.conf |
| 58 | touch ${D}/etc/dovecot/ssl-key.pem | ||
| 59 | touch ${D}/etc/dovecot/ssl-cert.pem | ||
| 60 | chmod 600 ${D}/etc/dovecot/ssl-key.pem | ||
| 61 | chmod 600 ${D}/etc/dovecot/ssl-cert.pem | ||
| 59 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then | 62 | if [ "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" ]; then |
| 60 | install -m 0644 ${UNPACKDIR}/dovecot.service ${D}${systemd_unitdir}/system | 63 | install -m 0644 ${UNPACKDIR}/dovecot.service ${D}${systemd_unitdir}/system |
| 61 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service | 64 | sed -i -e 's#@SYSCONFDIR@#${sysconfdir}#g' ${D}${systemd_unitdir}/system/dovecot.service |
