|
From: <smi...@us...> - 2004-01-04 03:27:55
|
Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv12097/scripts
Modified Files:
db-4 openldap
Log Message:
updated db-4
updated openldap and added servers
reduced router profile
Index: db-4
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/db-4,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- db-4 13 Oct 2003 17:36:08 -0000 1.4
+++ db-4 4 Jan 2004 03:27:51 -0000 1.5
@@ -26,11 +26,14 @@
case $1 in
build )
- cd dist
- ./configure --prefix=/usr --enable-compat185 --enable-shared --enable-static --enable-cxx || exit 1
- make $PMAKE all || exit 1
- strip_debug
-
+ DB4DIR=$(pwd)
+ rm -rf ../db4-build
+ mkdir ../db4-build || exit 1
+ cd ../db4-build || exit 1
+ $DB4DIR/dist/configure --prefix=/usr --enable-compat185 --enable-shared --enable-static --enable-cxx || exit 1
+ make $PMAKE all || exit 1
+ strip_debug
+
# we have to install this immediately, because this is a library and could be needed by other sources
make install || exit 1
;;
Index: openldap
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/openldap,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- openldap 13 Oct 2003 17:36:09 -0000 1.16
+++ openldap 4 Jan 2004 03:27:51 -0000 1.17
@@ -10,7 +10,7 @@
### BEGIN INIT INFO
# Provides: openldap
-# Required-Start: $basebuildtools glibc cyrus-sasl libmcrypt libgcrypt gdbm db-4
+# Required-Start: $basebuildtools glibc cyrus-sasl libmcrypt libgcrypt gdbm db-4 openssl
# Required-Stop:
# Default-Start: 1 2
# Default-Stop:
@@ -28,7 +28,8 @@
build )
if [ "$CONFIG_OPENLDAPLIB" = "y" ]; then
./configure --prefix=/usr --libexecdir=/usr/sbin --localstatedir=/var --sysconfdir=/etc \
- --mandir=/usr/share/man --enable-syslog --enable-dynamic --enable-ipv6 || exit 1
+ --mandir=/usr/share/man --enable-syslog --enable-dynamic --enable-ipv6 \
+ --enable-slurpd --enable-slapd || exit 1
make $PMAKE depend || exit 1
make $PMAKE all || exit 1
strip_debug
@@ -50,15 +51,28 @@
# Libraries
rm $WORKDIR/tmp/usr/lib/*a || exit 1
rm -rf $WORKDIR/tmp/usr/include || exit 1
- copy_files $WORKDIR/tmp/usr/lib $CDDIR/usr/ || exit 1
+ copy_files $WORKDIR/tmp/usr/lib/* $CDDIR/usr/lib/ || exit 1
copy_files $WORKDIR/tmp/etc $ETCDIR/ || exit 1
- # Client Binaries
- if [ "$CONFIG_OPENLDAPCLIENT" = "y" ]; then
- copy_files $WORKDIR/tmp/usr/bin $CDDIR/usr/ || exit 1
+ # All the Binaries
+ if [ "$CONFIG_OPENLDAP_FULL" = "y" ]; then
+ copy_files $WORKDIR/tmp/usr/* $CDDIR/usr/ || exit 1
+ copy_files $WORKDIR/tmp/var/* $CDDIR/var/ || exit 1
fi
rm -rf $WORKDIR/tmp || exit 1
+
+ echo "# start the Stand-alone LDAP Daemon?" >> $CONFIGFILE
+ echo "START_SLAPD=no" >> $CONFIGFILE
+ echo >> $CONFIGFILE
+ echo "HELP_SLAPD=\"Stand-alone LDAP Daemon (OpenLDAP)\"" >> $SOFTWAREHELP
+ cp $MYDIR/scripts/slapd $ETCDIR/etc/init.d || exit 1
+
+ echo "# start the Standalone LDAP Update Replication Daemon?" >> $CONFIGFILE
+ echo "START_SLURPD=no" >> $CONFIGFILE
+ echo >> $CONFIGFILE
+ echo "HELP_SLURPD=\"Standalone LDAP Update Replication Daemon (OpenLDAP)\"" >> $SOFTWAREHELP
+ cp $MYDIR/scripts/slurpd $ETCDIR/etc/init.d || exit 1
fi
;;
|