[asterisk-dev] [Code Review] non-root install for Asterisk
paul.belanger at polybeacon.com
paul.belanger at polybeacon.com
Mon Jul 12 16:22:42 CDT 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/654/
-----------------------------------------------------------
(Updated 2010-07-12 16:22:42.399175)
Review request for Asterisk Developers.
Changes
-------
v4:
- moved directory installation logic to installdirs. We now check if the directory exists before creating it. TODO: for loop and simple function check.
- update asterisk.conf and set runuser and rungroup if needed.
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 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