From: wen heping on
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 ?


wen
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Ion-Mihai Tetcu on
On Tue, 9 Mar 2010 21:46:10 +0800
wen heping <wenheping(a)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(a)FreeBSD.org, PGP Key ID 057E9F8B493A297B