diff options
Diffstat (limited to 'meta-networking/recipes-daemons/postfix')
-rw-r--r-- | meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb b/meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb index 3ec7f22ad..d48e9145f 100644 --- a/meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb +++ b/meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb | |||
@@ -136,21 +136,21 @@ do_install () { | |||
136 | mv ${D}${sysconfdir}/postfix/main.cf ${D}${sysconfdir}/postfix/${MLPREFIX}sample-main.cf | 136 | mv ${D}${sysconfdir}/postfix/main.cf ${D}${sysconfdir}/postfix/${MLPREFIX}sample-main.cf |
137 | install -m 755 ${S}/bin/smtp-sink ${D}/${sbindir}/ | 137 | install -m 755 ${S}/bin/smtp-sink ${D}/${sbindir}/ |
138 | install -d ${D}${sysconfdir}/init.d | 138 | install -d ${D}${sysconfdir}/init.d |
139 | install -m 644 ${WORKDIR}/main.cf ${D}${sysconfdir}/postfix/main.cf | 139 | install -m 644 ${UNPACKDIR}/main.cf ${D}${sysconfdir}/postfix/main.cf |
140 | sed -i 's#@LIBEXECDIR@#${libexecdir}#' ${D}${sysconfdir}/postfix/main.cf | 140 | sed -i 's#@LIBEXECDIR@#${libexecdir}#' ${D}${sysconfdir}/postfix/main.cf |
141 | 141 | ||
142 | install -m 755 ${WORKDIR}/check_hostname.sh ${D}${sbindir}/ | 142 | install -m 755 ${UNPACKDIR}/check_hostname.sh ${D}${sbindir}/ |
143 | 143 | ||
144 | install -m 755 ${WORKDIR}/postfix ${D}${sysconfdir}/init.d/postfix | 144 | install -m 755 ${UNPACKDIR}/postfix ${D}${sysconfdir}/init.d/postfix |
145 | install -m 644 ${WORKDIR}/internal_recipient ${D}${sysconfdir}/postfix/internal_recipient | 145 | install -m 644 ${UNPACKDIR}/internal_recipient ${D}${sysconfdir}/postfix/internal_recipient |
146 | 146 | ||
147 | install -d ${D}${systemd_unitdir}/system | 147 | install -d ${D}${systemd_unitdir}/system |
148 | install -m 0644 ${WORKDIR}/postfix.service ${D}${systemd_unitdir}/system | 148 | install -m 0644 ${UNPACKDIR}/postfix.service ${D}${systemd_unitdir}/system |
149 | sed -i -e 's#@LIBEXECDIR@#${libexecdir}#g' ${D}${systemd_unitdir}/system/postfix.service | 149 | sed -i -e 's#@LIBEXECDIR@#${libexecdir}#g' ${D}${systemd_unitdir}/system/postfix.service |
150 | sed -i -e 's#@LOCALSTATEDIR@#${localstatedir}#g' ${D}${systemd_unitdir}/system/postfix.service | 150 | sed -i -e 's#@LOCALSTATEDIR@#${localstatedir}#g' ${D}${systemd_unitdir}/system/postfix.service |
151 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/postfix.service | 151 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/postfix.service |
152 | 152 | ||
153 | install -m 0755 ${WORKDIR}/aliasesdb ${D}${libexecdir}/postfix | 153 | install -m 0755 ${UNPACKDIR}/aliasesdb ${D}${libexecdir}/postfix |
154 | 154 | ||
155 | install -m 770 -d ${D}${localstatedir}/spool/postfix | 155 | install -m 770 -d ${D}${localstatedir}/spool/postfix |
156 | chown postfix:postfix ${D}${localstatedir}/spool/postfix | 156 | chown postfix:postfix ${D}${localstatedir}/spool/postfix |