diff options
Diffstat (limited to 'meta-openstack/recipes-support/openldap/openldap_openstack.inc')
| -rw-r--r-- | meta-openstack/recipes-support/openldap/openldap_openstack.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-openstack/recipes-support/openldap/openldap_openstack.inc b/meta-openstack/recipes-support/openldap/openldap_openstack.inc index 63f6064..603dc3f 100644 --- a/meta-openstack/recipes-support/openldap/openldap_openstack.inc +++ b/meta-openstack/recipes-support/openldap/openldap_openstack.inc | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | DEPEND_${PN} += "cyrus-sasl" | 1 | DEPEND_${PN} += "cyrus-sasl" |
| 2 | RDEPEND_${PN} += "libsasl2-modules" | 2 | RDEPEND_${PN} += "libsasl2-modules" |
| 3 | 3 | ||
| 4 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | 4 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" |
| 5 | SRC_URI += "file://initscript" | 5 | SRC_URI += "file://initscript" |
| 6 | SRC_URI += "file://ops-base.ldif" | 6 | SRC_URI += "file://ops-base.ldif" |
| 7 | 7 | ||
| @@ -12,7 +12,7 @@ OPENLDAP_LIBEXECDIR = "${libexecdir}" | |||
| 12 | 12 | ||
| 13 | EXTRA_OECONF += "--libexecdir=${OPENLDAP_LIBEXECDIR}" | 13 | EXTRA_OECONF += "--libexecdir=${OPENLDAP_LIBEXECDIR}" |
| 14 | 14 | ||
| 15 | do_install_append() { | 15 | do_install:append() { |
| 16 | install -D -m 0755 ${WORKDIR}/initscript ${D}${sysconfdir}/init.d/openldap | 16 | install -D -m 0755 ${WORKDIR}/initscript ${D}${sysconfdir}/init.d/openldap |
| 17 | sed -i -e 's/%DEFAULT_DN%/${LDAP_DN}/g' ${D}${sysconfdir}/init.d/openldap | 17 | sed -i -e 's/%DEFAULT_DN%/${LDAP_DN}/g' ${D}${sysconfdir}/init.d/openldap |
| 18 | sed -i -e 's#%LDAP_DATADIR%#${LDAP_DATADIR}#g' ${D}${sysconfdir}/init.d/openldap | 18 | sed -i -e 's#%LDAP_DATADIR%#${LDAP_DATADIR}#g' ${D}${sysconfdir}/init.d/openldap |
| @@ -69,5 +69,5 @@ inherit update-rc.d | |||
| 69 | INITSCRIPT_NAME = "openldap" | 69 | INITSCRIPT_NAME = "openldap" |
| 70 | INITSCRIPT_PARAMS = "defaults" | 70 | INITSCRIPT_PARAMS = "defaults" |
| 71 | 71 | ||
| 72 | FILES_${PN} += "${OPENLDAP_LIBEXECDIR}/* ${sysconfdir}/openldap/ops-base.ldif" | 72 | FILES:${PN} += "${OPENLDAP_LIBEXECDIR}/* ${sysconfdir}/openldap/ops-base.ldif" |
| 73 | FILES_${PN}-dbg += "${OPENLDAP_LIBEXECDIR}/openldap/.debug ${OPENLDAP_LIBEXECDIR}/.debug" | 73 | FILES:${PN}-dbg += "${OPENLDAP_LIBEXECDIR}/openldap/.debug ${OPENLDAP_LIBEXECDIR}/.debug" |
