[asterisk-dev] [Code Review] non-root install for Asterisk
Tilghman Lesher
tlesher at digium.com
Mon Jul 12 18:12:24 CDT 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/654/#review2370
-----------------------------------------------------------
I'd say you need to test this with Solaris and FreeBSD, at the very minimum, given how far these changes go.
/trunk/Makefile
<https://reviewboard.asterisk.org/r/654/#comment5236>
Could you be more explicit about what the benefit of using install is here? Frankly, I don't see the point of checking whether the directory exists first; it appears that install already does that check by itself.
/trunk/Makefile
<https://reviewboard.asterisk.org/r/654/#comment5237>
What was the reason for this swap?
/trunk/configure.ac
<https://reviewboard.asterisk.org/r/654/#comment5238>
"Explicitly"
/trunk/configure.ac
<https://reviewboard.asterisk.org/r/654/#comment5239>
Won't this set astuser and astgroup to the ENTIRE line inside /etc/passwd and /etc/group, respectively? Do you really want anything more than just a 'grep -c'?
/trunk/res/res_timing_kqueue.c
<https://reviewboard.asterisk.org/r/654/#comment5240>
Uh, why are you deleting res_timing_kqueue?
- Tilghman
On 2010-07-12 16:22:42, pabelanger wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/654/
> -----------------------------------------------------------
>
> (Updated 2010-07-12 16:22:42)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> Make Asterisk install as non-root, this is now the default behavior.
>
> 3 new configure options:
> --with-user=uid
> --with-group=gid
> --disable-non-root
>
> Various changes to Makefile, prefer install over mkdir, mv, chmod and chgrp.
>
>
> Diffs
> -----
>
> /trunk/Makefile 275776
> /trunk/Makefile.moddir_rules 275776
> /trunk/agi/Makefile 275776
> /trunk/configure.ac 275776
> /trunk/include/asterisk/autoconfig.h.in 275776
> /trunk/makeopts.in 275776
> /trunk/res/res_timing_kqueue.c 275776
> /trunk/sounds/Makefile 275776
>
> Diff: https://reviewboard.asterisk.org/r/654/diff
>
>
> Testing
> -------
>
> Much more testing required. Only tested with Ubuntu.
>
>
> Thanks,
>
> pabelanger
>
>
More information about the asterisk-dev
mailing list