Hi everyone!
I've just thought about moving everything related to ports out of standard /usr/ports and /var/db/ports locations in order to be able to work with ports tree (update, configure, build, etc.) on another partition (which is larger, faster, safer, etc.) and without being root (for safety), but the only unpleasant thing which keeps me from finalizing my idea is basically make utility itself!
After reading man ports I add the following to make.conf:
Now I can fetch, update and build with user, but I cannot configure options - "make" still wants root-user to write into location writable for user (here /home/ports/CONFIG/), but it should not:
What am I doing wrong?
I've just thought about moving everything related to ports out of standard /usr/ports and /var/db/ports locations in order to be able to work with ports tree (update, configure, build, etc.) on another partition (which is larger, faster, safer, etc.) and without being root (for safety), but the only unpleasant thing which keeps me from finalizing my idea is basically make utility itself!
After reading man ports I add the following to make.conf:
Code:
PORTSDIR=/home/ports
PACKAGES=${PORTSDIR}/PACKAGES
PORT_DBDIR=${PORTSDIR}/CONFIG
Now I can fetch, update and build with user, but I cannot configure options - "make" still wants root-user to write into location writable for user (here /home/ports/CONFIG/), but it should not:
Code:
> cd /home/ports/x11-wm/dwm/ && make config
===> Switching to root credentials to create /home/ports/CONFIG/dwm
Password: