]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
openldap: Split openldap into lots of modules.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Aug 2009 19:37:48 +0000 (21:37 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Aug 2009 19:39:19 +0000 (21:39 +0200)
lfs/openldap
src/openldap/slapd.conf

index 76c8c2cccae2db1731f3ce23022b8f3586433575..6e43b5cd3a1edd0282d3cbf6bd4c18a54eb5f339 100644 (file)
@@ -91,16 +91,18 @@ $(OBJECT): $(objects)
                ./configure \
                        $(CONFIGURE_ARCH) \
                        --prefix=/usr \
-                       --libexecdir=/usr/sbin \
+                       --libexecdir=/usr/lib \
                        --sysconfdir=/etc \
                        --localstatedir=/var \
+                       --with-threads=posix \
                        --disable-debug \
+                       --disable-perl \
                        --enable-dynamic \
                        --enable-crypt \
                        --enable-modules \
                        --enable-rlookups \
-                       --enable-backends \
-                       --enable-overlays \
+                       --enable-backends=mod \
+                       --enable-overlays=mod \
                        --enable-sql=no \
                        --enable-ndb=no \
                        --disable-static
@@ -109,7 +111,8 @@ $(OBJECT): $(objects)
        cd $(DIR_APP) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
 
-       rm -rvf /var/openldap-data
+       mv -v /usr/lib/slapd /usr/sbin/slapd
+       rm -rvf /var/openldap-data /usr/lib/openldap/*.la
 
        for LINK in lber ldap ldap_r; do \
                chmod -v 0755 /usr/lib/$$(readlink /usr/lib/lib$${LINK}.so); \
index 4bb08806f92bb8a5030c0b36ff810482d8d357b5..cfb95d080d75464e9fa4fb3f6f7530c4f20387d9 100644 (file)
@@ -21,6 +21,12 @@ argsfile     /var/run/slapd.args
 
 loglevel       2048
 
+#######################################################################
+# Load modules
+#######################################################################
+
+moduleload     back_hdb.so
+
 #######################################################################
 # ACL
 #######################################################################