[BACK]Return to fill_chroot CVS log [TXT][DIR] Up to [local] / openbsd / fill_chroot

Diff for /openbsd/fill_chroot/fill_chroot between version 1.15 and 1.19

version 1.15, 2009/05/11 22:07:35 version 1.19, 2011/08/16 02:10:46
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver: fill_chroot,v 1.14 2008/10/21 19:10:35 andrew Exp $  # $AFresh1: fill_chroot,v 1.18 2011/08/09 00:13:54 andrew Exp $
   
 CHROOT=${CHROOT:=/home/andrew/www}  CHROOT=${CHROOT:=/home/andrew/www}
 CHROOT=`echo $CHROOT | sed -e 's,/*$,,'`  CHROOT=`echo $CHROOT | sed -e 's,/*$,,'`
Line 7 
Line 7 
   
 _find="-type f -a ("  _find="-type f -a ("
 _find="${_find} -name *.so.* -o -name *.so"  _find="${_find} -name *.so.* -o -name *.so"
   _find="${_find} -o -path '*/usr/bin' -o -path '*/usr/sbin'"
   
 echo Installing Directory Structure  echo Installing Directory Structure
 install -d -m 1750 -o www -g bin ${CHROOT}/tmp  install -d -m 1750 -o www -g bin ${CHROOT}/tmp
Line 76 
Line 77 
         done          done
   
         _find="${_find} -o -name speedy*"          _find="${_find} -o -name speedy*"
   fi
   
   if [ -e ${CHROOT}/cgi-bin/cvsweb ]; then
           echo Installing cvsweb depends
           for _f in \
                   /usr/bin/{co,cvs,diff,perl,rcsdiff,rlog,uname} \
           ; do
                   echo pax -r -w -L -p e $_f ${CHROOT}
                   pax -r -w -L -p e $_f ${CHROOT}
           done
   
   elif [ -e ${CHROOT}/usr/bin/cvs ]; then
           _f=/usr/bin/cvs
           echo Installing cvs
           echo pax -r -w -L -p e $_f ${CHROOT}
           pax -r -w -L -p e $_f ${CHROOT}
 fi  fi
   
 _find="${_find} )"  _find="${_find} )"

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.19

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>