From owner-freebsd-ports@freebsd.org Tue Dec 13 21:09:21 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B778AC7672B for ; Tue, 13 Dec 2016 21:09:21 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 17D2ED1 for ; Tue, 13 Dec 2016 21:09:20 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mandree.no-ip.org ([77.181.21.39]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LjqLx-1csj2q4BEP-00bq3I for ; Tue, 13 Dec 2016 22:09:18 +0100 Received: from [IPv6:::1] (localhost6.localdomain6 [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 69DB423CF5A for ; Tue, 13 Dec 2016 22:09:15 +0100 (CET) Subject: Re: No port should need root for make fetch To: null References: <201612132032.uBDKWaVK017178@fire.js.berklix.net> From: Matthias Andree Message-ID: Date: Tue, 13 Dec 2016 22:09:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <201612132032.uBDKWaVK017178@fire.js.berklix.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:FNzHUplxEfF4vUvuYeU82OsyjNyQPhtVejVTwTJgpCblzOwigBR aby9hkAghMzVtxvkVAoN5lmFN4lavoTmcCvyHgfBYuxuUcppp1c4wvNMNb0AcxLwLQVlECs hJz1hbalvMsxTPCcunP7V5EQ7QvMp2uLP0j/y5JGhosgk4BinZqN6uJcDCxWTXpj9QSWxxP JRLqQZzLXVlPlESzpmepw== X-UI-Out-Filterresults: notjunk:1;V01:K0:ya48GU0x20c=:h1xP+dCyoaJd1UpNIShQ54 DmK6mHd5dirNBXkDeDD/1zAY6UjalHSLqvyc9U6Tvvjbzbg2x27BT8jK99yPKqamUP90oILot BukDNc30LcyBIDY8o1EGJpzKOwd0A3ynWuhORtEuWVisgUJ/kGJO4FP5mpkvTctrBzllsSexo NHQaKvxvwxKvaCokfDkr8BL0+4zJfS4IlyssF8gPigbF5ZBVEtZpvj9dqnbBz6ZvDs2232UEp 243YfTCAkWVkifXrJUuQh0Rgpt4n49qCdly7OJHZ2miZoscTMhToLvizYV/5U9pWXtXBDeaRR fOpuTX+G8RhjHQo1NbWZhLvW7iklSqffIjTGSTacTD29nbxvD96e1F/IwsESJVq+L2l/B0KMH xjvRHevfwunIlS6b9adIi994v2ONUq006AxKRlF7AlOZJKs2MR1SNc+ccg9p4Rw+Th9TQOnv0 jSwEXZvLj2hZLHfO61zShnqYI7MOPRZJ/i5eTzaQaIvBaneyB0GpO+pV0SrcnYXg8EoTzXqns LF527fLZc1Tkz2zI9Hqtie5Awye5JiL6FCW/grt0tuET/WjVcZPIsGaBlkZRelHSHmWccievM 8VxSiHIKCBz9Yr6+t17NO69cnWeUe9oJDy8tSgShIP22MWF6JWubZy4g7X3F36aSbLj561Cwb LgyVYwVWDaYC9c32jIBG7n/iImmgtW0yP3DcwXWzNDb5IVdM8oI5miNDzQ/WEnNlUyeBqvB8j BNQUWE3mRiruZzEbmFBVcoA47vL4J3EtOKEVzlAV/+orEvj1kLBcSuw38qsBb8WxWCcWKt1QX kLil26p X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2016 21:09:21 -0000 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