On Tue, 9 Mar 2010 21:46:10 +0800
wen heping <wenhep...@gmail.com> wrote:

> Hi, all:
> 
>    In www category, there are some ports with a line as:
> 1     @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
> 
>    It always followed by this line:
> 2     @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}'
> >> ${TMPPLIST}
> 
> while some other ports do not have line 2.
> 
>    Is line 2 needed ? In my opion, line 2 changes nothing to
> ${TMPPLIST} in this case, so line 2 is not needed.
> 
>    Any comment ?

If I'm reading this right, the first line applies when installing from
ports, while the second when installing from packages. So they are both
needed.

Should the installed files be owned by ${WWWOWN}:${WWWGRP} is an other
question (and I think this is unnecessarily for many ports/files/dirs).

-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> ite...@freebsd.org, PGP Key ID 057E9F8B493A297B

Attachment: signature.asc
Description: PGP signature

Reply via email to