diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-09 14:47:19 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-09 14:47:19 +0200 |
commit | 3b947e8027ba343d45d24ab84cb1e6d8002459e5 (patch) | |
tree | 40dec8c23071299e9e4d4bf1582d112aecb6a53e /extra/dbus | |
parent | b95f49026a35e581201086b18b1954590c0fb9a3 (diff) | |
download | nutyx-pakxe-3b947e8027ba343d45d24ab84cb1e6d8002459e5.tar.gz nutyx-pakxe-3b947e8027ba343d45d24ab84cb1e6d8002459e5.tar.bz2 nutyx-pakxe-3b947e8027ba343d45d24ab84cb1e6d8002459e5.tar.xz nutyx-pakxe-3b947e8027ba343d45d24ab84cb1e6d8002459e5.zip |
Ajout de dbus#1.2.16-1
Diffstat (limited to 'extra/dbus')
-rw-r--r-- | extra/dbus/.footprint | 85 | ||||
-rw-r--r-- | extra/dbus/.md5sum | 3 | ||||
-rwxr-xr-x | extra/dbus/Pkgfile | 29 | ||||
-rw-r--r-- | extra/dbus/dbus | 56 | ||||
-rw-r--r-- | extra/dbus/session-local.conf | 9 |
5 files changed, 182 insertions, 0 deletions
diff --git a/extra/dbus/.footprint b/extra/dbus/.footprint new file mode 100644 index 000000000..b023694d0 --- /dev/null +++ b/extra/dbus/.footprint @@ -0,0 +1,85 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/dbus-1/ +-rw-r--r-- root/root etc/dbus-1/session-local.conf +-rw-r--r-- root/root etc/dbus-1/session.conf +drwxr-xr-x root/root etc/dbus-1/session.d/ +-rw-r--r-- root/root etc/dbus-1/system.conf +drwxr-xr-x root/root etc/dbus-1/system.d/ +drwxr-xr-x root/root etc/rc.d/ +drwxr-xr-x root/root etc/rc.d/init.d/ +-rwxr-xr-x root/root etc/rc.d/init.d/dbus +drwxr-xr-x root/root etc/rc.d/rc0.d/ +lrwxrwxrwx root/root etc/rc.d/rc0.d/K30dbus -> ../init.d/dbus +drwxr-xr-x root/root etc/rc.d/rc1.d/ +lrwxrwxrwx root/root etc/rc.d/rc1.d/K30dbus -> ../init.d/dbus +drwxr-xr-x root/root etc/rc.d/rc2.d/ +lrwxrwxrwx root/root etc/rc.d/rc2.d/S20dbus -> ../init.d/dbus +drwxr-xr-x root/root etc/rc.d/rc3.d/ +lrwxrwxrwx root/root etc/rc.d/rc3.d/S20dbus -> ../init.d/dbus +drwxr-xr-x root/root etc/rc.d/rc4.d/ +lrwxrwxrwx root/root etc/rc.d/rc4.d/S20dbus -> ../init.d/dbus +drwxr-xr-x root/root etc/rc.d/rc5.d/ +lrwxrwxrwx root/root etc/rc.d/rc5.d/S20dbus -> ../init.d/dbus +drwxr-xr-x root/root etc/rc.d/rc6.d/ +lrwxrwxrwx root/root etc/rc.d/rc6.d/K30dbus -> ../init.d/dbus +drwxr-xr-x root/root etc/rc.d/rcsysinit.d/ +drwxr-xr-x root/root etc/sysconfig/ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/dbus-cleanup-sockets +-rwxr-xr-x root/root usr/bin/dbus-daemon +-rwxr-xr-x root/root usr/bin/dbus-launch +-rwxr-xr-x root/root usr/bin/dbus-monitor +-rwxr-xr-x root/root usr/bin/dbus-send +-rwxr-xr-x root/root usr/bin/dbus-uuidgen +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/dbus-1.0/ +drwxr-xr-x root/root usr/include/dbus-1.0/dbus/ +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-address.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-bus.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-connection.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-errors.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-macros.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-memory.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-message.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-misc.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-pending-call.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-protocol.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-server.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-shared.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-signature.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-threads.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus-types.h +-rw-r--r-- root/root usr/include/dbus-1.0/dbus/dbus.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/dbus-1.0/ +drwxr-xr-x root/root usr/lib/dbus-1.0/include/ +drwxr-xr-x root/root usr/lib/dbus-1.0/include/dbus/ +-rw-r--r-- root/root usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h +-rw-r--r-- root/root usr/lib/libdbus-1.a +-rwxr-xr-x root/root usr/lib/libdbus-1.la +lrwxrwxrwx root/root usr/lib/libdbus-1.so -> libdbus-1.so.3.4.0 +lrwxrwxrwx root/root usr/lib/libdbus-1.so.3 -> libdbus-1.so.3.4.0 +-rwxr-xr-x root/root usr/lib/libdbus-1.so.3.4.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/dbus-1.pc +drwxr-xr-x root/root usr/libexec/ +drwxr-xr-x root/root usr/libexec/dbus-1/ +-rwsr-x--- root/messagebus usr/libexec/dbus-daemon-launch-helper +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/dbus-1/ +drwxr-xr-x root/root usr/share/dbus-1/services/ +drwxr-xr-x root/root usr/share/dbus-1/system-services/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/dbus-cleanup-sockets.1.gz +-rw-r--r-- root/root usr/share/man/man1/dbus-daemon.1.gz +-rw-r--r-- root/root usr/share/man/man1/dbus-launch.1.gz +-rw-r--r-- root/root usr/share/man/man1/dbus-monitor.1.gz +-rw-r--r-- root/root usr/share/man/man1/dbus-send.1.gz +-rw-r--r-- root/root usr/share/man/man1/dbus-uuidgen.1.gz +drwxr-xr-x root/root var/ +drwxr-xr-x root/root var/lib/ +drwxr-xr-x root/root var/lib/dbus/ +drwxr-xr-x root/root var/run/ +drwxr-xr-x root/root var/run/dbus/ diff --git a/extra/dbus/.md5sum b/extra/dbus/.md5sum new file mode 100644 index 000000000..d83c31139 --- /dev/null +++ b/extra/dbus/.md5sum @@ -0,0 +1,3 @@ +627e775981fea688723dc6063f996998 dbus +c7a47b851ebe02f6726b65b78d1b730b dbus-1.2.16.tar.gz +f78a3655ff83e4e991f5679840fe1b0b session-local.conf diff --git a/extra/dbus/Pkgfile b/extra/dbus/Pkgfile new file mode 100755 index 000000000..54ea50a1a --- /dev/null +++ b/extra/dbus/Pkgfile @@ -0,0 +1,29 @@ +# Description: Système de messages pour les bus +# URL: http://freedesktop.org/wiki/Software_2fdbus +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: expat + +name=dbus +version=1.2.16 +release=1 +source=(http://dbus.freedesktop.org/releases/dbus/$name-$version.tar.gz \ + session-local.conf\ + dbus) + +build() { + source /etc/blfs-bootscripts + wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 + tar xvf $scripts-$scriptsversion.tar.bz2 + cd $name-$version + ./configure --prefix=/usr \ + --localstatedir=/var \ + --sysconfdir=/etc + make + make DESTDIR=$PKG install + mkdir -p $PKG/etc/dbus-1 + mv ../session-local.conf $PKG/etc/dbus-1/ + cd ../$scripts-$scriptsversion + make DESTDIR=$PKG install-dbus + install -m755 ../dbus $PKG/etc/rc.d/init.d/ +} diff --git a/extra/dbus/dbus b/extra/dbus/dbus new file mode 100644 index 000000000..c2c5f5086 --- /dev/null +++ b/extra/dbus/dbus @@ -0,0 +1,56 @@ +#!/bin/sh +# Begin $rc_base/init.d/messagebus + +# Based on sysklogd script from LFS-3.1 and earlier. +# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org + +#$LastChangedBy: dnicholson $ +#$Date: 2007-07-09 18:30:26 -0500 (Mon, 09 Jul 2007) $ + +. /etc/sysconfig/rc +. $rc_functions +newgroup=messagebus +newuser=messagebus +newid=18 + +# check for messagebus group or add one +getent group $newgroup > /dev/null || /usr/sbin/groupadd -g $newid $newgroup + +# check for messagebus user or add one +getent passwd $newuser > /dev/null || /usr/sbin/useradd -g $newgroup \ +-u $newid -d /dev/null \ +-s /bin/false -c "D-BUS Message Daemon User" $newuser + +pidfile=/var/run/dbus/pid +socket=/var/run/dbus/system_bus_socket + +case "$1" in + start) + boot_mesg "Starting the D-Bus Messagebus Daemon..." + /usr/bin/dbus-uuidgen --ensure + loadproc -p "$pidfile" /usr/bin/dbus-daemon --system + ;; + + stop) + boot_mesg "Stopping the D-Bus Messagebus Daemon..." + killproc -p "$pidfile" /usr/bin/dbus-daemon + [ $? -eq 0 ] && rm -f "$socket" + ;; + + restart) + $0 stop + sleep 1 + $0 start + ;; + + status) + statusproc /usr/bin/dbus-daemon + ;; + + *) + echo "Usage: $0 {start|stop|restart|status}" + exit 1 + ;; +esac + +# End $rc_base/init.d/messagebus diff --git a/extra/dbus/session-local.conf b/extra/dbus/session-local.conf new file mode 100644 index 000000000..38a46c4f2 --- /dev/null +++ b/extra/dbus/session-local.conf @@ -0,0 +1,9 @@ +<!DOCTYPE busconfig PUBLIC + "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + + <!-- Search for .service files in /usr/local --> + <servicedir>/usr/local/share/dbus-1/services</servicedir> + +</busconfig> |