GoboLinux Downloads Documentation Community Recipes Screenshots

GoboLinux Recipe & Package Search Tool

23 versions of DBus.

ProgramAgeSizeByWWWSummary
DBus 1.10.8-r3 879  4465 Carl...
D-Bus message bus
DBus 1.7.10-r6 1217  4554 Luca...
D-Bus message bus
view entry at GitHub | download recipe.bz2 file
01-system_d.patch.in
Recipe
Resources/BuildDependencies
Resources/BuildInformation
Resources/Defaults/Settings/dbus-1/session-local.conf
Resources/Defaults/Settings/dbus-1/session.conf
Resources/Defaults/Settings/dbus-1/system-local.conf
Resources/Defaults/Settings/dbus-1/system.conf
Resources/Dependencies
Resources/Description
Resources/PostInstall
Resources/Requirements
Resources/Tasks/MessageBus
#!/bin/bash
#
# messagebus:   The D-BUS systemwide message bus
#
# chkconfig: 345 97 03
# description:  This is a daemon which broadcasts notifications of system events \
\
#               and other messages. See http://www.freedesktop.org/software/dbus/
#
# processname: dbus-daemon
# pidfile: /Programs/DBus/Variable/run/dbus/pid
#

source GoboPath

op="$1"
[ "$op" ] || op="start"

function SuperUserWorkaround() {
   local superuser="$(SuperUserName)"
   for entry in "root" "gobo" "0"
   do
      if [ "$superuser" != "$entry" ]
      then
         GrepReplace -B "user=\"$entry\"" "user=\"$superuser\"" "$goboSettings/dbus-1/system.d"/*.conf
         GrepReplace -B "User=$entry" "User=$superuser" "$goboShared/dbus-1/system-services"/*.service
      fi
   done
}

case "$op" in
[Ss]tart)
   # DBus expects run/console to exist.
   mkdir -p $goboVariable/run/console/
   # Sanity checks.
   mkdir -p $goboVariable/run/dbus/
   if [ -e $goboVariable/run/dbus/pid ]
   then
      if ps `cat $goboVariable/run/dbus/pid` &> /dev/null
      then
         echo "Already running."
         exit 1
      else
         rm -f $goboVariable/run/dbus/pid
      fi
   fi   
   # so we can rearrange this easily
   RETVAL=0
   
   SuperUserWorkaround
   /bin/dbus-uuidgen --ensure
   /bin/dbus-daemon --system
   RETVAL=$?
   #sleep 2
   exit $RETVAL
   ;;
[Ss]top)
   killall dbus-daemon
   rm -f $goboVariable/run/dbus/pid > /dev/null
   ;;
esac
DBus 1.7.8-r5 1217  3430 Luca...
D-Bus message bus
DBus 1.4.20-r2 1217  3272 Luca...
D-Bus message bus
DBus 1.4.1-r2 1217  3247 Diog...
D-Bus message bus
DBus 1.3.0-r3 1217  3265 Jona...
D-Bus message bus
DBus 1.2.16-r2 1217  3254 Luca...
D-Bus message bus
DBus 1.2.14-r2 1217  3226 Jona...
D-Bus message bus
DBus 1.2.12-r2 1217  3253 Nick...
D-Bus message bus
DBus 1.2.6-r2 1217  3263 Ősi...
D-Bus message bus
DBus 1.2.1-r2 1217  3230 Jona...
D-Bus message bus
DBus 1.1.2-r7 1217  3532 Jona...
D-Bus message bus
DBus 1.0.2-r4 1217  3309 Jona...
D-Bus message bus
DBus 0.95-r7 1217  2691 Kosh (none)
DBus 0.60-r2 1217  1366 Jona... (none)
DBus 0.50-r2 1217  1279 Carl... (none)
DBus 0.33-r2 1217  729 Andr... (none)
DBus 0.32-r2 1217  749 Jona... (none)
DBus 0.31-r2 1217  721 roko (none)
DBus 0.23.4-r2 1217  754 Jona... (none)
DBus 0.23.2-r2 1217  726 roko (none)
DBus 0.22-r2 1217  663 roko (none)
DBus 0.20-r2 1217  509 (none)