From 310a7883e3eb3e5dda260e5ae0e499c5901ff5b4 Mon Sep 17 00:00:00 2001 From: David Coutadeur Date: Thu, 23 May 2024 18:03:51 +0200 Subject: [PATCH] update slapd-cli to 3.4 + add systemd service instances (#110) --- openldap-ltb/debian/changelog | 2 ++ openldap-ltb/debian/openldap-ltb.vars | 2 +- openldap-ltb/debian/postbuild | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/openldap-ltb/debian/changelog b/openldap-ltb/debian/changelog index 0eb3597..80257f9 100644 --- a/openldap-ltb/debian/changelog +++ b/openldap-ltb/debian/changelog @@ -35,6 +35,8 @@ openldap-ltb (2.6.8.1) UNRELEASED; urgency=medium - ITS#10188 - ITS#10193 - ITS#10209 + - LTB changes + - use slapd-cli 3.4 release (#110) -- David Coutadeur Tue, 21 May 2024 12:00:00 +0200 diff --git a/openldap-ltb/debian/openldap-ltb.vars b/openldap-ltb/debian/openldap-ltb.vars index 12f56d7..cee7bc8 100755 --- a/openldap-ltb/debian/openldap-ltb.vars +++ b/openldap-ltb/debian/openldap-ltb.vars @@ -34,7 +34,7 @@ THIRD_PARTY_PATH="../3rdparty" # slapd-cli SLAPD_CLI_NAME="slapd-cli" -SLAPD_CLI_VERSION="3.3" +SLAPD_CLI_VERSION="3.4" SLAPD_CLI_BIN="${LDAPSERVERDIR}/sbin/slapd-cli" SLAPD_CLI_CONF="${LDAPSERVERDIR}/etc/openldap/slapd-cli.conf" SLAPD_CLI_FLAT_CONFIG_TEMPLATE="${LDAPSERVERDIR}/etc/openldap/config-template-2.6.conf" diff --git a/openldap-ltb/debian/postbuild b/openldap-ltb/debian/postbuild index b0a6b19..102f144 100755 --- a/openldap-ltb/debian/postbuild +++ b/openldap-ltb/debian/postbuild @@ -15,6 +15,8 @@ mkdir -p "${INSTALL_DIR}/lib/systemd/system" ## systemd install -m 644 "${THIRD_PARTY_PATH}/${SLAPD_CLI_NAME}-${SLAPD_CLI_VERSION}/${SYSTEMD_SERVICE_NAME}.service" "${INSTALL_DIR}/lib/systemd/system/" install -m 644 "${THIRD_PARTY_PATH}/${SLAPD_CLI_NAME}-${SLAPD_CLI_VERSION}/${SYSTEMD_LLOAD_SERVICE_NAME}.service" "${INSTALL_DIR}/lib/systemd/system" +install -m 644 "${THIRD_PARTY_PATH}/${SLAPD_CLI_NAME}-${SLAPD_CLI_VERSION}/${SYSTEMD_SERVICE_NAME}@.service" "${INSTALL_DIR}/lib/systemd/system/" +install -m 644 "${THIRD_PARTY_PATH}/${SLAPD_CLI_NAME}-${SLAPD_CLI_VERSION}/${SYSTEMD_LLOAD_SERVICE_NAME}@.service" "${INSTALL_DIR}/lib/systemd/system" ## profile install -m 755 "${THIRD_PARTY_PATH}/${OPENLDAP_PROFILE_FILE}" "${INSTALL_DIR}/etc/profile.d"