|
From: <smi...@us...> - 2003-10-19 14:16:53
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv19690/scripts Modified Files: php Added Files: imap Log Message: - enabled imap module for PHP - added uw-imap v2002E to build system --- NEW FILE: imap --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/imap,v $ # $Revision: 1.1 $ # $Date: 2003/10/18 18:11:50 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: imap # Required-Start: $basebuildtools glibc db-4 gdbm openssl # Required-Stop: # Default-Start: 1 # Default-Stop: # Description: description ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings source $MYDIR/functions case $1 in build ) make slx SSLTYPE=unix.nopwd SSLINCLUDE=/usr/ssl/ EXTRACFLAGS=-I/usr/include/openssl $PMAKE all || exit 1 strip_debug # copy the stuff, we need it later cp c-client/*.h /usr/include || exit 1 cp c-client/*.a /usr/lib || exit 1 ln -sf c-client.a /usr/lib/libc-client.a || exit 1 ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac Index: php =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- php 17 Oct 2003 13:43:40 -0000 1.3 +++ php 18 Oct 2003 18:11:50 -0000 1.4 @@ -10,7 +10,7 @@ ### BEGIN INIT INFO # Provides: php -# Required-Start: $basebuildtools $libs httpd +# Required-Start: $basebuildtools $libs httpd imap # Required-Stop: # Default-Start: 1 2 # Default-Stop: @@ -28,14 +28,16 @@ case $1 in build ) + IMAPDIR=$(find_src_dir imap) if [ "$CONFIG_PHP" = "y" ]; then ./configure --with-apxs2=/usr/sbin/apxs --with-mysql=/usr --disable-cgi --with-openssl --with-zlib --with-bz2 --enable-calendar \ --with-jpeg-dir=/usr --enable-dba --with-gdbm --with-db4 --with-inifile --with-flatfile --with-dom --with-dom-xslt \ --with-config-file-path=/etc --with-dom-exslt --enable-ftp --with-gd --with-gmp --with-kerberos \ --enable-gd-native-ttf --with-ldap --with-mcrypt --with-mhash --with-msession--with-pgsql --with-snmp \ - --with-cyrus \ + --with-imap=$IMAPDIR --with-imap-ssl \ --sysconfdir=/etc --with-config-file-path=/etc --prefix=/usr || exit 1 - # not working --with-imap --with-imap-ssl --enable-xslt + # not working --enable-xslt + # do not use --with-cyrus make $PMAKE all || exit 1 strip_debug fi |