[asterisk-bugs] [Asterisk 0017436]: [patch] [branch] unprivileged (non-root) installation of Asterisk

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jul 23 08:26:41 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17436 
====================================================================== 
Reported By:                pabelanger
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   17436
Category:                   Core/BuildSystem
Reproducibility:            have not tried
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/654/ 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-06-01 09:05 CDT
Last Modified:              2010-07-23 08:26 CDT
====================================================================== 
Summary:                    [patch] [branch] unprivileged (non-root)
installation of Asterisk 
Description: 
There have been many request over the years for Asterisk to be install as a
non-root user. The follow patch set enables this.

By default, Asterisk will now attempt to install using the 'Asterisk' user
id / group id.  This means, the user and group MUST already exist, Asterisk
will not create them (This may change at a future date).

Below are 3 flags to change theses settings.
---
3 new configure options:
  --with-user=uid
  --with-group=gid
  --disable-non-root
---

====================================================================== 

---------------------------------------------------------------------- 
 (0124901) svnbot (reporter) - 2010-07-23 08:26
 https://issues.asterisk.org/view.php?id=17436#c124901 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 278873

U   trunk/Makefile
U   trunk/agi/Makefile
U   trunk/sounds/Makefile

------------------------------------------------------------------------
r278873 | pabelanger | 2010-07-23 08:26:40 -0500 (Fri, 23 Jul 2010) | 17
lines

Portability updates for Makefiles.

When possible, use $(INSTALL).  This allows us to use the functionality
within
install for setting directory / file permissions, a requirement for
unprivileged
installation.

Also move any directory we plan to create within the installdirs macro.
Plus
various other formatting issues.

(issue https://issues.asterisk.org/view.php?id=17436)
Reported by: pabelanger
Patches:
      non-root.patch.v8 uploaded by pabelanger (license 224)
Tested by: pabelanger

Review: https://reviewboard.asterisk.org/r/654/

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=278873 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-23 08:26 svnbot         Checkin                                      
2010-07-23 08:26 svnbot         Note Added: 0124901                          
======================================================================




More information about the asterisk-bugs mailing list