From: Jonas <[email protected]>
Slapd needs its configuration file to work, so lets add it to the
package. Also mark it as a configuration file.
---
libs/openldap/Makefile | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/libs/openldap/Makefile b/libs/openldap/Makefile
index c219ff2..0ec49d2 100644
--- a/libs/openldap/Makefile
+++ b/libs/openldap/Makefile
@@ -73,6 +73,10 @@ define Package/openldap-server/description
This package contains server programs required to provide LDAP services.
endef
+define Package/openldap-server/conffiles
+/etc/openldap/slapd.conf
+endef
+
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += \
@@ -128,6 +132,7 @@ define Package/openldap-server/install
$(INSTALL_BIN) ./files/ldap.init $(1)/etc/init.d/ldap
$(INSTALL_DIR) $(1)/etc/openldap/schema
$(CP) $(PKG_INSTALL_DIR)/etc/openldap/schema/* $(1)/etc/openldap/schema/
+ $(CP) $(PKG_INSTALL_DIR)/etc/openldap/slapd.conf $(1)/etc/openldap/
$(INSTALL_DIR) $(1)/usr/sbin
# OpenLDAP installs slapd into libexecdir, not sbindir:
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/slapd $(1)/usr/sbin/
--
1.6.5
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel