diff options
author | Simon Rettberg | 2020-08-03 14:51:50 +0200 |
---|---|---|
committer | Your Name | 2020-08-03 14:51:50 +0200 |
commit | 8a7711d39b196a489a6b256b762da9a92a719ad3 (patch) | |
tree | 0177eeefe80fdb5d2e0a2f08a0cc13eb25a6b92b /core | |
parent | [udisks] Kill module (diff) | |
download | mltk-8a7711d39b196a489a6b256b762da9a92a719ad3.tar.gz mltk-8a7711d39b196a489a6b256b762da9a92a719ad3.tar.xz mltk-8a7711d39b196a489a6b256b762da9a92a719ad3.zip |
[nslcd] Kill module
Diffstat (limited to 'core')
-rw-r--r-- | core/modules/nslcd/module.build | 42 | ||||
-rw-r--r-- | core/modules/nslcd/module.conf | 7 | ||||
-rw-r--r-- | core/modules/nslcd/module.conf.debian | 7 | ||||
-rw-r--r-- | core/modules/nslcd/module.conf.ubuntu | 7 | ||||
-rw-r--r-- | core/modules/nslcd/templates/nslcd-systemd.service | 8 |
5 files changed, 0 insertions, 71 deletions
diff --git a/core/modules/nslcd/module.build b/core/modules/nslcd/module.build deleted file mode 100644 index 76fa2bed..00000000 --- a/core/modules/nslcd/module.build +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash - -fetch_source() { - if [ -n "$REQUIRED_NSS_LDAPD_URL" ]; then - pinfo "Downloading $REQUIRED_NSS_LDAPD_URL ..." - download_untar "$REQUIRED_NSS_LDAPD_URL" "src/" - fi -} - -build() { - - COPYLIST="list_dpkg_output" - [ -e "$COPYLIST" ] && rm "$COPYLIST" - - list_packet_files >> "$COPYLIST" - tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}" - - # OpenSuSE 13.1 has no 'nss-pam-ldapd'. Let's compile - if [ -n "$REQUIRED_NSS_LDAPD_URL" ]; then - cd "${MODULE_WORK_DIR}/src/$REQUIRED_NSS_LDAPD_VERSION" - pinfo "compiling pam-nss-ldapd for openSuse 13.1 ..." - ./configure || perror "openSuse 13.1 - pam-nss-ldapd: ./configure failed." - make DESTDIR="${MODULE_BUILD_DIR}" install || perror "openSuse 13.1 - pam-nss-ldapd: make install to ${MODULE_BUILD_DIR} failed." - cd "$MODULE_BUILD_DIR" - local NSLCD_PATH=$(find . -executable -name "nslcd") # Not in path, so we 'find' below MODULE_BUILD_DIR - else - cd "$MODULE_BUILD_DIR" - local NSLCD_PATH=$(which nslcd) - fi - [[ $REQUIRED_BINARIES = *nslcd* ]] && [ -z "$NSLCD_PATH" ] && perror "Could not 'which nslcd'" - - - # Build nslcd service file - mkdir -p "${MODULE_BUILD_DIR}/etc/systemd/system" - sed "s,%PATH%,${NSLCD_PATH},g" "${MODULE_DIR}/templates/nslcd-systemd.service" > "${MODULE_BUILD_DIR}/etc/systemd/system/nslcd.service" || perror "Could not fill nslcd.service template" - - return 0 -} - -post_copy() { - : -} diff --git a/core/modules/nslcd/module.conf b/core/modules/nslcd/module.conf deleted file mode 100644 index 2a65a016..00000000 --- a/core/modules/nslcd/module.conf +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -REQUIRED_BINARIES=" - nslcd -" -REQUIRED_FILES=" - /etc/systemd/system/nslcd.service -" diff --git a/core/modules/nslcd/module.conf.debian b/core/modules/nslcd/module.conf.debian deleted file mode 100644 index ed355f4b..00000000 --- a/core/modules/nslcd/module.conf.debian +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -REQUIRED_INSTALLED_PACKAGES=" - nslcd -" -REQUIRED_CONTENT_PACKAGES=" - nslcd -" diff --git a/core/modules/nslcd/module.conf.ubuntu b/core/modules/nslcd/module.conf.ubuntu deleted file mode 100644 index ed355f4b..00000000 --- a/core/modules/nslcd/module.conf.ubuntu +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -REQUIRED_INSTALLED_PACKAGES=" - nslcd -" -REQUIRED_CONTENT_PACKAGES=" - nslcd -" diff --git a/core/modules/nslcd/templates/nslcd-systemd.service b/core/modules/nslcd/templates/nslcd-systemd.service deleted file mode 100644 index 540e67cd..00000000 --- a/core/modules/nslcd/templates/nslcd-systemd.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=Naming services LDAP client daemon -After=network.target - -[Service] -Type=forking -PIDFile=/var/run/nslcd/nslcd.pid -ExecStart=%PATH% |