I'm going to explain how I solved the problem so that it can be helpful
to others.

I ended up realizing that the same procedure I had always been using
with src and xenocara also works with ports.

  Add user to wsrc group
    # user mod -G wsrc $(logname)     **  Effective after next login **
  
  FIRST TIME
    # cd /usr
    # mkdir ports xenocara
    # chgrp wsrc ports xenocara
    # chmod w+g ports xenocara
    $ cvs checkout -P (src|ports|xenocara)
  
  UPDATE 
    $ cd /usr/(src|ports|xenocara)
    $ cvs -q update -Pd -A
  
With ports you need an extra step, to configure 'doas' appropriately.
In my case, what I did was simply copy the example from
/etc/examples/doas.conf and add 'persist' to the last line (to avoid
going crazy entering the password a hundred times.)

  permit keepenv persist :wheel 
                 ^^^^^^^

And that's it.


-- 
Walter

Reply via email to