Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jan 2014 09:55:24 -0500
From:      "Adam Weinberger" <adamw@adamw.org>
To:        "Baptiste Daroussin" <bapt@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org, Dima Panov <fluffy@FreeBSD.org>
Subject:   Re: svn commit: r338994 - head/www/lightsquid
Message-ID:  <E1BDFDD2-6D75-4660-AAE9-AB6163E1D592@adamw.org>
In-Reply-To: <20140107101534.GG36154@ithaqua.etoilebsd.net>
References:  <201401071012.s07ACXcZ047221@svn.freebsd.org> <20140107101534.GG36154@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7 Jan 2014, at 5:15, Baptiste Daroussin wrote:
> On Tue, Jan 07, 2014 at 10:12:33AM +0000, Dima Panov wrote:
>> +	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}/${WWWDIR}
>
> The above does not allow to build the package as a user so either you 
> need
> NEED_ROOT or you need to then those right via the plist
> @owner www
> @group www
> files
> @dirs
> @owner
> @group
>
> Along with a @exec chown -R for pkg_install otherwise it will mess up 
> things

1) This sort of stuff really needs to be in the Porter's Handbook. 
People really do want to DTRT, but there needs to be a canonical source 
of how to do things the right way.

2) Can someone please make compatibility shims for pkg_tools so that we 
can retire them?? It is really frustrating having to do the same thing 
three different ways. pkgng has happened. Migrate the pkg_tools people 
to it.

# Adam


--
Adam Weinberger
adamw@adamw.org
http://www.adamw.org





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BDFDD2-6D75-4660-AAE9-AB6163E1D592>