[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.8 and 1.9

version 1.8, 2008/09/03 22:37:21 version 1.9, 2008/09/13 00:07:59
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver: fill_chroot,v 1.7 2008/08/29 20:05:38 andrew Exp $  # $RedRiver: fill_chroot,v 1.8 2008/09/03 21:37:21 andrew Exp $
   
 CHROOT=${CHROOT:=/home/andrew/www}  CHROOT=${CHROOT:=/home/andrew/www}
 export CHROOT  export CHROOT
Line 7 
Line 7 
 perl_to_chroot  perl_to_chroot
 mkdir -p ${CHROOT}/usr/local/lib  mkdir -p ${CHROOT}/usr/local/lib
   
 if [ -e ${CHROOT}/bin/mini_sendmail ]; then  if [ -e /usr/local/sbin/femail ]; then
         mkdir -p ${CHROOT}/usr/sbin          mkdir -p ${CHROOT}/sbin
         cd ${CHROOT}/usr/sbin          cp /usr/local/sbin/femail ${CHROOT}/sbin/
         ln -sf ../../bin/mini_sendmail sendmail  fi
   
   if [ -e ${CHROOT}/sbin/femail ]; then
           mkdir -p ${CHROOT}/usr/sbin/
           cd ${CHROOT}/usr/sbin/
           ln -sf ../../sbin/femail sendmail
         cd ${OLDPWD}          cd ${OLDPWD}
 else  else
         echo mini_sendmail not installed!  Please install it and link it to          echo femail not installed!  Please install it and link it to
         echo "    ${CHROOT}/usr/sbin/sendmail"          echo "    ${CHROOT}/usr/sbin/sendmail"
 fi  fi
   
Line 24 
Line 29 
         cp /usr/local/bin/aspell ${CHROOT}/usr/local/bin/aspell          cp /usr/local/bin/aspell ${CHROOT}/usr/local/bin/aspell
         cp -r /usr/local/lib/aspell ${CHROOT}/usr/local/lib/          cp -r /usr/local/lib/aspell ${CHROOT}/usr/local/lib/
         cp -r /usr/local/share/aspell ${CHROOT}/usr/local/share/          cp -r /usr/local/share/aspell ${CHROOT}/usr/local/share/
         _find="${_find} -or -name aspell"          _find="${_find} -or ( -name aspell -a -type f )"
 fi  fi
   
 find ${CHROOT}/usr -name *.so.* -or -name *.so ${_find} | xargs find_depends | \  find ${CHROOT}/usr -name *.so.* -or -name *.so ${_find} | xargs find_depends | \

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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