You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@locus.apache.org on 2000/12/20 07:47:48 UTC

cvs commit: httpd-2.0/build binbuild.sh

rbb         00/12/19 22:47:48

  Modified:    build    binbuild.sh
  Log:
  Get the binbuild.sh script into the CVS repository and start to modify
  it to work with httpd-2.0.  There are still a lot of issues with this
  script, but we have to start someplace.
  
  Revision  Changes    Path
  1.18      +14 -14    httpd-2.0/build/binbuild.sh
  
  Index: binbuild.sh
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/build/binbuild.sh,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- binbuild.sh	2000/10/23 15:48:00	1.17
  +++ binbuild.sh	2000/12/20 06:47:48	1.18
  @@ -6,38 +6,38 @@
   # This script falls under the Apache License.
   # See http://www.apache.org/docs/LICENSE
   
  -OS=`src/helpers/GuessOS`
  -case "x$OS" in
  -  x*390*) CONFIGPARAM="--with-layout=BinaryDistribution --enable-module=most";;
  -      *) CONFIGPARAM="--with-layout=BinaryDistribution --enable-module=most --enable-shared=max";;
  -esac
  +OS=`./config.guess`
  +#case "x$OS" in
  +#  x*390*) CONFIGPARAM="--with-layout=BinaryDistribution --enable-module=most";;
  +#      *) CONFIGPARAM="--with-layout=BinaryDistribution --enable-module=most --enable-shared=max";;
  +#esac
   APDIR=`pwd`
   APDIR=`basename $APDIR`
  -VER=`echo $APDIR |sed s/apache_//`
  -TAR="`src/helpers/PrintPath tar`"
  -GTAR="`src/helpers/PrintPath gtar`"
  -GZIP="`src/helpers/PrintPath gzip`"
  +VER=`echo $APDIR |sed s/httpd_//`
  +TAR="`build/PrintPath tar`"
  +GTAR="`build/PrintPath gtar`"
  +GZIP="`build/PrintPath gzip`"
   
   if [ x$1 != x ]
   then
     USER=$1
   else
  -  USER="`src/helpers/buildinfo.sh -n %u@%h%d`"
  +  USER="`build/buildinfo.sh -n %u@%h%d`"
   fi
   
   if [ ! -f ./ABOUT_APACHE ]
   then
     echo "ERROR: The current directory contains no valid Apache distribution."
     echo "Please change the directory to the top level directory of a freshly"
  -  echo "unpacked Apache 1.3 source distribution and re-execute the script"
  -  echo "'./src/helpers/bindbuild.sh'." 
  +  echo "unpacked Apache 2.0 source distribution and re-execute the script"
  +  echo "'./build/bindbuild.sh'." 
     exit 1;
   fi
   
   if [ -d ./CVS ]
   then
     echo "ERROR: The current directory is a CVS checkout of Apache."
  -  echo "Only a standard Apache 1.3 source distribution should be used to"
  +  echo "Only a standard Apache 2.0 source distribution should be used to"
     echo "create a binary distribution."
     exit 1;
   fi
  @@ -201,7 +201,7 @@
     echo "lmkdir \$SR/proxy 750" && \
     echo "lmkdir \$SR/logs 750" && \
     echo "lcopy bindist/man \$SR/man 755 644" && \
  -  echo "lcopy bindist/libexec \$SR/libexec 750 644" && \
  +  echo "lcopy bindist/modules \$SR/modules 750 644" && \
     echo "lcopy bindist/include \$SR/include 755 644" && \
     echo "lcopy bindist/icons \$SR/icons 755 644" && \
     echo "lcopy bindist/cgi-bin \$SR/cgi-bin 750 750" && \