[asterisk-dev] [Code Review] non-root install for Asterisk
paul.belanger at polybeacon.com
paul.belanger at polybeacon.com
Sat May 8 11:05:34 CDT 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/654/
-----------------------------------------------------------
(Updated 2010-05-08 11:05:34.153449)
Review request for Asterisk Developers.
Changes
-------
v3:
Use chown / chgrp to set sounds and moh directories. Looking for a better solution.
TODO: utilize AST_USER and AST_GROUP within asterisk.c to set default runuser and rungroup variables.
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 (updated)
-----
/trunk/Makefile 262089
/trunk/Makefile.moddir_rules 262089
/trunk/agi/Makefile 262089
/trunk/configure.ac 262089
/trunk/include/asterisk/autoconfig.h.in 262089
/trunk/makeopts.in 262089
/trunk/sounds/Makefile 262089
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