=================================================================== RCS file: /cvs/openbsd/fill_chroot/fill_chroot,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- openbsd/fill_chroot/fill_chroot 2006/01/26 17:11:09 1.4 +++ openbsd/fill_chroot/fill_chroot 2006/07/18 03:47:35 1.5 @@ -1,11 +1,19 @@ #!/bin/sh -# $RedRiver: fill_chroot,v 1.3 2006/01/25 17:25:07 andrew Exp $ +# $RedRiver: fill_chroot,v 1.4 2006/01/26 17:11:09 andrew Exp $ CHROOT=${CHROOT:=/home/andrew/www} export CHROOT perl_to_chroot mkdir -p ${CHROOT}/usr/local/lib + +cd $CHROOT +if [ -e bin/mini_sendmail ]; then + ln -sf bin/mini_sendmail usr/sbin/sendmail +else + echo mini_sendmail not installed! Please install it and link it to + echo " ${CHROOT}/usr/sbin/sendmail" +fi find ${CHROOT} -name *.so.* -or -name *.so | xargs find_depends | \ sort -u | xargs -I {} pax -r -w -L -p e {} ${CHROOT}