[asterisk-commits] pabelanger: branch pabelanger/non-root r276730 - in /team/pabelanger/non-root...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 15 12:45:38 CDT 2010


Author: pabelanger
Date: Thu Jul 15 12:45:33 2010
New Revision: 276730

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=276730
Log:
First round of documentation.  Use $(INSTALL) in sounds/Makefile

Modified:
    team/pabelanger/non-root/CHANGES
    team/pabelanger/non-root/UPGRADE.txt
    team/pabelanger/non-root/sounds/Makefile

Modified: team/pabelanger/non-root/CHANGES
URL: http://svnview.digium.com/svn/asterisk/team/pabelanger/non-root/CHANGES?view=diff&rev=276730&r1=276729&r2=276730
==============================================================================
--- team/pabelanger/non-root/CHANGES (original)
+++ team/pabelanger/non-root/CHANGES Thu Jul 15 12:45:33 2010
@@ -479,6 +479,7 @@
 
 Miscellaneous
 -------------
+ * Asterisk now defaults to an unprivilaged user install.
  * The transmit_silence_during_record option in asterisk.conf.sample has been removed.
    Now, in order to enable transmitting silence during record the transmit_silence
    option should be used.  transmit_silence_during_record remains a valid option, but

Modified: team/pabelanger/non-root/UPGRADE.txt
URL: http://svnview.digium.com/svn/asterisk/team/pabelanger/non-root/UPGRADE.txt?view=diff&rev=276730&r1=276729&r2=276730
==============================================================================
--- team/pabelanger/non-root/UPGRADE.txt (original)
+++ team/pabelanger/non-root/UPGRADE.txt Thu Jul 15 12:45:33 2010
@@ -19,6 +19,17 @@
 ===========================================================
 
 From 1.6.2 to 1.8:
+
+* Asterisk now defaults to an unprivileged installation.  3 new configure flags
+  have been created:
+
+    --with-user=uid   (Default: asterisk)
+    --with-group=gid  (Default: asterisk)
+    --enable-root     (Explicitly enable root installation)
+
+  By default, Asterisk will look for both the 'asterisk' user and group on the
+  system. If they do not exist you will be required to create the appropriate
+  user/group or use the --enable-root flag.
 
 * Asterisk-addons no longer exists as an independent package.  Those modules
   now live in the addons directory of the main Asterisk source tree.  They

Modified: team/pabelanger/non-root/sounds/Makefile
URL: http://svnview.digium.com/svn/asterisk/team/pabelanger/non-root/sounds/Makefile?view=diff&rev=276730&r1=276729&r2=276730
==============================================================================
--- team/pabelanger/non-root/sounds/Makefile (original)
+++ team/pabelanger/non-root/sounds/Makefile Thu Jul 15 12:45:33 2010
@@ -68,6 +68,14 @@
 DOWNLOAD+=--continue $(WGET_EXTRA_ARGS)
 endif
 
+ifneq ($(AST_USER),)
+  INSTALL+= -o $(AST_USER)
+endif
+
+ifneq ($(AST_GROUP),)
+  INSTALL+= -g $(AST_GROUP)
+endif
+
 EMPTY:=
 BS:=$(EMPTY)\$(EMPTY)
 
@@ -169,7 +177,7 @@
 	rm -f *.tar.gz
 
 $(SOUNDS_DIR)/en $(MOH_DIR) $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr $(SOUNDS_CACHE_DIR):
-	mkdir -p $@
+	${INSTALL} -d -p $@
 
 permissions:
 	@if [ "$(AST_USER)" != "" ] ; then \




More information about the asterisk-commits mailing list