Am 13.12.2016 um 21:32 schrieb Julian H. Stacey:
> Hi ports@
> IMO No port should need root for 
>       cd /usr/ports; make -i fetch
> The first one that broke for me was databases/mysql-q4m
> (OK might be others before, but I have DUDS =
>        arabic biology chinese hebrew hungarian japanese korean
>        polish portuguese russian ukrainian vietnamese games demime
>        majordomo acroreadwrapper acroread9 chimera dosbox emil
>        firefox freerdp gimp-app gv libcue mp3splt-gtk nut opera
>        ripit vlc xorg xsane
> )
> (MAINTAINER CC'd) but there's more ports beyond, usually because
> some ports also go berserk & install, or mabe install dependents.

Julian,

How is that a problem of "some" ports? All ports require root for "make
fetch" because the normal distfiles/ directory is underneath /usr/ports/
and thus only writable by root. Make the /usr/ports/distfiles/ directory
writable to a certain group of users, make the DIRECTORY setgid (chmod
g+s ...), add the users to that group, and you're set, alternatively,
redirect that storage to a user-writable directory by setting the
DISTDIR environment variable (this can happen on the make command-line,
too).

> # DISTDIR       - Where to search for and store copies of original sources
> #                 Default: ${PORTSDIR}/distfiles
(source: /usr/ports/Mk/bsd.port.mk)

HTH
Matthias
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to