dbus ChangeLog,1.846,1.847 configure.in,1.124,1.125

John Palmieri johnp at freedesktop.org
Sat Jul 16 03:28:37 EST 2005


Update of /cvs/dbus/dbus
In directory gabe:/tmp/cvs-serv10016

Modified Files:
	ChangeLog configure.in 
Log Message:
* ChangeLog: fix date in last entry

* configure.in, bus/system.conf.in: add the ability to configure
  the system bus user at compiletime with the --with-dbus-user flag
  (patch from Kristof Vansant)



Index: ChangeLog
===================================================================
RCS file: /cvs/dbus/dbus/ChangeLog,v
retrieving revision 1.846
retrieving revision 1.847
diff -u -d -r1.846 -r1.847
--- ChangeLog	15 Jul 2005 15:21:43 -0000	1.846
+++ ChangeLog	15 Jul 2005 17:28:35 -0000	1.847
@@ -1,4 +1,12 @@
-2005-07-14  John (J5) Palmieri  <johnp at redhat.com>
+2005-07-15  John (J5) Palmieri  <johnp at redhat.com>
+
+	* ChangeLog: fix date in last entry
+
+	* configure.in, bus/system.conf.in: add the ability to configure 
+	the system bus user at compiletime with the --with-dbus-user flag
+	(patch from Kristof Vansant)
+
+2005-07-15  John (J5) Palmieri  <johnp at redhat.com>
 
 	* bus/dispatch.c, test/test-service.c: Add testcase
 	for sending messages to oneself (TODO item).

Index: configure.in
===================================================================
RCS file: /cvs/dbus/dbus/configure.in,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -d -r1.124 -r1.125
--- configure.in	14 Jul 2005 20:44:15 -0000	1.124
+++ configure.in	15 Jul 2005 17:28:35 -0000	1.125
@@ -71,6 +71,7 @@
 AC_ARG_WITH(system-pid-file,    [  --with-system-pid-file=[pidfile]    PID file for systemwide daemon])
 AC_ARG_WITH(system-socket,      [  --with-system-socket=[filename]     UNIX domain socket for systemwide daemon])
 AC_ARG_WITH(console-auth-dir,   [  --with-console-auth-dir=[dirname]   directory to check for console ownerhip])
+AC_ARG_WITH(dbus_user,		[  --with-dbus-user=<user>  User for running the DBUS daemon (messagebus)])
 
 dnl DBUS_BUILD_TESTS controls unit tests built in to .c files 
 dnl and also some stuff in the test/ subdir
@@ -1178,6 +1179,15 @@
 AC_SUBST(DBUS_CONSOLE_AUTH_DIR)
 AC_DEFINE_UNQUOTED(DBUS_CONSOLE_AUTH_DIR, "$DBUS_CONSOLE_AUTH_DIR", [Directory to check for console ownerhip])
 
+#### User to start the system bus as
+if test -z "$with_dbus_user" ; then
+    DBUS_USER=messagebus
+else
+    DBUS_USER=$with_dbus_user
+fi
+AC_SUBST(DBUS_USER)
+AC_DEFINE_UNQUOTED(DBUS_USER,"$DBUS_USER", [User for running the system BUS daemon])
+
 #### Tell tests where to find certain stuff in builddir
 ABSOLUTE_TOP_BUILDDIR=`cd ${ac_top_builddir}. && pwd`
 
@@ -1376,6 +1386,7 @@
         System bus PID file:      ${DBUS_SYSTEM_PID_FILE}
         Session bus socket dir:   ${DBUS_SESSION_SOCKET_DIR}
         Console auth dir:         ${DBUS_CONSOLE_AUTH_DIR}
+	System bus user:          ${DBUS_USER}
         'make check' socket dir:  ${TEST_SOCKET_DIR}
 "
 



More information about the dbus-commit mailing list