[Kolab-devel] server/doc build-install-kolab.sh,NONE,1.1.2.1 QIM,1.15.2.8,1.15.2.9 by martin at doto.intevation.de
root at intevation.de
root at intevation.de
Sun Jul 27 15:11:21 CEST 2003
Update of /kolabrepository/server/doc
In directory doto:/tmp/cvs-serv9513
Modified Files:
Tag: KOLAB_1_0
QIM
Added Files:
Tag: KOLAB_1_0
build-install-kolab.sh
Log Message:
build-install-kolab.sh script for Kolab 1.0. The script is authored and
maintained by Bernhard Erdmann <be at berdmann.de>
--- NEW FILE: build-install-kolab.sh ---
#!/bin/sh
# author: Bernhard Erdmann <be at berdmann.de>
# License GPL >= V.2
#
cd /kolab/RPM/SRC || exit 1
(cat << EOF
make
patch
binutils
gcc
procmail
zlib
expat
readline
perl
perl-openpkg
perl-ds
perl-time
perl-xml
perl-term
perl-crypto
perl-conv
perl-ssl
perl-sys
perl-util
perl-mail
perl-net
perl-www
perl-ldap
openssl
m4
bison
flex
pcre
fsl
db
mm
sed
libiconv
gettext
imap
getopt
ncurses
EOF
) | \
while read package; do
if [ ! -f /kolab/RPM/PKG/${package}-[0-9]*.rpm ]; then
rpm -bb ${package}/${package}.spec && \
sudo /kolab/bin/rpm -Uhv /kolab/RPM/PKG/${package}-[0-9]*.rpm
retval=$?
[ $retval -ne 0 ] && exit $retval
else
echo skipping $package
fi
done
package=gdbm
if [ ! -f /kolab/RPM/PKG/${package}*kol.rpm ]; then
rpm -ba ${package}/${package}.spec --define 'with_ndbm yes' && \
sudo /kolab/bin/rpm -Uhv /kolab/RPM/PKG/${package}*kol.rpm
retval=$?
[ $retval -ne 0 ] && exit $retval
else
echo skipping $package
fi
package=openldap
if [ ! -f /kolab/RPM/PKG/${package}*kol.rpm ]; then
rpm -ba ${package}/${package}.spec --define 'with_sasl no' && \
sudo /kolab/bin/rpm -Uhv /kolab/RPM/PKG/${package}*kol.rpm
retval=$?
[ $retval -ne 0 ] && exit $retval
else
echo skipping $package
fi
package=sasl
if [ ! -f /kolab/RPM/PKG/${package}*kol.rpm ]; then
rpm -ba ${package}/${package}.spec --define 'with_ldap yes' && \
sudo /kolab/bin/rpm -Uhv /kolab/RPM/PKG/${package}*kol.rpm
retval=$?
[ $retval -ne 0 ] && exit $retval
else
echo skipping $package
fi
package=postfix
if [ ! -f /kolab/RPM/PKG/${package}*kol.rpm ]; then
rpm -ba ${package}/${package}.spec --define 'with_sasl yes' \
--define 'with_tls yes' --define 'with_ldap yes' && \
sudo /kolab/bin/rpm -Uhv /kolab/RPM/PKG/${package}*kol.rpm
retval=$?
[ $retval -ne 0 ] && exit $retval
else
echo skipping $package
fi
package=imapd
if [ ! -f /kolab/RPM/PKG/${package}*kol.rpm ]; then
rpm -ba ${package}/${package}.spec --define 'with_groupfile_hack yes' \
--define 'with_vhost_hack yes' && \
sudo /kolab/bin/rpm -Uhv /kolab/RPM/PKG/${package}*kol.rpm
retval=$?
[ $retval -ne 0 ] && exit $retval
else
echo skipping $package
fi
package=apache
if [ ! -f /kolab/RPM/PKG/${package}*kol.rpm ]; then
(cd gdbm && tar xzf gdbm-1.8.3.tar.gz gdbm-1.8.3/ndbm.h && \
mv -f gdbm-1.8.3/ndbm.h /kolab/include) && \
rpm -ba ${package}/${package}.spec --define 'with_mod_ssl yes' \
--define 'with_mod_dav yes' --define 'with_gdbm_ndbm yes' \
--define 'with_mod_auth_ldap yes' \
--define 'with_mod_php_openldap yes' \
--define 'with_mod_php_imap yes' --define 'with_mod_php yes' \
--define 'with_mod_php_gettext yes' && \
sudo /kolab/bin/rpm -Uhv /kolab/RPM/PKG/${package}*kol.rpm
retval=$?
[ $retval -ne 0 ] && exit $retval
else
echo skipping $package
fi
package=proftpd
if [ ! -f /kolab/RPM/PKG/${package}*kol.rpm ]; then
rpm -ba ${package}/${package}.spec --define 'with_ldap yes' && \
sudo /kolab/bin/rpm -Uhv /kolab/RPM/PKG/${package}*kol.rpm
retval=$?
[ $retval -ne 0 ] && exit $retval
else
echo skipping $package
fi
package=kolab
if [ ! -f /kolab/RPM/PKG/${package}*kol.rpm ]; then
rpm -ba ${package}/${package}.spec && \
sudo /kolab/bin/rpm -Uhv /kolab/RPM/PKG/${package}*kol.rpm
retval=$?
[ $retval -ne 0 ] && exit $retval
else
echo skipping $package
fi
Index: QIM
===================================================================
RCS file: /kolabrepository/server/doc/QIM,v
retrieving revision 1.15.2.8
retrieving revision 1.15.2.9
diff -u -d -r1.15.2.8 -r1.15.2.9
--- QIM 27 Jul 2003 12:23:28 -0000 1.15.2.8
+++ QIM 27 Jul 2003 13:11:19 -0000 1.15.2.9
@@ -123,6 +123,8 @@
perl-www
perl-ldap
perl-openpkg
+openssl
+perl-crypto
sed
libiconv
gettext
More information about the devel
mailing list