ports/90107: cvsd imprisoned doesn't work with devfs

Serge Gagnon serge.gagnon at b2b2c.ca
Thu Jun 1 03:50:19 UTC 2006


The following reply was made to PR ports/90107; it has been noted by GNATS.

From: serge.gagnon at b2b2c.ca (Serge Gagnon)
To: bug-followup at FreeBSD.org
Cc: walter at pelissero.de
Subject: Re: ports/90107: cvsd imprisoned doesn't work with devfs
Date: Wed, 31 May 2006 23:48:42 -0400

 You also need this extra patch 
 
 ----- begin extra-patch-cvsd-buildroot.in -----
 --- cvsd-buildroot.in.orig	Wed May 31 23:39:06 2006
 +++ cvsd-buildroot.in	Wed May 31 23:41:50 2006
 @@ -213,37 +213,7 @@
  done
  
  # populate /dev (need root privileges for this)
 -echo $ECHO_N "creating $ROOT/dev devices... $ECHO_C"
 -DEVICES="null zero"
 -MISSINGDEVS=""
 -for d in $DEVICES
 -do
 -  if [ -r "$ROOT/dev/$d" ]
 -  then
 -    :
 -  else
 -    MISSINGDEVS="$MISSINGDEVS $d"
 -  fi
 -done
 -if [ -n "`echo $MISSINGDEVS`" ]
 -then
 -  if (cd /dev ; tar chpf - $MISSINGDEVS) | \
 -     ( cd "$ROOT/dev" ; tar xpf - > /dev/null 2>&1 )
 -  then
 -    # check if we can use the devices
 -    if ( echo TEST > "$ROOT/dev/null" && \
 -         echo TEST > "$ROOT/dev/zero" )  2> /dev/null
 -    then
 -      echo "done."
 -    else
 -      echo "FAILED (unable to use devices)"
 -    fi
 -  else
 -    echo "FAILED."
 -  fi
 -else
 -  echo "already there."
 -fi
 +# doesn't need to do this on FreeBSD >= 5
  
  # update /etc/passwd
  echo $ECHO_N "adding users to $ROOT/etc/passwd...$ECHO_C"
 ----- end extra-patch-cvsd-buildroot.in -----
 



More information about the freebsd-ports-bugs mailing list