Should this line removed from Makefile?

Ion-Mihai Tetcu itetcu at FreeBSD.org
Tue Mar 9 14:18:22 UTC 2010


On Tue, 9 Mar 2010 21:46:10 +0800
wen heping <wenheping at 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 -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20100309/a50b595a/signature.pgp


More information about the freebsd-ports mailing list