4 # First get the chroot up and running with:
5 #apt-get install bzip2 perl-doc lib32stdc++6 manpages-dev autoconf automake1.9 libtool flex libc6-dev-i386 lib32gcc1 groff debhelper po-debconf bison autotools-dev libdb4.3-dev libldap2-dev libncurses5-dev libpam0g-dev libssl-dev cdbs g++ locales dpatch fakeroot patchutils
8 for i
in `cat $TARGETS`; do
11 VSERVER_BASE
=`basename $i`
12 DISTVER
=`basename $i |sed "s;CitadelBuild.;;"`
13 DISTVER
=`cd $APACHE_ROOT/public_html/$DISTRO/; ls -d ?$DISTVER `
14 echo "*** building $DISTRO $DISTVER ical *****"
16 CleanBuild
$VSERVER_BASE $CONTRIB_DIR
19 if grep -q $VSERVER_BASE libical_targets
; then
20 GetSource
$VSERVER_BASE $CONTRIB_DIR libical
21 BuildSource
$VSERVER_BASE $CONTRIB_DIR libical
22 InstallContrib
$VSERVER_BASE $CONTRIB_DIR libical
25 echo "*** building $DISTRO $DISTVER sieve *****"
27 if grep -q $VSERVER_BASE libsieve_targets
; then
28 GetSource
$VSERVER_BASE $CONTRIB_DIR libsieve
29 BuildSource
$VSERVER_BASE $CONTRIB_DIR libsieve
30 InstallContrib
$VSERVER_BASE $CONTRIB_DIR libsieve
32 echo "**** done. ****"
33 echo "*** building $DISTRO $DISTVER tinymce *****"
35 if grep -q $VSERVER_BASE tinymce_targets
; then
36 GetSource
$VSERVER_BASE $CONTRIB_DIR tinymce
37 BuildSource
$VSERVER_BASE $CONTRIB_DIR tinymce
38 InstallContrib
$VSERVER_BASE $CONTRIB_DIR tinymce
40 echo "**** done. ****"
43 #for i in `cat $TARGETS`; do
44 # echo "*** installing $DISTRO *****"
49 chroot
${VSERVER_ROOT}/apache
/ /bin
/bash
-c "cd ${CIT_APACHE_DIR}/; ./refresh.sh"