summaryrefslogtreecommitdiffstats
path: root/base/dbus
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-03-09 22:41:15 +0100
committertnut <thierryn1 at hispeed dot ch>2011-03-09 22:41:15 +0100
commit0fbf9fe71bc4abc67836a29bd3faa48558f014ba (patch)
tree77a68159a8161b04e5eab336c9b92c0dd476e25f /base/dbus
parentcb4b27b5017e1f1e2197dd024626c0293b380d8a (diff)
downloadnutyx-pakxe-0fbf9fe71bc4abc67836a29bd3faa48558f014ba.tar.gz
nutyx-pakxe-0fbf9fe71bc4abc67836a29bd3faa48558f014ba.tar.bz2
nutyx-pakxe-0fbf9fe71bc4abc67836a29bd3faa48558f014ba.tar.xz
nutyx-pakxe-0fbf9fe71bc4abc67836a29bd3faa48558f014ba.zip
dbus pas de dépendances
Diffstat (limited to 'base/dbus')
-rw-r--r--base/dbus/.footprint.i68685
-rw-r--r--base/dbus/.footprint.x86_6485
-rw-r--r--base/dbus/.md5sum.i6863
-rw-r--r--base/dbus/.md5sum.x86_643
-rwxr-xr-xbase/dbus/Pkgfile33
-rw-r--r--base/dbus/dbus56
-rw-r--r--base/dbus/post-install5
-rw-r--r--base/dbus/session-local.conf9
8 files changed, 279 insertions, 0 deletions
diff --git a/base/dbus/.footprint.i686 b/base/dbus/.footprint.i686
new file mode 100644
index 000000000..f58a894a0
--- /dev/null
+++ b/base/dbus/.footprint.i686
@@ -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/K85dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K85dbus -> ../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/K85dbus -> ../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.5.4
+lrwxrwxrwx root/root usr/lib/libdbus-1.so.3 -> libdbus-1.so.3.5.4
+-rwxr-xr-x root/root usr/lib/libdbus-1.so.3.5.4
+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/base/dbus/.footprint.x86_64 b/base/dbus/.footprint.x86_64
new file mode 100644
index 000000000..f58a894a0
--- /dev/null
+++ b/base/dbus/.footprint.x86_64
@@ -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/K85dbus -> ../init.d/dbus
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K85dbus -> ../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/K85dbus -> ../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.5.4
+lrwxrwxrwx root/root usr/lib/libdbus-1.so.3 -> libdbus-1.so.3.5.4
+-rwxr-xr-x root/root usr/lib/libdbus-1.so.3.5.4
+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/base/dbus/.md5sum.i686 b/base/dbus/.md5sum.i686
new file mode 100644
index 000000000..6b60669b8
--- /dev/null
+++ b/base/dbus/.md5sum.i686
@@ -0,0 +1,3 @@
+627e775981fea688723dc6063f996998 dbus
+99b165f727dd8a5c4b7e2c20a8bf5db6 dbus-1.4.6.tar.gz
+f78a3655ff83e4e991f5679840fe1b0b session-local.conf
diff --git a/base/dbus/.md5sum.x86_64 b/base/dbus/.md5sum.x86_64
new file mode 100644
index 000000000..6b60669b8
--- /dev/null
+++ b/base/dbus/.md5sum.x86_64
@@ -0,0 +1,3 @@
+627e775981fea688723dc6063f996998 dbus
+99b165f727dd8a5c4b7e2c20a8bf5db6 dbus-1.4.6.tar.gz
+f78a3655ff83e4e991f5679840fe1b0b session-local.conf
diff --git a/base/dbus/Pkgfile b/base/dbus/Pkgfile
new file mode 100755
index 000000000..ba030a731
--- /dev/null
+++ b/base/dbus/Pkgfile
@@ -0,0 +1,33 @@
+# Description: Système de messages pour les bus
+# URL: http://dbus.freedesktop.org
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Run on: expat,xorg-libsm,xorg-libice,xorg-libx11,xorg-libxcb,xorg-libxau,xorg-libxdmcp
+
+name=dbus
+version=1.4.6
+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/
+ mv $PKG/etc/rc.d/rc0.d/K{30,85}dbus
+ mv $PKG/etc/rc.d/rc6.d/K{30,85}dbus
+ mv $PKG/etc/rc.d/rc1.d/K{30,85}dbus
+}
+
diff --git a/base/dbus/dbus b/base/dbus/dbus
new file mode 100644
index 000000000..c2c5f5086
--- /dev/null
+++ b/base/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/base/dbus/post-install b/base/dbus/post-install
new file mode 100644
index 000000000..9f9715396
--- /dev/null
+++ b/base/dbus/post-install
@@ -0,0 +1,5 @@
+# getent group dbus >/dev/null || usr/sbin/groupadd -g 81 dbus
+# getent passwd dbus >/dev/null || usr/sbin/useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus
+usr/bin/passwd -l dbus &>/dev/null
+dbus-uuidgen --ensure
+
diff --git a/base/dbus/session-local.conf b/base/dbus/session-local.conf
new file mode 100644
index 000000000..38a46c4f2
--- /dev/null
+++ b/base/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>