]> code.citadel.org Git - citadel.git/commitdiff
* Removed OpenLDAP from Easy Install, because it was just too problematic.
authorArt Cancro <ajc@citadel.org>
Fri, 27 May 2005 23:46:57 +0000 (23:46 +0000)
committerArt Cancro <ajc@citadel.org>
Fri, 27 May 2005 23:46:57 +0000 (23:46 +0000)
citadel/ChangeLog
citadel/newinstall.sh

index 3c075a6498beaf2fdf2d20d15a0eff90808577d6..7d417c34f093506b65a101b5c1b713e28fb2cd46 100644 (file)
@@ -6764,4 +6764,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
-
index 0a080a159a49ea5ef110b1a0bdc5a1ed44b134d6..c14160fbfa1b2c5f9bbd80f725d4ab1ed57e1eb1 100644 (file)
@@ -40,7 +40,6 @@
 # WebCit       5.27                    Latest
 # libical      0.24.RC4                Latest
 # Berkeley DB  4.3.21                  Stable
-# OpenLDAP     2.1.30 stable-20040329  Stable
 
 
 ###############################################################################
@@ -84,7 +83,6 @@ MAKEOPTS=""
 # CITADEL              Directory where Citadel is installed
 # WEBCIT               Directory where WebCit is installed
 # SUPPORT              Directory where support programs are installed
-# LDAP_CONFIG          Location of the slapd.conf file
 # SLAPD_BINARY         Location of the slapd binary
 # DISTRO_MAJOR         Linux distribution name, if applicable
 # DISTRO_MINOR         Linux distribution name, if applicable
@@ -106,7 +104,6 @@ DOWNLOAD_SITE=http://easyinstall.citadel.org
 DB_SOURCE=db-4.3.21.NC.tar.gz
 # DB_PATCHES=db-x.x.x.patches
 ICAL_SOURCE=libical-0.24.RC4.tar.gz
-LDAP_SOURCE=openldap-stable-20040329.tgz
 CITADEL_SOURCE=citadel-easyinstall.tar.gz
 WEBCIT_SOURCE=webcit-easyinstall.tar.gz
 
@@ -209,41 +206,6 @@ install_db () {
        rm -f $CITADEL/citadel-easyinstall.sum 2>/dev/null
 }
 
-install_ldap () {
-       cd $BUILD 2>&1 >>$LOG || die
-       $WGET $DOWNLOAD_SITE/ldap-easyinstall.sum
-       SUM=`cat ldap-easyinstall.sum`
-       SUMFILE=$SUPPORT/etc/ldap-easyinstall.sum
-       if [ -r $SUMFILE ] ; then
-               OLDSUM=`cat $SUMFILE`
-               if [ $SUM = $OLDSUM ] ; then
-                       echo "* OpenLDAP does not need updating."
-                       return
-               fi
-       fi
-       echo "* Downloading OpenLDAP..."
-       $WGET $DOWNLOAD_SITE/$LDAP_SOURCE 2>&1 >>$LOG || die
-       echo "* Installing OpenLDAP..."
-       CFLAGS="-I${SUPPORT}/include"
-       CPPFLAGS="${CFLAGS}"
-       LDFLAGS="-L${SUPPORT}/lib -Wl,--rpath -Wl,${SUPPORT}/lib"
-       export CFLAGS CPPFLAGS LDFLAGS
-       cd $BUILD 2>&1 >>$LOG || die
-       ( gzip -dc $LDAP_SOURCE | tar -xvf - ) 2>&1 >>$LOG || die
-       cd $BUILD/openldap-2.1.29 2>&1 >>$LOG || die
-       ./configure --prefix=$SUPPORT --enable-bdb 2>&1 >>$LOG || die
-       $MAKE $MAKEOPTS 2>&1 >>$LOG || die
-       LDAP_CONFIG=$SUPPORT/etc/openldap/slapd.conf
-       export LDAP_CONFIG
-       SLAPD_BINARY=$SUPPORT/libexec/slapd
-       export SLAPD_BINARY
-       $MAKE install 2>&1 >>$LOG || die
-       echo "  Complete."
-       echo $SUM >$SUMFILE
-       rm -f $CITADEL/citadel-easyinstall.sum 2>/dev/null
-}
-
-
 install_prerequisites () {
 
        # Create the support directories if they don't already exist
@@ -266,10 +228,6 @@ install_prerequisites () {
        then
                install_db
        fi
-       if [ -z "$OK_LDAP" ]
-       then
-               install_ldap
-       fi
 }
 
 install_sources () {
@@ -308,9 +266,9 @@ install_sources () {
                cd $BUILD/citadel 2>&1 >>$LOG || die
                if [ -z "$OK_DB" ]
                then
-                       ./configure --prefix=$CITADEL --with-db=$SUPPORT --with-pam --enable-autologin --with-ldap --with-libical --disable-threaded-client 2>&1 >>$LOG || die
+                       ./configure --prefix=$CITADEL --with-db=$SUPPORT --with-pam --enable-autologin --with-libical --disable-threaded-client 2>&1 >>$LOG || die
                else
-                       ./configure --prefix=$CITADEL --with-db=$OK_DB --with-pam --enable-autologin --with-ldap --with-libical --disable-threaded-client 2>&1 >>$LOG || die
+                       ./configure --prefix=$CITADEL --with-db=$OK_DB --with-pam --enable-autologin --with-libical --disable-threaded-client 2>&1 >>$LOG || die
                fi
                $MAKE $MAKEOPTS 2>&1 >>$LOG || die
                if [ $IS_UPGRADE = yes ]