Update of /cvsroot/apachetoolbox/Apachetoolbox/bin/contrib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14606
Modified Files:
mod_gzip
Log Message:
Fixes to make mod_gzip correctly compile into apache.
Index: mod_gzip
===================================================================
RCS file: /cvsroot/apachetoolbox/Apachetoolbox/bin/contrib/mod_gzip,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** mod_gzip 2 Nov 2003 16:03:35 -0000 1.3
--- mod_gzip 12 Aug 2004 13:28:17 -0000 1.4
***************
*** 1,7 ****
- #
- # this doesn't compile static , you have to use apxs after apache is already setup :(
- #
-
notice "$MENUTRUE" "Setting up Mod_GZIP...\n"
cd $root/src
check_source "mod_gzip-$MODGZIP.tgz" "http://aleron.dl.sourceforge.net/sourceforge/mod-gzip/mod_gzip-$MODGZIP.tgz"
--- 1,4 ----
notice "$MENUTRUE" "Setting up Mod_GZIP...\n"
+
cd $root/src
check_source "mod_gzip-$MODGZIP.tgz" "http://aleron.dl.sourceforge.net/sourceforge/mod-gzip/mod_gzip-$MODGZIP.tgz"
***************
*** 10,13 ****
--- 7,16 ----
notice "$MENUTRUE" " Untared mod_gzip...\n"
+ if [ -d $root/apache_$APACHE/src/modules/gzip ];
+ then rm -rf $root/apache_$APACHE/src/modules/gzip;
+ fi
+
+ $MV -f $root/src/mod_gzip-$MODGZIP $root/apache_$APACHE/src/modules/gzip
+
echo "
***************
*** 53,57 ****
notice "$MENUTRUE" "Mod_GZIP setup\n"
! APACHECFG="$APACHECFG --add-module=$root/src/mod_gzip-$MODGZIP/mod_gzip.c $r"
--- 56,60 ----
notice "$MENUTRUE" "Mod_GZIP setup\n"
! APACHECFG="$APACHECFG --activate-module=src/modules/gzip/libgzip.a $r"
|