Author: jfrederic.clere(a)jboss.com
Date: 2008-06-05 07:36:35 -0400 (Thu, 05 Jun 2008)
New Revision: 1656
Modified:
sandbox/httpd/httpd.test
Log:
Add building httpd-2.2.x
Modified: sandbox/httpd/httpd.test
===================================================================
--- sandbox/httpd/httpd.test 2008-06-04 15:12:31 UTC (rev 1655)
+++ sandbox/httpd/httpd.test 2008-06-05 11:36:35 UTC (rev 1656)
@@ -33,6 +33,7 @@
svn checkout
http://svn.apache.org/repos/asf/apr/apr/trunk/ apr-trunk
svn checkout
http://svn.apache.org/repos/asf/apr/apr-util/trunk/ apr-util-trunk
svn checkout
http://svn.apache.org/repos/asf/httpd/httpd/trunk httpd-trunk
+svn checkout
https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x httpd-2.2.x
svn checkout
http://svn.apache.org/repos/asf/tomcat/connectors/trunk/jk jk-trunk
# build APR/APR-UTIL
@@ -57,7 +58,7 @@
exit 1
fi
-# build HTTPD
+# build HTTPD trunk
(cd httpd-trunk
./buildconf --with-apr=$HOME/$TMPLOC/apr-trunk
--with-apr-util=$HOME/$TMPLOC/apr-util-trunk
./configure --prefix=$HOME/$TMPLOC/APACHE \
@@ -87,6 +88,40 @@
if [ $? -ne 0 ]; then
exit 1
fi
+
+# Build httpd 2.2.x
+(cd httpd-2.2.x
+./buildconf --with-apr=$HOME/$TMPLOC/apr-trunk
--with-apr-util=$HOME/$TMPLOC/apr-util-trunk
+./configure --prefix=$HOME/$TMPLOC/APACHE-2.2.x \
+ --with-apr=$HOME/$TMPLOC/APR \
+ --with-apr-util=$HOME/$TMPLOC/APU \
+ --enable-maintainer-mode \
+ --enable-mods-shared=most \
+ --with-ssl=$SSL_LOC \
+ --with-port=7779 \
+ --enable-ssl \
+ --enable-proxy \
+ --enable-proxy-http \
+ --enable-proxy-ajp \
+ --enable-proxy-balancer \
+ --enable-proxy-cluster \
+ --enable-sharedmem \
+ --enable-mime-magic \
+ --enable-file-cache \
+ --enable-cache \
+ --enable-disk-cache \
+ --enable-mem-cache \
+
+make clean
+make
+make install
+)
+if [ $? -ne 0 ]; then
+ exit 1
+fi
+
+
+# Build mod_jk
(cd jk-trunk/native
./buildconf.sh
./configure --with-apxs=$HOME/$TMPLOC/APACHE/bin/apxs
@@ -102,6 +137,10 @@
echo "Build FAILED"
exit 1
fi
+
+# Build the mod_cluster modules with httpd-2.2.x
+
+# Test trunk
(cd $HOME/$TMPLOC/APACHE
bin/apachectl start
)